linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support
@ 2017-10-31 15:19 Marc-André Lureau
  2017-10-31 15:19 ` [PATCH v4 1/5] fw_cfg: fix the command line module name Marc-André Lureau
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Marc-André Lureau @ 2017-10-31 15:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: somlo, qemu-devel, 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 next
qemu release (2.11)

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 the command line module name
  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 | 292 +++++++++++++++++++++++++++++++++++++----
 kernel/crash_core.c            |   1 +
 2 files changed, 264 insertions(+), 29 deletions(-)

-- 
2.15.0.rc0.40.gaefcc5f6f

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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 15:19 [PATCH v4 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Marc-André Lureau
2017-10-31 15:19 ` [PATCH v4 1/5] fw_cfg: fix the command line module name Marc-André Lureau
2017-11-12 12:40   ` Gabriel L. Somlo
2017-10-31 15:19 ` [PATCH v4 2/5] fw_cfg: add DMA register Marc-André Lureau
2017-11-12 12:41   ` Gabriel L. Somlo
2017-10-31 15:19 ` [PATCH v4 3/5] fw_cfg: do DMA read operation Marc-André Lureau
2017-11-12 12:42   ` Gabriel L. Somlo
2017-11-12 14:36     ` Marc-André Lureau
2017-11-12 19:21       ` Gabriel L. Somlo
2017-10-31 15:19 ` [PATCH v4 4/5] crash: export paddr_vmcoreinfo_note() Marc-André Lureau
2017-11-12 12:42   ` Gabriel L. Somlo
2017-10-31 15:19 ` [PATCH v4 5/5] fw_cfg: write vmcoreinfo details Marc-André Lureau
2017-11-12 12:43   ` Gabriel L. Somlo
2017-11-12 12:40 ` [PATCH v4 0/5] fw_cfg: add DMA operations & etc/vmcoreinfo support Gabriel L. Somlo

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).