Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash
@ 2024-08-07 10:58 Neal Frager via buildroot
  2024-08-07 10:58 ` [Buildroot] [PATCH v1 2/5] configs/zynq_zc702_defconfig: bump to 6.6.40 Neal Frager via buildroot
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Neal Frager via buildroot @ 2024-08-07 10:58 UTC (permalink / raw)
  To: buildroot
  Cc: luca.ceresoli, brandon.maier, thomas.petazzoni, Neal Frager,
	romain.naour, michal.simek, yann.morin.1998

Add the hash for the Linux 6.6.40 release for Xilinx products.

The release tag was missing a patch, so it is being added here for users that
bump to Linux 6.6.40.  The patch has already been committed to the linux-xlnx
repo.

Upstream: https://github.com/Xilinx/linux-xlnx/commit/5365c13a86998da06d845c918f849b30b8735538

Signed-off-by: Neal Frager <neal.frager@amd.com>
---
 ...dmaengine-xilinx-dpdma-removed-extra.patch | 54 +++++++++++++++++++
 board/xilinx/patches/linux/linux.hash         |  1 +
 2 files changed, 55 insertions(+)
 create mode 100644 board/xilinx/patches/linux/0001-dmaengine-xilinx-dpdma-removed-extra.patch

diff --git a/board/xilinx/patches/linux/0001-dmaengine-xilinx-dpdma-removed-extra.patch b/board/xilinx/patches/linux/0001-dmaengine-xilinx-dpdma-removed-extra.patch
new file mode 100644
index 0000000000..f5008f7dc3
--- /dev/null
+++ b/board/xilinx/patches/linux/0001-dmaengine-xilinx-dpdma-removed-extra.patch
@@ -0,0 +1,54 @@
+From 5365c13a86998da06d845c918f849b30b8735538 Mon Sep 17 00:00:00 2001
+From: Rohit Visavalia <rohit.visavalia@amd.com>
+Date: Tue, 30 Jul 2024 23:53:29 -0700
+Subject: [PATCH] dmaengine: xilinx: dpdma: removed extra vchan lock
+
+There were redundant spinlock for virtual dma channel
+Removal of this fixes crash at xilinx_dpdma_chan_queue_transfer
+
+[ 2876.675266] Call trace:
+[ 2876.677701]  xilinx_dpdma_chan_queue_transfer+0x4c/0x200
+[ 2876.683004]  __handle_irq_event_percpu+0x58/0x170
+[ 2876.687698]  handle_irq_event+0x64/0x11c
+[ 2876.691606]  handle_fasteoi_irq+0xc0/0x220
+[ 2876.695693]  __handle_domain_irq+0x7c/0xe0
+[ 2876.699775]  gic_handle_irq+0x78/0xa0
+[ 2876.703428]  el1_irq+0xc4/0x180
+[ 2876.706563]  arch_cpu_idle+0x18/0x30
+[ 2876.710131]  default_idle_call+0x24/0x74
+[ 2876.714045]  do_idle+0x238/0x2ac
+[ 2876.717265]  cpu_startup_entry+0x28/0x60
+[ 2876.721171]  rest_init+0xbc/0xcc
+[ 2876.724384]  arch_call_rest_init+0x10/0x1c
+[ 2876.728463]  start_kernel+0x4ec/0x524
+[ 2876.732113] Code: d2802008 d2802447 f2fbd5a8 a9400823 (f9000462)
+[ 2876.738200] ---[ end trace 1c82d54670104ec1 ]---
+[ 2876.742804] Kernel panic - not syncing: Oops: Fatal exception in interrupt
+[ 2876.749662] SMP: stopping secondary CPUs
+[ 2876.753571] Kernel Offset: disabled
+[ 2876.757049] CPU features: 0x0040002,20002004
+[ 2876.761301] Memory Limit: none
+[ 2876.764343] ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]---
+
+Signed-off-by: Rohit Visavalia <rohit.visavalia@amd.com>
+Signed-off-by: Neal Frager <neal.frager@amd.com>
+Upstream: https://github.com/Xilinx/linux-xlnx/commit/5365c13a86998da06d845c918f849b30b8735538
+---
+ drivers/dma/xilinx/xilinx_dpdma.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/dma/xilinx/xilinx_dpdma.c b/drivers/dma/xilinx/xilinx_dpdma.c
+index ca9374ebaf3f..db4a5c2dd226 100644
+--- a/drivers/dma/xilinx/xilinx_dpdma.c
++++ b/drivers/dma/xilinx/xilinx_dpdma.c
+@@ -1182,7 +1182,6 @@ static void xilinx_dpdma_chan_vsync_irq(struct  xilinx_dpdma_chan *chan)
+ 	chan->desc.active = pending;
+ 	chan->desc.pending = NULL;
+ 
+-	spin_lock(&chan->vchan.lock);
+ 	xilinx_dpdma_chan_queue_transfer(chan);
+ 	spin_unlock(&chan->vchan.lock);
+
+-- 
+2.25.1
+
diff --git a/board/xilinx/patches/linux/linux.hash b/board/xilinx/patches/linux/linux.hash
index d85f773478..e34e86757b 100644
--- a/board/xilinx/patches/linux/linux.hash
+++ b/board/xilinx/patches/linux/linux.hash
@@ -1,2 +1,3 @@
 # Locally calculated
 sha256  ea85988e66b9a2e19ccd76d0f5f5e657988a873fed292160917712f45605a805  xlnx_rebase_v6.6_LTS_2024.1.tar.gz
+sha256  c46fbcb45b2c7da919663119eeab2581bb36b6238ae809a71e19013291d9054c  xlnx_rebase_v6.6_LTS_merge_6.6.40.tar.gz
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-08-08  9:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-07 10:58 [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 2/5] configs/zynq_zc702_defconfig: bump to 6.6.40 Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 3/5] configs/zynq_zc706_defconfig: " Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 4/5] configs/zynq_microzed_defconfig: " Neal Frager via buildroot
2024-08-07 10:58 ` [Buildroot] [PATCH v1 5/5] configs/zynq_zed_defconfig: " Neal Frager via buildroot
2024-08-07 12:25 ` [Buildroot] [PATCH v1 1/5] board/xilinx/patches/linux: add linux 6.6.40 hash Thomas Petazzoni via buildroot
2024-08-07 14:26   ` Frager, Neal via buildroot
2024-08-07 14:28     ` Thomas Petazzoni via buildroot
2024-08-07 14:39       ` Frager, Neal via buildroot
2024-08-07 14:47         ` Frager, Neal via buildroot
2024-08-08  9:10       ` Frager, Neal via buildroot
2024-08-08  9:35         ` Thomas Petazzoni via buildroot
2024-08-08  9:46           ` Frager, Neal via buildroot

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