target-arm: Report a valid L1Ip field in CTR_EL0 for CPU type "any"
commit0e7b176ae01d5a664d4cbf619a7315819494e6cb
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Oct 2014 11:19:13 +0000 (24 12:19 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 24 Oct 2014 11:19:13 +0000 (24 12:19 +0100)
treed838ef227e2471cb0bfa9635958d7847040ff221
parent14e5f106073d67e5a00a8f29a017550b0436bde8
target-arm: Report a valid L1Ip field in CTR_EL0 for CPU type "any"

For the CPU type "any" (only used with linux-user) we were reporting
the L1Ip field as 0b00, which is reserved. Change this field to 0b10
instead, indicating a VIPT icache as the comment describes.

Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 1412966807-20844-1-git-send-email-peter.maydell@linaro.org
target-arm/cpu64.c