diff mbox series

[1/3] arm64/sysreg: Add CCSIDR2_EL1

Message ID 20221211051700.275761-2-akihiko.odaki@daynix.com (mailing list archive)
State New, archived
Headers show
Series KVM: arm64: Normalize cache configuration | expand

Commit Message

Akihiko Odaki Dec. 11, 2022, 5:16 a.m. UTC
CCSIDR2_EL1 was added with FEAT_CCIDX.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
---
 arch/arm64/tools/sysreg | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Mark Brown Dec. 19, 2022, 1:12 p.m. UTC | #1
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 <broonie@kernel.org>
Marc Zyngier Dec. 19, 2022, 2:47 p.m. UTC | #2
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 <broonie@kernel.org>

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/20221218051412.384657-2-akihiko.odaki@daynix.com
Mark Brown Dec. 19, 2022, 2:50 p.m. UTC | #3
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 :/
Marc Zyngier Dec. 19, 2022, 3:04 p.m. UTC | #4
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.
diff mbox series

Patch

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