summaryrefslogtreecommitdiffstats
path: root/hw/lm32
diff options
context:
space:
mode:
authorluporl2018-06-08 11:46:55 +0200
committerDavid Gibson2018-06-12 02:44:36 +0200
commitbfda32a87bc77b9fac83f6c2789d65585115970d (patch)
treed0c3d91e63c01c871f9d34861d41cb035d35f304 /hw/lm32
parentppc4xx_i2c: Clean up and improve error logging (diff)
downloadqemu-bfda32a87bc77b9fac83f6c2789d65585115970d.tar.gz
qemu-bfda32a87bc77b9fac83f6c2789d65585115970d.tar.xz
qemu-bfda32a87bc77b9fac83f6c2789d65585115970d.zip
target/ppc: Allow PIR read in privileged mode
According to PowerISA, the PIR register should be readable in privileged mode also, not only in hypervisor privileged mode. PowerISA 3.0 - 4.3.3 Processor Identification Register "Read access to the PIR is privileged; write access is not provided." Figure 18 in section 4.4.4 explicitly confirms that mfspr PIR is privileged and doesn't require hypervisor state. Cc: David Gibson <david@gibson.dropbear.id.au> Cc: Alexander Graf <agraf@suse.de> Cc: qemu-ppc@nongnu.org Signed-off-by: Leandro Lupori <leandro.lupori@gmail.com> Reviewed-by: Jose Ricardo Ziviani <joserz@linux.ibm.com> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/lm32')
0 files changed, 0 insertions, 0 deletions