Skip to content

Commit

Permalink
HDAT: Update on MMIO range address
Browse files Browse the repository at this point in the history
MMIO range address is updated with the real address mask as the
hypervisor team wanted the data to be in this format.

Change-Id: I4cd5ab3bc8ae0f2563f232fe8739ba8015d78ee5
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/93901
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sampa Misra <sampmisr@in.ibm.com>
Reviewed-by: Daniel M Crowell <dcrowell@us.ibm.com>
  • Loading branch information
jaypadath authored and dcrowell77 committed Apr 1, 2020
1 parent 0b49c19 commit 8e9344f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/usr/hdat/hdatutil.C
Expand Up @@ -2267,10 +2267,14 @@ void hdatGetMemTargetMmioInfo(TARGETING::Target* i_pTarget,
(mmioDev.mmioBaseAddr & 0xFFFFFFFF00000000ull) >> 32;
l_mmioObj.hdatMmioAddrRngStrAddr.lo =
mmioDev.mmioBaseAddr & 0x00000000FFFFFFFFull;
l_mmioObj.hdatMmioAddrRngStrAddr.hi |= HDAT_REAL_ADDRESS_MASK;

l_mmioObj.hdatMmioAddrRngEndAddr.hi =
(mmioDev.mmioEndAddr & 0xFFFFFFFF00000000ull) >> 32;
l_mmioObj.hdatMmioAddrRngEndAddr.lo =
mmioDev.mmioEndAddr & 0x00000000FFFFFFFFull;
l_mmioObj.hdatMmioAddrRngEndAddr.hi |= HDAT_REAL_ADDRESS_MASK;

l_mmioObj.hdatMmioHbrtChipId = mmioDev.hbrtId;

if (mmioDev.accessSize == 8)
Expand Down

0 comments on commit 8e9344f

Please sign in to comment.