|
|
17e59f |
From d28613aea8179c068cfab853f5aa2a0c2b7adebf Mon Sep 17 00:00:00 2001
|
|
|
17e59f |
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
|
|
|
17e59f |
Date: Thu, 19 Aug 2021 21:29:12 -0700
|
|
|
17e59f |
Subject: [PATCH 1/3] Added Jasper Lake CPU model
|
|
|
17e59f |
|
|
|
17e59f |
Support Jasper Lake.
|
|
|
17e59f |
---
|
|
|
17e59f |
src/thd_engine.cpp | 1 +
|
|
|
17e59f |
1 file changed, 1 insertion(+)
|
|
|
17e59f |
|
|
|
17e59f |
diff --git a/src/thd_engine.cpp b/src/thd_engine.cpp
|
|
|
17e59f |
index e23f483..59c7659 100644
|
|
|
17e59f |
--- a/src/thd_engine.cpp
|
|
|
17e59f |
+++ b/src/thd_engine.cpp
|
|
|
17e59f |
@@ -697,6 +697,7 @@ static supported_ids_t id_table[] = {
|
|
|
17e59f |
{ 6, 0xa5 }, // Cometlake
|
|
|
17e59f |
{ 6, 0xa6 }, // Cometlake_L
|
|
|
17e59f |
{ 6, 0xa7 }, // Rocketlake
|
|
|
17e59f |
+ { 6, 0x9c }, // Jasper Lake
|
|
|
17e59f |
{ 0, 0 } // Last Invalid entry
|
|
|
17e59f |
};
|
|
|
17e59f |
|
|
|
17e59f |
--
|
|
|
17e59f |
2.31.1
|
|
|
17e59f |
|
|
|
17e59f |
|
|
|
17e59f |
From ffb226c62d3bc052f47970be9802254e48799bf4 Mon Sep 17 00:00:00 2001
|
|
|
17e59f |
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
|
|
|
17e59f |
Date: Mon, 14 Jun 2021 10:12:38 -0700
|
|
|
17e59f |
Subject: [PATCH 2/3] Add AlderLake cpu model
|
|
|
17e59f |
|
|
|
17e59f |
Added AlderLake CPU models.
|
|
|
17e59f |
---
|
|
|
17e59f |
src/thd_engine.cpp | 2 ++
|
|
|
17e59f |
1 file changed, 2 insertions(+)
|
|
|
17e59f |
|
|
|
17e59f |
diff --git a/src/thd_engine.cpp b/src/thd_engine.cpp
|
|
|
17e59f |
index 59c7659..0202de5 100644
|
|
|
17e59f |
--- a/src/thd_engine.cpp
|
|
|
17e59f |
+++ b/src/thd_engine.cpp
|
|
|
17e59f |
@@ -698,6 +698,8 @@ static supported_ids_t id_table[] = {
|
|
|
17e59f |
{ 6, 0xa6 }, // Cometlake_L
|
|
|
17e59f |
{ 6, 0xa7 }, // Rocketlake
|
|
|
17e59f |
{ 6, 0x9c }, // Jasper Lake
|
|
|
17e59f |
+ { 6, 0x97 }, // Alderlake
|
|
|
17e59f |
+ { 6, 0x9a }, // Alderlake
|
|
|
17e59f |
{ 0, 0 } // Last Invalid entry
|
|
|
17e59f |
};
|
|
|
17e59f |
|
|
|
17e59f |
--
|
|
|
17e59f |
2.31.1
|
|
|
17e59f |
|
|
|
17e59f |
|
|
|
17e59f |
From d0c9e7fb5aea85b84841eba927feb8767765fda2 Mon Sep 17 00:00:00 2001
|
|
|
17e59f |
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
|
|
|
17e59f |
Date: Tue, 22 Jun 2021 08:44:44 -0700
|
|
|
17e59f |
Subject: [PATCH 3/3] Update sysfs paths for Alader Lake
|
|
|
17e59f |
|
|
|
17e59f |
Update sysfs path for INT3400 device.
|
|
|
17e59f |
---
|
|
|
17e59f |
src/thd_engine_adaptive.cpp | 2 ++
|
|
|
17e59f |
src/thd_int3400.cpp | 2 ++
|
|
|
17e59f |
2 files changed, 4 insertions(+)
|
|
|
17e59f |
|
|
|
17e59f |
diff --git a/src/thd_engine_adaptive.cpp b/src/thd_engine_adaptive.cpp
|
|
|
17e59f |
index 20df937..247ca6c 100644
|
|
|
17e59f |
--- a/src/thd_engine_adaptive.cpp
|
|
|
17e59f |
+++ b/src/thd_engine_adaptive.cpp
|
|
|
17e59f |
@@ -1583,6 +1583,8 @@ int cthd_engine_adaptive::thd_engine_start(bool ignore_cpuid_check) {
|
|
|
17e59f |
int3400_base_path = "/sys/bus/platform/devices/INT3400:00/";
|
|
|
17e59f |
} else if (sysfs.exists("/sys/bus/platform/devices/INTC1040:00")) {
|
|
|
17e59f |
int3400_base_path = "/sys/bus/platform/devices/INTC1040:00/";
|
|
|
17e59f |
+ } else if (sysfs.exists("/sys/bus/platform/devices/INTC1041:00")) {
|
|
|
17e59f |
+ int3400_base_path = "/sys/bus/platform/devices/INTC1041:00/";
|
|
|
17e59f |
} else {
|
|
|
17e59f |
return THD_ERROR;
|
|
|
17e59f |
}
|
|
|
17e59f |
diff --git a/src/thd_int3400.cpp b/src/thd_int3400.cpp
|
|
|
17e59f |
index 4fabaee..a89f002 100644
|
|
|
17e59f |
--- a/src/thd_int3400.cpp
|
|
|
17e59f |
+++ b/src/thd_int3400.cpp
|
|
|
17e59f |
@@ -36,6 +36,8 @@ cthd_INT3400::cthd_INT3400(std::string _uuid) : uuid(_uuid), base_path("") {
|
|
|
17e59f |
base_path = "/sys/bus/acpi/devices/INT3400:00/physical_node/uuids/";
|
|
|
17e59f |
} else if (cdev_sysfs.exists("/sys/bus/acpi/devices/INTC1040:00/physical_node/uuids")) {
|
|
|
17e59f |
base_path = "/sys/bus/acpi/devices/INTC1040:00/physical_node/uuids/";
|
|
|
17e59f |
+ } else if (cdev_sysfs.exists("/sys/bus/acpi/devices/INTC1041:00/physical_node/uuids")) {
|
|
|
17e59f |
+ base_path = "/sys/bus/acpi/devices/INTC1041:00/physical_node/uuids/";
|
|
|
17e59f |
}
|
|
|
17e59f |
thd_log_info("INT3400 Base path is %s\n", base_path.c_str());
|
|
|
17e59f |
}
|
|
|
17e59f |
--
|
|
|
17e59f |
2.31.1
|
|
|
17e59f |
|