From cf730ce481a5d38611de68ef1dfe5fb3d51c275a Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Sat, 3 Apr 2021 22:03:33 +0800 Subject: mb/hp/snb_ivb_laptops: Do not set EC SLPT on S5 Linux kernel now uses S5 for reboot, which makes reboot fail if EC SLPT bit is set. Tested on HP EliteBook 2560p, reboot and S3 resume work after this change. Change-Id: I9b3ea737f85cc4045714263657bcdaac08f3a20d Signed-off-by: Iru Cai Reviewed-on: https://review.coreboot.org/c/coreboot/+/52089 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl b/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl index 8023ae826c..d17f575c40 100644 --- a/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl +++ b/src/mainboard/hp/snb_ivb_laptops/acpi/platform.asl @@ -10,5 +10,8 @@ Method(_WAK,1) Method(_PTS,1) { - \_SB.PCI0.LPCB.EC0.SLPT = Arg0 + If (Arg0 != 5) + { + \_SB.PCI0.LPCB.EC0.SLPT = Arg0 + } } -- cgit v1.2.3