Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220071

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

From Laszlo Ersek <lersek@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] QEMU fw_cfg DMA interface documentation
Date 2015-09-07 13:30 +0200
Message-ID <q62My-47x-15@gated-at.bofh.it> (permalink)
References <q3tge-3d0-9@gated-at.bofh.it> <q3tpU-3oo-13@gated-at.bofh.it> <q4bAB-82i-3@gated-at.bofh.it> <q4bKi-8dy-9@gated-at.bofh.it> <q62tc-3L3-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

QEMU fw_cfg DMA interface Marc Marí <markmb@redhat.com> - 2015-08-31 11:10 +0200
  [PATCH v2] QEMU fw_cfg DMA interface documentation Marc Marí <markmb@redhat.com> - 2015-08-31 11:20 +0200
    Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Stefan Hajnoczi <stefanha@gmail.com> - 2015-09-02 10:30 +0200
      Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Marc Marí <markmb@redhat.com> - 2015-09-02 10:40 +0200
        Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Gerd Hoffmann <kraxel@redhat.com> - 2015-09-07 13:10 +0200
          Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Laszlo Ersek <lersek@redhat.com> - 2015-09-07 13:30 +0200
          Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Kevin O'Connor <kevin@koconnor.net> - 2015-09-08 18:50 +0200
            Re: [PATCH v2] QEMU fw_cfg DMA interface documentation Marc Marí <markmb@redhat.com> - 2015-09-10 16:30 +0200

csiph-web