Hello community,

here is the log from the commit of package makedumpfile for openSUSE:Factory 
checked in at 2020-03-19 19:46:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/makedumpfile (Old)
 and      /work/SRC/openSUSE:Factory/.makedumpfile.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "makedumpfile"

Thu Mar 19 19:46:39 2020 rev:76 rq:785651 version:1.6.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/makedumpfile/makedumpfile.changes        
2020-02-04 19:51:47.329266852 +0100
+++ /work/SRC/openSUSE:Factory/.makedumpfile.new.3160/makedumpfile.changes      
2020-03-19 19:49:59.720173583 +0100
@@ -1,0 +2,6 @@
+Wed Mar  4 13:45:23 UTC 2020 - Michal Suchanek <[email protected]>
+
+- makedumpfile-arm64-VA-range-SUSE.patch: Fix error processing core files on
+  arm64 (bsc#1142715).
+
+-------------------------------------------------------------------

New:
----
  makedumpfile-arm64-VA-range-SUSE.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ makedumpfile.spec ++++++
--- /var/tmp/diff_new_pack.T4aTEO/_old  2020-03-19 19:50:00.156173834 +0100
+++ /var/tmp/diff_new_pack.T4aTEO/_new  2020-03-19 19:50:00.156173834 +0100
@@ -43,6 +43,7 @@
 Patch1:         %{name}-override-libtinfo.patch
 Patch2:         %{name}-ppc64-VA-range-SUSE.patch
 Patch3:         %{name}-PN_XNUM.patch
+Patch4:         %{name}-arm64-VA-range-SUSE.patch
 BuildRequires:  libdw-devel
 BuildRequires:  libelf-devel
 BuildRequires:  libeppic-devel
@@ -69,9 +70,7 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags}"

++++++ makedumpfile-arm64-VA-range-SUSE.patch ++++++
Subject: Align PMD_SECTION_MASK with CONFIG_ARM64_VA_BITS

References: bsc#1142715

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/

diff -ur makedumpfile-1.6.7.orig/arch/arm64.c makedumpfile-1.6.7/arch/arm64.c
--- makedumpfile-1.6.7.orig/arch/arm64.c        2020-01-15 19:09:56.000000000 
+0100
+++ makedumpfile-1.6.7/arch/arm64.c     2020-03-04 14:38:02.281783810 +0100
@@ -81,7 +81,7 @@
  * 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

Reply via email to