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


Groups > linux.kernel > #1608256 > unrolled thread

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

Started byBaoquan He <bhe@redhat.com>
First post2017-03-24 10:20 +0100
Last post2017-03-24 11:10 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] x86/efi: Clean up a minor mistake in code comment Baoquan He <bhe@redhat.com> - 2017-03-24 10:20 +0100
    Re: [PATCH v2] x86/efi: Clean up a minor mistake in code comment Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2017-03-24 10:50 +0100
      Re: [PATCH v2] x86/efi: Clean up a minor mistake in code comment Baoquan He <bhe@redhat.com> - 2017-03-24 11:10 +0100

#1608256 — [PATCH v2] x86/efi: Clean up a minor mistake in code comment

FromBaoquan He <bhe@redhat.com>
Date2017-03-24 10:20 +0100
Subject[PATCH v2] x86/efi: Clean up a minor mistake in code comment
Message-ID<toty2-7Nu-15@gated-at.bofh.it>
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.

Signed-off-by: Baoquan He <bhe@redhat.com>
---
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(-)

diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c
index a4695da..6cbf9e0 100644
--- a/arch/x86/platform/efi/efi_64.c
+++ b/arch/x86/platform/efi/efi_64.c
@@ -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;
-- 
2.5.5

[toc] | [next] | [standalone]


#1608278

FromArd Biesheuvel <ard.biesheuvel@linaro.org>
Date2017-03-24 10:50 +0100
Message-ID<tou13-80L-1@gated-at.bofh.it>
In reply to#1608256
On 24 March 2017 at 09:17, Baoquan He <bhe@redhat.com> wrote:
> 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.
>
> Signed-off-by: Baoquan He <bhe@redhat.com>
> ---
> v1->v2:
>   Update patch log to corret a description mistake Ard pointed out.
>

Queued in efi/next for v4.12

Thanks,
Ard.

[toc] | [prev] | [next] | [standalone]


#1608290

FromBaoquan He <bhe@redhat.com>
Date2017-03-24 11:10 +0100
Message-ID<toukp-8qR-5@gated-at.bofh.it>
In reply to#1608278
On 03/24/17 at 09:43am, Ard Biesheuvel wrote:
> On 24 March 2017 at 09:17, Baoquan He <bhe@redhat.com> wrote:
> > 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.
> >
> > Signed-off-by: Baoquan He <bhe@redhat.com>
> > ---
> > v1->v2:
> >   Update patch log to corret a description mistake Ard pointed out.
> >
> 
> Queued in efi/next for v4.12

Thanks, Ard!

Baoquan

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web