From 1ee9c4d56b6d517ee7cdb764e825164622cd613e Mon Sep 17 00:00:00 2001 From: Willow Cunningham Date: Thu, 19 Sep 2024 16:54:34 -0400 Subject: [PATCH 1/4] rapl: Added RAPL component support for Intel RaptorLake. --- src/components/rapl/linux-rapl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/rapl/linux-rapl.c b/src/components/rapl/linux-rapl.c index 8f60f6b1a..2f7c0340c 100644 --- a/src/components/rapl/linux-rapl.c +++ b/src/components/rapl/linux-rapl.c @@ -403,6 +403,7 @@ _rapl_init_component( int cidx ) /* Desktop / Laptops */ + case 183: /* RaptorLake */ case 42: /* SandyBridge */ case 58: /* IvyBridge */ package_avail=1; From d4c590aba81a113df95c522c81e3b7f0dd58c3f8 Mon Sep 17 00:00:00 2001 From: Willow Cunningham Date: Tue, 12 Nov 2024 11:46:44 -0500 Subject: [PATCH 2/4] fixed indentation --- src/components/rapl/linux-rapl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/rapl/linux-rapl.c b/src/components/rapl/linux-rapl.c index 2f7c0340c..574f296f3 100644 --- a/src/components/rapl/linux-rapl.c +++ b/src/components/rapl/linux-rapl.c @@ -403,7 +403,7 @@ _rapl_init_component( int cidx ) /* Desktop / Laptops */ - case 183: /* RaptorLake */ + case 183: /* RaptorLake-S/HX B0 */ case 42: /* SandyBridge */ case 58: /* IvyBridge */ package_avail=1; From 4aca872fa16ee65f771b1ba569683e4e33d114fb Mon Sep 17 00:00:00 2001 From: Willow Cunningham Date: Thu, 14 Nov 2024 12:01:51 -0500 Subject: [PATCH 3/4] rapl: Add support for RaptorLake Add RAPL component support for the RaptorLake architecture. This change was tested for Family/Model/Stepping 0x6/0xb7/0x1 (RaptorLake-S/HX) only. The other two models of RaptorLake (Models 0xba and 0xbf) are untested. --- src/components/rapl/linux-rapl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/rapl/linux-rapl.c b/src/components/rapl/linux-rapl.c index 574f296f3..3ffe33e36 100644 --- a/src/components/rapl/linux-rapl.c +++ b/src/components/rapl/linux-rapl.c @@ -403,9 +403,11 @@ _rapl_init_component( int cidx ) /* Desktop / Laptops */ - case 183: /* RaptorLake-S/HX B0 */ case 42: /* SandyBridge */ case 58: /* IvyBridge */ + case 183: /* RaptorLake-S/HX */ + case 186: /* RaptorLake */ + case 191: /* RaptorLake */ package_avail=1; pp0_avail=1; pp1_avail=1; From bf4f484c3afb07cd51dcbf6dfebc3d5e4030c089 Mon Sep 17 00:00:00 2001 From: Willow Cunningham Date: Wed, 27 Nov 2024 19:11:51 -0500 Subject: [PATCH 4/4] rapl: fixed indentation (spaces->tabs) --- src/components/rapl/linux-rapl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/rapl/linux-rapl.c b/src/components/rapl/linux-rapl.c index 3ffe33e36..8462df649 100644 --- a/src/components/rapl/linux-rapl.c +++ b/src/components/rapl/linux-rapl.c @@ -406,8 +406,8 @@ _rapl_init_component( int cidx ) case 42: /* SandyBridge */ case 58: /* IvyBridge */ case 183: /* RaptorLake-S/HX */ - case 186: /* RaptorLake */ - case 191: /* RaptorLake */ + case 186: /* RaptorLake */ + case 191: /* RaptorLake */ package_avail=1; pp0_avail=1; pp1_avail=1;