mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
bb67dd1878
The addition of a kernel module parameter to optionally disable MSI
had the side effect of permanently disabling it.
The return value of pci_alloc_irq_vectors() is the number of allocated
vectors or a negative number on error, so testing with the ! operator
is not quite right. It was one optimization too far.
Restore previous behavior to use MSI by default, unless the user
selects not to do so or the allocation of irq_vectors fails.
Fixes:
|
||
---|---|---|
.. | ||
apl.c | ||
bdw.c | ||
byt.c | ||
cnl.c | ||
hda-bus.c | ||
hda-codec.c | ||
hda-ctrl.c | ||
hda-dai.c | ||
hda-dsp.c | ||
hda-ipc.c | ||
hda-loader.c | ||
hda-pcm.c | ||
hda-stream.c | ||
hda-trace.c | ||
hda.c | ||
hda.h | ||
intel-ipc.c | ||
Kconfig | ||
Makefile | ||
shim.h |