diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2018-03-08 03:00:11 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-03-09 02:58:22 -0500 |
commit | 1832e64162ffbbbdf7230401298550f2b624351b (patch) | |
tree | 1665348ac370fa43c156da847b503a4c7ed4e024 | |
parent | 6e98503dba64e721ba839e75dca036266ec0140f (diff) |
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 <ard.biesheuvel@linaro.org>
Acked-by: Leif Lindholm <leif.lindholm@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180308080020.22828-4-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
-rw-r--r-- | drivers/firmware/efi/arm-runtime.c | 5 |
1 files changed, 1 insertions, 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) | |||
83 | return false; | 83 | return false; |
84 | 84 | ||
85 | ret = efi_create_mapping(&efi_mm, md); | 85 | ret = efi_create_mapping(&efi_mm, md); |
86 | if (!ret) { | 86 | if (ret) { |
87 | pr_info(" EFI remap %pa => %p\n", | ||
88 | &phys, (void *)(unsigned long)md->virt_addr); | ||
89 | } else { | ||
90 | pr_warn(" EFI remap %pa: failed to create mapping (%d)\n", | 87 | pr_warn(" EFI remap %pa: failed to create mapping (%d)\n", |
91 | &phys, ret); | 88 | &phys, ret); |
92 | return false; | 89 | return false; |