Skip to contentSkip to conversation

cxl: Add CXL_PMEM as dependency for CXL_ACPI

PATCH In review [email protected] 2 participants 3 messages Mar 26 – Mar 27 CXL

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cxl: Add CXL_PMEM as dependency for CXL_ACPI

From: Dylan Eskew <[email protected]>

Prevent a linking issue against CXL_PMEM when CXL_ACPI is configured in Kconfig.

---
 drivers/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/cxl/Kconfig +1 -0
index 48b7314afdb8..baf1d17ec0fc 100644
@@ -58,6 +58,7 @@ config CXL_ACPI
 	tristate "CXL ACPI: Platform Support"
 	depends on ACPI
 	depends on ACPI_NUMA
+	depends on CXL_PMEM
 	default CXL_BUS
 	select ACPI_TABLE_LIB
 	select ACPI_HMAT
Signature · 1 line
2.52.0
maintainer
#1 lore raw
Quoted 6 lines · On 3/26/26 2:14 PM, [email protected] wrote:

From: Dylan Eskew <[email protected]>

Prevent a linking issue against CXL_PMEM when CXL_ACPI is configured in Kconfig.

Hi Dylan, does this commit fixes your issue? It's in Linus's tree now. 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch")

Quoted 16 lines
---
 drivers/cxl/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/cxl/Kconfig +1 -0
index 48b7314afdb8..baf1d17ec0fc 100644
@@ -58,6 +58,7 @@ config CXL_ACPI
 	tristate "CXL ACPI: Platform Support"
 	depends on ACPI
 	depends on ACPI_NUMA
+	depends on CXL_PMEM
 	default CXL_BUS
 	select ACPI_TABLE_LIB
 	select ACPI_HMAT
author
#2 lore raw
Quoted 9 lines · On 3/26/26 2:14 PM, [email protected] wrote:
Quoted 6 lines

From: Dylan Eskew <[email protected]>

Prevent a linking issue against CXL_PMEM when CXL_ACPI is configured in Kconfig.

Hi Dylan, does this commit fixes your issue? It's in Linus's tree now. 93d0fcdddc9e ("cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch")

Hi Dave,

This looks to fix it, thanks! I was sitting at -rc5 not thinking there was anything farther up the tree.

Quoted 16 lines
Quoted 16 lines
---
  drivers/cxl/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/cxl/Kconfig +1 -0
index 48b7314afdb8..baf1d17ec0fc 100644
@@ -58,6 +58,7 @@ config CXL_ACPI
  	tristate "CXL ACPI: Platform Support"
  	depends on ACPI
  	depends on ACPI_NUMA
+	depends on CXL_PMEM
  	default CXL_BUS
  	select ACPI_TABLE_LIB
  	select ACPI_HMAT