From patchwork Mon May 15 20:13:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 94331 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp7179539vqo; Mon, 15 May 2023 13:39:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7A0zOFaSBhbQvgivlplOXp/bUAN5xO9S57A3xdmiJYYoQKyAWGcXyjsqN5yDpiiwVPhrLG X-Received: by 2002:a05:6a20:1596:b0:105:95b2:a8e3 with SMTP id h22-20020a056a20159600b0010595b2a8e3mr7637801pzj.22.1684183186201; Mon, 15 May 2023 13:39:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684183186; cv=none; d=google.com; s=arc-20160816; b=hIds8ujgsPD+4EBZL9LnY8uxXV2OlQosVZp6HWFhw3pKvJbyYC9LHcyjYnWDvazbQF zxvHVkoOZk7JroN9sTBGOIa/UQNzoEt57uK86aGYqhNQKml4S+1ABReX9BsaxodPEz+e EHj6aWbdYrQyaUsK9sdwc1IZ5igWvGAv+eJ6l86jDG5ehchK/QOyWftqReZ9FWRL5Txn iZP4DRB9m9QKX1hCTp29F1vyxVnMmZq9kbKGaidQ6NFVmasOpC1qRH8ERxvo6J1iKPBl 9rssBl8yqOCZEAJG/yMies4Jn111B0buymNpsV5slqk6DgJYvCmZZ9Nf05QTApSc9I1J 84zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KM/irCXkCORVs1tf0J/YTFzQeu/14yX91bXMA72ZW5U=; b=LQpfrcnvH/KdP5U6tzkscFH61KyGW9ktlIEVRSlARjybEdQWaMd9LJG2pJBNT4Hg6H d1KttVoQ3Q2NuLrmiYGK/MJswHttuy0x/+P9z9JvC6TjrZr3al5UYWwW2T4izwwmTwUz YcttL8vF/f0Yi5MUwbe+7wEoBj61vq7W44iDIiZ1ieeJPb0tbmwj+NDExdgLnx1EyDah oWiCXd4WL9DbYjLo41MWqiI6KCYIkKqZy9l+o2XYv9Wbo6B9r2sdEMrpdnphgxm/xwLh Wd09RDB5aq/Ayu4dWZ0dQWkU+5T8M1ElmB7uhsIpbq8bpSvCkSpa/BRmcbIEiXpxx0aY kbTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=K0+Zkz4G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q7-20020aa78427000000b00648d7d58346si13401322pfn.332.2023.05.15.13.39.31; Mon, 15 May 2023 13:39:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=K0+Zkz4G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245307AbjEOUQd (ORCPT + 99 others); Mon, 15 May 2023 16:16:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245300AbjEOUQY (ORCPT ); Mon, 15 May 2023 16:16:24 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FD521161B for ; Mon, 15 May 2023 13:16:17 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6436e004954so13729578b3a.0 for ; Mon, 15 May 2023 13:16:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1684181777; x=1686773777; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=KM/irCXkCORVs1tf0J/YTFzQeu/14yX91bXMA72ZW5U=; b=K0+Zkz4GdFPHRuwRz6zdEsbA+lXj9VAwwuAFNi/uqRKAzSyUQ3GEPrRLWI8PkADOkI lGqIQ901J1tMCxacLaXJZC6XFLvMELhtxu9QDf3Qq/XiptE0pMNQC9PZbXPqib6VGrM0 DGcwlS8gGGj9LRADnOkCvYBwy1d//nqfUOBLg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684181777; x=1686773777; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KM/irCXkCORVs1tf0J/YTFzQeu/14yX91bXMA72ZW5U=; b=deAm3YqbOO+M9We7l77G3EPo36lVkjy0SVkcd3wBPGN+4iciIsWRAyq6EEkOGxZKGH bpfFiXCaaIQRNnGZsj82zNiM1OFIEnJvOXVye6VoD+9QLugxhzHHd8RrdDu/niIAcrb4 7gBLWmJL6wXVrkO0OALza4MOtfmHMw1PQs+elVjPMG355PC6R9FALE00KxA2tORG1foT hKTsicdhzeSdKZiVVXDL0jj70OcR2RBBGf51rdhie0IInmBRApfWO9Y9vmDr3ANwwy56 mbguZypeBpglg0iOooQmAcyFMN/KShF073VKi0PJlwQBk/y+aJL3OuX7XKQPBPeiZtqV gtBA== X-Gm-Message-State: AC+VfDz1okZo/YZVoyHC7CUb9QH686Ooz1U4+zLDp+R+5k83suLil3gv bEduttIL9J7cm+681iSY4r8wzA== X-Received: by 2002:a05:6a00:1828:b0:643:6f76:f9ba with SMTP id y40-20020a056a00182800b006436f76f9bamr49643580pfa.29.1684181776830; Mon, 15 May 2023 13:16:16 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:9f33:9d98:277a:d4cd]) by smtp.gmail.com with ESMTPSA id a19-20020a62bd13000000b0063f0c9eadc7sm7981411pff.200.2023.05.15.13.16.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 13:16:16 -0700 (PDT) From: Douglas Anderson To: Marc Zyngier , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Allen-KH Cheng , linux-mediatek@lists.infradead.org, Eddie Huang , Hsin-Hsiung Wang , AngeloGioacchino Del Regno , wenst@chromium.org, yidilin@chromium.org, Tinghan Shen , jwerner@chromium.org, Weiyi Lu , Ben Ho , Seiya Wang , Douglas Anderson , Conor Dooley , linux-kernel@vger.kernel.org Subject: [PATCH v2 5/5] arm64: dts: mediatek: mt8195: Add mediatek,broken-save-restore-fw to cherry Date: Mon, 15 May 2023 13:13:54 -0700 Message-ID: <20230515131353.v2.5.Ia0b6ebbaa351e3cd67e201355b9ae67783c7d718@changeid> X-Mailer: git-send-email 2.40.1.606.ga4b1b128d6-goog In-Reply-To: <20230515131353.v2.cover@dianders> References: <20230515131353.v2.cover@dianders> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765994068777070401?= X-GMAIL-MSGID: =?utf-8?q?1765994068777070401?= Firmware shipped on mt8195 Chromebooks is affected by the GICR save/restore issue as described by the patch ("dt-bindings: interrupt-controller: arm,gic-v3: Add quirk for Mediatek SoCs w/ broken FW"). Add the quirk property. Fixes: 5eb2e303ec6b ("arm64: dts: mediatek: Introduce MT8195 Cherry platform's Tomato") Reviewed-by: Julius Werner Signed-off-by: Douglas Anderson Reviewed-by: AngeloGioacchino Del Regno --- Changes in v2: - Changed "Fixes" tag. - Moved from mt8195.dtsi to mt8195-cherry.dtsi - mediatek,gicr-save-quirk => mediatek,broken-save-restore-fw arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 8ac80a136c37..f2d0726546c7 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -255,6 +255,10 @@ dptx_out: endpoint { }; }; +&gic { + mediatek,broken-save-restore-fw; +}; + &gpu { status = "okay"; mali-supply = <&mt6315_7_vbuck1>;