Bug 216242 - MSI is enabled after system resume despite MSI-X is already enabled.
Summary: MSI is enabled after system resume despite MSI-X is already enabled.
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-12 07:22 UTC by Kai-Heng Feng
Modified: 2022-07-12 07:23 UTC (History)
0 users

See Also:
Kernel Version: mainline, linux-next
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (99.80 KB, text/plain)
2022-07-12 07:23 UTC, Kai-Heng Feng
Details
lspci before suspend (70.92 KB, text/plain)
2022-07-12 07:23 UTC, Kai-Heng Feng
Details
lspci after resume (70.10 KB, text/plain)
2022-07-12 07:23 UTC, Kai-Heng Feng
Details

Description Kai-Heng Feng 2022-07-12 07:22:44 UTC
MSI/MSI-X can have garbage data after system resume.
Before suspend:
    Capabilities: [a0] MSI: Enable- Count=1/4 Maskable- 64bit+
            Address: 0000000000000000  Data: 0000
    Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
            Vector table: BAR=5 offset=00042000
            PBA: BAR=5 offset=00043000
    
After resume:
    Capabilities: [a0] MSI: Enable+ Count=128/4 Maskable- 64bit+
            Address: fffffffffffffffc  Data: ffff
    Capabilities: [c0] MSI-X: Enable+ Count=4 Masked-
            Vector table: BAR=5 offset=00042000
            PBA: BAR=5 offset=00043000

It's PCI device 64:00.0.
Comment 1 Kai-Heng Feng 2022-07-12 07:23:03 UTC
Created attachment 301398 [details]
dmesg
Comment 2 Kai-Heng Feng 2022-07-12 07:23:36 UTC
Created attachment 301399 [details]
lspci before suspend
Comment 3 Kai-Heng Feng 2022-07-12 07:23:59 UTC
Created attachment 301400 [details]
lspci after resume

Note You need to log in before you can comment on or make changes to this bug.