All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits
@ 2016-05-25  2:08 Wei Chen
  2016-05-25 13:41 ` Julien Grall
  0 siblings, 1 reply; 2+ messages in thread
From: Wei Chen @ 2016-05-25  2:08 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] 2+ messages in thread

* Re: [PATCH 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits
  2016-05-25  2:08 [PATCH 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits Wei Chen
@ 2016-05-25 13:41 ` Julien Grall
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Grall @ 2016-05-25 13:41 UTC (permalink / raw)
  To: Wei Chen, xen-devel; +Cc: sstabellini, steve.capper

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,

On 25/05/16 03:08, Wei Chen wrote:
> 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(-)
>

-- 
Julien Grall

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

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

end of thread, other threads:[~2016-05-25 13:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25  2:08 [PATCH 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits Wei Chen
2016-05-25 13:41 ` Julien Grall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.