aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2022-04-28 13:50:54 +0000
committerThomas Gleixner <[email protected]>2022-04-29 12:37:39 +0000
commit7e0815b3e09986d2fe651199363e135b9358132a (patch)
tree24772d1751a2da2d535ab838cb6dcdf00e6e4e55 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentbug: Have __warn() prototype defined unconditionally (diff)
downloadkernel-7e0815b3e09986d2fe651199363e135b9358132a.tar.gz
kernel-7e0815b3e09986d2fe651199363e135b9358132a.zip
x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
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: 809f9267bbab ("xen: map MSIs into pirqs") Reported-by: Jeremi Piotrowski <[email protected]> Reported-by: Dusty Mabe <[email protected]> Reported-by: Salvatore Bonaccorso <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Noah Meyerhans <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/87tuaduxj5.ffs@tglx
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions