From patchwork Tue Apr 4 16:02:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 96744 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp263470qgd; Tue, 4 Apr 2017 09:03:56 -0700 (PDT) X-Received: by 10.99.189.2 with SMTP id a2mr1196797pgf.85.1491321836491; Tue, 04 Apr 2017 09:03:56 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m185si17949495pfm.3.2017.04.04.09.03.56; Tue, 04 Apr 2017 09:03:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932186AbdDDQDj (ORCPT + 25 others); Tue, 4 Apr 2017 12:03:39 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:33259 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932160AbdDDQDd (ORCPT ); Tue, 4 Apr 2017 12:03:33 -0400 Received: by mail-wr0-f171.google.com with SMTP id w43so217984082wrb.0 for ; Tue, 04 Apr 2017 09:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0EgdleSvvqkqB5lbe4pGFCfnf5I9SvBQ/3UlgPoCS8U=; b=Ja0qBBWIQyQdoCcQtfMrPn9EdxXg2JMpqtoQao2grNBce7RlCixwH9j6+L9qQjlznp 3HYBvjtE7dBi889vSRcRo2Z0bZa0sbj9mzIOpf6yqitJdjuBy9FHqy31VG3kgafYl2PM xWDhgDx3u2pRKCMUQrboGWjAjqKxb5xUgdKYw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0EgdleSvvqkqB5lbe4pGFCfnf5I9SvBQ/3UlgPoCS8U=; b=tXuXVezL1NYu7Mf4cEEcH8kmI8I45XDGn5ABP7d08RHk8k0R6DvOp/Y7FvdnqcOkmj LEG5cDme9jV2i2YbxJWYbCuwf513Ld7a6Xoa/VzASedM+hPv9ljv8MruW35tvaggrEzq y+wDT052duqIaPjN9FOFJaRPiJc0d1s9m8/NbcEjW9gmA0Q5vVjBE+Gnfk2jK9WLGRnN 9IzRWMot+goO44LbgC9cs8HWFHIc5zkOPtdu4NrBMzzRcwv32Qfl9s+Ltb2CxdRu49J3 c0RdrSsIm6G/+XEOomALAqnSSiB17vsKZZrVVDd1YDVfs9oNNmWufYHKZPqmD7NM+jK/ 0ugQ== X-Gm-Message-State: AFeK/H1Dcih6BIJsexesPXHef/mAxYenr/TsQy7W5RV6d3BCoBJ96/65a+R0B5jp6tMQvPsr X-Received: by 10.223.151.193 with SMTP id t1mr22274457wrb.149.1491321807386; Tue, 04 Apr 2017 09:03:27 -0700 (PDT) Received: from localhost.localdomain ([160.163.145.113]) by smtp.gmail.com with ESMTPSA id z88sm19686465wrb.1.2017.04.04.09.03.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Apr 2017 09:03:26 -0700 (PDT) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner , "H . Peter Anvin" Cc: Baoquan He , Ard Biesheuvel , linux-kernel@vger.kernel.org Subject: [PATCH 07/12] x86/efi: Clean up a minor mistake in code comment Date: Tue, 4 Apr 2017 17:02:43 +0100 Message-Id: <20170404160245.27812-10-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170404160245.27812-1-ard.biesheuvel@linaro.org> References: <20170404160245.27812-1-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: 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. Signed-off-by: Baoquan He Cc: Matt Fleming Signed-off-by: Ard Biesheuvel --- arch/x86/platform/efi/efi_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.9.3 diff --git a/arch/x86/platform/efi/efi_64.c b/arch/x86/platform/efi/efi_64.c index d56dd864fb1c..4e043a8c8556 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;