[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1441624109.27149.18.camel@redhat.com>
Date: Mon, 07 Sep 2015 13:08:29 +0200
From: Gerd Hoffmann <kraxel@...hat.com>
To: Marc MarĂ <markmb@...hat.com>
Cc: Stefan Hajnoczi <stefanha@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Drew <drjones@...hat.com>, "Kevin O'Connor" <kevin@...onnor.net>,
Laszlo <lersek@...hat.com>, Arnd Bergmann <arnd@...db.de>,
Rob Herring <rob.herring@...aro.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Graf <agraf@...e.de>, devicetree@...r.kernel.org
Subject: Re: [PATCH v2] QEMU fw_cfg DMA interface documentation
Hi,
> It's just simplicity. If you want to read a few times from the same
> field (like in ACPI tables, read the data size and then the data), you
> need a way to enable and disable the selector and manage the current
> offset for that entry. This is already provided with the "old"
> interface.
Could be handled with a 'select' control bit. Only when set select
entry and reset offset to zero.
Also: would it make sense to allow an *array* of FWCfgDmaAccess structs?
With a 'more' bit in control we could indicate that there are more
entries. I'm not sure firmware would actually use that though ...
cheers,
Gerd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists