Skip to contentSkip to conversation

cdx: Allow build with COMPILE_TEST

PATCH In review Alex Williamson 2 participants 2 messages Apr 12, 2023 – Apr 14, 2023 AMD cdx bus driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cdx: Allow build with COMPILE_TEST

Increase compile test coverage.

---
 drivers/cdx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cdx/Kconfig +1 -1
index a08958485e31..8e3cca77ec64 100644
@@ -7,7 +7,7 @@
 
 config CDX_BUS
 	bool "CDX Bus driver"
-	depends on OF && ARM64
+	depends on OF && (ARM64 || COMPILE_TEST)
 	help
 	  Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
 	  exposes Fabric devices which uses composable DMA IP to the
Signature · 1 line
2.39.2
maintainer
#1 lore raw
Quoted 26 lines

-----Original Message-----
From: Alex Williamson <[email protected]>
Sent: Wednesday, April 12, 2023 11:47 PM
To: Gupta, Nipun <[email protected]>; Agarwal, Nikhil <[email protected]>
Cc: [email protected]; [email protected]
Subject: [PATCH] cdx: Allow build with COMPILE_TEST

Caution: This message originated from an External Source. Use proper caution when opening attachments, clicking links, or responding.

Increase compile test coverage.

---
 drivers/cdx/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cdx/Kconfig +0 -0
index a08958485e31..8e3cca77ec64 100644

drivers/cdx/Kconfig line 10

Quoted 5 lines
drivers/cdx/Kconfig +1 -1
@@ -7,7 +7,7 @@
 
 config CDX_BUS
        bool "CDX Bus driver"
-       depends on OF && ARM64
+       depends on OF && (ARM64 || COMPILE_TEST)

Hi Alex,

There is work in progress on MSI for CDX bus which is dependent on ARM64. So, the COMPILE_TEST would break once the MSI changes are added. Is there any other alternative by which this can be enabled?

Thanks,
Nipun

Quoted 5 lines
drivers/cdx/Kconfig +0 -1
        help
          Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
          exposes Fabric devices which uses composable DMA IP to the
--

2.39.2