From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Nipun Gupta <nipun.gupta@amd.com>,
Nikhil Agarwal <nikhil.agarwal@amd.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-kernel@vger.kernel.org,
Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH] cdx: Fix missing GENERIC_MSI_IRQ on compile test
Date: Fri, 18 Jul 2025 15:34:25 +0200 [thread overview]
Message-ID: <3b39e24b-6221-4de9-b45b-464c666da8ad@linaro.org> (raw)
In-Reply-To: <20250717133358.1541e5df.alex.williamson@redhat.com>
On 17/07/2025 21:33, Alex Williamson wrote:
> On Wed, 16 Jul 2025 08:49:04 +0200
> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
>
>> CDX_BUS driver uses msi_setup_device_data() which is selected by
>> GENERIC_MSI_IRQ, thus compile testing without the latter failed:
>>
>> /usr/bin/ld: drivers/cdx/cdx.o: in function `cdx_probe':
>> build/drivers/cdx/cdx.c:314: undefined reference to `msi_setup_device_data'
>>
>> Reported-by: Randy Dunlap <rdunlap@infradead.org>
>> Closes: https://lore.kernel.org/all/b2c54a12-480c-448a-8b90-333cb03d9c14@infradead.org/
>> Fixes: 7f81907b7e3f ("cdx: Enable compile testing")
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>> drivers/cdx/Kconfig | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/cdx/Kconfig b/drivers/cdx/Kconfig
>> index 1f1e360507d7..3af41f51cf38 100644
>> --- a/drivers/cdx/Kconfig
>> +++ b/drivers/cdx/Kconfig
>> @@ -8,6 +8,7 @@
>> config CDX_BUS
>> bool "CDX Bus driver"
>> depends on OF && ARM64 || COMPILE_TEST
>> + select GENERIC_MSI_IRQ
>> help
>> Driver to enable Composable DMA Transfer(CDX) Bus. CDX bus
>> exposes Fabric devices which uses composable DMA IP to the
>
> This looks incomplete to me. The Makefile has:
Just FYI (because there was no public email), Greg applied this one, so
whatever we decide here will be on top.
>
> ifdef CONFIG_GENERIC_MSI_IRQ
> obj-$(CONFIG_CDX_BUS) += cdx_msi.o
> endif
>
Yes, this should be dropped in such case, at least with my patch.
Best regards,
Krzysztof
prev parent reply other threads:[~2025-07-18 13:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-16 6:49 [PATCH] cdx: Fix missing GENERIC_MSI_IRQ on compile test Krzysztof Kozlowski
2025-07-16 20:12 ` Randy Dunlap
2025-07-17 19:33 ` Alex Williamson
2025-07-17 20:40 ` Alex Williamson
2025-07-18 14:08 ` Krzysztof Kozlowski
2025-07-24 7:29 ` Agarwal, Nikhil
2025-07-18 13:34 ` Krzysztof Kozlowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3b39e24b-6221-4de9-b45b-464c666da8ad@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=alex.williamson@redhat.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nikhil.agarwal@amd.com \
--cc=nipun.gupta@amd.com \
--cc=rdunlap@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).