From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965557AbdCXJRb (ORCPT ); Fri, 24 Mar 2017 05:17:31 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41642 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965324AbdCXJR1 (ORCPT ); Fri, 24 Mar 2017 05:17:27 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 91E947D0DC Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=bhe@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 91E947D0DC From: Baoquan He To: ard.biesheuvel@linaro.org, matt@codeblueprint.co.uk Cc: linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, Baoquan He Subject: [PATCH v2] x86/efi: Clean up a minor mistake in code comment Date: Fri, 24 Mar 2017 17:17:20 +0800 Message-Id: <1490347040-28720-1-git-send-email-bhe@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Fri, 24 Mar 2017 09:17:26 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 /* - * 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