Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4003317rwd; Tue, 23 May 2023 01:26:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ586Dr6LB75L17gWWHa7BIFXREwj2M9Ko3XjKFg0SYSp7EEPoOMgulzEJj794Xuh/xU5vTW X-Received: by 2002:a05:6a20:3d0c:b0:104:1f67:1157 with SMTP id y12-20020a056a203d0c00b001041f671157mr15826473pzi.26.1684830374816; Tue, 23 May 2023 01:26:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684830374; cv=none; d=google.com; s=arc-20160816; b=BM15zwn8KD5fCq37IdMip7gmssBJzd5L3ge2RJFKVXkkuwBvqkrimr/+oGAAjNs3DV lRSlLppFqFkWFRDgnqloq/CulX0ulNsrhAAH90fs/fRijzKSD8U+Ps22bjtsQIlnXr9c pkPsyZfdt732HAnljWqq6awhLLE6aY/O2USsIRKQFVTrJOYJMCRJcgf/hwugjhvY0n26 nnJyUeHGsYDFgUg7F7Pi91YnQDfEsbNtIwy1VK+vGtBAhDACIF34UAex/IMsGBUSCVH9 aYjK41J7gESj8Cxky+5VlhBxC8zmekIDPecsw2qaEuLvPq0/0qX7nD7VKqfKC6Mv3K/b n5fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=lo+8u5rwataPck7mvk/JQ6bPb50N+x5IthJ2AVYj7TE=; b=loiIskJjPPRCbFY5es5CFTUo7Ypq3UVIE8dQ0+JQyCwK32Gac0Fe6THdzExWCr+pI8 bDVZdBZAKCnl8kAOSWtBt7sdwf50tMVtoGepIxTyoMhn2Ds6/j1f4TY/VNbzHrGyW0LA /nEkUZD9pmQL45qCKSLEbqrp/0Jwp1ZfawXXPUZHYDwfUxRlOBUsWivdrlL0QiF509He RdO+QHtu6hzsZNo6rxdSFH5/ibEXfgOL3Wa7sYz4eklVpgtV7sQ5uMCqboz1Zz/aozom r4xUrJEerbYgzwHgKETUgoP1zyxXGG5Ad3+oAPdrO6pk0NecBILfXVPIN1XvzamhUue8 FGtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=T5pEjF+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j3-20020a637a43000000b00513f070aa0dsi6345756pgn.655.2023.05.23.01.26.02; Tue, 23 May 2023 01:26:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=T5pEjF+r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235423AbjEWIPY (ORCPT + 99 others); Tue, 23 May 2023 04:15:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236156AbjEWIOz (ORCPT ); Tue, 23 May 2023 04:14:55 -0400 Received: from out-62.mta0.migadu.com (out-62.mta0.migadu.com [IPv6:2001:41d0:1004:224b::3e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 755381BC8 for ; Tue, 23 May 2023 01:13:06 -0700 (PDT) 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230419-arm64-syreg-gen-v1-5-936cd769cb9e@kernel.org> X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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