From: "Uwe Kleine-König" <u.kleine-koenig@baylibre.com>
To: Nathan Chancellor <nathan@kernel.org>, Mark Brown <broonie@kernel.org>
Cc: Rosen Penev <rosenp@gmail.com>,
Jisheng Zhang <jszhang@kernel.org>,
linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] spi: cadence-xspi: Revert COMPILE_TEST support
Date: Mon, 8 Jun 2026 09:50:30 +0200 [thread overview]
Message-ID: <aiZzqUVahsnD33n8@monoceros> (raw)
In-Reply-To: <20260606-spi-cadence-xspi-revert-compile-testing-v1-1-76219ea378bd@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 1674 bytes --]
Hello,
On Sat, Jun 06, 2026 at 03:26:04PM -0700, Nathan Chancellor wrote:
> Commit 0c5b5c40dc31 ("spi: cadence-xspi: Add COMPILE_TEST support")
> allows this driver to be built for 32-bit platforms, which causes a
> semantic conflict with commit 4954d4eca469 ("spi: cadence-xspi: Support
> 32bit and 64bit slave dma interface"), as readsq() and writesq() are
> only available when targeting 64-bit platforms:
>
> drivers/spi/spi-cadence-xspi.c: In function 'cdns_xspi_sdma_read':
> drivers/spi/spi-cadence-xspi.c:601:25: error: implicit declaration of function 'readsq'; did you mean 'readsl'? [-Wimplicit-function-declaration]
> 601 | readsq(src, buf, len >> 3);
> | ^~~~~~
> | readsl
> drivers/spi/spi-cadence-xspi.c: In function 'cdns_xspi_sdma_write':
> drivers/spi/spi-cadence-xspi.c:623:25: error: implicit declaration of function 'writesq'; did you mean 'writesl'? [-Wimplicit-function-declaration]
> 623 | writesq(dst, buf, len >> 3);
> | ^~~~~~~
> | writesl
>
> As there are no known 32-bit platforms that use this controller, revert
> compile testing support to restrict the driver to 64-bit platforms to
> avoid burdening the driver with workarounds.
Given this fixes a build failure in next and we're at -rc7 already, it
would be great to get this in.
Fixes: 4954d4eca469 ("spi: cadence-xspi: Support 32bit and 64bit slave dma interface")
Acked-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Thanks for preparing the patch
Uwe
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2026-06-08 7:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-06 22:26 [PATCH] spi: cadence-xspi: Revert COMPILE_TEST support Nathan Chancellor
2026-06-08 7:50 ` Uwe Kleine-König [this message]
2026-06-08 10:31 ` Mark Brown
2026-06-08 18:09 ` Nathan Chancellor
2026-06-15 4:30 ` Jisheng Zhang
2026-06-15 5:13 ` Rosen Penev
2026-06-08 12:18 ` Mark Brown
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=aiZzqUVahsnD33n8@monoceros \
--to=u.kleine-koenig@baylibre.com \
--cc=broonie@kernel.org \
--cc=jszhang@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=nathan@kernel.org \
--cc=rosenp@gmail.com \
/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