All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support
@ 2017-11-20  9:55 ` Marc-André Lureau
  0 siblings, 0 replies; 20+ messages in thread
From: Marc-André Lureau @ 2017-11-20  9:55 UTC (permalink / raw)
  To: linux-kernel; +Cc: qemu-devel, somlo, xiaolong.ye, mst, 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.

Note: the support for this entry handling has been merged for upcoming
qemu release (2.11).

v7:
- add a patch to fix driver remove()
- remove DMA operatiom timeout (qemu finishes sync today)
- synchronize the DMA transfer before reading from CPU
- removed kmalloc() use static allocation instead
- drop some r-b tags

v6:
- change acpi_acquire_global_lock() error to return EINVAL
  (instead of EBUSY)
- replace 0 as pointer argument for NULL
- add Gabriel r-b/a-b tags

v5:
- resent to CC kdump people on the paddr_vmcoreinfo_note() export patch

v4:
- export paddr_vmcoreinfo_note() to fix fw_cfg.ko build
- fix build with !CONFIG_CRASH_CORE
- replace the unbounded yield() loop with a usleep_range() loop and a
  200ms timeout
- do not write vmcoreinfo entry when running the kdump kernel (D. Hatayama)
- drop the experimental sysfs write support patch from this series

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 driver remove
  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 | 276 ++++++++++++++++++++++++++++++++++++-----
 kernel/crash_core.c            |   1 +
 2 files changed, 247 insertions(+), 30 deletions(-)

-- 
2.15.0.277.ga3d2ad2c43

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

end of thread, other threads:[~2017-11-23  5:19 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-20  9:55 [PATCH v7 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Marc-André Lureau
2017-11-20  9:55 ` [Qemu-devel] " Marc-André Lureau
2017-11-20  9:55 ` [PATCH v7 1/5] fw_cfg: fix driver remove Marc-André Lureau
2017-11-20  9:55   ` [Qemu-devel] " Marc-André Lureau
2017-11-20  9:55 ` [PATCH v7 2/5] fw_cfg: add DMA register Marc-André Lureau
2017-11-20  9:55   ` [Qemu-devel] " Marc-André Lureau
2017-11-20  9:55 ` [PATCH v7 3/5] fw_cfg: do DMA read operation Marc-André Lureau
2017-11-20  9:55   ` [Qemu-devel] " Marc-André Lureau
2017-11-20 21:49   ` Michael S. Tsirkin
2017-11-20 21:49     ` [Qemu-devel] " Michael S. Tsirkin
2017-11-21 11:17     ` Marc-André Lureau
2017-11-21 11:17       ` [Qemu-devel] " Marc-André Lureau
2017-11-21 16:24       ` Michael S. Tsirkin
2017-11-21 16:24         ` [Qemu-devel] " Michael S. Tsirkin
2017-11-20  9:55 ` [PATCH v7 4/5] crash: export paddr_vmcoreinfo_note() Marc-André Lureau
2017-11-20  9:55   ` [Qemu-devel] " Marc-André Lureau
2017-11-20  9:55 ` [PATCH v7 5/5] fw_cfg: write vmcoreinfo details Marc-André Lureau
2017-11-20  9:55   ` [Qemu-devel] " Marc-André Lureau
2017-11-23  5:19 ` [PATCH v7 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Michael S. Tsirkin
2017-11-23  5:19   ` [Qemu-devel] " Michael S. Tsirkin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.