Re: [PATCH] ata: libata-core: Do not use pcim_enable_device() on PCI resume
From: Weidong Wang
Date: Thu Dec 03 2026 - 11:37:15 EST
On Thu, Dec 03, 2026 at 10:14:35AM -0600, Bjorn Helgaas wrote:
> I think a better fix would be to remove ata_pci_device_do_resume() and
> a lot of the related PCI power management completely. Most of that
> should be done by the PCI core itself, without involving the drivers.
Thanks Bjorn, and thanks Niklas for the offer to help. Moving libata
to generic power management sounds like the better fix. It touches
most of the PCI ATA drivers, and without PATA hardware to test on I
don't think I can do it justice, so I'll leave it to someone who can
test it rather than send a v2 of this one.
Weidong