File makedumpfile-arm64-VA-range-SUSE.patch.patch of Package makedumpfile.14460
From: Michal Suchanek <msuchanek@suse.com>
Subject: Align PMD_SECTION_MASK with CONFIG_ARM64_VA_BITS
References: bsc#1142715
Upstream: submitted 2020-03-16
Since SUSE 4.12 kernel the VA renge is increased to 48 bits.
Upstream proposed to export the VA range in vmcoreinfo but we did not backport
the patch.
Link: https://lists.infradead.org/pipermail/kexec/2019-November/023966.html
Link: https://patchwork.kernel.org/cover/11266557/
---
arch/arm64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm64.c
+++ b/arch/arm64.c
@@ -75,7 +75,7 @@ static unsigned long kimage_voffset;
* Remove the highest order bits that are not a part of the
* physical address in a section
*/
-#define PMD_SECTION_MASK ((1UL << 40) - 1)
+#define PMD_SECTION_MASK ((1UL << 48) - 1)
#define PMD_TYPE_MASK 3
#define PMD_TYPE_SECT 1