summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2015-04-01 05:02:20 +0200
committerRusty Russell <rusty@rustcorp.com.au>2015-04-01 06:07:15 +0200
commit3eebd233fcb392286d385e764eb91e90d6218cdf (patch)
treee3e1eb107605792e28ddb26db668bab580b9c625 /sound/i2c
parentvirtio: drop a useless config read (diff)
downloadlinux-3eebd233fcb392286d385e764eb91e90d6218cdf.tar.xz
linux-3eebd233fcb392286d385e764eb91e90d6218cdf.zip
lguest: handle traps on the "interrupt suppressed" iret instruction.
Lguest's "iret" is non-atomic, as it needs to restore the interrupt state before the real iret (the guest can't actually suppress interrupts). For this reason, the host discards an interrupt if it occurs in this (1-instruction) window. We can do better, by emulating the iret execution, then immediately setting up the interrupt handler. In fact, we don't need to do much, as emulating the iret and setting up th stack for the interrupt handler basically cancel each other out. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions