From 046529abd98d7a98b57cfe9113f8c61dc3353cfc Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 2 Dec 2024 11:29:19 +0000 Subject: Disable m2 caddy hotplug on T480S This fixes an error where nvme disappears and gets renamed on s3 resume. Mate Kukri told me to test that and it worked. Signed-off-by: Leah Rowe --- ...ble-m2-hotplug-in-lenovo-t480s-devicetree.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 config/coreboot/next/patches/0011-Disable-m2-hotplug-in-lenovo-t480s-devicetree.patch diff --git a/config/coreboot/next/patches/0011-Disable-m2-hotplug-in-lenovo-t480s-devicetree.patch b/config/coreboot/next/patches/0011-Disable-m2-hotplug-in-lenovo-t480s-devicetree.patch new file mode 100644 index 00000000..00a844c1 --- /dev/null +++ b/config/coreboot/next/patches/0011-Disable-m2-hotplug-in-lenovo-t480s-devicetree.patch @@ -0,0 +1,30 @@ +From 44d0703b61156a19c6cbfb5cfe3f5d58e328daae Mon Sep 17 00:00:00 2001 +From: Leah Rowe +Date: Mon, 2 Dec 2024 11:16:43 +0000 +Subject: [PATCH 1/1] Disable m2 hotplug in lenovo t480s devicetree + +This fixes a bug where nvme disappears and gets renamed on +s3 resume. + +Thanks go to Mate Kukri who suggested this. + +Signed-off-by: Leah Rowe +--- + .../lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb +index 2cac8c4a75..9129d3a1b8 100644 +--- a/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb ++++ b/src/mainboard/lenovo/sklkbl_thinkpad/variants/t480s/overridetree.cb +@@ -115,7 +115,6 @@ chip soc/intel/skylake + register "PcieRpClkSrcNumber[8]" = "5" + register "PcieRpAdvancedErrorReporting[8]" = "1" + register "PcieRpLtrEnable[8]" = "1" +- register "PcieRpHotPlug[8]" = "1" + end + end + end +-- +2.39.5 + -- cgit v1.2.1