Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp845635rbd; Fri, 23 Feb 2024 05:32:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVC+x5wzDiupAfWlylY6ho+hiCjQcAX8jOj5lLI4AaifjAhrGgGv1TRiz0rYMA/spRYQSBrZ9X07M/Kt1lCNOop0A5jTZxley+LfrS/mA== X-Google-Smtp-Source: AGHT+IE9TrFPpI5lnbXGpLNBSXPGCnxJs3OtlFhYtNvLvVsesDDS2lorfTHIigjv1obnQ3I/PBSe X-Received: by 2002:a05:6214:248e:b0:68f:2d80:c41c with SMTP id gi14-20020a056214248e00b0068f2d80c41cmr2740164qvb.24.1708695133554; Fri, 23 Feb 2024 05:32:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708695133; cv=pass; d=google.com; s=arc-20160816; b=Nr1f9+uPLx8QluU8cUa3+u5YaAMFPR7FTgGHVuqvwErjhAsDkL6CGkOmP00scqHOXp Vx/fYHp3PxyDue6Ovqamsp/cVs8cgHRNBpuAJaAJqeVMy8YMYyShibg7Aa6VdUo78Qh5 iIoccywLCK/AZI+kNR+NfppYIqUtQOqMiq9C7Ws9/0PCW7mxpG27op0rkVS1iXnquPxE wrHH8vNPcgAX91lH9/nL1PYY/y/FoRmDwWE953lT6UwBhqnhSiKD+jR7K6buQbKpGAii fylTj0OxI3zwLrDdvCs/7IQn7q1r6Q0f5jXOz/J9pbTQWdHBn5blHKJW7dBY0alSKjAD 23rA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gQn5UTl5JKh4D4SB6kO6dJWyPw+k9QH+4jgr3Jr1P9M=; fh=dxAldXVOdSRLQH4q/trJM65VNo5KEeT26eQJOE+Vc1E=; b=RVGRrIIzaMrXnuxxXjFyAOFAgqhAkkxhGwOxiyjgfFzh1LSwG8UMZqFEw/yBHxBIJs KHio5HwhtYXNPI2//Jvk7uH9BFQ1UTMs803WIDMU6Wn3cRlKu/J/mVxEobzR9EnVtUG9 /b6HojMiYioLFJ64q+L8pXBD2kJoDUr8vUkivL40deXGrvtg209cB+DoYb1Hsmao+0eC AiY8qSvLsZYsetk8VM9Oe2cPJ/loAAi3KE2H19Mnwxe98hRu4rQWUj4jXgQXqh2V9u0R qwhhkUaE30O/0cn7XoRPzX0HVx9oBhaH2mE3OIc9RAHcWQHjAN+A+EocgKogTial/saB HtQg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uTUYTql4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a6-20020ad45c46000000b0068f6bcd2108si12402129qva.172.2024.02.23.05.32.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 05:32:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uTUYTql4; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 4FD221C20865 for ; Fri, 23 Feb 2024 13:32:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99C217EF00; Fri, 23 Feb 2024 13:32:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uTUYTql4" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C42446280B; Fri, 23 Feb 2024 13:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708695125; cv=none; b=erqkm0wjqBOHc9oNU+iKEU9UD1iDMRLWoSa9SRTHovVcUufyYqktzBe/L6eK56NAHEgLS9xsQd/g397iRzZMrlDJm9AkoJcxnI6AkzE0YJYPlvfwWbPV+zo01zcm8uXHpDEi84BXXq3d42iLER3YLRgK8Q5Xe95MHYqT7qgoWYk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708695125; c=relaxed/simple; bh=gQn5UTl5JKh4D4SB6kO6dJWyPw+k9QH+4jgr3Jr1P9M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=eacvOX8i0nLp5Noube1ecOV6Y63JSsDsN0PbsbTOfSIBBshKsVtHQzaGRTEsJLZbRqoaQrBYPSVVdKPDo/SnjHuWEdDpOvJb3s8IQbOQAu8Y8DMDAXH4a93LbXzQGGMMtBEQJyW9cUaJB9CcnS04Ioez9ivm+xSFDlmmKiTBAQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uTUYTql4; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ED1D5C433F1; Fri, 23 Feb 2024 13:32:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708695125; bh=gQn5UTl5JKh4D4SB6kO6dJWyPw+k9QH+4jgr3Jr1P9M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uTUYTql4jfqmXOuIjA7PJ2Mb6oP7H/d9E3ZkLfsEpPIeL4AeITRTUkOFP2exhYZix 18vBvcdy7pjQgYfVgHRT/zUcFYTJEnWjVMtUIxyNMW6rKdnPNqsBDsL2cERV1YKCtL B2cd2lazMu4ODZS9TvOj9+/X/cAJVVte3QL8ieoc6W4osBCcupuxK6+3VoIXktwZ8z ec47J/Hh6FFsu8Ka/3HawSpWetQUX/qVyBTSTst7L2c3muTUJw9Jh3dsamrKXv1ZZy 2nYUV3O3wAoG7hxSyavBLkT9cgBRuCQrllz4wOKtkxJL/amYhdr8P6XsA6NCrZBNHo 221fIoHMictLg== Date: Fri, 23 Feb 2024 13:31:58 +0000 From: Mark Brown To: Anshuman Khandual Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, catalin.marinas@arm.com, James Clark , Rob Herring , Marc Zyngier , Suzuki Poulose , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , linux-perf-users@vger.kernel.org Subject: Re: [PATCH V16 1/8] arm64/sysreg: Add BRBE registers and fields Message-ID: References: <20240125094119.2542332-1-anshuman.khandual@arm.com> <20240125094119.2542332-2-anshuman.khandual@arm.com> <7fe52cb9-12b9-4b03-8e55-08e59b4bef27@sirena.org.uk> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4llPrfxUQhdEFbq0" Content-Disposition: inline In-Reply-To: X-Cookie: You might have mail. --4llPrfxUQhdEFbq0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Feb 23, 2024 at 10:58:12AM +0530, Anshuman Khandual wrote: > On 2/21/24 19:37, Mark Brown wrote: > > On Wed, Feb 21, 2024 at 02:05:24PM +0000, Mark Rutland wrote: > >> Sure, we're inconsistent. I'd just prefer that there's *some* local ordering > >> here, as the patch is neither ordered as above nor by encoding: > > I agree, I'm just saying that if we're going to fix the ordering it'd > > probably be better to go along with what the rest of the file is doing. > Sure, will change the registers order as has been suggested earlier i.e > alphanumerically instead. Because ordering registers with encoding will > push BRBCR_EL2/12 after all other BRBE registers, including BRBIDR0_EL1. > After the change > BRBCR_EL1 > BRBCR_EL12 > BRBCR_EL2 The _EL2/12 registers generally come at the end of the file due to the way the encodings work? --4llPrfxUQhdEFbq0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmXYnkEACgkQJNaLcl1U h9Bl7Qf/T6AgPiF3hy4ca5oIw9FbPpc/LuFaIqEzsSx0bRIxMIzzxJXU8vg8ybuN OENNS3EwOwe1WWO0bLK0CRa7xrNbw+/UKGIDMpcDSB3BsCWRoaPOXDlzm8FO41Xv 5txtkQxK70NgX73qqOcN3HR4rEnM6MNbAYnIJKFrJ0Q5ziH8Th7DwIUSFRGiwPbk zUoyEfmPM7HSOOp5F7YwvZVByfXxEnsMufrAOPjmTnULJKRil2y6YZIxwjwHx8eo ETEjNcnJimHc8kpO1u5LVLykQDRDOk9M/3a3MS/mbr4iEXc4FxR0ULR8OAxvFj5e cGqUKN3QrTI9u/8xU6EmL4fXZBjkEA== =k3W3 -----END PGP SIGNATURE----- --4llPrfxUQhdEFbq0--