lkml.org 
[lkml]   [2018]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v10 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support
Date
Hi,

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

v10:
- merged Peter Xu fix "[PATCH] fw_cfg: don't use DMA mapping for fw_cfg device"
(fixing fw-cfg+viommu configuration)
- switch back to kalloc'd struct vmci, to fix DMA garbage operations
- do not attempt to write vmcoreinfo if the entry exists but DMA isn't supported
- removed a copy-pasta memset() on write operation error

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 | 267 ++++++++++++++++++++++++++++++++++++-----
kernel/crash_core.c | 1 +
2 files changed, 236 insertions(+), 32 deletions(-)

--
2.16.0.rc1.1.gef27df75a1

\
 
 \ /
  Last update: 2018-01-23 17:41    [W:1.062 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site