RFC exec: Fix (too) short device accesses
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | exec: Let memory_access_size() consider minimum valid access sizeexec.c | +10 | 0 replies | |
| 2/2 | exec: Do not let flatview_read/write_continue do (too) short accessesexec.c | +21 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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