From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E354FE92FDE for ; Fri, 6 Oct 2023 10:21:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=nogIeGdysd+Y+qDXICkLieVBWXgNbSjyED1nIxj5l7c=; b=B9Fj4hBW2JTwnY EPxFzIpImZL5um5/ZrPUsk1wysm6kW/fLDMy6eo2TXwScjWAGrE3tHorLTgaq8dglSe9joT0Jzo3I 2ASzC9xENyXHgGUu5q3LosKaQLqKDsn41s8LC1ZF+efWp4RcypKhzEPghr+/C1Mufaj+zp9HD8Br2 Im7WgeiYZzgU2JM85o7OUzLfH5s36YNYWq/RUZ/jJMjLjIDCAHFiDOA6npQW4CYZnBXan2YhccZhw Lo0USjORvZwLrk2xTmkG5puf3Q0X+X99or8AsWQxrkmnlvrj2MKKUW55XFnAcEwq6gYmSdSHuwFa4 PFiNvRcPYDbV/W+/TqHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qohx2-005X0e-0w; Fri, 06 Oct 2023 10:20:56 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qohwz-005WxD-1g; Fri, 06 Oct 2023 10:20:55 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 42971CE2620; Fri, 6 Oct 2023 10:20:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A352C433C8; Fri, 6 Oct 2023 10:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696587649; bh=X9o6NEtPOaUbt8J9+hy7Oi+szPetgHfUiy3SgUBoKO4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XyaAxD5qXPrzWL1HHeK+LKQ9vuZyiDhjiDjrYaWkESMLdr1SpEOa7smYi/lcMHwZh 43qtR0tqviPOiuNRkYpf73iLkqLysp+tvCtrR1R+64s1bFltlqMFjifCCwmqoQ0MD7 ZTMWBhxXY3korwJZmDzzbkw4vre+4TcbsEuFmWYVpR5wAzoT938LbJvAaHUJoMdtcj xOiWXCwhmkb2jCYbgQFfV9bsYqCDsxfHvrudRPb0We+HQAVEH6Yc0bsg+ABGmvuLG3 w6kn3TAjPFvfhwaFLgdThRGiuAREGCRiaS/F0WPw2dD+GNhKDxHiH4PnmnUKu6msvN 2oJCpAmz72lBg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qohws-001g4t-8h; Fri, 06 Oct 2023 11:20:46 +0100 Date: Fri, 06 Oct 2023 11:20:44 +0100 Message-ID: <864jj4njb7.wl-maz@kernel.org> From: Marc Zyngier To: Mark Rutland Cc: Doug Anderson , Catalin Marinas , Will Deacon , Stephen Boyd , Valentin Schneider , Chen-Yu Tsai , AngeloGioacchino Del Regno , D Scott Phillips , Josh Poimboeuf , Matthias Brugger , Misono Tomohiro , Peter Zijlstra , Sumit Garg , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH 1/2] arm64: smp: Fix pseudo NMI issues w/ broken Mediatek FW In-Reply-To: References: <20231002094526.1.Ie8f760213053e3d11592f892b30912dbac6b8b48@changeid> <86jzs2ofqs.wl-maz@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.1 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: mark.rutland@arm.com, dianders@chromium.org, catalin.marinas@arm.com, will@kernel.org, swboyd@chromium.org, vschneid@redhat.com, wenst@chromium.org, angelogioacchino.delregno@collabora.com, scott@os.amperecomputing.com, jpoimboe@kernel.org, matthias.bgg@gmail.com, misono.tomohiro@fujitsu.com, peterz@infradead.org, sumit.garg@linaro.org, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231006_032053_913375_4E632B91 X-CRM114-Status: GOOD ( 14.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 05 Oct 2023 11:27:26 +0100, Mark Rutland wrote: > 3) Partial fix: make the ARM64_HAS_GIC_PRIO_MASKING cpucap depend on the > absence of a "mediatek,broken-save-restore-fw" property in the DT. I believe > we can check that in early_enable_pseudo_nmi() or can_use_gic_priorities(). > > That'll avoid potential issues if/when we change the priorities used for > pNMI (which is something I've been looking at). > > I'm happy with (3) if Marc is. Definitely worth investigating if you have the bandwidth. M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel