From: Jan Beulich Date: Thu, 27 Aug 2015 15:39:37 +0000 (+0200) Subject: x86/MSI: don't flag non-maskable entries as host-masked X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~2616 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bde63cd088b7d9fa99b8ed6d110cd768f87bbc60;p=xen.git x86/MSI: don't flag non-maskable entries as host-masked 'M' debug key output looks confusing without this adjustment. Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper Release-acked-by: Wei Liu --- diff --git a/xen/arch/x86/msi.c b/xen/arch/x86/msi.c index e71e19f717..588305ab9f 100644 --- a/xen/arch/x86/msi.c +++ b/xen/arch/x86/msi.c @@ -716,8 +716,8 @@ static int msi_capability_init(struct pci_dev *dev, entry[i].msi_attrib.type = PCI_CAP_ID_MSI; entry[i].msi_attrib.is_64 = is_64bit_address(control); entry[i].msi_attrib.entry_nr = i; + entry[i].msi_attrib.host_masked = entry[i].msi_attrib.maskbit = is_mask_bit_support(control); - entry[i].msi_attrib.host_masked = 1; entry[i].msi_attrib.guest_masked = 0; entry[i].msi_attrib.pos = pos; if ( entry[i].msi_attrib.maskbit )