mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
The current MSI-X restoration path assumes the Command register Memory bit
is enabled when writing MSI-X messages. But it's possible the last saved
and restored state of a device may not have the Memory bit enabled, even if
a device driver later enables Memory bit and MSI-X. Attempting to access
Memory space without Memory bit enabled can lead to Unsupported Request
(UR) from the device. Fix this by enabling Memory bit and restore it
afterwards.
Fixes:
|
||
|---|---|---|
| .. | ||
| api.c | ||
| irqdomain.c | ||
| legacy.c | ||
| Makefile | ||
| msi.c | ||
| msi.h | ||
| pcidev_msi.c | ||