Skip to contentSkip to conversation

x86/intel: Disable HPET on Intel Coffee Lake H platforms

PATCH Applied Kai-Heng Feng 2 participants 4 messages Nov 29, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 x86/intel: Disable HPET on Intel Coffee Lake H platforms

Coffee Lake H SoC has similar behavior as Coffee Lake, skewed HPET timer once the SoCs entered PC10.

So let's disable HPET on CFL-H platforms.

---
 arch/x86/kernel/early-quirks.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/early-quirks.c +2 -0
index 4cba91ec8049..606711f5ebf8 100644
@@ -710,6 +710,8 @@ static struct chipset early_qrk[] __initdata = {
 	 */
 	{ PCI_VENDOR_ID_INTEL, 0x0f00,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
+	{ PCI_VENDOR_ID_INTEL, 0x3e20,
+		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_INTEL, 0x3ec4,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_BROADCOM, 0x4331,
Signature · 1 line
2.17.1
#1 lore raw

PATCH 2/2 x86/intel: Disable HPET on Intel Ice Lake platforms

Like CFL and CFL-H, ICL SoC has skewed HPET timer once it hits PC10. So let's disable HPET on ICL.

---
 arch/x86/kernel/early-quirks.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/early-quirks.c +2 -0
index 606711f5ebf8..2f9ec14be3b1 100644
@@ -714,6 +714,8 @@ static struct chipset early_qrk[] __initdata = {
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_INTEL, 0x3ec4,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
+	{ PCI_VENDOR_ID_INTEL, 0x8a12,
+		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_BROADCOM, 0x4331,
 	  PCI_CLASS_NETWORK_OTHER, PCI_ANY_ID, 0, apple_airport_reset},
 	{}
Signature · 1 line
2.17.1
merge bot Applied
#2 lore raw

[tip: timers/urgent] x86/intel: Disable HPET on Intel Ice Lake platforms

The following commit has been merged into the timers/urgent branch of tip:

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     e0748539e3d594dd26f0d27a270f14720b22a406
Gitweb:        https://git.kernel.org/tip/e0748539e3d594dd26f0d27a270f14720b22a406
Author:        Kai-Heng Feng <[email protected]>
AuthorDate:    Fri, 29 Nov 2019 14:23:03 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Fri, 29 Nov 2019 12:17:58 +01:00

x86/intel: Disable HPET on Intel Ice Lake platforms

Like CFL and CFL-H, ICL SoC has skewed HPET timer once it hits PC10. So let's disable HPET on ICL.

---
 arch/x86/kernel/early-quirks.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/early-quirks.c +2 -0
index 606711f..2f9ec14 100644
@@ -714,6 +714,8 @@ static struct chipset early_qrk[] __initdata = {
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_INTEL, 0x3ec4,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
+	{ PCI_VENDOR_ID_INTEL, 0x8a12,
+		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_BROADCOM, 0x4331,
 	  PCI_CLASS_NETWORK_OTHER, PCI_ANY_ID, 0, apple_airport_reset},
 	{}
merge bot Applied
#3 lore raw
In reply to Kai-Heng Feng
The following commit has been merged into the timers/urgent branch of tip:

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     f8edbde885bbcab6a2b4a1b5ca614e6ccb807577
Gitweb:        https://git.kernel.org/tip/f8edbde885bbcab6a2b4a1b5ca614e6ccb807577
Author:        Kai-Heng Feng <[email protected]>
AuthorDate:    Fri, 29 Nov 2019 14:23:02 +08:00
Committer:     Ingo Molnar <[email protected]>
CommitterDate: Fri, 29 Nov 2019 12:17:58 +01:00

x86/intel: Disable HPET on Intel Coffee Lake H platforms

Coffee Lake H SoC has similar behavior as Coffee Lake, skewed HPET timer once the SoCs entered PC10.

So let's disable HPET on CFL-H platforms.

---
 arch/x86/kernel/early-quirks.c | 2 ++
 1 file changed, 2 insertions(+)
arch/x86/kernel/early-quirks.c +2 -0
index 4cba91e..606711f 100644
@@ -710,6 +710,8 @@ static struct chipset early_qrk[] __initdata = {
 	 */
 	{ PCI_VENDOR_ID_INTEL, 0x0f00,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
+	{ PCI_VENDOR_ID_INTEL, 0x3e20,
+		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_INTEL, 0x3ec4,
 		PCI_CLASS_BRIDGE_HOST, PCI_ANY_ID, 0, force_disable_hpet},
 	{ PCI_VENDOR_ID_BROADCOM, 0x4331,