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 83701C48260 for ; Thu, 8 Feb 2024 20:54:01 +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=glU6BItpWxQoRnILebFvlmp7857JzXA+9HQ4ZwBuZuI=; b=1LGzIFwHiLB7V8 RYmT/6a/XcQjcetRr/U0CwCwj9a3g5s31tVL2teVGlHwmiyma3ov9OQLBBFsQcidbOBCVYiwK3+0j HWZ3UFBSE+kv6lWB7iaAPRZ0++4fpCC1coibVb87VkAlQQZI7UpO5dYZnTP6LCaFgCxO0qgRthVf5 sSM1Bc6bwU7FO6TLpKXTfJuvkEshzDHxJn8pnlHsCGwGLz1z9HhD4YFrfDO+r/aoUN0XClcpaIWH4 73Y+Dscxdr1pmakhqf4L3EiBVeekYdaIQ9uSVw7mXdk9IHA8ZehuSSWzGYutvZl/XJxBc6W9SkIdD r8QBGJMDAnpsZ3txe0Pg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYBP3-0000000EuiV-3PrR; Thu, 08 Feb 2024 20:53:49 +0000 Received: from out-175.mta1.migadu.com ([95.215.58.175]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rYBOz-0000000EuhU-4BL5 for linux-arm-kernel@lists.infradead.org; Thu, 08 Feb 2024 20:53:47 +0000 Date: Fri, 9 Feb 2024 05:53:31 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1707425619; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Bh27zfxzDpDBFdtyfBEcGayQCP/w77W8t0bdC/iu/w0=; b=aHFctp+qcB65YFFGCTQkvcAB0ILnnLUUeZitHXjv7oI/8WH5+3zivIHBzWYrsA3tQtOUaG URJw9tknPIDefY7J2J/+ytFgXD4zQiGnISZ6T9zbk7iUvf12289fDSseWXd8+qEvcuvjDg dM2jSuQaqyc2Mn2ql0b6R023gAJwhDU= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Itaru Kitayama To: Mark Rutland 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-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240208_125346_766880_A533064B X-CRM114-Status: GOOD ( 22.53 ) 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 12:38:12PM +0000, Mark Rutland wrote: > 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 > > ... ? If it's worth it, yes please. Thanks, Itaru. > > Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel