Skip to content

hw/ssi/imx_spi: 2 Fixes to flush txfifo function in imx_spi

Eden Mikitas qemu-arm qemu-devel qemu-trivial 1 version Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2hw/ssi/imx_spi: changed while statement to prevent underflowhw/ssi/imx_spi.c+1 -11 reply
2/2hw/ssi/imx_spi: Removed unnecessary cast of rx data received from slavehw/ssi/imx_spi.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] hw/ssi/imx_spi: 2 Fixes to flush txfifo function in imx_spi

This patch series contains 2 fixes to the imx_spi_flush_txfifo function.

The first fix prevents a case in which calling imx_spi_flush_txfifo while the controller is configured (by the guest driver) to use a burst length that isn't a multiple of 8 will cause an infinite loop.

The second fix makes the spi controller compatible with slaves + guest drivers that expect to make transaction larger than 8 bits by removing an unnecessary cast.

This patch series was tested by running make check and by booting linux on a sabrelite machine (which uses an spi flash)