I tested again with the offending changes in noble multiple times and it
works in the 6.8 context so I've removed the references to noble in the
description and title.  Only Jammy kernel is affected.

** Summary changed:

- noble:linux/jammy:linux spi: zynqmp-gqspi: driver not functional
+ jammy:linux spi: zynqmp-gqspi: driver not functional

** Description changed:

  A spi-zynqmp-gqspi.c driver change in the generic kernel made its way
  into the linux-xilinx-zynqmp kernel. The change breaks the FPGA firmware
  update tool, as shown below:
  
  ```
  ubuntu@kria:~$ sudo image_update -i BOOT-k26-smk-v1.04-20250410071436.bin
  [sudo] password for ubuntu:
  Marking last booted image as bootable
  Reading Image file
  Updating Image A
  Marking target image as non bootable
  Writing Image to Image A partition
  [ 7772.972367] zynqmp-qspi ff0f0000.spi: Chip select timed out
  [ 7773.976364] zynqmp-qspi ff0f0000.spi: Chip select timed out
  [ 7774.980366] zynqmp-qspi ff0f0000.spi: Chip select timed out
  ```
  
  With the change reverted the tool works again as shown below:
  
  ```
  $ sudo image_update -i BOOT-k26-smk-v1.04-20250410071436.bin
  [sudo] password for ubuntu:
  Marking last booted image as bootable
  Reading Image file
  Updating Image A
  Marking target image as non bootable
  Writing Image to Image A partition
  Marking target image as non bootable and requested image
  Clearing multiboot register value
  BOOT-k26-smk-v1.04-20250410071436.bin successfully updated to Image A 
partition
  ```
  
  The Jammy kernel was bisected and found to have been introduced in the
  5.15-1054 generic kernel with this commit
  `90b759a09f30d612844be245ff7e80c67eb22be5`, which modifies the zynqmp-
  gqspi driver IRQ handler.
  
- The same problem exists in the Noble 6.8.0 kernel as of this commit
- `c1c6077c8180a76ce9747417c28c4cfc35fc2fd4`.
- 
- Reverting these commits in the respective linux-xilinx kernels fixes the
+ Reverting this commits in the respective linux-xilinx kernel fixes the
  issue.
  
- The commit was introduced upstream in the 6.15 kernel. I am yet to test
- the change in the 6.15 kernel myself to confirm if it works OK in that
- context.
+ The commit was introduced upstream in the 6.15 kernel. I have tested the
+ new driver changes in noble again and it works there in the 6.8 context.
+ It does not work in the 5.15 Jammy context.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137603

Title:
  jammy:linux spi: zynqmp-gqspi: driver not functional

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-xilinx-zynqmp/+bug/2137603/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to