RFC softmmu: Restrict CPU I/O instructions
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | softmmu/physmem: Rename io_mem_unassigned -> unassigned_mrsoftmmu/ | +6 | 0 replies | |
| 2/8 | exec: Extract CPU I/O instructions to "cpu-io.h"hw/ include/ include/ +6 more | +125 | 0 replies | |
| 3/8 | target: Introduce TARGET_HAS_IOPORTdefault-configs/ default-configs/ default-configs/ | +3 | 0 replies | |
| 4/8 | qtest/fuzz: Restrict CPU I/O instructionstests/ tests/ | +14 | 4 replies | |
| 5/8 | qtest/libqos: Restrict CPU I/O instructionstests/ tests/ | +5 | 6 replies | |
| 6/8 | qtest: Restrict CPU I/O instructionssoftmmu/ | +8 | 0 replies | |
| 7/8 | monitor: Restrict CPU I/O instructionshmp-commands.hx monitor/ | +6 | 0 replies | |
| 8/8 | softmmu: Restrict CPU I/O instructionssoftmmu/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/8] softmmu: Restrict CPU I/O instructions
An attempt to restrict CPU I/O instructions to targets where it makes sense. If it does, I'll send the next series which restrict the I/O address space to X86/AVR.
Based-on: <[email protected]>
Philippe Mathieu-Daudé (8):
softmmu/physmem: Rename io_mem_unassigned -> unassigned_mr
exec: Extract CPU I/O instructions to "cpu-io.h"
target: Introduce TARGET_HAS_IOPORT
qtest/fuzz: Restrict CPU I/O instructions qtest/libqos: Restrict CPU I/O instructions
qtest: Restrict CPU I/O instructions
monitor: Restrict CPU I/O instructions
softmmu: Restrict CPU I/O instructions
default-configs/targets/avr-softmmu.mak | 1 + default-configs/targets/i386-softmmu.mak | 1 + default-configs/targets/x86_64-softmmu.mak | 1 + include/exec/cpu-io.h | 30 ++++++++ include/exec/ioport.h | 7 -- tests/qtest/libqos/fw_cfg.h | 3 + hw/i386/xen/xen-hvm.c | 1 + monitor/misc.c | 6 +- softmmu/cpu-io.c | 88 ++++++++++++++++++++++ softmmu/ioport.c | 60 --------------- softmmu/physmem.c | 12 +-- softmmu/qtest.c | 11 ++- tests/qtest/fuzz/generic_fuzz.c | 16 ++-- tests/qtest/fuzz/qtest_wrappers.c | 7 +- tests/qtest/libqos/fw_cfg.c | 2 + hmp-commands.hx | 2 + softmmu/meson.build | 3 +- 17 files changed, 167 insertions(+), 84 deletions(-) create mode 100644 include/exec/cpu-io.h create mode 100644 softmmu/cpu-io.c
Signature · 1 line
2.26.2