mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: manual merge of the spi tree with the origin tree
@ 2026-11-09 14:16 Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-11-09 14:16 UTC (permalink / raw)
  To: Mark Brown
  Cc: Ijae Kim, Kees Cook, Kees Cook, Linux Kernel Mailing List,
	Linux Next Mailing List, Myeonghun Pak

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

Hi all,

Today's linux-next merge of the spi tree got a conflict in:

  drivers/spi/spi-amlogic-spisg.c

between commit:

  4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family")

from the origin tree and commit:

  67e3d31893ab5 ("spi: amlogic-spisg: Balance runtime PM and clock cleanup")

from the spi tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc drivers/spi/spi-amlogic-spisg.c
index c59df9b115eed,33c5cbf57cb87..0000000000000
--- a/drivers/spi/spi-amlogic-spisg.c
+++ b/drivers/spi/spi-amlogic-spisg.c
@@@ -706,9 -707,7 +707,7 @@@ static int aml_spisg_clk_init(struct sp
  
  	clk_set_min_rate(spisg->pclk, SPISG_PCLK_RATE_MIN);
  
- 	clk_disable_unprepare(spisg->pclk);
- 
 -	tbl = devm_kcalloc(dev, (DIV_NUM + 1), sizeof(*tbl), GFP_KERNEL);
 +	tbl = devm_kzalloc_objs(dev, *tbl, (DIV_NUM + 1));
  	if (!tbl)
  		return -ENOMEM;
  

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread
* linux-next: manual merge of the spi tree with the origin tree
@ 2026-10-19 16:10 Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2026-10-19 16:10 UTC (permalink / raw)
  To: Mark Brown
  Cc: Frank Li, Linux Kernel Mailing List, Linux Next Mailing List,
	Richard Leitner

[-- Attachment #1: Type: text/plain, Size: 1491 bytes --]

Hi all,

Today's linux-next merge of the spi tree got a conflict in:

  drivers/spi/spi-imx.c

between commit:

  59eb22641f0c5 ("spi: imx: fix slab corruption from undersized DMA bounce buffers")

from the origin tree and commit:

  853de617c4a62 ("spi: use dmaengine_get_dma_device() instead of chan->device->dev")

from the spi tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging.  You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

diff --cc drivers/spi/spi-imx.c
index 3851c50dbe314,868f963e61371..0000000000000
--- a/drivers/spi/spi-imx.c
+++ b/drivers/spi/spi-imx.c
@@@ -1921,9 -1919,8 +1921,9 @@@ static int spi_imx_dma_package_transfer
  		return ret;
  
  	/* Trim the DMA RX buffer and copy the actual data to rx_buf */
- 	dma_sync_single_for_cpu(controller->dma_rx->device->dev, dma_data->dma_rx_addr,
+ 	dma_sync_single_for_cpu(dmaengine_get_dma_device(controller->dma_rx), dma_data->dma_rx_addr,
 -				dma_data->dma_len, DMA_FROM_DEVICE);
 +				DMA_CACHE_ALIGNED_LEN(dma_data->dma_len),
 +				DMA_FROM_DEVICE);
  	spi_imx_dma_rx_data_handle(spi_imx, dma_data, transfer->rx_buf + spi_imx->rx_offset,
  				   word_delay);
  	spi_imx->rx_offset += dma_data->data_len;

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-09 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 14:16 linux-next: manual merge of the spi tree with the origin tree Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2026-10-19 16:10 Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®