Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4236343rwd; Tue, 23 May 2023 05:18:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4zWbKLGsG8CmKC2K3Tkg5XYUvy88kJR1XW47GpTNtGtbS+Bj1N4p1k8nI/oOqfh3XjQzMl X-Received: by 2002:a17:902:d4c2:b0:1a9:6604:2b1b with SMTP id o2-20020a170902d4c200b001a966042b1bmr13708553plg.20.1684844284978; Tue, 23 May 2023 05:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684844284; cv=none; d=google.com; s=arc-20160816; b=D93L3cICsHWQD4NN7adeUptwafphOe8SZIdN4CQY8NUsbTrM0WQIS+wM5consyC6/C 42kSQZg1AAiy/EKmEuru3jOK8zMdw0yYwdaUrPDY1siksi03qQwGtG4bCpx0EG+88I3x TakaqdexhaJaEihaocHlNocvtnGptpiwjXc6ounUYxrjGbyvG3lWXg3GJE5R3X6/nv+M miND5APrYKwupdvZ9KtKhzECupgSOhUtsvpVl/A7iMoyk7eqlcYcBudxIWrZYxRBJaPp c/zd/mz4CLC/SkXx5WeKVjvbss2zVEA9Yn7Q/GDgOdEOHfS1iiTVt+hWWLQzi/4/SSmE X8Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=a7+lmNkvgkDPIbJbWJa+37ZsupQifuHA5dxnKBCezdg=; b=rE0jVkUrvQioqtMGelxkcwhhIhXyuGt6Q6h0U3++nxguJLPysjaoQZ7TTHXOpfmD5x rd0KGCsxRU9TxHhXPBE/XqUxqTtU1CN1lF0M186U4jrT6HoSvH1krb7UXWy2wBKO8nIP n123GdcMS1qCdQ4zGmdCOgKA3ZD3k2f4q/wY8k1481VqmkJqwtF2UnmSGaMfX22WF2u4 ufZP8uLtIshEI3DSWF5jcaRq6T05nyNQL+WASnA3+8/Dp51TxBqcOUEM9bgdq/CGtXrk o6nsk598g/w4C4fj8dLqEhNaez1wuz/EAWSr33TmS7qMe0j4zS/+2HuvtkvdqCTd8YN2 5e5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jUlw+K71; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id az2-20020a170902a58200b001ac38646f0csi440779plb.27.2023.05.23.05.17.49; Tue, 23 May 2023 05:18:04 -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=@kernel.org header.s=k20201202 header.b=jUlw+K71; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236272AbjEWLkL (ORCPT + 99 others); Tue, 23 May 2023 07:40:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230174AbjEWLkK (ORCPT ); Tue, 23 May 2023 07:40:10 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65963FA for ; Tue, 23 May 2023 04:40:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EF34063174 for ; Tue, 23 May 2023 11:40:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5B3CEC4339B; Tue, 23 May 2023 11:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684842008; bh=CIqgtXfNxXV4OJCYOArXcap4M+bXegRMuYZq5EZqPGI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jUlw+K71LDochSoiUJwNAAdIpo6f6E36p5fZwM5vAw0KwyRnZzqNuXM5QJTLDWC25 yHAfBuDkzYWZRQDOAyafrKXLoKYIWL5AQuA/U/3M93O9FC0/y+I8dKm2jchjzJcS9K 8Ov+eky5ZAPOWipLn31nqpn9ikyowmg9f4iWtMYmHd2BCO5jzyYwD6cpmZXhjR4vHA 2jwRO8YnvAcFwczDk+rRmBt1KlRad8+Z5nVXOR+ucPE7i98+SsESuSr40mvIjvThPn hIObQFVwQJgYdOHQZ2J+jONmAqqeQd4lyfnF6cjlR8yfUw2FmTBlReGSDNoe0rwHk3 VgH3jZclbjvYg== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1q1QN4-00HL9q-78; Tue, 23 May 2023 12:40:06 +0100 Date: Tue, 23 May 2023 12:40:05 +0100 Message-ID: <86pm6rcm3u.wl-maz@kernel.org> From: Marc Zyngier To: Mark Brown Cc: Catalin Marinas , Will Deacon , Oliver Upton , James Morse , Suzuki K Poulose , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev Subject: Re: [PATCH 1/5] arm64/sysreg: Remove some unused sysreg definitions In-Reply-To: <20230419-arm64-syreg-gen-v1-1-936cd769cb9e@kernel.org> References: <20230419-arm64-syreg-gen-v1-0-936cd769cb9e@kernel.org> <20230419-arm64-syreg-gen-v1-1-936cd769cb9e@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: broonie@kernel.org, catalin.marinas@arm.com, will@kernel.org, oliver.upton@linux.dev, james.morse@arm.com, suzuki.poulose@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kvmarm@lists.linux.dev X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 Mon, 22 May 2023 17:22:40 +0100, Mark Brown wrote: > > Since there are no references to OSDTRRX_EL1 or OSECCR_EL1 in the code > just remove the definitions rather than converting to automatic > generation. > > Signed-off-by: Mark Brown > --- > arch/arm64/include/asm/sysreg.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h > index 9e3ecba3c4e6..6505665624d4 100644 > --- a/arch/arm64/include/asm/sysreg.h > +++ b/arch/arm64/include/asm/sysreg.h > @@ -134,11 +134,8 @@ > #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_OSDTRRX_EL1 sys_reg(2, 0, 0, 0, 2) > #define SYS_MDCCINT_EL1 sys_reg(2, 0, 0, 2, 0) > #define SYS_MDSCR_EL1 sys_reg(2, 0, 0, 2, 2) > -#define SYS_OSDTRTX_EL1 sys_reg(2, 0, 0, 3, 2) > -#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) These registers are in active use by the NV patches. Please leave them where they are or convert them to be generated. M. -- Without deviation from the norm, progress is not possible.