> How about adding this line to the start of the pci_resume() function?

I see no problem with this. However, I cannot test this for around a week or two.
I will get back to you as soon as I can test this.

Sincerely, 
Omar.

On Tue., Nov. 12, 2024, 4:02 p.m. Gerd Hoffmann, <kraxel@redhat.com> wrote:
On Sat, Nov 02, 2024 at 08:23:33PM -0400, Omar Berrow wrote:
> I apologize for the previous thing sent on the mailing list.
> On wake it would attempt to use the ECAM space to restore access to
> ECAM, which wouldn't work because ECAM is disabled after reset.

> +    mmconfig = 0;

How about adding this line to the start of the pci_resume() function?

take care,
  Gerd