[PATCH 0/5] kvm: Batch writes to MMIO

Laurent Vivier
2008-05-30T14:04:58Z

When kernel has to send MMIO writes to userspace, it stores them
in memory until it has to pass the hand to userspace for another
reason. This avoids to have too many context switches on operations
that can wait.

These patches introduce an ioctl() to define MMIO allowed to be coalesced.

This is the kernel part of the coalesced MMIO functionality.

[PATCH 1/5] kvm_io_device: extend in_range() to manage len and write attribute

Modify member in_range() of structure kvm_io_device to pass length
and the type of the I/O (write or read).

[PATCH 2/5] Add coalesced MMIO support (common part)

This patch adds all needed structures to coalesce MMIOs.

[PATCH 3/5] Add coalesced MMIO support (x86 part)

This patch enables coalesced MMIO for x86 architecture.

[PATCH 4/5] Add coalesced MMIO support (powerpc part)

This patch enables coalesced MMIO for powerpc architecture.
WARNING: this has not been tested.

[PATCH 5/5] Add coalesced MMIO support (ia64 part)

This patch enables coalesced MMIO for ia64 architecture.
WARNING: this has not been tested.