x86/vpic: force int output to low when in init mode
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 20 Apr 2021 09:34:53 +0000 (11:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 20 Apr 2021 09:34:53 +0000 (11:34 +0200)
commit1ca901c527d21c083ceb706839db2cdac102926c
tree90f5f84d198906500d2dbc36732b817c2c499f67
parenta8c532be6a44c7faa54ac777a717f4aa65e3a806
x86/vpic: force int output to low when in init mode

When the PIC is on the init sequence prevent interrupt delivery. The
state of the registers is in the process of being set during the init
phase, so it makes sense to prevent any int line changes during that
process.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/vpic.c