Thread (46 messages) 46 messages, 5 authors, 2023-06-14

Re: [PATCH V11 02/10] arm64/perf: Add BRBE registers and fields

From: Anshuman Khandual <hidden>
Date: 2023-06-14 02:59:22
Also in: linux-perf-users, lkml


On 6/13/23 21:57, Mark Rutland wrote:
On Wed, May 31, 2023 at 09:34:20AM +0530, Anshuman Khandual wrote:
quoted
This adds BRBE related register definitions and various other related field
macros there in. These will be used subsequently in a BRBE driver which is
being added later on.

Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Tested-by: James Clark <redacted>
Reviewed-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Anshuman Khandual <redacted>
---
 arch/arm64/include/asm/sysreg.h | 103 +++++++++++++++++++++
 arch/arm64/tools/sysreg         | 159 ++++++++++++++++++++++++++++++++
 2 files changed, 262 insertions(+)
quoted
+SysregFields BRBINFx_EL1
quoted
+Enum	1:0	VALID
+	0b00	NONE
+	0b01	TARGET
+	0b10	SOURCE
+	0b11	FULL
+EndEnum
This looks correct...

[...]
quoted
+Sysreg	BRBINFINJ_EL1	2	1	9	1	0
quoted
+Enum	1:0	VALID
+	0b00	NONE
+	0b01	TARGET
+	0b10	SOURCE
+	0b00	FULL
+EndEnum
... but this clearly isn't.
Fixed VALID_FULL as 0b11.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help