]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: x86: reset edge sense circuit of i8259 on init
authorGleb Natapov <gleb@redhat.com>
Tue, 24 Jan 2012 13:06:05 +0000 (15:06 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:57:30 +0000 (14:57 +0200)
commit242ec97c358256ad6e62dab869f63a03cd244122
tree58dd14b9972084f95a31ea3a2fa51e226b8bef7d
parentd2a1b483a4a3f4bbb5fec1877f716c15ac7fa405
KVM: x86: reset edge sense circuit of i8259 on init

The spec says that during initialization "The edge sense circuit is
reset which means that following initialization an interrupt request
(IR) input must make a low-to-high transition to generate an interrupt",
but currently if edge triggered interrupt is in IRR it is delivered
after i8259 initialization.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8259.c