linux-hardened/include
Rusty Russell 0a8a69dd77 Virtio helper routines for a descriptor ringbuffer implementation
These helper routines supply most of the virtqueue_ops for hypervisors
which want to use a ring for virtio.  Unlike the previous lguest
implementation:

1) The rings are variable sized (2^n-1 elements).
2) They have an unfortunate limit of 65535 bytes per sg element.
3) The page numbers are always 64 bit (PAE anyone?)
4) They no longer place used[] on a separate page, just a separate
   cacheline.
5) We do a modulo on a variable.  We could be tricky if we cared.
6) Interrupts and notifies are suppressed using flags within the rings.

Users need only get the ring pages and provide a notify hook (KVM
wants the guest to allocate the rings, lguest does it sanely).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Dor Laor <dor.laor@qumranet.com>
2007-10-23 15:49:55 +10:00
..
acpi Intel IOMMU: DMAR detection and parsing logic 2007-10-22 08:13:18 -07:00
asm-alpha Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-arm Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-arm26 softlockup: make asm/irq_regs.h available on every platform 2007-10-17 08:42:47 -07:00
asm-avr32 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-blackfin Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-cris Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-frv Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-generic Linux Kernel Markers 2007-10-19 11:53:54 -07:00
asm-h8300 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-ia64 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-m32r Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-m68k Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-m68knommu Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-mips Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus 2007-10-22 19:21:08 -07:00
asm-parisc Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-powerpc Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-10-22 19:21:54 -07:00
asm-ppc ppc: fix AT_VECTOR_SIZE on arch/ppc 2007-10-22 19:18:54 -07:00
asm-s390 Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6 2007-10-22 19:23:34 -07:00
asm-sh Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-sh64 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-sparc Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-sparc64 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-um forbid asm/bitops.h direct inclusion 2007-10-19 11:53:41 -07:00
asm-v850 Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
asm-x86 Boot with virtual == physical to get closer to native Linux. 2007-10-23 15:49:54 +10:00
asm-xtensa Add CONFIG_DEBUG_SG sg validation 2007-10-22 21:20:03 +02:00
crypto [CRYPTO] sha: Add header file for SHA definitions 2007-10-10 16:55:50 -07:00
keys KEYS: Make request_key() and co fundamentally asynchronous 2007-10-17 08:42:57 -07:00
linux Virtio helper routines for a descriptor ringbuffer implementation 2007-10-23 15:49:55 +10:00
math-emu
media V4L/DVB (6321): Remove obsolete VIDIOC_S/G_MPEGCOMP ioctls 2007-10-22 12:01:30 -02:00
mtd
net [Bluetooth] Add support for handling simple eSCO links 2007-10-22 02:59:47 -07:00
pcmcia pcmcia: use DMA_MASK_NONE for the default for all pcmcia devices 2007-10-16 09:42:50 -07:00
rdma IB/cm: Modify interface to send MRAs in response to duplicate messages 2007-10-09 19:59:17 -07:00
rxrpc
scsi do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00
sound [ALSA] version 1.0.15 2007-10-16 16:57:46 +02:00
video Make asm-x86/bootparam.h includable from userspace. 2007-10-23 15:49:47 +10:00
xen xen: fix incorrect vcpu_register_vcpu_info hypercall argument 2007-10-16 11:51:31 -07:00
Kbuild do not export /usr/include/scsi in make headers_install 2007-10-17 08:42:52 -07:00