diff options
| author | Mario Limonciello <[email protected]> | 2025-06-11 23:31:16 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-06-13 19:38:45 +0000 |
| commit | 907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0 (patch) | |
| tree | 949b6248a1197ed5ec14d31e1292ace5e409d1ea /lib/crypto/mpi/mpi-cmp.c | |
| parent | Linux 6.16-rc1 (diff) | |
| download | kernel-907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.tar.gz kernel-907a7a2e5bf40c6a359b2f6cc53d6fdca04009e0.zip | |
PCI/PM: Set up runtime PM even for devices without PCI PM
4d4c10f763d7 ("PCI: Explicitly put devices into D0 when initializing")
intended to put PCI devices into D0, but in doing so unintentionally
changed runtime PM initialization not to occur on devices that don't
support PCI PM. This caused a regression in vfio-pci due to an imbalance
with its use.
Adjust the logic in pci_pm_init() so that even if PCI PM isn't supported
runtime PM is still initialized.
Fixes: 4d4c10f763d7 ("PCI: Explicitly put devices into D0 when initializing")
Reported-by: Giovanni Cabiddu <[email protected]>
Closes: https://lore.kernel.org/linux-pci/[email protected]/T/#m7e8929d6421690dc8bd6dc639d86c2b4db27cbc4
Reported-by: Nicolas Dichtel <[email protected]>
Closes: https://lore.kernel.org/linux-pci/[email protected]/T/#m40d277dcdb9be64a1609a82412d1aa906263e201
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: Giovanni Cabiddu <[email protected]>
Tested-by: Nicolas Dichtel <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: Alex Williamson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
