target/arm: Add VHE timer register redirection and aliasing
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Feb 2020 14:04:25 +0000 (14:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 7 Feb 2020 14:04:25 +0000 (14:04 +0000)
commitbb5972e439dc0ac4d21329a9d97bad6760ec702d
tree425e0a95ad32928725f854d80436bb47945a4f30
parente2cce18f5c1d0d55328c585c8372cdb096bbf528
target/arm: Add VHE timer register redirection and aliasing

Apart from the wholesale redirection that HCR_EL2.E2H performs
for EL2, there's a separate redirection specific to the timers
that happens for EL0 when running in the EL2&0 regime.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200206105448.4726-30-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c