From cfad3552a96071e7e0ea912e9cfa351cdc707d6e Mon Sep 17 00:00:00 2001 From: Stephen Glancy Date: Tue, 6 Aug 2019 13:04:44 -0400 Subject: Fixes maintenance pattern load bug Explorer and Nimbus have different locations within the buffers for the maintenance patterns. This commit fixes a bug where only the Nimbus locations were used. Change-Id: Id8f617191b1ae9a4b09b893a1507d299f240c50f Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81774 Reviewed-by: Mark Pizzutillo Tested-by: FSP CI Jenkins Tested-by: Jenkins Server Dev-Ready: STEPHEN GLANCY Tested-by: Hostboot CI Tested-by: HWSV CI Tested-by: PPE CI Reviewed-by: ANDRE A MARIN Reviewed-by: Jennifer A Stofer Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/81915 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Christian R Geddes --- src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/import/chips/p9/procedures/hwp/memory') diff --git a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H index 9add5ceb8..2a576acc8 100644 --- a/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H +++ b/src/import/chips/p9/procedures/hwp/memory/lib/mcbist/mcbist_traits.H @@ -589,6 +589,10 @@ class mcbistTraits static constexpr uint64_t XLTATE1 = MCA_MBA_MCP0XLT1; static constexpr uint64_t XLTATE2 = MCA_MBA_MCP0XLT2; + // Maintenance data location within the array + static constexpr uint64_t MAINT_DATA_INDEX_START = 0b111110000; + static constexpr uint64_t MAINT_DATA_INDEX_END = 0b111111000; + enum { // Register field constants -- cgit v1.2.1