mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: marcandre.lureau@redhat.com
To: qemu-devel@nongnu.org
Cc: somlo@cmu.edu, linux-kernel@vger.kernel.org, mst@redhat.com,
	"Marc-André Lureau" <marcandre.lureau@redhat.com>
Subject: [PATCH 0/3] fw_cfg: add DMA operations
Date: Fri, 28 Apr 2017 16:45:07 +0400	[thread overview]
Message-ID: <20170428124510.23654-1-marcandre.lureau@redhat.com> (raw)

From: Marc-André Lureau <marcandre.lureau@redhat.com>

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

             reply	other threads:[~2017-04-28 12:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-28 12:45 marcandre.lureau [this message]
2017-04-28 12:45 ` [PATCH 1/3] fw_cfg: add DMA register marcandre.lureau
2017-04-28 12:45 ` [PATCH 2/3] fw_cfg: do DMA read operation marcandre.lureau
2017-05-04  2:39   ` [lkp-robot] [fw_cfg] 9f0f3ea314: BUG:KASAN:null-ptr-deref_on_address kernel test robot
2017-04-28 12:45 ` [PATCH 3/3] fw_cfg: add DMA write operation proof-of-concept marcandre.lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170428124510.23654-1-marcandre.lureau@redhat.com \
    --to=marcandre.lureau@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=somlo@cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®