summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-10-31 11:21:09 +0530
committerSubrata Banik <subratabanik@google.com>2023-11-01 04:15:45 +0000
commit35348fc0058c514653228f8e53d30181cff794d1 (patch)
tree69ceb067294b2b5df6acd0b87556c47a06cf21e5
parent08db7cd0d05ae54d1f0ea4f894f5220c8de42985 (diff)
mb/google/rex: Avoid hang for pre-prod SoC by setting SAGV_POINTS_0_1_2
Intel has identified an idle hang issue on pre-prod silicon that will not be fixed or root-caused. To avoid the issue, this commit sets SaGvWpMask to SAGV_POINTS_0_1_2 in the devicetree. Note: This change will affect system power. BUG=b:287170545 TEST=Able to idle for more than 5+ hours without any hang on google/screebo. Change-Id: Id0b8db0076d983d336c3bec6d6c33614c69964d1 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/78794 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb2
-rw-r--r--src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
index 0835ded2f2..7358eeb80c 100644
--- a/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
+++ b/src/mainboard/google/rex/variants/baseboard/ovis/devicetree_pre_prod.cb
@@ -52,6 +52,8 @@ chip soc/intel/meteorlake
register "cnvi_bt_core" = "true"
register "sagv" = "SAGV_ENABLED"
+ # TODO(b/287170545): workaround avoid DUT random hang
+ register "sagv_wp_bitmap" = "SAGV_POINTS_0_1_2"
register "sagv_freq_mhz[0]" = "3200"
register "sagv_gear[0]" = "4"
diff --git a/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb b/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
index 5894fe637a..625a36b315 100644
--- a/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
+++ b/src/mainboard/google/rex/variants/baseboard/rex/devicetree_pre_prod.cb
@@ -49,6 +49,8 @@ chip soc/intel/meteorlake
register "cnvi_bt_core" = "true"
register "sagv" = "SAGV_ENABLED"
+ # TODO(b/287170545): workaround avoid DUT random hang
+ register "sagv_wp_bitmap" = "SAGV_POINTS_0_1_2"
register "sagv_freq_mhz[0]" = "3200"
register "sagv_gear[0]" = "4"