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

From: Juergen Gross
Date: Mon Feb 11 2019 - 07:35:22 EST


On 11/02/2019 13:23, Ingo Molnar wrote:
>
> * 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?

Yes, I'd prefer that.


Juergen