Re: [PATCH 1/3] x86/quirks: Scan all busses for early PCI quirks

From: Guilherme Piccoli
Date: Mon Nov 16 2020 - 16:49:48 EST


On Mon, Nov 16, 2020 at 6:45 PM Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
> The way to do that would be to collect the set of pci devices when the
> kexec on panic kernel is loaded, not during crash_kexec. If someone
> performs a device hotplug they would need to reload the kexec on panic
> kernel.
>
> I am not necessarily endorsing that just pointing out how it can be
> done.
>
> Eric

Thanks Eric, I agree! I think if we use something like PKRAM (a more
dynamic approach) we could have the PCI hotplug path updating the data
to-be-passed to the crash kernel, so the crash kernel doesn't even
need to be loaded again.