[PATCH v13 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support

From: Marc-Andrà Lureau
Date: Tue Feb 06 2018 - 20:42:52 EST


Hi,

This series adds DMA operations support to the qemu fw_cfg kernel
module and populates "etc/vmcoreinfo" with vmcoreinfo location
details (entry added since qemu 2.11 with -device vmcoreinfo).

v13:
- reorder patch series, introduce DMA write before DMA read
- do some measurements of DMA read speed-ups

v12:
- fix virt_to_phys(NULL) panic with CONFIG_DEBUG_VIRTUAL=y
- do not use DMA read, except for kmalloc() memory we allocated
ourself (only fw_cfg_register_dir_entries() so far)

v11:
- add #include <linux/crash_core.h> in last patch,
fixing kbuild .config test

Marc-Andrà Lureau (4):
crash: export paddr_vmcoreinfo_note()
fw_cfg: add DMA register
fw_cfg: write vmcoreinfo details
RFC: fw_cfg: do DMA read operation

drivers/firmware/qemu_fw_cfg.c | 257 ++++++++++++++++++++++++++++++++++++-----
kernel/crash_core.c | 1 +
2 files changed, 230 insertions(+), 28 deletions(-)

--
2.16.1.73.g5832b7e9f2