[OS-BUILD PATCHv2] Attempt to fix Intel PMT code
by David Arcari (via Email Bridge)
From: David Arcari <darcari(a)redhat.com>
Attempt to fix Intel PMT code
diff --git a/redhat/configs/common/generic/CONFIG_MFD_INTEL_PMT b/redhat/configs/common/generic/CONFIG_MFD_INTEL_PMT
index blahblah..blahblah 100644
--- a/redhat/configs/common/generic/CONFIG_MFD_INTEL_PMT
+++ b/redhat/configs/common/generic/CONFIG_MFD_INTEL_PMT
@@ -1 +1 @@
-CONFIG_MFD_INTEL_PMT=m
+# CONFIG_MFD_INTEL_PMT is not set
diff --git a/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CLASS b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CLASS
new file mode 100644
index blahblah..blahblah 100644
--- /dev/null
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CLASS
@@ -0,0 +1 @@
+CONFIG_INTEL_PMT_CLASS=m
diff --git a/redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_CRASHLOG b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CRASHLOG
rename from redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_CRASHLOG
rename to redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CRASHLOG
index blahblah..blahblah 100644
--- a/redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_CRASHLOG
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_CRASHLOG
diff --git a/redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_TELEMETRY b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_TELEMETRY
rename from redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_TELEMETRY
rename to redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_TELEMETRY
index blahblah..blahblah 100644
--- a/redhat/configs/generic/x86_64/CONFIG_INTEL_PMT_TELEMETRY
+++ b/redhat/configs/common/generic/x86/CONFIG_INTEL_PMT_TELEMETRY
diff --git a/redhat/configs/generic/x86_64/CONFIG_MFD_INTEL_PMT b/redhat/configs/common/generic/x86/CONFIG_MFD_INTEL_PMT
rename from redhat/configs/generic/x86_64/CONFIG_MFD_INTEL_PMT
rename to redhat/configs/common/generic/x86/CONFIG_MFD_INTEL_PMT
index blahblah..blahblah 100644
--- a/redhat/configs/generic/x86_64/CONFIG_MFD_INTEL_PMT
+++ b/redhat/configs/common/generic/x86/CONFIG_MFD_INTEL_PMT
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CLASS b/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CLASS
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CLASS
+++ /dev/null
@@ -1,26 +0,0 @@
-# CONFIG_INTEL_PMT_CLASS:
-#
-# The Intel Platform Monitoring Technology (PMT) class driver provides
-# the basic sysfs interface and file hierarchy uses by PMT devices.
-#
-# For more information, see:
-# <file:Documentation/ABI/testing/sysfs-class-intel_pmt>
-#
-# To compile this driver as a module, choose M here: the module
-# will be called intel_pmt_class.
-#
-# Symbol: INTEL_PMT_CLASS [=n]
-# Type : tristate
-# Defined at drivers/platform/x86/Kconfig:1371
-# Prompt: Intel Platform Monitoring Technology (PMT) Class driver
-# Depends on: X86 [=y] && X86_PLATFORM_DEVICES [=y]
-# Location:
-# -> Device Drivers
-# -> X86 Platform Specific Device Drivers (X86_PLATFORM_DEVICES [=y])
-# Selected by [n]:
-# - INTEL_PMT_TELEMETRY [=n] && X86 [=y] && X86_PLATFORM_DEVICES [=y]
-# - INTEL_PMT_CRASHLOG [=n] && X86 [=y] && X86_PLATFORM_DEVICES [=y]
-#
-#
-#
-CONFIG_INTEL_PMT_CLASS=m
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CRASHLOG b/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CRASHLOG
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_CRASHLOG
+++ /dev/null
@@ -1,22 +0,0 @@
-# CONFIG_INTEL_PMT_CRASHLOG:
-#
-# The Intel Platform Monitoring Technology (PMT) crashlog driver provides
-# access to hardware crashlog capabilities on devices that support the
-# feature.
-#
-# To compile this driver as a module, choose M here: the module
-# will be called intel_pmt_crashlog.
-#
-# Symbol: INTEL_PMT_CRASHLOG [=n]
-# Type : tristate
-# Defined at drivers/platform/x86/Kconfig:1394
-# Prompt: Intel Platform Monitoring Technology (PMT) Crashlog driver
-# Depends on: X86 [=y] && X86_PLATFORM_DEVICES [=y]
-# Location:
-# -> Device Drivers
-# -> X86 Platform Specific Device Drivers (X86_PLATFORM_DEVICES [=y])
-# Selects: INTEL_PMT_CLASS [=n]
-#
-#
-#
-CONFIG_INTEL_PMT_CRASHLOG=m
diff --git a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_TELEMETRY b/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_TELEMETRY
deleted file mode 100644
index blahblah..blahblah 0
--- a/redhat/configs/fedora/generic/x86/CONFIG_INTEL_PMT_TELEMETRY
+++ /dev/null
@@ -1,22 +0,0 @@
-# CONFIG_INTEL_PMT_TELEMETRY:
-#
-# The Intel Platform Monitory Technology (PMT) Telemetry driver provides
-# access to hardware telemetry metrics on devices that support the
-# feature.
-#
-# To compile this driver as a module, choose M here: the module
-# will be called intel_pmt_telemetry.
-#
-# Symbol: INTEL_PMT_TELEMETRY [=n]
-# Type : tristate
-# Defined at drivers/platform/x86/Kconfig:1383
-# Prompt: Intel Platform Monitoring Technology (PMT) Telemetry driver
-# Depends on: X86 [=y] && X86_PLATFORM_DEVICES [=y]
-# Location:
-# -> Device Drivers
-# -> X86 Platform Specific Device Drivers (X86_PLATFORM_DEVICES [=y])
-# Selects: INTEL_PMT_CLASS [=n]
-#
-#
-#
-CONFIG_INTEL_PMT_TELEMETRY=m
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1327