From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752094AbcGUJOS (ORCPT ); Thu, 21 Jul 2016 05:14:18 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34033 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbcGUJOP (ORCPT ); Thu, 21 Jul 2016 05:14:15 -0400 Date: Thu, 21 Jul 2016 11:14:11 +0200 From: Ingo Molnar To: "H. Peter Anvin" Cc: Andy Lutomirski , x86@kernel.org, Mario Limonciello , Matthew Garrett , linux-kernel@vger.kernel.org, Kees Cook , Linus Torvalds , Thomas Gleixner , Andrew Morton , Peter Zijlstra Subject: Re: [PATCH] x86/boot: Reorganize and clean up the BIOS area reservation code Message-ID: <20160721091411.GB22986@gmail.com> References: <7c190e9b3376002014fb99234ed5e5c64df86322.1469064662.git.luto@kernel.org> <20160721081438.GA26531@gmail.com> <92DA2E2A-BCD9-4198-A983-395A06388688@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <92DA2E2A-BCD9-4198-A983-395A06388688@zytor.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * H. Peter Anvin wrote: > We already reserve the first megabyte by default. There is something really bizarre about this; the bug report simply doesn't seem to make any sense. Btw., are you sure about this? We do reserve the first 64KB: config X86_RESERVE_LOW int "Amount of low memory, in kilobytes, to reserve for the BIOS" default 64 range 4 640 ---help--- Specify the amount of low memory to reserve for the BIOS. But I cannot find the place that allocates the first 1MB. Thanks, Ingo