Skip to content

Commit 966e3a2

Browse files
imirkingregkh
authored andcommitted
drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
commit bc60c90f472b6e762ea96ef384072145adc8d4af upstream. It appears that MSI does not work on either G5 PPC nor on a E5500-based platform, where other hardware is reported to work fine with MSI. Both tests were conducted with NV4x hardware, so perhaps other (or even this) hardware can be made to work. It's still possible to force-enable with config=NvMSI=1 on load. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4a9c294 commit 966e3a2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • drivers/gpu/drm/nouveau/nvkm/subdev/pci

drivers/gpu/drm/nouveau/nvkm/subdev/pci/base.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,10 @@ nvkm_pci_new_(const struct nvkm_pci_func *func, struct nvkm_device *device,
180180
}
181181
}
182182

183+
#ifdef __BIG_ENDIAN
184+
pci->msi = false;
185+
#endif
186+
183187
pci->msi = nvkm_boolopt(device->cfgopt, "NvMSI", pci->msi);
184188
if (pci->msi && func->msi_rearm) {
185189
pci->msi = pci_enable_msi(pci->pdev) == 0;

0 commit comments

Comments
 (0)