Merge ~joalif/ubuntu/+source/crash:lp1919275-focal into ubuntu/+source/crash:ubuntu/focal-devel

Proposed by Ioanna Alifieraki
Status: Needs review
Proposed branch: ~joalif/ubuntu/+source/crash:lp1919275-focal
Merge into: ubuntu/+source/crash:ubuntu/focal-devel
Diff against target: 70 lines (+49/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch (+41/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Thadeu Lima de Souza Cascardo Pending
git-ubuntu developers Pending
Review via email: mp+401232@code.launchpad.net

Description of the change

This is an MR to address lp #1919275 on focal.
Consists of 2 commits, the first is the actual patch in the form of quilt patch,
the second is the changelog update.

To post a comment you must log in.

Unmerged commits

421b588... by Ioanna Alifieraki

Update changelog

9ba526b... by Ioanna Alifieraki

Patch for LP #1919275

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index d49bbca..38a2a1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1crash (7.2.8-1ubuntu1.20.04.1) focal; urgency=medium
2
3 * Fix cannot determine VA_BITS_ACTUAL (LP: #1919275):
4 - d/p/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch
5
6 -- Ioanna Alifieraki <ioanna-maria.alifieraki@canonical.com> Thu, 15 Apr 2021 12:33:46 +0300
7
1crash (7.2.8-1ubuntu1) focal; urgency=low8crash (7.2.8-1ubuntu1) focal; urgency=low
29
3 * Merge from Debian unstable. Remaining changes:10 * Merge from Debian unstable. Remaining changes:
diff --git a/debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch b/debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch
4new file mode 10064411new file mode 100644
index 0000000..0505f75
--- /dev/null
+++ b/debian/patches/0003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch
@@ -0,0 +1,41 @@
1From 1c45cea02df7f947b4296c1dcaefa1024235ef10 Mon Sep 17 00:00:00 2001
2From: Bhupesh Sharma <bhsharma@redhat.com>
3Origin: upstream, https://github.com/crash-utility/crash/commit/1c45cea02df7f947b4296c1dcaefa1024235ef10
4Bug-Ubuntu: https://bugs.launchpad.net/bugs/1919275
5Date: Tue, 14 Jul 2020 01:14:49 +0530
6Subject: [PATCH] arm64: Change tcr_el1_t1sz variable name to TCR_EL1_T1SZ
7
8Since linux kernel commit bbdbc11804ff ("arm64/crash_core: Export
9TCR_EL1.T1SZ in vmcoreinfo") [available in linux-next now], the name
10of tcr_el1_t1sz vmcoreinfo variable has been changed to TCR_EL1_T1SZ.
11
12Make a similar change in crash-utility.
13
14Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
15---
16 arm64.c | 2 +-
17 netdump.c | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20--- a/arm64.c
21+++ b/arm64.c
22@@ -3873,7 +3873,7 @@ arm64_calc_VA_BITS(void)
23 } else if (ACTIVE())
24 error(FATAL, "cannot determine VA_BITS_ACTUAL: please use /proc/kcore\n");
25 else {
26- if ((string = pc->read_vmcoreinfo("NUMBER(tcr_el1_t1sz)"))) {
27+ if ((string = pc->read_vmcoreinfo("NUMBER(TCR_EL1_T1SZ)"))) {
28 /* See ARMv8 ARM for the description of
29 * TCR_EL1.T1SZ and how it can be used
30 * to calculate the vabits_actual
31--- a/netdump.c
32+++ b/netdump.c
33@@ -1887,7 +1887,7 @@ vmcoreinfo_read_string(const char *key)
34 sprintf(value, "%ld", nd->arch_data2 & 0xffffffff);
35 return value;
36 }
37- if (STREQ(key, "NUMBER(tcr_el1_t1sz)") && nd->arch_data2) {
38+ if (STREQ(key, "NUMBER(TCR_EL1_T1SZ)") && nd->arch_data2) {
39 value = calloc(VADDR_PRLEN+1, sizeof(char));
40 sprintf(value, "%lld", ((ulonglong)nd->arch_data2 >> 32) & 0xffffffff);
41 pc->read_vmcoreinfo = no_vmcoreinfo;
diff --git a/debian/patches/series b/debian/patches/series
index 439564c..92e7031 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
10001-dont-git-clone-eppic-extension.patch10001-dont-git-clone-eppic-extension.patch
20002-multiarch-libc.patch20002-multiarch-libc.patch
30003-arm64-Change-tcr_el1_t1sz-variable-name-to-TCR_EL1_T.patch

Subscribers

People subscribed via source and target branches