diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2018-03-26 12:15:07 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2018-03-29 16:11:03 -0400 |
commit | 46cd9952ddffed4cfbe26912bbafa982f96d3733 (patch) | |
tree | d26b2bce8a41a47ba5ce4bae93d7f3ea93878bb7 /src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C | |
parent | a6bd3b6514e066c1274c7c38b74190b38f6185f8 (diff) | |
download | talos-hostboot-46cd9952ddffed4cfbe26912bbafa982f96d3733.tar.gz talos-hostboot-46cd9952ddffed4cfbe26912bbafa982f96d3733.zip |
PRD: Disable Dynamic Memory Deallocation for MBA
Disabling the function until we are able to completely support it for the MBA.
This avoids sending any false messages to the hypervisor.
Change-Id: I4b694c13e09253b126e0faeb2a760bf673f212f7
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56259
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56409
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>
Diffstat (limited to 'src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C')
-rw-r--r-- | src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C index 7c2ce36aa..005e2ee3f 100644 --- a/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C +++ b/src/usr/diag/prdf/plat/mem/prdfMemDynDealloc.C @@ -224,13 +224,6 @@ int32_t __getMcaPortAddr( ExtensibleChip * i_chip, MemAddr i_addr, template<TYPE T> int32_t getSystemAddr( ExtensibleChip * i_chip, MemAddr i_addr, uint64_t & o_addr ); -template<> -int32_t getSystemAddr<TYPE_MBA>( ExtensibleChip * i_chip, MemAddr i_addr, - uint64_t & o_addr ) -{ - // TODO - RTC: 157588 - return SUCCESS; -} template<> int32_t getSystemAddr<TYPE_MCA>( ExtensibleChip * i_chip, MemAddr i_addr, @@ -371,6 +364,22 @@ int32_t getSystemAddr<TYPE_MCA>( ExtensibleChip * i_chip, MemAddr i_addr, #undef PRDF_FUNC } +template<> +int32_t getSystemAddr<TYPE_MBA>( ExtensibleChip * i_chip, MemAddr i_addr, + uint64_t & o_addr ) +{ + #define PRDF_FUNC "[MemDealloc::getSystemAddr] " + + // TODO - RTC: 190115 + PRDF_ERR( PRDF_FUNC "not supported on MBA yet: i_chip=0x%08x", + i_chip->getHuid() ); + return FAIL; // Returning FAIL will prevent us from sending any false + // messages to the hypervisor. + + #undef PRDF_FUNC +} + +//------------------------------------------------------------------------------ template<TYPE T> int32_t page( ExtensibleChip * i_chip, MemAddr i_addr ) |