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 B2E47C48260 for ; Thu, 8 Feb 2024 12:38:38 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ApP3oLOFgOmxVB80cV5EXxFE1OHLoGOw3CBp4e9DUxs=; b=4o4seipvrL34IP NXVp5JSUW8h5RK1MIBm8Mt7u2LsPlwL8DKtDIwnqI6KTsmqJRKFaF6vY8Qtt1UGCqvd67emLRbtOm Pz+POmMjAhMHcuntSfG0AWkocu9n6UhoBHSW9tcb2yAo9UxmJoW9NDSnBVEuXMNOOO5+uD6/JXu3c 6wzUocWRG/q9LV3T43dCSPtEV2HN50nkKmQpc5EqAcSsHpasHL0QqwvkuLFtrPvbEpBhP0JksF0Jq ro9Kr3qvw+iS54jV1f4PZB7ze+wq9R4sniTY3I3eWXVNxY3HJVIel1R9fnDulUVUD6C32T6KmrKoB WEcztfl49i4LZdlsjucA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3ff-0000000Dki6-0aqq; Thu, 08 Feb 2024 12:38:27 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rY3fd-0000000DkhN-1Wp0 for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 12:38:26 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5A0851FB; Thu, 8 Feb 2024 04:39:02 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.33.184]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 2D5B13F5A1; Thu, 8 Feb 2024 04:38:19 -0800 (PST) Date: Thu, 8 Feb 2024 12:38:12 +0000 From: Mark Rutland To: Itaru Kitayama Cc: linux-arm-kernel@lists.infradead.org, broonie@kernel.org, catalin.marinas@arm.com, james.morse@arm.com, will@kernel.org Subject: Re: [PATCH 0/3] arm64: cleanup DAIF handling for EL0 returns Message-ID: References: <20240206123848.1696480-1-mark.rutland@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_043825_468282_2465B5AD X-CRM114-Status: GOOD ( 20.49 ) 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, Feb 08, 2024 at 11:28:32AM +0900, Itaru Kitayama wrote: > On Tue, Feb 06, 2024 at 12:38:45PM +0000, Mark Rutland wrote: > > Hi, > > > > These patches rework DAIF handling when returning to EL0, simplifiying > > the logic in do_notify_resume() and allowing Debug + SError to be > > unmasked for a little longer during exception return. > > > > My primary motivation for these changes is to centralize entry/exit DAIF > > management within entry-common.c, as this will allow entry/exit > > sequences to be specialised, and make it much easier to add support for > > FEAT_NMI. With specialized entry DAIF management, it will also be > > possible to simplify local_daif_{save,restore}() and > > local_irq_{save,restore}(). > > > > I'm sending this out on its own as (IMO) it's a nice cleanup on its own, > > and I don't believe that I'll have the remainder of the DAIF rework > > ready for this cycle. > > > > The series is based on v6.8-rc3. > > > > Mark. > > > > Mark Rutland (3): > > arm64: Simplify do_notify_resume() DAIF masking > > arm64: Move do_notify_resume() to entry-common.c > > arm64: Unmask Debug + SError in do_notify_resume() > > > > arch/arm64/include/asm/exception.h | 2 +- > > arch/arm64/kernel/entry-common.c | 36 ++++++++++++++++++++++++++- > > arch/arm64/kernel/signal.c | 39 ++---------------------------- > > 3 files changed, 38 insertions(+), 39 deletions(-) > > Boot tested on RevC FVP and kselftest arm64 subcategory runs without an error > on RevC FVP too. Thanks for testing! Would you be happy for that to imply a tested-by tag, e.g. Tested-by: Itaru Kitayama ... ? Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel