From patchwork Thu May 11 22:05:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 92864 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp4698693vqo; Thu, 11 May 2023 15:10:51 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6Reta4YiR9ozYb1Pf2CpRtlNuHcad7YlKE4NY03q8HRjITV+7TpuIznY8HdOH2Cz/pZmJG X-Received: by 2002:a17:90a:8283:b0:250:c4c1:882 with SMTP id g3-20020a17090a828300b00250c4c10882mr9429123pjn.30.1683843051605; Thu, 11 May 2023 15:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683843051; cv=none; d=google.com; s=arc-20160816; b=g4QX+ahDbiiekWpb41ypM+CN3NZ5/5FfYXSOFTDzWpOiryZz0VXivznSKTvLfgSmyG ar0i+d/mRq5K3zQ46VQoGZm8HnoksYREj5xn3jKxy5em+pEzaGO/ncG4kF03g7TLarJw yhK+foAvESPXbJ2aRXUu/evJxXz9MZ3dznJFctIIRVrImoK7/Y+0pS0qzxm91E8nTvpT Y0PlzMXvo2D1vYa0rN24DcT+hA7oPwpZ02nUnPkA+5RaxRY8ypEYY5nnb/x5ZlhViECl ssoH6Spl2T0zphJgsXULtmMc/m+/6uhMj3jkkasZVAbHn9XS4rGGWxqxfilT3yn0OgO1 QQHA== 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=M9QSMFz65Ju7EmZBc7wzRidxFiF3tMihmY8MVBVsH1A=; b=cDlzmTwqS5ndbg165xLdbM5xtFuOClrntBJQ5IUILlbOzvOu9/As+2ssU8dnNpIxdd D583/cgs5gjmPTCHSqdz/CksXuQ6n4jboBgB15XAu/B+GN9B5trZP38rpDSC+GMCtDDA 432SE8D7Jw6LoV5zLJpomOTMK22smVlogHTLarIkwOb5qzjf8YsLmnubtXC1PSbqpdal l+5CTo0PyahZNwozqvY98DFuiIev9P4JPaycITEhgPBsORr/AI+tIEjBAI7YgQizcnvj hvzL193IEY/w/v2FI0cGo6QeC+YZq5YNH395rE0Mdgbi8X1TII8a5ySSkLa/Tbmd7jRU J1cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=abRhbKBI; 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 nv18-20020a17090b1b5200b002501435d2d0si19199686pjb.89.2023.05.11.15.10.35; Thu, 11 May 2023 15:10:51 -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=abRhbKBI; 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 S239479AbjEKWHz (ORCPT + 99 others); Thu, 11 May 2023 18:07:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239281AbjEKWHg (ORCPT ); Thu, 11 May 2023 18:07:36 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD8456A4B for ; Thu, 11 May 2023 15:07:31 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1aad55244b7so70840645ad.2 for ; Thu, 11 May 2023 15:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1683842851; x=1686434851; 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=M9QSMFz65Ju7EmZBc7wzRidxFiF3tMihmY8MVBVsH1A=; b=abRhbKBISwnKIWQVVQLKMmznwGGgrunWJMU/0VhjZdk/cc8Usl3g7DWYipdY5FH4Aa PYljErc5sO2VT6nHpZ9+hN48TDAeiFKIpy5ftWwgGLS6b+dIANlIcesFzchIJOByDFVC BBFJO49zGeiHXqEiNa88t39sNijH1lwGc6/zA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683842851; x=1686434851; 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=M9QSMFz65Ju7EmZBc7wzRidxFiF3tMihmY8MVBVsH1A=; b=SckI4+LHf/0yVIDcpBQyEWG5hY8yrTOVrGjIOWVim1wno6QqI9J1SOza6jtgJgqrBd wNLheu4+wJ9BEGMN68YZKO07KxuNguVxvMkh6dI5wA5ow2r0zI+z5C4vfmv9Gd170scR 7F+gDRVbxBD++mItdAaADfmqpGq3AcFVUV90cuErKyCjFaL4WvqTpcg4vdN5XC6bBPV9 ZnLIitCx9f/bw9I8H606JqJGACKTLFCUV3+CzYDRnF/FJYpn7C7pZ60CWZDn/GngIS7c mW5BAS9g0ZgMcJkqb7Xiex9B9ikTkd1TviHSWaALsipaXIUH3A+w31thWdXNYuukthEU 61UA== X-Gm-Message-State: AC+VfDyqgJLkzkKIzOKUCD4HN+J3eSV7k4yPwaH5as0+zkOKBMpJtya2 Gc6gOTRnAnVQaL8SkxGbMuo5kQ== X-Received: by 2002:a17:903:2342:b0:1a5:1438:9bcd with SMTP id c2-20020a170903234200b001a514389bcdmr29543096plh.35.1683842851177; Thu, 11 May 2023 15:07:31 -0700 (PDT) Received: from tictac2.mtv.corp.google.com ([2620:15c:9d:2:b96a:d776:ee3:e572]) by smtp.gmail.com with ESMTPSA id h24-20020a17090a9c1800b00247735d1463sm17589457pjp.39.2023.05.11.15.07.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 May 2023 15:07:30 -0700 (PDT) From: Douglas Anderson To: Marc Zyngier , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Matthias Brugger Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, wenst@chromium.org, Eddie Huang , Allen-KH Cheng , Ben Ho , Weiyi Lu , AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, Tinghan Shen , jwerner@chromium.org, Hsin-Hsiung Wang , yidilin@chromium.org, Seiya Wang , Douglas Anderson , Conor Dooley , linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: dts: mediatek: mt8195: Add mediatek,gicr-save-quirk Date: Thu, 11 May 2023 15:05:40 -0700 Message-ID: <20230511150539.6.Ia0b6ebbaa351e3cd67e201355b9ae67783c7d718@changeid> X-Mailer: git-send-email 2.40.1.606.ga4b1b128d6-goog In-Reply-To: <20230511150539.6.Ia0b6ebbaa351e3cd67e201355b9ae67783c7d718@changeid> References: <20230511150539.6.Ia0b6ebbaa351e3cd67e201355b9ae67783c7d718@changeid> 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?1765637411990578183?= X-GMAIL-MSGID: =?utf-8?q?1765637411990578183?= 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: 37f2582883be ("arm64: dts: Add mediatek SoC mt8195 and evaluation board") Signed-off-by: Douglas Anderson Reviewed-by: Julius Werner --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index a44aae4ab953..6df9ad8f658f 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -463,6 +463,7 @@ gic: interrupt-controller@c000000 { reg = <0 0x0c000000 0 0x40000>, <0 0x0c040000 0 0x200000>; interrupts = ; + mediatek,gicr-save-quirk; ppi-partitions { ppi_cluster0: interrupt-partition-0 {