Re: [PATCH v2] x86/kexec: Exclude GART aperture from vmcore

From: Borislav Petkov
Date: Wed Dec 27 2017 - 07:25:27 EST


On Wed, Dec 27, 2017 at 03:44:49PM +0800, Baoquan He wrote:
> > yes, instead of crashing the machine (because GART may be initialized in the
> > 2nd kernel, overlapping the 1st kernel memory, which the 2nd kernel with its
> > fake e820 map sees as unused).
> >
> > I'd say this is an improvement.
>
> I don't get what you said. If 'iommu=off' only specified in 1st kernel,
> kdump kernel will think the memory which GART bar pointed as a hole.
> This is incorrect. I don't see the improvement.

So he says, this memory is unused. Why is that incorrect?!?

Wh do I care about dumping unused memory?!?!

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--