]> git.proxmox.com Git - mirror_qemu.git/commit
arm: Don't clear ARM_FEATURE_PMSA for no-mpu configs
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jun 2017 10:51:47 +0000 (11:51 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 2 Jun 2017 10:51:47 +0000 (11:51 +0100)
commitf50cd31413d8bc9d1eef8edd1f878324543bf65d
treeac854d43f50377be1e99ace5a59ed770937188d1
parent452a095526a0537f16c271516a2200877a272ea8
arm: Don't clear ARM_FEATURE_PMSA for no-mpu configs

Fix the handling of QOM properties for PMSA CPUs with no MPU:

Allow no-MPU to be specified by either:
 * has-mpu = false
 * pmsav7_dregion = 0
and make setting one imply the other. Don't clear the PMSA
feature bit in this situation.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1493122030-32191-6-git-send-email-peter.maydell@linaro.org
target/arm/cpu.c