diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-22 13:55:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-22 13:55:06 -0400 |
commit | b9bb6fb73b3e112d241a5edd146740be9a0c3cc0 (patch) | |
tree | d65072d0371468d685b7464dc6b38f920c0c9666 /arch/x86/lguest/boot.c | |
parent | 15ce2658ddbd3db20dfba3622f3d224f01837fdc (diff) | |
parent | 9abbfb486f5c254805bb6a3f263bc14d989eb90b (diff) |
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull virtio updates from Rusty Russell:
"Some virtio internal cleanups, a new virtio device "virtio input", and
a change to allow the legacy virtio balloon.
Most excitingly, some lguest work! No seriously, I got some cleanup
patches"
* tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
virtio: drop virtio_device_is_legacy_only
virtio_pci: support non-legacy balloon devices
virtio_mmio: support non-legacy balloon devices
virtio_ccw: support non-legacy balloon devices
virtio: balloon might not be a legacy device
virtio_balloon: transitional interface
virtio_ring: Update weak barriers to use dma_wmb/rmb
virtio_pci_modern: switch to type-safe io accessors
virtio_pci_modern: type-safe io accessors
lguest: handle traps on the "interrupt suppressed" iret instruction.
virtio: drop a useless config read
virtio_config: reorder functions
Add virtio-input driver.
lguest: suppress interrupts for single insn, not range.
lguest: simplify lguest_iret
lguest: rename i386_head.S in the comments
lguest: explicitly set miscdevice's private_data NULL
lguest: fix pending interrupt test.
Diffstat (limited to 'arch/x86/lguest/boot.c')
-rw-r--r-- | arch/x86/lguest/boot.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c index 717908b16037..8f9a133cc099 100644 --- a/arch/x86/lguest/boot.c +++ b/arch/x86/lguest/boot.c | |||
@@ -87,8 +87,7 @@ | |||
87 | 87 | ||
88 | struct lguest_data lguest_data = { | 88 | struct lguest_data lguest_data = { |
89 | .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, | 89 | .hcall_status = { [0 ... LHCALL_RING_SIZE-1] = 0xFF }, |
90 | .noirq_start = (u32)lguest_noirq_start, | 90 | .noirq_iret = (u32)lguest_noirq_iret, |
91 | .noirq_end = (u32)lguest_noirq_end, | ||
92 | .kernel_address = PAGE_OFFSET, | 91 | .kernel_address = PAGE_OFFSET, |
93 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ | 92 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ |
94 | .syscall_vec = SYSCALL_VECTOR, | 93 | .syscall_vec = SYSCALL_VECTOR, |
@@ -262,7 +261,7 @@ PV_CALLEE_SAVE_REGS_THUNK(lguest_save_fl); | |||
262 | PV_CALLEE_SAVE_REGS_THUNK(lguest_irq_disable); | 261 | PV_CALLEE_SAVE_REGS_THUNK(lguest_irq_disable); |
263 | /*:*/ | 262 | /*:*/ |
264 | 263 | ||
265 | /* These are in i386_head.S */ | 264 | /* These are in head_32.S */ |
266 | extern void lg_irq_enable(void); | 265 | extern void lg_irq_enable(void); |
267 | extern void lg_restore_fl(unsigned long flags); | 266 | extern void lg_restore_fl(unsigned long flags); |
268 | 267 | ||
@@ -1368,7 +1367,7 @@ static void lguest_restart(char *reason) | |||
1368 | * fit comfortably. | 1367 | * fit comfortably. |
1369 | * | 1368 | * |
1370 | * First we need assembly templates of each of the patchable Guest operations, | 1369 | * First we need assembly templates of each of the patchable Guest operations, |
1371 | * and these are in i386_head.S. | 1370 | * and these are in head_32.S. |
1372 | */ | 1371 | */ |
1373 | 1372 | ||
1374 | /*G:060 We construct a table from the assembler templates: */ | 1373 | /*G:060 We construct a table from the assembler templates: */ |