2022-12-11 05:21:17

by Akihiko Odaki

[permalink] [raw]
Subject: [PATCH 1/3] arm64/sysreg: Add CCSIDR2_EL1

CCSIDR2_EL1 was added with FEAT_CCIDX.

Signed-off-by: Akihiko Odaki <[email protected]>
---
arch/arm64/tools/sysreg | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg
index 384757a7eda9..0fb08c53fcdb 100644
--- a/arch/arm64/tools/sysreg
+++ b/arch/arm64/tools/sysreg
@@ -887,6 +887,11 @@ Field 5:3 Ctype2
Field 2:0 Ctype1
EndSysreg

+Sysreg CCSIDR2_EL1 3 1 0 0 2
+Res0 63:24
+Field 23:0 NumSets
+EndSysreg
+
Sysreg GMID_EL1 3 1 0 0 4
Res0 63:4
Field 3:0 BS
--
2.38.1


2022-12-19 13:38:42

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64/sysreg: Add CCSIDR2_EL1

On Sun, Dec 11, 2022 at 02:16:58PM +0900, Akihiko Odaki wrote:
> CCSIDR2_EL1 was added with FEAT_CCIDX.

This corresponds to the definition in DDI0487I.a.

Reviewed-by: Mark Brown <[email protected]>


Attachments:
(No filename) (207.00 B)
signature.asc (499.00 B)
Download all attachments

2022-12-19 15:07:49

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64/sysreg: Add CCSIDR2_EL1

On Mon, Dec 19, 2022 at 02:47:25PM +0000, Marc Zyngier wrote:

> Since you're reviewing some of this, please have a look at v3[1],
> which outlined a limitation of the sysreg generation tool as well
> as a potential fix.

Hrm, would've been nice to be CCed on stuff for the tool :/


Attachments:
(No filename) (289.00 B)
signature.asc (499.00 B)
Download all attachments

2022-12-19 15:32:03

by Marc Zyngier

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64/sysreg: Add CCSIDR2_EL1

On 2022-12-19 14:50, Mark Brown wrote:
> On Mon, Dec 19, 2022 at 02:47:25PM +0000, Marc Zyngier wrote:
>
>> Since you're reviewing some of this, please have a look at v3[1],
>> which outlined a limitation of the sysreg generation tool as well
>> as a potential fix.
>
> Hrm, would've been nice to be CCed on stuff for the tool :/

Apologies for missing the Cc update. I'll add you to the list
next time.

M.
--
Jazz is not dead. It just smells funny...

2022-12-19 15:38:14

by Marc Zyngier

[permalink] [raw]
Subject: Re: [PATCH 1/3] arm64/sysreg: Add CCSIDR2_EL1

On 2022-12-19 13:12, Mark Brown wrote:
> On Sun, Dec 11, 2022 at 02:16:58PM +0900, Akihiko Odaki wrote:
>> CCSIDR2_EL1 was added with FEAT_CCIDX.
>
> This corresponds to the definition in DDI0487I.a.
>
> Reviewed-by: Mark Brown <[email protected]>

Since you're reviewing some of this, please have a look at v3[1],
which outlined a limitation of the sysreg generation tool as well
as a potential fix.

Thanks,

M.

[1]
https://lore.kernel.org/r/[email protected]
--
Jazz is not dead. It just smells funny...