From: Wei Chen <wei.chen@linaro.org>
To: xen-devel@lists.xen.org
Cc: julien.grall@arm.com, sstabellini@kernel.org,
Wei Chen <Wei.Chen@linaro.org>,
steve.capper@arm.com
Subject: [PATCH v2 0/4] xen/arm: arm64: Widen register access to mpidr to 64-bits
Date: Thu, 26 May 2016 15:58:39 +0800 [thread overview]
Message-ID: <20160526075843.25236-1-Wei.Chen@linaro.org> (raw)
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
next reply other threads:[~2016-05-26 7:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-26 7:58 Wei Chen [this message]
2016-05-26 7:58 ` [PATCH v2 1/4] xen/arm: Change the variable type of cpu_logical_map to register_t Wei Chen
2016-05-26 7:58 ` [PATCH v2 2/4] xen/arm: Make AFFINITY_MASK generate correct mask for level3 Wei Chen
2016-05-26 7:58 ` [PATCH v2 3/4] xen:arm: arm64: Add correct MPIDR_HWID_MASK value for ARM64 Wei Chen
2016-05-27 10:50 ` Julien Grall
2016-05-30 1:50 ` Wei Chen
2016-05-26 7:58 ` [PATCH v2 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check Wei Chen
2016-05-27 10:51 ` Julien Grall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160526075843.25236-1-Wei.Chen@linaro.org \
--to=wei.chen@linaro.org \
--cc=julien.grall@arm.com \
--cc=sstabellini@kernel.org \
--cc=steve.capper@arm.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).