RE: [PATCH] cdx: Allow build with COMPILE_TEST

From: Gupta, Nipun
Date: Fri Apr 14 2023 - 08:20:50 EST




> -----Original Message-----
> From: Alex Williamson <alex.williamson@xxxxxxxxxx>
> Sent: Wednesday, April 12, 2023 11:47 PM
> To: Gupta, Nipun <Nipun.Gupta@xxxxxxx>; Agarwal, Nikhil
> <nikhil.agarwal@xxxxxxx>
> Cc: linux-kernel@xxxxxxxxxxxxxxx; alex.williamson@xxxxxxxxxx
> 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.
>
> Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
> ---
> drivers/cdx/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig
> index a08958485e31..8e3cca77ec64 100644
> --- a/drivers/cdx/Kconfig
> +++ b/drivers/cdx/Kconfig
> @@ -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

> help
> Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
> exposes Fabric devices which uses composable DMA IP to the
> --
> 2.39.2