Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932557AbcLIKMn (ORCPT ); Fri, 9 Dec 2016 05:12:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:54088 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753113AbcLIKMl (ORCPT ); Fri, 9 Dec 2016 05:12:41 -0500 Subject: Re: [PATCH 1/2] x86: Make E820_X_MAX unconditionally larger than E820MAX To: Alex Thorlton , linux-kernel@vger.kernel.org References: <1479168677-23633-1-git-send-email-athorlton@sgi.com> <1480960154-211541-1-git-send-email-athorlton@sgi.com> <1480960154-211541-2-git-send-email-athorlton@sgi.com> Cc: Ingo Molnar , Russ Anderson , David Vrabel , Thomas Gleixner , "H. Peter Anvin" , Denys Vlasenko , Boris Ostrovsky , x86@kernel.org, xen-devel@lists.xenproject.org From: Juergen Gross Message-ID: <760cb051-99b1-7767-4877-d21a9f36151a@suse.com> Date: Fri, 9 Dec 2016 11:12:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1480960154-211541-2-git-send-email-athorlton@sgi.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 19 On 05/12/16 18:49, Alex Thorlton wrote: > It's really not necessary to limit E820_X_MAX to 128 in the non-EFI > case. This commit drops E820_X_MAX's dependency on CONFIG_EFI, so that > E820_X_MAX is always at least slightly larger than E820MAX. > > The real motivation behind this is actually to prevent some issues in > the Xen kernel, where the XENMEM_machine_memory_map hypercall can > produce an e820 map larger than 128 entries, even on systems where the > original e820 table was quite a bit smaller than that, depending on how > many IOAPICs are installed on the system. > > Signed-off-by: Alex Thorlton > Suggested-by: Ingo Molnar Commited to xen/tip.git for-linus-4.10 Juergen