xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v8 00/13] x86/hvm: I/O emulation cleanup and fix
@ 2015-07-09 16:55 Paul Durrant
  2015-07-09 16:55 ` [PATCH v8 01/13] x86/hvm: change portio port numbers and sizes to unsigned int Paul Durrant
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Paul Durrant @ 2015-07-09 16:55 UTC (permalink / raw)
  To: xen-devel; +Cc: Paul Durrant

This patch series re-works much of the code involved in emulation of port
and memory mapped I/O for HVM guests.

The code has become very convoluted and, at least by inspection, certain
emulations will apparently malfunction.

The series is broken down into 13 patches (which are also available in
my xenbits repo: http://xenbits.xen.org/gitweb/?p=people/pauldu/xen.git
on the emulation36 branch).

Previous changelog
------------------

v4:
 - Removed previous patch (make sure translated MMIO reads or
   writes fall within a page) and rebased rest of series.
 - Address Jan's comments on patch #1

v3:
 - Addressed comments from Jan
 - Re-ordered series to bring a couple of more trivial patches to the
   front
 - Backport to XenServer (4.5) now passing automated tests
 - Tested on unstable with QEMU upstream and trad, with and without
   HAP (to force shadow emulation)

v2:
 - Removed bogus assertion from patch #15
 - Re-worked patch #17 after basic testing of back-port onto XenServer

Subsequent changes are logged in the individual patch files (thanks
to David Vrabel for that).

Testing
-------

v6 of the series was been back-ported to staging-4.5 and then dropped
onto the XenServer (Dundee) patch queue. All automated branch-safety tests
pass.

v8 has just been compile tested since changes since v6 are largely
cosmetic. It will be back-ported in the near future.

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

end of thread, other threads:[~2015-07-09 16:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-09 16:55 [PATCH v8 00/13] x86/hvm: I/O emulation cleanup and fix Paul Durrant
2015-07-09 16:55 ` [PATCH v8 01/13] x86/hvm: change portio port numbers and sizes to unsigned int Paul Durrant
2015-07-09 16:55 ` [PATCH v8 02/13] x86/hvm: unify internal portio and mmio intercepts Paul Durrant
2015-07-09 16:55 ` [PATCH v8 03/13] x86/hvm: add length to mmio check op Paul Durrant
2015-07-09 16:55 ` [PATCH v8 04/13] x86/hvm: unify dpci portio intercept with standard portio intercept Paul Durrant
2015-07-09 16:55 ` [PATCH v8 05/13] x86/hvm: unify stdvga mmio intercept with standard mmio intercept Paul Durrant
2015-07-09 16:55 ` [PATCH v8 06/13] x86/hvm: limit reps to avoid the need to handle retry Paul Durrant
2015-07-09 16:55 ` [PATCH v8 07/13] x86/hvm: only call hvm_io_assist() from hvm_wait_for_io() Paul Durrant
2015-07-09 16:55 ` [PATCH v8 08/13] x86/hvm: split I/O completion handling from state model Paul Durrant
2015-07-09 16:55 ` [PATCH v8 09/13] x86/hvm: remove HVMIO_dispatched I/O state Paul Durrant
2015-07-09 16:55 ` [PATCH v8 10/13] x86/hvm: remove hvm_io_state enumeration Paul Durrant
2015-07-09 16:55 ` [PATCH v8 11/13] x86/hvm: use ioreq_t to track in-flight state Paul Durrant
2015-07-09 16:55 ` [PATCH v8 12/13] x86/hvm: always re-emulate I/O from a buffer Paul Durrant
2015-07-09 16:55 ` [PATCH v8 13/13] x86/hvm: track large memory mapped accesses by buffer offset Paul Durrant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).