Received: by 10.223.185.111 with SMTP id b44csp77245wrg; Fri, 9 Mar 2018 01:14:42 -0800 (PST) X-Google-Smtp-Source: AG47ELvEqumTY7Wgy7fRSKcLzepTShSXsyHlRPVUFTkCQOVGWpQTXSgDi4iaCLnGSIKbM3Lmd6Vj X-Received: by 10.101.80.68 with SMTP id k4mr23319803pgo.81.1520586882736; Fri, 09 Mar 2018 01:14:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520586882; cv=none; d=google.com; s=arc-20160816; b=MfGok+H7eMuCz/WilErIPqvdk7jyUvdw39c620nSXMIYeE655wcXJa6nk5YypkYwF+ YOXugfbKxiTFO+OiPzGHea8ZcgEuMcRN9YnPjhbqX2AotI+Ot6laKADH/rC2PxCK55Jp 0fq4Ejp7ynMyAJqNPDaMxsv+n8CRgPS7xfSfUCK+1lJygtdNwQc0lL0OTSZnvbR16gHa 1L91r09r8vn4O3kKf8HUcuV+ngTCIpSBe/49JInBccU1CtRkiQad0ESbRjZDoOWGMsZh cAK+U4hv/pVKFMeEtQ1hSscXEjC6/26J2lxvEb7uhhD8du4kH/9qFwV4lAwRcChqvc5g Soxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=uTNwA4NZtdKCk+8O+LZlAE+T7yXzBda/40vfGysEv2g=; b=jMhkkdyB/qtllOrz+p4qA9hvxFlgqLSjhkEUXAE5WEhEqcKMORzrAhp+Yhp2KmlqV+ tUND3r8eYTTSdx/amgl+ogu43LCkU35+N9wzFRFyNRRS/5NoykG4T6bUSFqXPeYwsD+O SjYTj3lCzy5kBt6oa04vegz3ZUWoqpTlckRdKdD3WrcFOw6tqn5UJ0bVDFZgsOGFU8OK MqEAXLKGyVe+1LEGUXhmmqUzkOUa25I3JiAWKcoo+9HS4bIg+8GuGOC8wi9FknWd3WVB vXGviiM2+oNHf/qeUjdawjPWDq/G1ZJ9DPMboxWVWZcxM4fVP6BynA49NI54UYXQQLD1 CxQw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o30si458468pgc.325.2018.03.09.01.14.27; Fri, 09 Mar 2018 01:14:42 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932082AbeCIJMm (ORCPT + 99 others); Fri, 9 Mar 2018 04:12:42 -0500 Received: from terminus.zytor.com ([198.137.202.136]:47767 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751822AbeCIJMh (ORCPT ); Fri, 9 Mar 2018 04:12:37 -0500 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTP id w299CHrb032618; Fri, 9 Mar 2018 01:12:17 -0800 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w299CH9k032613; Fri, 9 Mar 2018 01:12:17 -0800 Date: Fri, 9 Mar 2018 01:12:17 -0800 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Ard Biesheuvel Message-ID: Cc: hpa@zytor.com, mingo@kernel.org, leif.lindholm@linaro.org, tglx@linutronix.de, matt@codeblueprint.co.uk, ard.biesheuvel@linaro.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, peterz@infradead.org Reply-To: mingo@kernel.org, hpa@zytor.com, ard.biesheuvel@linaro.org, matt@codeblueprint.co.uk, tglx@linutronix.de, leif.lindholm@linaro.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, peterz@infradead.org In-Reply-To: <20180308080020.22828-4-ard.biesheuvel@linaro.org> References: <20180308080020.22828-4-ard.biesheuvel@linaro.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:efi/core] efi/arm*: Stop printing addresses of virtual mappings Git-Commit-ID: 1832e64162ffbbbdf7230401298550f2b624351b X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 1832e64162ffbbbdf7230401298550f2b624351b Gitweb: https://git.kernel.org/tip/1832e64162ffbbbdf7230401298550f2b624351b Author: Ard Biesheuvel AuthorDate: Thu, 8 Mar 2018 08:00:11 +0000 Committer: Ingo Molnar CommitDate: Fri, 9 Mar 2018 08:58:22 +0100 efi/arm*: Stop printing addresses of virtual mappings With the recent %p -> %px changes, we now get something like this in the kernel boot log on ARM/arm64 EFI systems: Remapping and enabling EFI services. EFI remap 0x00000087fb830000 => (ptrval) EFI remap 0x00000087fbdb0000 => (ptrval) EFI remap 0x00000087fffc0000 => (ptrval) The physical addresses of the UEFI runtime regions will also be printed when booting with the efi=debug command line option, and the virtual addresses can be inspected via /sys/kernel/debug/efi_page_tables (if enabled). So let's just remove the lines above. Signed-off-by: Ard Biesheuvel Acked-by: Leif Lindholm Cc: Linus Torvalds Cc: Matt Fleming Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/20180308080020.22828-4-ard.biesheuvel@linaro.org Signed-off-by: Ingo Molnar --- drivers/firmware/efi/arm-runtime.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/firmware/efi/arm-runtime.c b/drivers/firmware/efi/arm-runtime.c index 86a1ad17a32e..13561aeb7396 100644 --- a/drivers/firmware/efi/arm-runtime.c +++ b/drivers/firmware/efi/arm-runtime.c @@ -83,10 +83,7 @@ static bool __init efi_virtmap_init(void) return false; ret = efi_create_mapping(&efi_mm, md); - if (!ret) { - pr_info(" EFI remap %pa => %p\n", - &phys, (void *)(unsigned long)md->virt_addr); - } else { + if (ret) { pr_warn(" EFI remap %pa: failed to create mapping (%d)\n", &phys, ret); return false;