aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2016-09-05 15:26:10 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-09-06 16:19:15 +1000
commitcd649b56867cbf959159c20c6cb3c077f88c7448 (patch)
treeab217397f7e97e6e26124b531c01e50aa17768fd /include
parentfb03f0bb19a5717aadb2729b871c0000f5214258 (diff)
downloadskiboot-cd649b56867cbf959159c20c6cb3c077f88c7448.zip
skiboot-cd649b56867cbf959159c20c6cb3c077f88c7448.tar.gz
skiboot-cd649b56867cbf959159c20c6cb3c077f88c7448.tar.bz2
core/init: ensure that HRMOR is zero at boot
We have only ever supported running with HRMOR = 0. Having a non-zero HRMOR causes all real mode accesses to have the value of HRMOR bitwise ORed into the address that would have been accessed. This causes issues when accessing MMIO registers such as the XSCOMs. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/processor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/processor.h b/include/processor.h
index caca804..4b11702 100644
--- a/include/processor.h
+++ b/include/processor.h
@@ -67,6 +67,7 @@
#define SPR_SPURR 0x134 /* RW: Scaled Processor Utilization Resource */
#define SPR_PURR 0x135 /* RW: Processor Utilization Resource reg */
#define SPR_HDEC 0x136 /* RW: Hypervisor Decrementer */
+#define SPR_HRMOR 0x139 /* RW: Hypervisor Real Mode Offset reg */
#define SPR_HSRR0 0x13a /* RW: HV Exception save/restore reg 0 */
#define SPR_HSRR1 0x13b /* RW: HV Exception save/restore reg 1 */
#define SPR_TFMR 0x13d