commit ba7c7b89f0e959342c6a5204653366820fb630ef
Author: Bhupesh Sharma <bhsharma@redhat.com>
Date: Thu Nov 5 16:26:17 2020 +0530
rhel8 only patch
Since we reverted to the implementation used in crash-7.2.3-17.el8 for
arm64 52-bit changes (see 'crash/arm64: Revert to implementation used
in crash-7.2.3-17.el8 [Support for CONFIG_ARM64_USER_VA_BITS_52 and
CONFIG_ARM64_PA_BITS=52]' for details), add the missing QUIET argument
if the read access to the 'idmap_ptrs_per_pgd' symbol failed.
This will do away with the warning message we get in case the
'idmap_ptrs_per_pgd' symbol is not found via readmem().
Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
diff --git a/arm64.c b/arm64.c
index dfcde6e11359..6d825c9e67de 100644
--- a/arm64.c
+++ b/arm64.c
@@ -266,7 +266,7 @@ arm64_init(int when)
case 65536:
if (kernel_symbol_exists("idmap_ptrs_per_pgd") &&
readmem(symbol_value("idmap_ptrs_per_pgd"), KVADDR,
- &value, sizeof(ulong), "idmap_ptrs_per_pgd", RETURN_ON_ERROR))
+ &value, sizeof(ulong), "idmap_ptrs_per_pgd", QUIET|RETURN_ON_ERROR))
machdep->ptrs_per_pgd = value;
if (machdep->machspec->VA_BITS > PGDIR_SHIFT_L3_64K) {