diff mbox

Applied "spi: pxa2xx: Allow 64-bit DMA" to the spi tree

Message ID E1f9ZU1-0004fP-CY@debutante (mailing list archive)
State New, archived
Headers show

Commit Message

Mark Brown April 20, 2018, 5:06 p.m. UTC
The patch

   spi: pxa2xx: Allow 64-bit DMA

has been applied to the spi tree at

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 7956fadd40af82cec610a0ccf1ca937e0dfecf94 Mon Sep 17 00:00:00 2001
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Thu, 19 Apr 2018 19:53:32 +0300
Subject: [PATCH] spi: pxa2xx: Allow 64-bit DMA

Currently the 32-bit device address only is supported for DMA. However,
starting from Intel Sunrisepoint PCH the DMA address of the device FIFO
can be 64-bit.

Change the respective variable to be compatible with DMA engine
expectations, i.e. to phys_addr_t.

Fixes: 34cadd9c1bcb ("spi: pxa2xx: Add support for Intel Sunrisepoint")
Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/spi/spi-pxa2xx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andy Shevchenko April 23, 2018, 3:32 p.m. UTC | #1
On Fri, 2018-04-20 at 18:06 +0100, Mark Brown wrote:
> The patch
> 
>    spi: pxa2xx: Allow 64-bit DMA
> 
> has been applied to the spi tree at
> 
>    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

Mark, can you push this to the v4.16-rc3 as well?
Mark Brown April 23, 2018, 3:34 p.m. UTC | #2
On Mon, Apr 23, 2018 at 06:32:06PM +0300, Andy Shevchenko wrote:
> On Fri, 2018-04-20 at 18:06 +0100, Mark Brown wrote:
> > The patch

> >    spi: pxa2xx: Allow 64-bit DMA

> > has been applied to the spi tree at

> >    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git 

> Mark, can you push this to the v4.16-rc3 as well?

Is this something for old platforms or only for new ones?
Andy Shevchenko April 23, 2018, 9:43 p.m. UTC | #3
On Mon, Apr 23, 2018 at 6:34 PM, Mark Brown <broonie@kernel.org> wrote:
> On Mon, Apr 23, 2018 at 06:32:06PM +0300, Andy Shevchenko wrote:
>> On Fri, 2018-04-20 at 18:06 +0100, Mark Brown wrote:
>> > The patch
>
>> >    spi: pxa2xx: Allow 64-bit DMA
>
>> > has been applied to the spi tree at
>
>> >    https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git
>
>> Mark, can you push this to the v4.16-rc3 as well?
>
> Is this something for old platforms or only for new ones?

Yes, it potentially (we didn't get reports though) affects all
platforms starting from Skylake (v4.2+) and for sure on Coffeelake
(v4.12+).
diff mbox

Patch

diff --git a/drivers/spi/spi-pxa2xx.h b/drivers/spi/spi-pxa2xx.h
index baf558b89c73..513c53aaeab2 100644
--- a/drivers/spi/spi-pxa2xx.h
+++ b/drivers/spi/spi-pxa2xx.h
@@ -38,7 +38,7 @@  struct driver_data {
 
 	/* SSP register addresses */
 	void __iomem *ioaddr;
-	u32 ssdr_physical;
+	phys_addr_t ssdr_physical;
 
 	/* SSP masks*/
 	u32 dma_cr1;