Re: [Xen-devel] [PATCH v2 1/2] x86: respect memory size limiting via mem= parameter

From: Ingo Molnar
Date: Mon Feb 11 2019 - 07:23:16 EST



* Juergen Gross <jgross@xxxxxxxx> wrote:

> > If PCI devices had physical mmio memory areas above this range, we'd
> > still expect them to work - the option was really only meant to limit
> > RAM.
>
> No, in this case it seems to be real RAM added via PCI. The RAM is
> initially present in the E820 map, but the "mem=" will remove it from
> there again. During ACPI scan it is found (again) and will be added via
> hotplug mechanism, so "mem=" has no effect for that memory.

OK. With that background:

Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>

I suppose you want this to go upstream via the Xen tree, which is the
main testcase for the bug to begin with?

Thanks,

ngo