Messages in this thread | | | From | Marc-André Lureau <> | Subject | [PATCH v12 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support | Date | Mon, 5 Feb 2018 17:30:44 +0100 |
| |
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).
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): fw_cfg: add DMA register fw_cfg: do DMA read operation crash: export paddr_vmcoreinfo_note() fw_cfg: write vmcoreinfo details
drivers/firmware/qemu_fw_cfg.c | 269 ++++++++++++++++++++++++++++++++++++----- kernel/crash_core.c | 1 + 2 files changed, 238 insertions(+), 32 deletions(-)
-- 2.16.0.rc1.1.gef27df75a1
| |