OSDN Git Service

target/arm: Don't add all MIDR aliases for cores that implement PMSA
authorTobias Röhmel <tobias.roehmel@rwth-aachen.de>
Tue, 6 Dec 2022 10:24:58 +0000 (11:24 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Jan 2023 11:51:09 +0000 (11:51 +0000)
commitc7f786abe2eb2f57d363e76ff992de863e998e1e
treedbe945bd20fa82ca133944166fc981cc2b728712
parent9e65f4e6da56e1c21af9f877e29d9db3a243b7f9
target/arm: Don't add all MIDR aliases for cores that implement PMSA

Cores with PMSA have the MPUIR register which has the
same encoding as the MIDR alias with opc2=4. So we only
add that alias if we are not realizing a core that
implements PMSA.

Signed-off-by: Tobias Röhmel <tobias.roehmel@rwth-aachen.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221206102504.165775-2-tobias.roehmel@rwth-aachen.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c