[PATCH v3 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support

From: marcandre . lureau
Date: Fri Sep 22 2017 - 09:24:28 EST


From: Marc-Andrà Lureau <marcandre.lureau@xxxxxxxxxx>

Hi,

This series brings DMA operations support to the fw_cfg kernel module
and provide "etc/vmcoreinfo" support.

At the current iteration of "[Qemu-devel] [PATCH v6 0/7] KASLR kernel
dump support" patch series, a "etc/vmcoreinfo" entry is added with
qemu -device vmcoreinfo, where the guest during boot or later, can
write the addr/size location of a ELF note to be appended in the qemu
dump.

v3: (thanks kbuild)
- add "fw_cfg: fix the command line module name" patch
- fix build of "fw_cfg: add DMA register" with CONFIG_FW_CFG_SYSFS_CMDLINE=y
- fix 'Wshift-count-overflow'

v2:
- use platform device for dma mapping
- add etc/vmcoreinfo patch
- some code cleanups

Marc-Andrà Lureau (5):
fw_cfg: fix the command line module name
fw_cfg: add DMA register
fw_cfg: do DMA read operation
fw_cfg: write vmcoreinfo details
RFC: fw_cfg: add DMA write operation in sysfs

drivers/firmware/qemu_fw_cfg.c | 284 ++++++++++++++++++++++++++++++++++++-----
1 file changed, 254 insertions(+), 30 deletions(-)

--
2.14.1.146.gd35faa819