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 2FADFC77B75 for ; Tue, 23 May 2023 08:22:26 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9RiUdYNbhZgRn3ancjp3dWBWLeVomm3qHAm/7kNxfhI=; b=hX+7kqsdJ3a/OG dYrGvmTAmdHkc55JQLJ7l3cUnc3XDIgJ+GpkjY3Sn8iEUw9NI3RfAa0p6cO5sDDLDUOtkAz0nmlWH +x775j9xq6LwmY9KU9ZEDPJ2PJtCkmSL8E5BwlfPOoh0S4U0SDcJi3WoTeGrcszNTrvOoDstYlFMw 4+5oDi1D/7Dk4/FCAG5HC6f3+PtOoS10BvLoDBGEmZ9MbD6XbXLOfb0EdTk7LLq5rk3sjApqOZae4 fyVDevaEdxfWwWD1cxw8lrtot+A5A0r++HXsi2R3ZoZTA1R0a+sgwnpmg34JH87/u1ZREpVky8R6e eBsTV/qXZS+P0CnNOqVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1NHK-009QGk-1t; Tue, 23 May 2023 08:21:58 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q1NHG-009QF2-2x for linux-arm-kernel@lists.infradead.org; Tue, 23 May 2023 08:21:57 +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 D7BF9139F; Tue, 23 May 2023 01:22:32 -0700 (PDT) Received: from [10.162.42.7] (unknown [10.162.42.7]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id AF07C3F762; Tue, 23 May 2023 01:21:44 -0700 (PDT) Message-ID: Date: Tue, 23 May 2023 13:51:41 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 5/5] arm64/sysreg: Convert OSLAR_EL1 to automatic generation Content-Language: en-US To: Oliver Upton , 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 References: <20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org> <20230419-arm64-syreg-gen-v1-5-936cd769cb9e@kernel.org> From: Anshuman Khandual In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230523_012155_002334_6FDA3FC8 X-CRM114-Status: GOOD ( 13.66 ) 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 5/23/23 13:43, Oliver Upton wrote: > 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? Agreed, was about to ask the same question :) Any reason it got skipped ? > >> 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 >> > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel