From d51da2a852378d1f9a24da0fac7b1589543b84d4 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Mon, 29 Jul 2024 19:06:21 +0700 Subject: [PATCH] Drop two tables to prevent panic on Intel Sandy Bridge and Ivy Bridge CPUs --- Scripts/acpi_guru.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index a5946b1..5a6532d 100755 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -2953,6 +2953,9 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "GPUSPOOF", 0x00001000) self.battery_status_check(platform) self.disable_rhub_devices() self.disable_unsupported_device(unsupported_devices) + if not self.is_intel_hedt_cpu(cpu_codename) and self.utils.contains_any(cpu_data.IntelCPUGenerations, cpu_codename, end=2): + self.dropping_the_table(oemtableid="CpuPm") + self.dropping_the_table(oemtableid="Cpu0Ist") self.enable_backlight_controls(platform, cpu_codename, integrated_gpu) self.enable_cpu_power_management(cpu_codename) self.enable_gpio_device(platform, cpu_manufacturer, touchpad_communication)