x86: correct MSI_ADDR_DEST_ID_MASK
authorJan Beulich <jbeulich@suse.com>
Thu, 15 May 2014 13:27:37 +0000 (15:27 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 15 May 2014 13:27:37 +0000 (15:27 +0200)
commit3d239dce98abf6afef1ac2632ad357f9d739a405
tree51b1bcd062590567092a24da5b2222c9a713d1b1
parentf5118cae0a7f7748c6f08f557e2cfbbae686434a
x86: correct MSI_ADDR_DEST_ID_MASK

This should only cover bits 12-19, in line with MSI_ADDR_DEST_ID_SHIFT.

Also replace a couple of open-coded uses of this shift and mask.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/irq.c
xen/drivers/passthrough/vtd/intremap.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/asm-x86/msi.h