xen/arm32: head: Correctly report the HW CPU ID
authorJulien Grall <julien.grall@arm.com>
Mon, 15 Apr 2019 12:39:01 +0000 (13:39 +0100)
committerJulien Grall <julien.grall@arm.com>
Thu, 6 Jun 2019 17:44:33 +0000 (18:44 +0100)
commitd3dae2f5c75c2fb8dce65b2ce94b12669e7706ed
treec92640a55ef8e77376878fd5e688228deccbf80c
parent896ebdfa3a85f083c93bec8ae80a535c0e50f47e
xen/arm32: 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.

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/arm32/head.S