android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thomas Gleixner 4f07508394 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
commit 7e0815b3e09986d2fe651199363e135b9358132a upstream.

When a XEN_HVM guest uses the XEN PIRQ/Eventchannel mechanism, then
PCI/MSI[-X] masking is solely controlled by the hypervisor, but contrary to
XEN_PV guests this does not disable PCI/MSI[-X] masking in the PCI/MSI
layer.

This can lead to a situation where the PCI/MSI layer masks an MSI[-X]
interrupt and the hypervisor grants the write despite the fact that it
already requested the interrupt. As a consequence interrupt delivery on the
affected device is not happening ever.

Set pci_msi_ignore_mask to prevent that like it's done for XEN_PV guests
already.

Fixes: 809f9267bb ("xen: map MSIs into pirqs")
Reported-by: Jeremi Piotrowski <jpiotrowski@linux.microsoft.com>
Reported-by: Dusty Mabe <dustymabe@redhat.com>
Reported-by: Salvatore Bonaccorso <carnil@debian.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Noah Meyerhans <noahm@debian.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/87tuaduxj5.ffs@tglx
[nmeyerha@amazon.com: backported to 5.4]
Signed-off-by: Noah Meyerhans <nmeyerha@amazon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-06 08:33:48 +02:00
..
alpha
arc ARC: entry: fix syscall_trace_exit argument 2022-04-27 13:50:49 +02:00
arm ARM: dts: imx7: Use audio_mclk_post_div instead audio_mclk_root_clk 2022-05-25 09:14:38 +02:00
arm64 arm[64]/memremap: don't abuse pfn_valid() to ensure presence of linear map 2022-05-18 09:47:28 +02:00
c6x
csky
h8300
hexagon
ia64
m68k
microblaze uaccess: fix nios2 and microblaze get_user_8() 2022-04-15 14:18:08 +02:00
mips MIPS: lantiq: check the return value of kzalloc() 2022-05-25 09:14:32 +02:00
nds32
nios2 uaccess: fix nios2 and microblaze get_user_8() 2022-04-15 14:18:08 +02:00
openrisc
parisc parisc: Merge model and model name into one line in /proc/cpuinfo 2022-05-12 12:23:40 +02:00
powerpc powerpc/perf: Fix power9 event alternatives 2022-04-27 13:50:49 +02:00
riscv riscv module: remove (NOLOAD) 2022-04-15 14:18:31 +02:00
s390 s390: disable -Warray-bounds 2022-05-18 09:47:26 +02:00
sh
sparc
um um: Fix uml_mconsole stop/go 2022-04-15 14:18:31 +02:00
unicore32
x86 x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 2022-06-06 08:33:48 +02:00
xtensa xtensa: fix a7 clobbering in coprocessor context load/store 2022-04-27 13:50:49 +02:00
.gitignore
Kconfig