git: b223c1f1a0ac - main - x86: Add another cpuid for Apollo Lake errata APL30

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 09 Aug 2022 07:08:51 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=b223c1f1a0ac83a3bd1475add9b794bad1749b2f

commit b223c1f1a0ac83a3bd1475add9b794bad1749b2f
Author:     Corvin Köhne <CorvinK@beckhoff.com>
AuthorDate: 2022-08-09 07:07:59 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-09 07:07:59 +0000

    x86: Add another cpuid for Apollo Lake errata APL30
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    MFC after:      1 week
---
 sys/x86/x86/cpu_machdep.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/x86/x86/cpu_machdep.c b/sys/x86/x86/cpu_machdep.c
index b96e50d785fa..cf3365acbc92 100644
--- a/sys/x86/x86/cpu_machdep.c
+++ b/sys/x86/x86/cpu_machdep.c
@@ -827,7 +827,8 @@ cpu_idle_tun(void *unused __unused)
 		mwait_cpustop_broken = true;
 	}
 
-	if (cpu_vendor_id == CPU_VENDOR_INTEL && cpu_id == 0x506c9) {
+	if (cpu_vendor_id == CPU_VENDOR_INTEL &&
+	    ((cpu_id == 0x506c9) || cpu_id == 0x506ca)) {
 		/*
 		 * Apollo Lake errata APL31 (public errata APL30).
 		 * Stores to the armed address range may not trigger