qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v10 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support
@ 2018-01-23 16:40 Marc-André Lureau
  2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 1/4] fw_cfg: add DMA register Marc-André Lureau
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Marc-André Lureau @ 2018-01-23 16:40 UTC (permalink / raw)
  To: linux-kernel
  Cc: bhe, slp, mst, somlo, xiaolong.ye, peterx, qemu-devel,
	Marc-André Lureau

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-01-24 10:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 16:40 [Qemu-devel] [PATCH v10 0/4] fw_cfg: add DMA operations & etc/vmcoreinfo support Marc-André Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 1/4] fw_cfg: add DMA register Marc-André Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 2/4] fw_cfg: do DMA read operation Marc-André Lureau
2018-01-24  3:25   ` Peter Xu
2018-01-24 10:29     ` Marc-Andre Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 3/4] crash: export paddr_vmcoreinfo_note() Marc-André Lureau
2018-01-23 16:40 ` [Qemu-devel] [PATCH v10 4/4] fw_cfg: write vmcoreinfo details Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).