Blame SOURCES/rhel8_arm64_idmap_ptrs_per_pgd_fix.patch

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