|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeature
commit 9ebd9550f6bbec7f3ae474ebaad5a6f119402b6c
Author: Bertrand Marquis <bertrand.marquis@xxxxxxx>
AuthorDate: Mon Jun 13 13:53:13 2022 +0100
Commit: Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>
CommitDate: Wed Jun 15 17:33:47 2022 -0700
arm: add ISAR2, MMFR0 and MMFR1 fields in cpufeature
Complete AA64ISAR2 and AA64MMFR[0-1] with more fields.
While there add a comment for MMFR bitfields as for other registers in
the cpuinfo structure definition.
Signed-off-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
xen/arch/arm/include/asm/cpufeature.h | 28 +++++++++++++++++++++++-----
1 file changed, 23 insertions(+), 5 deletions(-)
diff --git a/xen/arch/arm/include/asm/cpufeature.h
b/xen/arch/arm/include/asm/cpufeature.h
index 24c01d2b9d..c86a2e7f29 100644
--- a/xen/arch/arm/include/asm/cpufeature.h
+++ b/xen/arch/arm/include/asm/cpufeature.h
@@ -234,6 +234,7 @@ struct cpuinfo_arm {
union {
register_t bits[3];
struct {
+ /* MMFR0 */
unsigned long pa_range:4;
unsigned long asid_bits:4;
unsigned long bigend:4;
@@ -242,18 +243,31 @@ struct cpuinfo_arm {
unsigned long tgranule_16K:4;
unsigned long tgranule_64K:4;
unsigned long tgranule_4K:4;
- unsigned long __res0:32;
-
+ unsigned long tgranule_16k_2:4;
+ unsigned long tgranule_64k_2:4;
+ unsigned long tgranule_4k_2:4;
+ unsigned long exs:4;
+ unsigned long __res0:8;
+ unsigned long fgt:4;
+ unsigned long ecv:4;
+
+ /* MMFR1 */
unsigned long hafdbs:4;
unsigned long vmid_bits:4;
unsigned long vh:4;
unsigned long hpds:4;
unsigned long lo:4;
unsigned long pan:4;
- unsigned long __res1:8;
- unsigned long __res2:28;
+ unsigned long specsei:4;
+ unsigned long xnx:4;
+ unsigned long twed:4;
+ unsigned long ets:4;
+ unsigned long __res1:4;
+ unsigned long afp:4;
+ unsigned long __res2:12;
unsigned long ecbhb:4;
+ /* MMFR2 */
unsigned long __res3:64;
};
} mm64;
@@ -297,7 +311,11 @@ struct cpuinfo_arm {
unsigned long __res2:8;
/* ISAR2 */
- unsigned long __res3:28;
+ unsigned long wfxt:4;
+ unsigned long rpres:4;
+ unsigned long gpa3:4;
+ unsigned long apa3:4;
+ unsigned long __res3:12;
unsigned long clearbhb:4;
unsigned long __res4:32;
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |