Skip to contentSkip to conversation

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

PATCH Mark Brown 2 participants 5 messages Apr 24, 2018 – May 9, 2018 1 message not in the archive

Subsystems (4)
lore
Share & tools
lore

Mark Brown

author maintainer
#1 lore raw
In reply to a message not in the archive

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

Quoted 1 line

From efc4a13724b852ddaa3358402a8dec024ffbcb17 Mon Sep 17 00:00:00 2001

From: Andy Shevchenko <[email protected]>
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")
---
 drivers/spi/spi-pxa2xx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/spi/spi-pxa2xx.h +1 -1
index 513ec6c6e25b..0ae7defd3492 100644
@@ -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;
Signature · 1 line
2.17.0
author maintainer
#3 lore raw
Quoted 3 lines · Andy Shevchenko

Sorry to bother you again, though I don't see it yet in Linus'. Now we have same patch twice in next and zero in Linus'.
What did I miss?

Linus will only merge patches when I send him a pull request. I had to duplicate the patch since I stopped using topic branches after Linus got angry about it so I can't just move the topic to a fix.

#4 lore raw
Quoted 7 lines · Mark Brown
Quoted 3 lines · Andy Shevchenko

Sorry to bother you again, though I don't see it yet in Linus'. Now we have same patch twice in next and zero in Linus'.
What did I miss?

Linus will only merge patches when I send him a pull request.

Are you going to send one for this rc?

Quoted 3 lines

I had to
duplicate the patch since I stopped using topic branches after Linus got angry about it so I can't just move the topic to a fix.

Understood.

Signature · 2 lines
With Best Regards,
Andy Shevchenko
author maintainer
#5 lore raw
Quoted 5 lines · Andy Shevchenko
Quoted 1 line · Mark Brown

Linus will only merge patches when I send him a pull request.

Are you going to send one for this rc?

Probably, I'll certainly send one before the next release. I'm on holiday right now so a bit intermittent.