Re: [PATCH v2] PCI/PM: Restore BARs after powering up during enumeration

From: Keng-Yu Lin

Date: Wed Oct 14 2026 - 00:33:05 EST


Hi Rafael, Mario,

I tested this sequence on AMD Venice SP7 and Turin, with debug
prints added. Both systems saved a vmcore and rebooted successfully.

There were no BAR writes from this path on normal boot. In the
crash kernels, only the cleared xHCI BARs were restored: two on
Venice and one on Turin. All readbacks matched.

Rafael, would you prefer to send a patch with this sequence, or
should I send v3 with your Suggested-by?

Thanks,
Keng-Yu