diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2020-11-27 18:35:05 +0530 |
---|---|---|
committer | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2020-12-15 13:18:06 +0530 |
commit | 6236804f35b0c04f3687e7ff39211a2b8f247535 (patch) | |
tree | ae815afdd0282ddd604c8610427a1601a5b54111 /hdata/spira.h | |
parent | e12574f5cc637421ac409653532a2778615a2803 (diff) | |
download | skiboot-6236804f35b0c04f3687e7ff39211a2b8f247535.zip skiboot-6236804f35b0c04f3687e7ff39211a2b8f247535.tar.gz skiboot-6236804f35b0c04f3687e7ff39211a2b8f247535.tar.bz2 |
hw/ocmb: Clear top bit from offset before searching addr range
Looks like HBRT sets top bit in pcbaddress before making OCMB SCOM request.
We have to clear that bit so that we can find proper address range
for SCOM operation.
Sample failure:
[ 2578.156011925,3] OCMB: no matching address range!
[ 2578.156044481,3] scom_read: to 80000028 off: 8006430d4008c000 rc = -26
Also move HRMOR_BIT macro to common include file (hdata/spira.h -> skiboot.h).
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/spira.h')
-rw-r--r-- | hdata/spira.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/hdata/spira.h b/hdata/spira.h index 2b2955f..18d73bd 100644 --- a/hdata/spira.h +++ b/hdata/spira.h @@ -7,12 +7,6 @@ #include "hdif.h" /* - * To help the FSP to distinguish between physical address and TCE mapped address. - * Also to help hostboot to distinguish physical and relative address. - */ -#define HRMOR_BIT (1ul << 63) - -/* * The SPIRA structure * * NOTE: This is one of the only HDIF structure that we layout entirely |