Skip to content

Commit bc60c90

Browse files
imirkinBen Skeggs
authored andcommitted
drm/nouveau/pci/msi: disable MSI on big-endian platforms by default
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> Cc: stable@vger.kernel.org Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent 2d38a53 commit bc60c90

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
@@ -192,6 +192,10 @@ nvkm_pci_new_(const struct nvkm_pci_func *func, struct nvkm_device *device,
192192
}
193193
}
194194

195+
#ifdef __BIG_ENDIAN
196+
pci->msi = false;
197+
#endif
198+
195199
pci->msi = nvkm_boolopt(device->cfgopt, "NvMSI", pci->msi);
196200
if (pci->msi && func->msi_rearm) {
197201
pci->msi = pci_enable_msi(pci->pdev) == 0;

0 commit comments

Comments
 (0)