diff options
author | Rick Ward <rward15@us.ibm.com> | 2018-10-03 13:22:01 -0500 |
---|---|---|
committer | Christian R. Geddes <crgeddes@us.ibm.com> | 2018-12-13 14:55:16 -0600 |
commit | 8923b2a9a3c9c477c646df3a4c66690a75ab8479 (patch) | |
tree | 4436a6b7fbbdae005ef5dce8eac97b25c837662a /src/include/sys/mmio.h | |
parent | f7cb4b2a4cf432f56d91c12e39e4dae41e8facdf (diff) | |
download | talos-hostboot-8923b2a9a3c9c477c646df3a4c66690a75ab8479.tar.gz talos-hostboot-8923b2a9a3c9c477c646df3a4c66690a75ab8479.zip |
Inband MMIO access to OCMB
This is an untested version of the new MMIO device driver that
will give access to the OCMB. It will be tested once the Axone
model IPLs in Simics.
Change-Id: I4bc1d2f7306f1b238d1d65c24462ac4121266b11
RTC: 189447
RTC: 189220
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/66941
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Matt Derksen <mderkse1@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/include/sys/mmio.h')
-rw-r--r-- | src/include/sys/mmio.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/sys/mmio.h b/src/include/sys/mmio.h index 75d923e41..e1dfdbf4d 100644 --- a/src/include/sys/mmio.h +++ b/src/include/sys/mmio.h @@ -152,11 +152,24 @@ static const uint64_t MMIO_IBSCOM_UE_DETECTED = 0x53434F4D4641494C; /** Constants used to define IBSCOM MMIO address ranges */ -static const uint64_t MMIO_IBSCOM_BASE_MASK = 0x6030220000000; +static const uint64_t MMIO_IBSCOM_BASE_MASK = 0x0006030220000000; static const uint64_t MMIO_IBSCOM_DMI_MASK = 0x000000001FFFFFFF; static const uint64_t MMIO_IBSCOM_CHIP_MASK = 0x00001C0000000000; static const uint64_t MMIO_IBSCOM_GROUP_MASK = 0x0001700000000000; +/** Constant used by kernel to signal to OCMB MMIO device driver + * that a UE was triggered during the OCMB MMIO Read operation + * Value is "OCMBFAIL" in ASCII. + */ +static const uint64_t MMIO_OCMB_UE_DETECTED = 0x4F434D424641494C; + +/** Constants used to define OCMB MMIO address ranges + * OCMB physical memory starts at 3TB + 16GB + * 64 OCMBs * 4GB per OCMB = 256GB +*/ +static const uint64_t MMIO_OCMB_BASE_MASK = 0x0006030400000000; // 3TB + 16GB +static const uint64_t MMIO_OCMB_BASE_RANGE = 0x00000070FFFFFFFF; // 256GB + #ifdef __cplusplus } #endif |