Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1448152 > unrolled thread

[PATCH 1/2] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does

Started byAndy Lutomirski <luto@kernel.org>
First post2016-07-21 23:20 +0200
Last post2016-07-22 12:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 1/2] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does Andy Lutomirski <luto@kernel.org> - 2016-07-21 23:20 +0200
    [tip:x86/boot] x86/boot: Clarify what  x86_legacy_features.reserve_bios_regions does tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-07-22 12:30 +0200

#1448152 — [PATCH 1/2] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does

FromAndy Lutomirski <luto@kernel.org>
Date2016-07-21 23:20 +0200
Subject[PATCH 1/2] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does
Message-ID<rXtxT-4A4-13@gated-at.bofh.it>
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 <luto@kernel.org>
---
 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

[toc] | [next] | [standalone]


#1448525 — [tip:x86/boot] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does

Fromtip-bot for Andy Lutomirski <tipbot@zytor.com>
Date2016-07-22 12:30 +0200
Subject[tip:x86/boot] x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does
Message-ID<rXFSq-4xq-7@gated-at.bofh.it>
In reply to#1448152
Commit-ID:  30f027398b329c75c8f23a3c13be240b50866fdc
Gitweb:     http://git.kernel.org/tip/30f027398b329c75c8f23a3c13be240b50866fdc
Author:     Andy Lutomirski <luto@kernel.org>
AuthorDate: Thu, 21 Jul 2016 14:16:51 -0700
Committer:  Ingo Molnar <mingo@kernel.org>
CommitDate: Fri, 22 Jul 2016 11:46:01 +0200

x86/boot: Clarify what x86_legacy_features.reserve_bios_regions does

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 <luto@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Luis R. Rodriguez <mcgrof@suse.com>
Cc: Mario Limonciello <mario_limonciello@dell.com>
Cc: Matthew Garrett <mjg59@srcf.ucam.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Toshi Kani <toshi.kani@hp.com>
Link: http://lkml.kernel.org/r/55bd591115498440d461857a7b64f349a5d911f3.1469135598.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 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 c519c05..66c15a0 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.
  */

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web