* [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check
@ 2016-05-25 2:10 Wei Chen
2016-05-25 12:37 ` Peng Fan
2016-05-25 14:11 ` Julien Grall
0 siblings, 2 replies; 4+ messages in thread
From: Wei Chen @ 2016-05-25 2:10 UTC (permalink / raw)
To: xen-devel; +Cc: julien.grall, sstabellini, Wei Chen, steve.capper
In ARM64, the MPIDR multiprocessing extensions bit is reserved to 1.
So, the value check for this bit is no longer necessary on ARM64.
Signed-off-by: Wei Chen <Wei.Chen@linaro.org>
---
xen/arch/arm/arm64/head.S | 1 -
1 file changed, 1 deletion(-)
diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
index 3090beb..91e2817 100644
--- a/xen/arch/arm/arm64/head.S
+++ b/xen/arch/arm/arm64/head.S
@@ -267,7 +267,6 @@ common_start:
* find that multiprocessor extensions are
* present and the system is SMP */
mrs x0, mpidr_el1
- tbz x0, _MPIDR_SMP, 1f /* Multiprocessor extension not supported? */
tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */
ldr x13, =(~MPIDR_HWID_MASK)
--
2.7.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check
2016-05-25 2:10 [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check Wei Chen
@ 2016-05-25 12:37 ` Peng Fan
2016-05-25 13:31 ` Julien Grall
2016-05-25 14:11 ` Julien Grall
1 sibling, 1 reply; 4+ messages in thread
From: Peng Fan @ 2016-05-25 12:37 UTC (permalink / raw)
To: Wei Chen; +Cc: julien.grall, sstabellini, steve.capper, xen-devel
Hi Wei,
On Wed, May 25, 2016 at 10:10:11AM +0800, Wei Chen wrote:
>In ARM64, the MPIDR multiprocessing extensions bit is reserved to 1.
>So, the value check for this bit is no longer necessary on ARM64.
From ARM DDI0487A.G, I found the U bit for MPIDR_EL1:
"
Indicates a Uniprocessor system, as distinct from PE 0 in a multiprocessor system. The possible
values of this bit are:
0 Processor is part of a multiprocessor system.
1 Processor is part of a uniprocessor system.
"
It's not reserved to 1. Which doc are you refering to?
Regards,
Peng.
>
>Signed-off-by: Wei Chen <Wei.Chen@linaro.org>
>---
> xen/arch/arm/arm64/head.S | 1 -
> 1 file changed, 1 deletion(-)
>
>diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
>index 3090beb..91e2817 100644
>--- a/xen/arch/arm/arm64/head.S
>+++ b/xen/arch/arm/arm64/head.S
>@@ -267,7 +267,6 @@ common_start:
> * find that multiprocessor extensions are
> * present and the system is SMP */
> mrs x0, mpidr_el1
>- tbz x0, _MPIDR_SMP, 1f /* Multiprocessor extension not supported? */
> tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */
>
> ldr x13, =(~MPIDR_HWID_MASK)
>--
>2.7.4
>
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xen.org
>http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check
2016-05-25 12:37 ` Peng Fan
@ 2016-05-25 13:31 ` Julien Grall
0 siblings, 0 replies; 4+ messages in thread
From: Julien Grall @ 2016-05-25 13:31 UTC (permalink / raw)
To: Peng Fan, Wei Chen; +Cc: sstabellini, steve.capper, xen-devel
Hello Peng,
On 25/05/16 13:37, Peng Fan wrote:
> On Wed, May 25, 2016 at 10:10:11AM +0800, Wei Chen wrote:
>> In ARM64, the MPIDR multiprocessing extensions bit is reserved to 1.
>> So, the value check for this bit is no longer necessary on ARM64.
>
> From ARM DDI0487A.G, I found the U bit for MPIDR_EL1:
> "
> Indicates a Uniprocessor system, as distinct from PE 0 in a multiprocessor system. The possible
> values of this bit are:
> 0 Processor is part of a multiprocessor system.
> 1 Processor is part of a uniprocessor system.
> "
>
> It's not reserved to 1. Which doc are you refering to?
Please read carefully the patch. The check on MPDIR_EL1.U is kept, only
the check to the RES1 bit ('M' for Aarch32) is removed.
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check
2016-05-25 2:10 [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check Wei Chen
2016-05-25 12:37 ` Peng Fan
@ 2016-05-25 14:11 ` Julien Grall
1 sibling, 0 replies; 4+ messages in thread
From: Julien Grall @ 2016-05-25 14:11 UTC (permalink / raw)
To: Wei Chen, xen-devel; +Cc: sstabellini, steve.capper
Hi Wei,
On 25/05/16 03:10, Wei Chen wrote:
> In ARM64, the MPIDR multiprocessing extensions bit is reserved to 1.
Well, technically the bit is unamed for ARM64. So I would make clear
that the name is from AArch32. Something along:
"The bit 31 (former bit Multiprocessing extensions bit in AArch32) is
always RES1 for AArch64."
> So, the value check for this bit is no longer necessary on ARM64.
>
> Signed-off-by: Wei Chen <Wei.Chen@linaro.org>
> ---
> xen/arch/arm/arm64/head.S | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/xen/arch/arm/arm64/head.S b/xen/arch/arm/arm64/head.S
> index 3090beb..91e2817 100644
> --- a/xen/arch/arm/arm64/head.S
> +++ b/xen/arch/arm/arm64/head.S
> @@ -267,7 +267,6 @@ common_start:
> * find that multiprocessor extensions are
> * present and the system is SMP */
> mrs x0, mpidr_el1
> - tbz x0, _MPIDR_SMP, 1f /* Multiprocessor extension not supported? */
> tbnz x0, _MPIDR_UP, 1f /* Uniprocessor system? */
>
> ldr x13, =(~MPIDR_HWID_MASK)
>
Regards,
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-05-25 14:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-25 2:10 [PATCH 4/4] xen/arm: arm64: Remove MPIDR multiprocessing extensions check Wei Chen
2016-05-25 12:37 ` Peng Fan
2016-05-25 13:31 ` Julien Grall
2016-05-25 14:11 ` Julien Grall
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).