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 E4E64C54E94 for ; Thu, 26 Jan 2023 08:33:32 +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=XIh0W3OiC6MBQ4jhMfcsxOEoKYh/381+UPdsC7I1I6o=; b=eshsJo9PwXBaLK +91taQ30KjxZ6yMsdGiSfveQUmlmrvpJ56ynUah4D31e2Ffci8ManyaG/xKqmgDA5EdpA6RXGdo8I UCHsd9lAPIoBRjTeKB+RDLKIiI6EUStJDwLRB26JrdLEH5rySDRUEqW9J9Iby7Ol9/Jwjf6KWRzXs bNLmhQY5Iu86YTqSJHSWrzZnAWixc2GFNJqYlhwVPAMJyRJltaXEZPkmlNTKoTj86yfytTNyt24aR 2cA8SYpk1ZL6WKidCcFQSR90n96XpysI+B4xHoYS9/miqarYTAJsZptYb7RiWXUisk5IjfKfVGRql 9cEHz6ef7J+HTQIbtxbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKxgM-009z5e-2M; Thu, 26 Jan 2023 08:32:30 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKxgI-009z4O-EE for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 08:32:27 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 21FF16174A; Thu, 26 Jan 2023 08:32:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80185C433EF; Thu, 26 Jan 2023 08:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674721944; bh=wYlNyd+K0jZ6nHH2+NoFq2GPhHX8fEyp0kZZYzCQ9Kg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=B4gfaP+nKfp/h7AqzFroyR6w6Vg7Umk53ZJ8TpuSBypZfjY7k7xr6VMng5/IxtICf ls4V5SvqfncxByPfdgp+riDQ/HzuOpWJotanFfEGWXbuWcpPpHHZmzlawRfgfN764s LwD/lVCHTS44P6Yj3y/Do3yIFQfiQkC5Cu8hDwfPH7m2zwGkStYnDxOWkWjWcPHk04 DhQ+9XnT4GAZnkZ2UH3Vpt/tlq1heL1ctCmeC20EA0Qh/Q4D2OUfeJF/LGQmhTubDT y89qPGWLY4irgh8FBr0KDXpRr85px9QjYkhbLjLNm3NhrQsHhRpBl791aNTI+ZBjd2 mpM5fq/YCMLrg== Received: from ip-185-104-136-29.ptr.icomera.net ([185.104.136.29] helo=wait-a-minute.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 1pKxgE-004l0K-1j; Thu, 26 Jan 2023 08:32:22 +0000 Date: Thu, 26 Jan 2023 08:31:29 +0000 Message-ID: <878rhpely6.wl-maz@kernel.org> From: Marc Zyngier To: Mark Rutland Cc: linux-arm-kernel@lists.infradead.org, broonie@kernel.org, catalin.marinas@arm.com, will@kernel.org Subject: Re: [PATCH v2 4/5] arm64: add ARM64_HAS_GIC_PRIO_RELAXED_SYNC cpucap In-Reply-To: <20230125163826.496739-5-mark.rutland@arm.com> References: <20230125163826.496739-1-mark.rutland@arm.com> <20230125163826.496739-5-mark.rutland@arm.com> 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/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.104.136.29 X-SA-Exim-Rcpt-To: mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, broonie@kernel.org, catalin.marinas@arm.com, will@kernel.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-20230126_003226_543932_8C10800D X-CRM114-Status: GOOD ( 18.85 ) 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 Wed, 25 Jan 2023 16:38:25 +0000, Mark Rutland wrote: [...] > @@ -1768,16 +1759,8 @@ static void gic_enable_nmi_support(void) > for (i = 0; i < gic_data.ppi_nr; i++) > refcount_set(&ppi_nmi_refs[i], 0); > > - /* > - * Linux itself doesn't use 1:N distribution, so has no need to > - * set PMHE. The only reason to have it set is if EL3 requires it > - * (and we can't change it). > - */ I think this is still an important comment as it gives a rationale for the extra synchronisation even if Linux doesn't use 1:N distribution: If you get secure interrupts in the non-secure priority space, they are subjected to the NS PMR setting. Could you find a new home for it? Thanks, 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