From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laszlo Ersek Subject: Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Date: Mon, 7 Sep 2015 13:25:20 +0200 Message-ID: <55ED7420.9080803@redhat.com> References: <1441012133-8154-1-git-send-email-markmb@redhat.com> <1441012303-8261-1-git-send-email-markmb@redhat.com> <20150902103311.5335d469@markmb_rh> <1441624109.27149.18.camel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1441624109.27149.18.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Gerd Hoffmann , =?UTF-8?Q?Marc_Mar=c3=ad?= Cc: Stefan Hajnoczi , linux-kernel , Drew , Kevin O'Connor , Arnd Bergmann , Rob Herring , Mark Rutland , Alexander Graf , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 09/07/15 13:08, Gerd Hoffmann wrote: > 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 ... Seems far-fetched. Thanks Laszlo > cheers, > Gerd > > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html