All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/4] x86/idle: Get PC{8..10} counters for Tiger and Alder Lake
@ 2023-07-18 13:23 Simon Gaiser
  2023-07-18 13:29 ` Simon Gaiser
  2023-07-18 13:35 ` Jan Beulich
  0 siblings, 2 replies; 7+ messages in thread
From: Simon Gaiser @ 2023-07-18 13:23 UTC (permalink / raw)
  To: xen-devel
  Cc: Simon Gaiser, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Wei Liu, Marek Marczykowski-Górecki

---
 xen/arch/x86/acpi/cpu_idle.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c
index 557bc6ef86..a6d3175156 100644
--- a/xen/arch/x86/acpi/cpu_idle.c
+++ b/xen/arch/x86/acpi/cpu_idle.c
@@ -155,6 +155,12 @@ static void cf_check do_get_hw_residencies(void *arg)
 
     switch ( c->x86_model )
     {
+    /* Tiger Lake */
+    case 0x8C:
+    case 0x8D:
+    /* Alder Lake */
+    case 0x97:
+    case 0x9A:
     /* 4th generation Intel Core (Haswell) */
     case 0x45:
         GET_PC8_RES(hw_res->pc8);
@@ -185,9 +191,6 @@ static void cf_check do_get_hw_residencies(void *arg)
     case 0x6C:
     case 0x7D:
     case 0x7E:
-    /* Tiger Lake */
-    case 0x8C:
-    case 0x8D:
     /* Kaby Lake */
     case 0x8E:
     case 0x9E:
-- 
2.40.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-07-19  7:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-18 13:23 [PATCH 2/4] x86/idle: Get PC{8..10} counters for Tiger and Alder Lake Simon Gaiser
2023-07-18 13:29 ` Simon Gaiser
2023-07-18 13:35 ` Jan Beulich
2023-07-18 13:46   ` Simon Gaiser
2023-07-18 14:04     ` Jan Beulich
2023-07-18 20:17       ` Simon Gaiser
2023-07-19  7:53         ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.