Skip to contentSkip to conversation

mfd: intel_pmt: Only compile on x86

PATCH Applied Prarit Bhargava 4 participants 4 messages Aug 25, 2021 – Sep 22, 2021 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: intel_pmt: Only compile on x86

The intel_pmt driver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.

Add a CONFIG dependency on X86 for intel_pmt.

Cc Lee Jones <[email protected]>
Cc David E. Box <[email protected]>
Cc Hans de Goede <[email protected]>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index 6a3fd2d75f96..0f12b00955b4 100644
@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
 
 config MFD_INTEL_PMT
 	tristate "Intel Platform Monitoring Technology (PMT) support"
-	depends on PCI
+	depends on X86 && PCI
 	select MFD_CORE
 	help
 	  The Intel Platform Monitoring Technology (PMT) is an interface that
Signature · 1 line
2.31.1
Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 9 lines · Prarit Bhargava

The intel_pmt driver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.

Add a CONFIG dependency on X86 for intel_pmt.

Cc Lee Jones <[email protected]>
Cc David E. Box <[email protected]>
Cc Hans de Goede <[email protected]>

Thanks, patch looks good to me:

Regards,

Hans

Quoted 18 lines
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +1 -1
index 6a3fd2d75f96..0f12b00955b4 100644
@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT
 
 config MFD_INTEL_PMT
 	tristate "Intel Platform Monitoring Technology (PMT) support"
-	depends on PCI
+	depends on X86 && PCI
 	select MFD_CORE
 	help
 	  The Intel Platform Monitoring Technology (PMT) is an interface that
Reviewed-by
#2 lore raw
Quoted 14 lines · Hans de Goede

Hi,

Quoted 10 lines · Prarit Bhargava

The intel_pmt driver shows up as a compile option for all arches but is
32-bit and 64-bit x86 specific.

Add a CONFIG dependency on X86 for intel_pmt.

Cc Lee Jones <[email protected]>
Cc David E. Box <[email protected]>
Cc Hans de Goede <[email protected]>
Quoted 7 lines

Thanks, patch looks good to me:

Regards,

Hans

Okay by me.

Quoted 24 lines
Quoted 23 lines

---
 drivers/mfd/Kconfig | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/Kconfig +0 -0
index 6a3fd2d75f96..0f12b00955b4 100644
@@ -676,7 +676,7 @@ config MFD_INTEL_PMC_BXT


 config MFD_INTEL_PMT
        tristate "Intel Platform Monitoring Technology (PMT) support"
-       depends on PCI
+       depends on X86 && PCI
        select MFD_CORE
        help
          The Intel Platform Monitoring Technology (PMT) is an interface that

Applied
#3 lore raw
In reply to Prarit Bhargava
Quoted 5 lines · Prarit Bhargava

The intel_pmt driver shows up as a compile option for all arches but is 32-bit and 64-bit x86 specific.

Add a CONFIG dependency on X86 for intel_pmt.

Quoted 7 lines
Cc Lee Jones <[email protected]>
Cc David E. Box <[email protected]>
Cc Hans de Goede <[email protected]>
---
 drivers/mfd/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 4 lines
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog