]> xenbits.xensource.com Git - xen.git/commit
x86/vPCI: check address in vpci_msi_update()
authorJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:18:26 +0000 (13:18 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jan 2021 12:18:26 +0000 (13:18 +0100)
commit0f7bcaf19f7c67ee8c07d1674b2bbb70f16c2d11
treeb0b4a2007c0d97794743786786533fdea90316c7
parent04b090366ca59e8a75837c822df261a8d0bd1a30
x86/vPCI: check address in vpci_msi_update()

If the upper address bits don't match the interrupt delivery address
space window, entirely different behavior would need to be implemented.
Refuse such requests for the time being.

Replace adjacent hard tabs while introducing MSI_ADDR_BASE_MASK.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/vmsi.c
xen/include/asm-x86/msi.h