linux-stable-rt/drivers
Rusty Russell cc6d4fbcef Introduce "hcall" pointer to indicate pending hypercall.
Currently we look at the "trapnum" to see if the Guest wants a
hypercall.  But once the hypercall is done we have to reset trapnum to
a bogus value, otherwise if we exit to userspace and return, we'd run
the same hypercall twice (that was a nasty bug to find!).

This has two main effects:

1) When Jes's patch changes the hypercall args to be a generic "struct
   hcall_args" we simply change the type of "lg->hcall".  It's set by
   arch code, so if it has to copy args or something it can do so, and
   point "hcall" into lg->arch somewhere.

2) Async hypercalls only get run when an actual hypercall is pending.
   This simplfies the code a little and is a more logical semantic.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2007-10-23 15:49:52 +10:00
..
acorn/char
acpi Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
amba
ata [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
atm
auxdisplay
base memory hotplug: rearrange memory hotplug notifier 2007-10-22 08:13:17 -07:00
block [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
bluetooth [Bluetooth] Add generic driver for Bluetooth USB devices 2007-10-22 02:59:46 -07:00
cdrom
char
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
fc4
firewire firewire: fw-ohci: shut up a superfluous compiler warning 2007-10-22 19:48:56 +02:00
firmware
hid
hwmon Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
i2c
ide [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
ieee1394 [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
infiniband [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2007-10-22 19:29:58 -07:00
isdn
kvm Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
leds
lguest Introduce "hcall" pointer to indicate pending hypercall. 2007-10-23 15:49:52 +10:00
macintosh Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
mca
md [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
media Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2007-10-22 19:20:22 -07:00
message
mfd
misc
mmc [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
mtd
net Remove fixed limit on number of guests, and lguests array. 2007-10-23 15:49:51 +10:00
nubus
of
oprofile
parisc
parport
pci intel-iommu sg chaining support 2007-10-22 08:13:19 -07:00
pcmcia
pnp
power Merge git://git.infradead.org/battery-2.6 2007-10-22 19:20:52 -07:00
ps3
rapidio
rtc
s390 [S390] struct class_device -> struct device conversion. 2007-10-22 12:52:48 +02:00
sbus vfc_dev conversion to mutex: fallout 2007-10-20 15:04:06 -07:00
scsi [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
serial Blackfin serial driver Kconfig: depend on DMA not being enabled rather than a specific DMA size 2007-10-21 22:30:01 +08:00
sh
sn
spi
ssb
tc
telephony
uio
usb [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
video Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial 2007-10-19 20:36:17 -07:00
w1
watchdog [POWERPC] Update device tree binding for mpc5200 gpt 2007-10-21 12:42:55 -06:00
xen
zorro
Kconfig Consolidate host virtualization support under Virtualization menu 2007-10-23 15:49:47 +10:00
Makefile