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 72107C7EE23 for ; Tue, 23 May 2023 08:13:41 +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=1ClZSe/lVkge4e64J+lEtuA5mmb0QhYdQTfbtJnGn+E=; b=Js20Cf9YrO6H31 WvmD3ml5qhOw8jYJlnxZZsJnP747nYVqj8MH/9UK1et6WrDdv/Zvu0o6feNqAbgfNabvU1E0J3W8D XcixzVdtY/PDPkaZ/5KZs3ieUpDQDIrNxjLetG3OwIG3OsanfEmwxXi/+uINynJNJsv3cUgSBgcEK KbaPSN19yItOFXyzXtDNRPKM5MjlcmNlPoJ6uRdOTtygLoQwKo5+/BW2Ha61bOWxXmvje9oOQ61+Q vdZtieHDyanlWKC9nqzNUEk7K6ce89F3IW2TyFbm4S9MRTVMOwfTJ6Mzp/9BbgshF7yJUDyk1nXTU oLa1t3GfF2/tDOeDRvOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1N8p-009OR8-2U; Tue, 23 May 2023 08:13:11 +0000 Received: from out-33.mta0.migadu.com ([2001:41d0:1004:224b::21]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q1N8m-009OQV-0Z for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 08:13:09 +0000 Date: Tue, 23 May 2023 08:13:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1684829584; 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=lo+8u5rwataPck7mvk/JQ6bPb50N+x5IthJ2AVYj7TE=; b=T5pEjF+rE92i+/I/aK5r3XFh/21/ovkhnZi11b8TR+6H0j1dSUORt9wRBEWHqUDnRiD6Z6 mpYeaJNiFi+aqKaOpLxZX5SWooZ0yiOPOZXr3wKe5SVOr3vHoFfRRkHS4jLX0qkvdiiuOX zve6banWIftcCrPi7Jf4gPt2hb1A1gY= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Oliver Upton To: Mark Brown Cc: Catalin Marinas , Will Deacon , Marc Zyngier , James Morse , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev Subject: Re: [PATCH 5/5] arm64/sysreg: Convert OSLAR_EL1 to automatic generation Message-ID: References: <20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org> <20230419-arm64-syreg-gen-v1-5-936cd769cb9e@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230419-arm64-syreg-gen-v1-5-936cd769cb9e@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_011308_373356_CDA9E5FE X-CRM114-Status: GOOD ( 14.05 ) 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 Mon, May 22, 2023 at 05:22:44PM +0100, Mark Brown wrote: > Convert OSLAR_EL1 to automatic generation as per DDI0601 2023-03. No > functional change. > > Signed-off-by: Mark Brown > --- > arch/arm64/include/asm/sysreg.h | 3 --- > arch/arm64/tools/sysreg | 5 +++++ > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index 09de958e79ed..3b51e532caa9 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -140,9 +140,6 @@ > #define SYS_DBGWCRn_EL1(n) sys_reg(2, 0, 0, n, 7) > #define SYS_MDRAR_EL1 sys_reg(2, 0, 1, 0, 0) > > -#define SYS_OSLAR_EL1 sys_reg(2, 0, 1, 0, 4) > -#define OSLAR_EL1_OSLK BIT(0) > - > #define SYS_OSLSR_EL1 sys_reg(2, 0, 1, 1, 4) > #define OSLSR_EL1_OSLM_MASK (BIT(3) | BIT(0)) > #define OSLSR_EL1_OSLM_NI 0 Should the OSLSR_EL1 definitions be rolled over to the generated scheme as well? > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index a5ae0e19fc9f..84df0b7feb45 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -83,6 +83,11 @@ Res0 5:1 > Field 0 SS > EndSysreg > > +Sysreg OSLAR_EL1 2 0 1 0 4 > +Res0 63:1 > +Field 0 OSLK > +EndSysreg > + > Sysreg ID_PFR0_EL1 3 0 0 1 0 > Res0 63:32 > UnsignedEnum 31:28 RAS > > -- > 2.30.2 > -- Thanks, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel