[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <70fc1f05-1a2e-53a1-91f9-30451f683eda@suse.com>
Date: Fri, 9 Dec 2016 11:12:54 +0100
From: Juergen Gross <jgross@...e.com>
To: Alex Thorlton <athorlton@....com>, linux-kernel@...r.kernel.org
Cc: Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Russ Anderson <rja@....com>,
David Vrabel <david.vrabel@...rix.com>,
Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Denys Vlasenko <dvlasenk@...hat.com>, x86@...nel.org,
xen-devel@...ts.xenproject.org
Subject: Re: [PATCH 2/2] xen/x86: Increase xen_e820_map to E820_X_MAX possible
entries
On 05/12/16 18:49, Alex Thorlton wrote:
> On systems with sufficiently large e820 tables, and several IOAPICs, it
> is possible for the XENMEM_machine_memory_map callback (and its
> counterpart, XENMEM_memory_map) to attempt to return an e820 table with
> more than 128 entries. This callback adds entries to the BIOS-provided
> e820 table to account for IOAPIC registers, which, on sufficiently large
> systems, can result in an e820 table that is too large to copy back into
> xen_e820_map.
>
> This change simply increases the size of xen_e820_map to E820_X_MAX to
> ensure that there is enough room to store the entire e820 map returned
> from this callback.
>
> Signed-off-by: Alex Thorlton <athorlton@....com>
> Suggested-by: Boris Ostrovsky <boris.ostrovsky@...cle.com>
> Reviewed-by: Juergen Gross <jgross@...e.com>
Commited to xen/tip.git for-linus-4.10
Juergen
Powered by blists - more mailing lists