xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits
@ 2016-05-31  2:54 Wei Chen
  2016-05-31  2:54 ` [PATCH v4 1/4] xen/arm: Change the variable type of cpu_logical_map to register_t Wei Chen
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Wei Chen @ 2016-05-31  2:54 UTC (permalink / raw)
  To: xen-devel; +Cc: julien.grall, sstabellini, Wei Chen, steve.capper

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(-)

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-01 11:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-31  2:54 [PATCH v4 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits Wei Chen
2016-05-31  2:54 ` [PATCH v4 1/4] xen/arm: Change the variable type of cpu_logical_map to register_t Wei Chen
2016-05-31  2:54 ` [PATCH v4 2/4] xen/arm: Make AFFINITY_MASK generate correct mask for level3 Wei Chen
2016-05-31  2:54 ` [PATCH v4 3/4] xen:arm: arm64: Add correct MPIDR_HWID_MASK value for ARM64 Wei Chen
2016-05-31 10:01   ` Julien Grall
2016-05-31  2:54 ` [PATCH v4 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check Wei Chen
2016-06-01  9:29 ` [PATCH v4 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits Stefano Stabellini
2016-06-01  9:37   ` Wei Liu
2016-06-01 10:37   ` Julien Grall
2016-06-01 11:49     ` Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).