Skip to content

RFC exec: Fix (too) short device accesses

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2exec: Let memory_access_size() consider minimum valid access sizeexec.c+10 -30 replies
2/2exec: Do not let flatview_read/write_continue do (too) short accessesexec.c+21 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] exec: Fix (too) short device accesses

Something noticed while debugging Alexander's bug report "Hang with high CPU usage in sdhci_data_transfer":
https://bugs.launchpad.net/qemu/+bug/1878054

The flatview ignores the MemoryRegion minimum access size.

It seems related to a similar issue Julia had with PCI devices.

Not sure it is safe enough, have performance penalties and so on, so RFC.

Philippe Mathieu-Daudé (2):
exec: Let memory_access_size() consider minimum valid access size
exec: Do not let flatview_read/write_continue do (too) short accesses

 exec.c | 42 +++++++++++++++++++++++++++++++-----------
 1 file changed, 31 insertions(+), 11 deletions(-)
Signature · 1 line
2.21.3