Re: [PATCH] arch/x86: Fix kdump on x86 with physically hotadded CPUs

From: Thomas Gleixner
Date: Tue Oct 04 2016 - 10:22:39 EST

On Tue, 4 Oct 2016, Jiri Olsa wrote:
> On Tue, Oct 04, 2016 at 12:58:04PM +0200, Thomas Gleixner wrote:
> > > pmu->boxes[pkg] is garbage because pkg was returned as 0xffff.
> >
> > And that's what needs to be fixed in the first place.
> right, I'll check on that.. but I think we need this fix as well

That's right.

> I was wondering if acpi_boot_init was a better place for that, but then
> Prarit suggested in our discussion that the prefill_possible_map() call
> seems to be a hotplug cleanup.. so it seemed to fit

It's the right place for it.