xen/arm64: head: Correctly report the HW CPU ID
authorJulien Grall <julien.grall@arm.com>
Thu, 11 Apr 2019 20:03:17 +0000 (21:03 +0100)
committerJulien Grall <julien.grall@arm.com>
Wed, 29 May 2019 17:35:08 +0000 (18:35 +0100)
commit0c1ba0c6a0fd88934fd59474d46f3c2677836cb3
tree474a69a30d952bf4d8ec0cd2383844772c429a9d
parent8f1e9a12c6565eee0c593a00d68d0d3970e2727d
xen/arm64: head: Correctly report the HW CPU ID

There are no reason to consider the HW CPU ID will be 0 when the
processor is part of a uniprocessor system. At best, this will result to
conflicting output as the rest of Xen use the value directly read from
MPIDR_EL1.

So remove the zeroing and logic to check if the CPU is part of a
uniprocessor system.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Andrii Anisov <andrii_anisov@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm64/head.S