Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2001348rwb; Mon, 7 Nov 2022 08:05:29 -0800 (PST) X-Google-Smtp-Source: AMsMyM7yTSsPoC20I3rt2mzyoKSJdzFO11SayIFz0Td3PHp0XyMhcL0o0wIXPkysBdFCI9B2v1EX X-Received: by 2002:a17:90b:33d0:b0:213:137b:1343 with SMTP id lk16-20020a17090b33d000b00213137b1343mr52469197pjb.128.1667837129178; Mon, 07 Nov 2022 08:05:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667837129; cv=none; d=google.com; s=arc-20160816; b=TmF813xqJP4V47yPbXbVegWNUrlGSJs6rT+H5Oz3HXOFKyMvVU3U8zAVpxg5g8sJVY ECwOumYIPB1SJPYny/TYqL+lcf+JvZ2OnedLoY/l6Q0UId5lFlOe+9A9BGdndLSun9sG ngE9Q1v9rcl730tlk7IfvPCpkzGEEbxj4QXMgnAvdJkHBfV8RsBKarC8EzMBzhrCDbll zPp+nVUZu3dA0zUhi6O9nlo7CTngeJgAii0sP8CKMPEnPdbLxexJdAOOdYx9DdeS7ywJ f6ArQvwHxG7END67qpGhHuf5N8K0sa5QzAw6KPFm5dYqIURYMGqCcFwdKles8saRVnAo e7hA== 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:date:dkim-signature; bh=V0Xmk3cF/Cb4t30f+Dlr3856RPuxLLz0YAPM64qiUSs=; b=S3QGManbLbZTPct1wdK1UBOLUu4bnQRgBWUn8qpbzRHPBh0xU7dSsNOUV5XoRc+oKD mDmjwgSKlcWRq4itPSQniH+NeR3CR+i/RE5jNeLtB8lLwYfgFUeTQpZwMxee93YVJwkX jIYM31tynUYjuqZKnn7bWoeRHpcsPd9b3q6pBUctMZsHO/RaPrr5ayZKHYs6UL+IWjSt /MWed7E6HOkApXR+CrpmvoNWkeNv3BlWNoiyNBogFUZeTUGGuvnPtZjt/bgW3eNNmunH UHDBL/5stFnRlEtK8pSKDJG5m2GqaDZr79WA2rt+zflZehojuQ6371GhMf4tPHL6BN+I jvWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="V+0FY/or"; 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 w18-20020a170902c79200b00187075ae5f6si9340996pla.461.2022.11.07.08.05.05; Mon, 07 Nov 2022 08:05:29 -0800 (PST) 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="V+0FY/or"; 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 S232816AbiKGPLU (ORCPT + 92 others); Mon, 7 Nov 2022 10:11:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232686AbiKGPLS (ORCPT ); Mon, 7 Nov 2022 10:11:18 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB3A91E3D4; Mon, 7 Nov 2022 07:11:17 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 5E5EBB81219; Mon, 7 Nov 2022 15:11:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC3D5C433D6; Mon, 7 Nov 2022 15:11:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667833875; bh=wVgLPr5v//yG11ovNQ85JwEVr3YQFb/RyVao7hWCqlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V+0FY/orTZt8mOb9jO02zZqXQwJgbcIqcYmXk5XODvNm+QnTru0kqiwIgZzaEb2yr 9uvDsafbDYZ01c2d00etldMGUDc1+dUoRrbFmBhB1N0OgKexApvC2ihASE52yjy17S Lsrae0+c0CNWW5+llsspm0oIcF55qpxyF7NGLJ0nXjE5JAehXOUn3LqSvqHved8SRL WZLO3njMrB5bVHxGYdg5+WK661dy1GDviEhzfDKFjKg4FcqnWV4JhylF2jpCqN2W0M YKMBEkMrKHeGxQ/+EHwhvg6xcKoqSfufHleq5vjKgtjXBnIeZ9FwwsBR6Z3xuJI31x kXzAi1jwTAmMw== Date: Mon, 7 Nov 2022 15:11:07 +0000 From: Mark Brown To: Rob Herring Cc: Namhyung Kim , Will Deacon , Arnaldo Carvalho de Melo , Jiri Olsa , Peter Zijlstra , Alexander Shishkin , Mark Rutland , Catalin Marinas , Marc Zyngier , Oliver Upton , Ingo Molnar , Suzuki K Poulose , James Morse , Alexandru Elisei , kvmarm@lists.linux.dev, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, James Clark , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu Subject: Re: [PATCH v3 3/8] arm64/sysreg: Convert SPE registers to automatic generation Message-ID: References: <20220825-arm-spe-v8-7-v3-0-87682f78caac@kernel.org> <20220825-arm-spe-v8-7-v3-3-87682f78caac@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2G3Dfetw2HrPyugm" Content-Disposition: inline In-Reply-To: <20220825-arm-spe-v8-7-v3-3-87682f78caac@kernel.org> X-Cookie: Minimum charge for booths. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 --2G3Dfetw2HrPyugm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 04, 2022 at 10:55:03AM -0500, Rob Herring wrote: > Convert all the SPE register defines to automatic generation. No > functional changes. >=20 > New registers and fields for SPEv1.2 are added with the conversion. >=20 > Some of the PMBSR MSS field defines are kept as the automatic generation > has no way to create multiple names for the same register bits. The > meaning of the MSS field depends on other bits. Reviewed-by: Mark Brown > +Sysreg PMSNEVFR_EL1 3 0 9 9 1 > +Field 63:0 E > +EndSysreg JFTR as noted last time this looks nothing like the spec but is clearly a sensible interpretation. I do note that one advantage of doing this register by register rather than en masse is that it makes it a lot easier to avoid re-reviewing the same register... --2G3Dfetw2HrPyugm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmNpIAoACgkQJNaLcl1U h9DvBgf9EuKrsvAgMvRabqAgl2mo979wY3OQJcNNexlQAPguIlNJOpjdL2Dvko0o oHza2RbBfzmfHVQEMoiqbN+VUN9QxV7jgiP/50FrhH3G5oADAMRfYY6ubrg6STfw 1/KlPkOiDj02yrS3S4rqH8gBbJ+OKWmxqFT2mINdB14b50FiSJ2++nKphUYHsS0D IRzNoBLllDsd+NqlXoQ4ma12NpJPOCpF+UOnIha7ersIgXxzrWyNQEkw48uWyg+g xjMyRJZvZW59hE4HPXl/6EypHNrnIBlAVzX+JE3vnep7cn5Y0STit5s53L7kkTsD B9N0R8ar/bOBI7vJMDHmI7qHigyuew== =WP8T -----END PGP SIGNATURE----- --2G3Dfetw2HrPyugm--