[PATCH 0/3] fw_cfg: add DMA operations

From: marcandre . lureau
Date: Fri Apr 28 2017 - 08:45:34 EST


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

Hi,

This series brings DMA operations support to the fw_cfg kernel module.
There is a few FIXME that I don't know how to improve.

The 'write' operation is only meant as a proof-of-concept, since some
qemu firmware maintainers are strongly against the usage of this
operation by the kernel/user-space.

Marc-Andrà Lureau (3):
fw_cfg: add DMA register
fw_cfg: do DMA read operation
fw_cfg: add DMA write operation proof-of-concept

drivers/firmware/qemu_fw_cfg.c | 240 ++++++++++++++++++++++++++++++++++++-----
1 file changed, 211 insertions(+), 29 deletions(-)

--
2.12.0.191.gc5d8de91d