Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp765800rdb; Thu, 22 Feb 2024 21:28:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWdlhAzFVoGPm4Z9/U6UX4JCiC0RbBn5uPcw5bRfdwe7LKf208x//cgX3Y1544Qc32EixHag6OgZj6r82WT/iiEwZkBB/XpcEKEPAbhOg== X-Google-Smtp-Source: AGHT+IFvUU3Fb/ZV3pUwSPusV5DI9FtXcOOBKfXaWpEKnuvYxcPsv9y5dOwYjMUMEkkABPnOlUnn X-Received: by 2002:a05:6214:1bcf:b0:68f:6c38:c4aa with SMTP id m15-20020a0562141bcf00b0068f6c38c4aamr1746360qvc.35.1708666124232; Thu, 22 Feb 2024 21:28:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708666124; cv=pass; d=google.com; s=arc-20160816; b=rqnHHhV76JPFpm2K5ij4nUw3bxM8ehLHdX4edUi3243pk2MqpKlq4M2lVGvJKO0aCz 9ek6WDcXqbx+tRRU/ZJmcU3n4SmI8+X+W5tg/hhnMT0IHjfB8N3CLvbtWYyWO/lvV+tP HegTkALZyyHJP0Ow9qZOhJMFe/XhDIGL/HKfO9AZQ8SPfrgZj7BL5bdknIMFU72s9QNI /QDXNLM2KxmQdcb19Qr9kwF+Xyvs+nYnoiDK6toY+bJeoXxr8EdGbeO/arvu75uth1JG 1nFljCJtS7QuQ/zQOJKcubech6PUEAMRZuTJWy4Sq+8vWmcnOPydu1vvYLf+2/QTexMR 5zPQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=lUpr2ZtY37gUEziVuBMDJEn5n1K7EZg9qAtds470G/M=; fh=TL2cFMEGPX7fKYqJW8JlK8fIvyTSa9t6S/vam9Tdn7o=; b=iLo2Uqn4zfQiV7/xDYbJEOIoDqg1cBVeYvcQfSJHO0fkiONaMWAki2FUBdP9Yem9e8 SGtF4gheYDRLsQ5l824G+btVNYoVYzFrO88LuoeEWStYm/n0tx8KhJsfbIngBndrKT39 gfFK8iEyQwb4iO7nuM07x7V8e9sJofK0iqE4ZvFANr/JtlqWiOMmuEuWctWYEEV0COAn NSOsFxQppJuzUkbdivK9X+L5ChaIz39qH3cz6haB74iu7PZAr7WGsRXacqa6yR6pOGsI 8/PzX1SrwnBkCPhAaBJOLxuHIV/7f65MIi7gL87tYS4NfVPZlVPgvNx1uDAO8XaF/kP2 R0Lg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-77787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id gv4-20020a056214262400b0068f5be39eb5si11982931qvb.247.2024.02.22.21.28.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 21:28:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77787-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; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-77787-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77787-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com 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 EA84E1C22B96 for ; Fri, 23 Feb 2024 05:28:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C7D5125DD; Fri, 23 Feb 2024 05:28:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC97A11CBC; Fri, 23 Feb 2024 05:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708666107; cv=none; b=M/OvewAtzz2Ug+jSc1z3wzEug5c1wMgdwN9ghpcg13CNzNCH4g/+GAZK5Mmjxi/kFdPrKv98s+lSeEFV6rZtNW7JdTrLhlSaC49oTB+BQwHdOFPgq90ZDiPG5PCL2LVmSY0PoOWompXxX3bWLixcmuHh4p3+/eK07dfIe3nGxig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708666107; c=relaxed/simple; bh=BxFIY73UwVqcn1XxxMS8/BIuaTqDQWKPcpVpw9L/lYc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uhcA+UbJs2UmUimFpcOoFyYIDWr7qS/uzC33WoMBmWDGLROgi6S4j71zNWDu0b2N6jJLtZwjeAWuO5R6EZBMmzX5FaftL/+dxlvEpax8L26yb18ILl1kOu+5b1hJz9WvYhvfW8kInXvPspphVaoc1QpN3AHrhE1kYmdzQtGL8Zc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1A7CE15DB; Thu, 22 Feb 2024 21:28:57 -0800 (PST) Received: from [10.163.46.223] (unknown [10.163.46.223]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 290E43F766; Thu, 22 Feb 2024 21:28:13 -0800 (PST) Message-ID: Date: Fri, 23 Feb 2024 10:58:12 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V16 1/8] arm64/sysreg: Add BRBE registers and fields Content-Language: en-US To: Mark Brown , Mark Rutland Cc: 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 References: <20240125094119.2542332-1-anshuman.khandual@arm.com> <20240125094119.2542332-2-anshuman.khandual@arm.com> <7fe52cb9-12b9-4b03-8e55-08e59b4bef27@sirena.org.uk> From: Anshuman Khandual In-Reply-To: <7fe52cb9-12b9-4b03-8e55-08e59b4bef27@sirena.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/21/24 19:37, Mark Brown wrote: > On Wed, Feb 21, 2024 at 02:05:24PM +0000, Mark Rutland wrote: >> On Wed, Feb 21, 2024 at 01:59:03PM +0000, Mark Brown wrote: >>> On Wed, Feb 21, 2024 at 01:52:38PM +0000, Mark Rutland wrote: > >>> It's a good point about the sorting, though the file is currently mostly >>> sorted by encoding rather than alphanumerically (similarly to how >>> sysreg.h was done). > >> 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