arm64: Unconditionally set virtual cpu id registers
authorVladimir Murzin <vladimir.murzin@arm.com>
Tue, 16 Mar 2021 13:43:19 +0000 (13:43 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Mar 2021 09:51:13 +0000 (10:51 +0100)
commit167a6f9124114f5d188a70b867f932d12745a444
tree64339cb5022b53c7acaa81caaa8cf3fb5bf66662
parentbd3cc4be01bf91cd99c68427789df03cb6762868
arm64: Unconditionally set virtual cpu id registers

Commit 78869f0f0552 ("arm64: Extract parts of el2_setup into a macro")
reorganized el2 setup in such way that virtual cpu id registers set
only in nVHE, yet they used (and need) to be set irrespective VHE
support.

Fixes: 78869f0f0552 ("arm64: Extract parts of el2_setup into a macro")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/include/asm/el2_setup.h