Skip to contentSkip to conversation

x86/efi: Clean up a minor mistake in code comment

PATCH In review Baoquan He 2 participants 3 messages Mar 24, 2017

Subsystems (2)
lore
Share & tools
lore

Baoquan He

author
#0 lore raw

PATCH v2 1/1 x86/efi: Clean up a minor mistake in code comment

EFI allocate runtime services regions from EFI_VA_START, -4G, down to -68G, EFI_VA_END, 64G altogether. The mechanism was introduced in commit d2f7cbe7b26a7 ("x86/efi: Runtime services virtual mapping").

Clean it up to avoid confusion.

---
v1->v2:
Update patch log to corret a description mistake Ard pointed out.

 arch/x86/platform/efi/efi_64.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/platform/efi/efi_64.c +1 -1
index a4695da..6cbf9e0 100644
@@ -47,7 +47,7 @@
 #include <asm/pgalloc.h>
 
 /*
- * We allocate runtime services regions bottom-up, starting from -4G, i.e.
+ * We allocate runtime services regions top-down, starting from -4G, i.e.
  * 0xffff_ffff_0000_0000 and limit EFI VA mapping space to 64G.
  */
 static u64 efi_va = EFI_VA_START;
Signature · 1 line
2.5.5
#1 lore raw
Quoted 11 lines · Baoquan He

EFI allocate runtime services regions from EFI_VA_START, -4G, down to -68G, EFI_VA_END, 64G altogether. The mechanism was introduced in commit d2f7cbe7b26a7 ("x86/efi: Runtime services virtual mapping").

Clean it up to avoid confusion.

---
v1->v2:
Update patch log to corret a description mistake Ard pointed out.

Queued in efi/next for v4.12

Thanks,
Ard.

author
#2 lore raw
Quoted 7 lines · Ard Biesheuvel
Quoted 6 lines · Baoquan He

EFI allocate runtime services regions from EFI_VA_START, -4G, down to -68G, EFI_VA_END, 64G altogether. The mechanism was introduced in commit d2f7cbe7b26a7 ("x86/efi: Runtime services virtual mapping").

Clean it up to avoid confusion.

Quoted 7 lines
Quoted 5 lines

---
v1->v2:
Update patch log to corret a description mistake Ard pointed out.

Queued in efi/next for v4.12

Thanks, Ard!

Baoquan