Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package crash for openSUSE:Factory checked 
in at 2021-01-30 13:56:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crash (Old)
 and      /work/SRC/openSUSE:Factory/.crash.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crash"

Sat Jan 30 13:56:37 2021 rev:169 rq:867794 version:7.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/crash/crash.changes      2021-01-07 
21:26:26.589792579 +0100
+++ /work/SRC/openSUSE:Factory/.crash.new.28504/crash.changes   2021-01-30 
13:57:44.366394228 +0100
@@ -1,0 +2,6 @@
+Thu Jan 28 11:49:06 UTC 2021 - Jiri Bohac <jbo...@suse.com>
+
+- Added crash-xen-increase-__physical_mask_shift_xen-to-52.patch
+  (bsc#1177050)
+
+-------------------------------------------------------------------

New:
----
  crash-xen-increase-__physical_mask_shift_xen-to-52.patch

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

Other differences:
------------------
++++++ crash.spec ++++++
--- /var/tmp/diff_new_pack.jAUKD7/_old  2021-01-30 13:57:45.578396272 +0100
+++ /var/tmp/diff_new_pack.jAUKD7/_new  2021-01-30 13:57:45.582396278 +0100
@@ -87,6 +87,8 @@
 Patch32:        
%{name}-Fix-kmem-i-option-on-Linux-5.9-rc1-and-later-kernels.patch
 # PATCH-FIX-UPSTREAM - 
https://github.com/crash-utility/crash/commit/46cfe1f5aed3b1950df505d71553c13abab060a6.patch
 Patch33:        
%{name}-task.c-avoid-unnecessary-cpu-cycles-in-stkptr_to_tas.patch
+# PATCH-FIX-UPSTREAM - 
https://github.com/crash-utility/crash/commit/fdb41f0b6fa42a692e5fa39da3801f6ca18e8a6b.patch
+Patch34:        %{name}-xen-increase-__physical_mask_shift_xen-to-52.patch
 Patch90:        %{name}-sial-ps-2.6.29.diff
 # PATCH-FIX-UPSTREAM - 
https://github.com/crash-utility/crash/commit/e770735200c02ac2414c394ea6ec5f7f033efe64.patch
 Patch91:        %{name}-gdb-fix-aarch64.patch
@@ -289,6 +291,7 @@
 %patch31 -p1
 %patch32 -p1
 %patch33 -p1
+%patch34 -p1
 %if %{have_snappy}
 %patch15 -p1
 %endif


++++++ crash-xen-increase-__physical_mask_shift_xen-to-52.patch ++++++
From: Jiri Bohac <jbo...@suse.cz>
Subject: xen: increase __PHYSICAL_MASK_SHIFT_XEN to 52
Git-commit: fdb41f0b6fa42a692e5fa39da3801f6ca18e8a6b
References: bsc#1177050
Acked-by: Jiri Bohac <jbo...@suse.cz>

The current value of __PHYSICAL_MASK_SHIFT_XEN in crash (40) is
smaller than the kernel (52) since kernel commit 6f0e8bf167 (xen:
support 52 bit physical addresses in pv guests).

This can cause x86_64_pud_offset() to lose the most significant
bits of pgd_pte, leading to a failed xen_m2p() translation,
resulting in crash failing with an error message like this:
   crash: read error: physical address: ffffffffffffffff  type: "pud page"

Both Intel and AMD documentation mandate that unused physical
address bits must be 0, so there is no need to explicitly mask them
out with a mask narrower than the architecture limit of 52. This
is also confirmed by this kernel commit: b83ce5ee91.

Increase the value of __PHYSICAL_MASK_SHIFT_XEN to 52.

Signed-off-by: Jiri Bohac <jbo...@suse.cz>

diff --git a/defs.h b/defs.h
index ffbe73b..35cdac2 100644
--- a/defs.h
+++ b/defs.h
@@ -3585,7 +3585,7 @@ struct arm64_stackframe {
  *  PHYSICAL_PAGE_MASK changed (enlarged) between 2.4 and 2.6, so
  *  for safety, use the 2.6 values to generate it.
  */ 
-#define __PHYSICAL_MASK_SHIFT_XEN     40
+#define __PHYSICAL_MASK_SHIFT_XEN     52
 #define __PHYSICAL_MASK_SHIFT_2_6     46
 #define __PHYSICAL_MASK_SHIFT_5LEVEL  52
 #define __PHYSICAL_MASK_SHIFT  (machdep->machspec->physical_mask_shift)
-- 
2.30.0

Reply via email to