All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/5] fw_cfg: spec update, misc. cleanup, optimize read
@ 2015-11-03  0:35 Gabriel L. Somlo
  2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 1/5] fw_cfg: move internal function call docs to header file Gabriel L. Somlo
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Gabriel L. Somlo @ 2015-11-03  0:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: peter.maydell, jordan.l.justen, kraxel, pbonzini, markmb, lersek

New since v2:

	- Patches 1-3: updated to address Laszlo's suggestions for better
	  and more accurate change descriptions in commit logs, comments,
	  etc.

	- Patch 4: Per Laszlo's recommendation, this has been split into
	  two separate components for improved legibility:

		- Patch 4/5: Introduces the new generic read method, and
		  replaces the existing MMIO logic

		- Patch 5/5: Replaces the IOPort read logic, and cleans
		  up the remaining unused bits of code.

Thanks again,
  --Gabriel

>This series' main purpose is to update (and simplify) the specified
>read callback behavior. An earlier standalone patch to move qemu function
>call API documentation into fw_cfg.h should logically be part of the series.
>
>Here's the summary of what each patch does:
>
>        - Patch 1/4 is an updated version of the standalone v1 patch
>          I sent out earlier; it moves all the qemu-internal host-side
>          function call api documentation out of docs/specs/fw_cfg.txt,
>          and into the fw_cfg.h header file, next to the prototype of
>          each documented api function.
>
>        - Patch 2/4 modifies the specified behavior of read callbacks
>          (from being invoked once per byte read, to being invoked once,
>           before ANY data is read, specifically once each time an item
>           is selected).
>
>        - Patch 3/4 additionally removes the now-redundant offset argument
>          from the read callback prototype.
>
>        - Finally, 4/4 consolidates (non-DMA) reads, minimizing the number
>          of times redundant sanity checks are performed, particularly for
>          wide (> byte) sized reads.

Gabriel L. Somlo (5):
  fw_cfg: move internal function call docs to header file
  fw_cfg: amend callback behavior spec to once per select
  fw_cfg: remove offset argument from callback prototype
  fw_cfg: add generic non-DMA read method
  fw_cfg: replace ioport data read with generic method

 docs/specs/fw_cfg.txt     |  85 +-----------------------------
 hw/arm/virt-acpi-build.c  |   2 +-
 hw/i386/acpi-build.c      |   2 +-
 hw/nvram/fw_cfg.c         |  58 ++++++++-------------
 include/hw/nvram/fw_cfg.h | 128 +++++++++++++++++++++++++++++++++++++++++++++-
 trace-events              |   2 +-
 6 files changed, 151 insertions(+), 126 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-11-04 13:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-03  0:35 [Qemu-devel] [PATCH v3 0/5] fw_cfg: spec update, misc. cleanup, optimize read Gabriel L. Somlo
2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 1/5] fw_cfg: move internal function call docs to header file Gabriel L. Somlo
2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 2/5] fw_cfg: amend callback behavior spec to once per select Gabriel L. Somlo
2015-11-03  9:51   ` Laszlo Ersek
2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 3/5] fw_cfg: remove offset argument from callback prototype Gabriel L. Somlo
2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 4/5] fw_cfg: add generic non-DMA read method Gabriel L. Somlo
2015-11-03 10:53   ` Laszlo Ersek
2015-11-03 17:55     ` Gabriel L. Somlo
2015-11-03 21:35       ` Laszlo Ersek
2015-11-03 21:44         ` Gabriel L. Somlo
2015-11-03 22:03         ` Gabriel L. Somlo
2015-11-04 13:01           ` Laszlo Ersek
2015-11-03  0:35 ` [Qemu-devel] [PATCH v3 5/5] fw_cfg: replace ioport data read with generic method Gabriel L. Somlo
2015-11-03 11:11   ` Laszlo Ersek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.