Received: by 10.223.185.116 with SMTP id b49csp6026424wrg; Thu, 8 Mar 2018 00:07:21 -0800 (PST) X-Google-Smtp-Source: AG47ELvr1FaDrSfpXL2i9Mq3Lum4XoXStHtfyozv3Y6ZNzGUF8ifw3Jad2OaoaKK5gZoN14lYFYG X-Received: by 10.99.8.4 with SMTP id 4mr20548980pgi.289.1520496441591; Thu, 08 Mar 2018 00:07:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520496441; cv=none; d=google.com; s=arc-20160816; b=iMCtYVSUwDAJgh315IhV99Cz4FKul+gcwOgys1ZQOUDsxg00Nrat3IdLOTl74yIz9C oCkjg+wnahhE5nuOwQXWRgtvEzEK+5IqzRow27EIqkjP4UQjpajvbtjTVHqMZJjohTkL 5qRhWm7xeUL+Ngy52XT6xs9fCSbaU6aQKXxfMe/EeMq1bjRrxua+AD+BQE8OSLvNYUDd CKfHpJls9kEhUbMoxpgim6Xwo9/QH3P1YjYaj+oZ9T/myE7LiCEb6R2G95wRZMRHyrgw mhhrw1hBcHhKSPBeL1BwSrudmdRSDWfHw43uxefe/BT07aJ9CqGgeCPbZyu0HhOCPsKT Y8PA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=So0SEhBYCIIJRKe2r348eEFdmypztSLIDIuIqX2vRO8=; b=OiEoZhpFpSojW54TpjeSVSop6LmNp57U7AoKOI4UyxdIpvcNDE765vdH6cPhclOBHe ifeUEn+bxh7JIVuxFP2RfQ22PiLLKVFLIaUKcQhBqeCBAxm3ERc3MVXrAP8tzJ9g6Qmk Zv9tnSKQyBfsC+SP8OvTQ8v81FN0tvbajpaVNnaH06tXiO5q3cA40pAQyvLVf63+ygqy AwFwoqPv7XszOdIkjK6eaECAAy/XDknFF1xpAtJf4aMi5sNjI48AyrOlEEMmb3qbiVaU 7r59kWAqCvXQdO+kJBqjUUB+m0gzyMi5C7cOAy6oMNfxwQftpk/mJZ1ITmpeNB8dQQ38 HxHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jgwrPqjW; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c125si15270404pfg.18.2018.03.08.00.07.07; Thu, 08 Mar 2018 00:07:21 -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; dkim=pass header.i=@linaro.org header.s=google header.b=jgwrPqjW; 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 S965214AbeCHICB (ORCPT + 99 others); Thu, 8 Mar 2018 03:02:01 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:45616 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965050AbeCHIB6 (ORCPT ); Thu, 8 Mar 2018 03:01:58 -0500 Received: by mail-wr0-f195.google.com with SMTP id p104so4651999wrc.12 for ; Thu, 08 Mar 2018 00:01:58 -0800 (PST) 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=So0SEhBYCIIJRKe2r348eEFdmypztSLIDIuIqX2vRO8=; b=jgwrPqjWRN1atN55ydyAMievC46PDpr4ahKIP/dhDWFirtmDZfE6pki509Ds8J8mEf yD+nTFq8XkWlEphflaxDwRfOkyKwGOnDQEXd3XQfLq1uaPoooFO7+bkRvtXfzlGld1rW iQeVThCdST8+sEaGqGD7buzt5bccd1D+Ojswo= 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=So0SEhBYCIIJRKe2r348eEFdmypztSLIDIuIqX2vRO8=; b=Xd2FTJaP0jVqU1QlhlCuDI4ebya2xiZodLQsFrS12DvJmMoEADOam+L++/fdgHIRUb SpvqGqDFIGrKWvwbiVneB4lkGdZa1tsyA+VNG+WGxP8B9Q6pC2KpAPv8Y0gHQoQGstfJ kt6mYauefB6N6GK1qJP0Dw5XGJR2KYZdP1wOcCiSe3eZfAr/0/n5ojRHqXJIoc/0M4rS HQjguEs28PS9xImLEyOCD22DKjpJtl7/HE+jar70Gtyyln3FiKcERTkWf44hnXn674UE sqUUPQHQLs2u+/5hDMxE6Eh1arbyVSUkvFRrcrGmbtO6O8gXHMmSVoAGZbIj7OWgebgf sZvA== X-Gm-Message-State: APf1xPC7zi7oFDvCOetiBOlehYC1zhoIr5U2uxLWX/eJjNYUtpM75jIa g4QEW4GpGH0oaFQcwenTSG+mTQ== X-Received: by 10.223.129.33 with SMTP id 30mr22638468wrm.91.1520496117428; Thu, 08 Mar 2018 00:01:57 -0800 (PST) Received: from localhost.localdomain ([160.89.73.46]) by smtp.gmail.com with ESMTPSA id e191sm11223361wmg.12.2018.03.08.00.01.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Mar 2018 00:01:56 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org, Ingo Molnar , Thomas Gleixner Cc: Ard Biesheuvel , linux-kernel@vger.kernel.org Subject: [PATCH 03/12] efi/arm*: Stop printing addresses of virtual mappings Date: Thu, 8 Mar 2018 08:00:11 +0000 Message-Id: <20180308080020.22828-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180308080020.22828-1-ard.biesheuvel@linaro.org> References: <20180308080020.22828-1-ard.biesheuvel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Acked-by: Leif Lindholm Signed-off-by: Ard Biesheuvel --- 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; -- 2.15.1