xen/arm: arm64: Widen register access to mpidr to 64-bits
cover xen/arm: arm64: Widen register access to mpidr to 64-bits
In ARM64 the MPIDR register is mapped to MPIDR_EL1, and the register bits are expanded to 64-bits. But Xen 64-bit ARM code treats this it as 32-bit register.
We have to provide correct accessing to this register to avoid unexpected issues that is caused by incorrect MPIDR value.
Wei Chen (4):
xen/arm: Change the variable type of cpu_logical_map to register_t xen/arm: Make AFFINITY_MASK generate correct mask for level3 xen:arm: arm64: Add correct MPIDR_HWID_MASK value for ARM64 xen/arm: arm64: Remove MPIDR multiprocessing extensions check
xen/arch/arm/arm64/head.S | 3 +-- xen/arch/arm/gic-v3.c | 2 +- xen/arch/arm/smpboot.c | 13 +++++++------ xen/include/asm-arm/processor.h | 9 +++++++-- 4 files changed, 16 insertions(+), 11 deletions(-)
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
Hi Wei,
Please try to send all the patches with the cover letter as references. git send-email should do it if you send all the patches at once.
This is really helpful to with mail client supporting thread.
Regards,
Quoted 18 lines · Wei Chen
In ARM64 the MPIDR register is mapped to
MPIDR_EL1, and the register bits are expanded to 64-bits. But Xen 64-bit ARM code treats this it as 32-bit register.
We have to provide correct accessing to this register to avoid unexpected issues that is caused by incorrect MPIDR value.Wei Chen (4):
xen/arm: Change the variable type ofcpu_logical_maptoregister_txen/arm: MakeAFFINITY_MASKgenerate correct mask for level3 xen:arm: arm64: Add correctMPIDR_HWID_MASKvalue for ARM64 xen/arm: arm64: Remove MPIDR multiprocessing extensions checkxen/arch/arm/arm64/head.S | 3 +-- xen/arch/arm/gic-v3.c | 2 +- xen/arch/arm/smpboot.c | 13 +++++++------ xen/include/asm-arm/processor.h | 9 +++++++-- 4 files changed, 16 insertions(+), 11 deletions(-)
Signature · 6 lines
Julien Grall _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel