From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754761AbcGUVRU (ORCPT ); Thu, 21 Jul 2016 17:17:20 -0400 Received: from mail.kernel.org ([198.145.29.136]:57086 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754355AbcGUVRD (ORCPT ); Thu, 21 Jul 2016 17:17:03 -0400 From: Andy Lutomirski To: "H. Peter Anvin" , x86@kernel.org Cc: Mario Limonciello , Matthew Garrett , linux-kernel@vger.kernel.org, Andy Lutomirski Subject: [PATCH 1/2] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does Date: Thu, 21 Jul 2016 14:16:51 -0700 Message-Id: <55bd591115498440d461857a7b64f349a5d911f3.1469135598.git.luto@kernel.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It doesn't just control probing for the EBDA -- it controls whether we detect and reserve the <1MB BIOS regions in general. Signed-off-by: Andy Lutomirski --- arch/x86/include/asm/x86_init.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index c519c052700a..66c15a01667f 100644 --- a/arch/x86/include/asm/x86_init.h +++ b/arch/x86/include/asm/x86_init.h @@ -168,8 +168,9 @@ struct x86_legacy_devices { * struct x86_legacy_features - legacy x86 features * * @rtc: this device has a CMOS real-time clock present - * @reserve_bios_regions: it's safe to search for the EBDA signature in the hardware's - * low RAM + * @reserve_bios_regions: boot code will search for the EBDA address and the + * start of the 640k - 1M BIOS region. If false, the platform must + * ensure that its memory map correctly reserves sub-1MB regions as needed. * @devices: legacy x86 devices, refer to struct x86_legacy_devices * documentation for further details. */ -- 2.7.4