Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4334446rwd; Tue, 30 May 2023 04:06:23 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4qlBjr5TCGtoODvDPH1yVTqCyZQzjLoCfeUgHEzHifFhFww5CKyWwb1V0fwOH6Cqf5CY4i X-Received: by 2002:a17:903:1251:b0:1b0:26f0:8778 with SMTP id u17-20020a170903125100b001b026f08778mr2500557plh.19.1685444782858; Tue, 30 May 2023 04:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685444782; cv=none; d=google.com; s=arc-20160816; b=zXNiaJV3PRiNHPGCT1staujJ9kUlueVNSlDf/LzTGvavVpc3cmRbys0ySdTqbMEfdf tcmllF0XivSADmyALe9wWbyCVRiThaovCZx4L56nIqTCWsvS28lssJJ9HSXM0i0XPsRZ px1Bgt6mH8rHNRX13fjAPhG1Ni7uzUlAuZmVbKwXRh7oPO2RgpvL2ZIuj1KTltYM6Y8A x8h0X5ZsHoPRDqRXTswqHYGGKk35+eCdEv/1OsHWWwql74bzzw1exq7G3JFlgX+ptRIp olxusVEJdxNQ8aXyXqVq2fyMfDlaUEWMgufJ27u9sI7YrGmp7Yp5uSDftVCnFcYpIydk q7wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=7r4Mnem7kmzwqmYPUjeTXwU41wAFR83DgbxuqCZJ8nM=; b=DdMseN/mRgTaEhhDCRQlh6PwapXOHmWv3v6CJZBVID1W3PUA7+WSgrpGMuV/SvD2Ad PvRP1dG8Pn3uny6L2lfLdfwYCgysnsFjXw6XZ2gxwBOJ6Qv7H9tP34/Xubx8d4nBi2bT LfcgnxCeyKVgP4t8+bwihu1s39E1BPkA/50Ww2rq0KpL1srBLBvzByTRjtLtYSUV4CZ2 Ss5H1o4SPI8lNOBCNzO2rObEF0EHOIDREA0M4ty6H7x3Y60Yv1j68Zp2HYrP6C794glk NNHLTIwqeYwYaQnEAe1C4Ls5u9pPhMHzlfAte1Y1tE/OnWUimAVwaNsXPGSunGQ4LeHY 3iCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=V3NylsnV; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a170902ce8f00b001ae42afbf93si6238560plg.450.2023.05.30.04.06.09; Tue, 30 May 2023 04:06:22 -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=@redhat.com header.s=mimecast20190719 header.b=V3NylsnV; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231573AbjE3K5E (ORCPT + 99 others); Tue, 30 May 2023 06:57:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231639AbjE3K4s (ORCPT ); Tue, 30 May 2023 06:56:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 15E13D9 for ; Tue, 30 May 2023 03:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685444164; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=7r4Mnem7kmzwqmYPUjeTXwU41wAFR83DgbxuqCZJ8nM=; b=V3NylsnVcUKXlon4E5PNzDUEKnboVteO/E19K8veTt7ekBBz4YJFbyKiWjm4+5T/9CjAM7 M3aAwYnkai5xVjGrVmNexSJlnkFsTE3AYTWh5l0zXW1X6SYxUXpxuozccE+wXj7vGI0wiS k66I564gofYrwdFeklhIABCHl85AXfA= Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-620-5c_DZ-WlOzGJYjjkTy2o6w-1; Tue, 30 May 2023 06:55:55 -0400 X-MC-Unique: 5c_DZ-WlOzGJYjjkTy2o6w-1 Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-64f383f88dfso1020023b3a.1 for ; Tue, 30 May 2023 03:55:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685444154; x=1688036154; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7r4Mnem7kmzwqmYPUjeTXwU41wAFR83DgbxuqCZJ8nM=; b=QBAZjleUpjpTXisxmVnM1tAQunVKG4bCA3dznEIO1S9ZNo1sUbNi3o6/Ke46UDG9JS burm3Gp0iXzM9kvyjJa+4WEO8vQZrIiC8mZZ/skDGXvY3P3JIPm6cl4fLvwvhMcVdO79 wSLhmR8N9UZOgo3iktOYvXf3Vtz6DZ7TgQyLv5vX/0KfjZlHbmo6DEy72ke7wi42T+gl pf85pmUDMO/WB0vAJKVZpS87IrtANftNdLvTprLdEZBr64DalSA1N2LwDpl3t/8ut4ox uHVa1bgi+j8x9f/bMtUf64yxk4pxE3adEvFNQf6PB7l6y89Mb5ndqQc2n9eqVFpvjPgP zwpA== X-Gm-Message-State: AC+VfDwYEWlBy3zjVOZ8IDcl5ihcb/tFT3YWXUN8DHehwc8dcqhTlzT2 hurrETljXmsmYo5oLqxX5rzsRiUx+FBBMjjcKPavAm0tDykxVMAPMjth5+jhROtNWHsbFYiEDkv YN5IK3KNGJuttRatYwV8QA0DL X-Received: by 2002:a17:902:d2cf:b0:1ad:eada:598b with SMTP id n15-20020a170902d2cf00b001adeada598bmr2094734plc.3.1685444154261; Tue, 30 May 2023 03:55:54 -0700 (PDT) X-Received: by 2002:a17:902:d2cf:b0:1ad:eada:598b with SMTP id n15-20020a170902d2cf00b001adeada598bmr2094720plc.3.1685444153998; Tue, 30 May 2023 03:55:53 -0700 (PDT) Received: from [10.66.61.39] ([209.132.188.80]) by smtp.gmail.com with ESMTPSA id h20-20020a170902f7d400b001aaed55aff3sm5579270plw.137.2023.05.30.03.55.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 May 2023 03:55:53 -0700 (PDT) Message-ID: <3772ec3f-cafa-6d90-77e4-d1594e4046dd@redhat.com> Date: Tue, 30 May 2023 18:55:49 +0800 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 v2 7/7] arm64/sysreg: Convert OSECCR_EL1 to automatic generation Content-Language: en-US To: Mark Brown , Catalin Marinas , Will Deacon , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev References: <20230419-arm64-syreg-gen-v2-0-4c6add1f6257@kernel.org> <20230419-arm64-syreg-gen-v2-7-4c6add1f6257@kernel.org> From: Shaoqin Huang In-Reply-To: <20230419-arm64-syreg-gen-v2-7-4c6add1f6257@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 5/24/23 02:37, Mark Brown wrote: > Convert OSECCR_EL1 to automatic generation as per DDI0601 2023-03, no > functional changes. > Reviewed-by: Shaoqin Huang > Signed-off-by: Mark Brown > --- > arch/arm64/include/asm/sysreg.h | 1 - > arch/arm64/tools/sysreg | 5 +++++ > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index d9711f1e47b2..23a17da500a4 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -134,7 +134,6 @@ > #define SYS_SVCR_SMSTART_SM_EL0 sys_reg(0, 3, 4, 3, 3) > #define SYS_SVCR_SMSTOP_SMZA_EL0 sys_reg(0, 3, 4, 6, 3) > > -#define SYS_OSECCR_EL1 sys_reg(2, 0, 0, 6, 2) > #define SYS_DBGBVRn_EL1(n) sys_reg(2, 0, 0, n, 4) > #define SYS_DBGBCRn_EL1(n) sys_reg(2, 0, 0, n, 5) > #define SYS_DBGWVRn_EL1(n) sys_reg(2, 0, 0, n, 6) > diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg > index e18ae1df41f4..41462785020b 100644 > --- a/arch/arm64/tools/sysreg > +++ b/arch/arm64/tools/sysreg > @@ -93,6 +93,11 @@ Res0 63:32 > Field 31:0 DTRTX > EndSysreg > > +Sysreg OSECCR_EL1 2 0 0 6 2 > +Res0 63:32 > +Field 31:0 EDECCR > +EndSysreg > + > Sysreg OSLAR_EL1 2 0 1 0 4 > Res0 63:1 > Field 0 OSLK > -- Shaoqin