Comment 6 for bug 1836860

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2019-07-24 07:23 EDT-------
I have issued the following commands on my ubuntu 18.04 system:

1. git clone git://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/bionic
2. cd bionic
3. git checkout master-next
4. root@s8360046:~/krn1802git/bionic# git branch
* master-next

I then applied the following patches:
- 46a984ffb86 [PATCH] s390/cpum_cf: Add support for CPU-MF SVN 6
- 820bace7347 [PATCH] s390/cpumf: Add extended counter set definitions for model 8561 and 8562

Both patches applied with some noise about line mismatch line numbers, such as:

root@s8360046:~/krn1802git/bionic# patch -p1 < ../ubuntu-krn1802/0001-s390-cpum_cf-Add-support-for-CPU-MF-SVN-6.patch
patching file arch/s390/kernel/perf_cpum_cf.c
Hunk #2 succeeded at 88 (offset 62 lines).
Hunk #3 succeeded at 112 (offset 62 lines).
patching file arch/s390/kernel/perf_cpum_cf_events.c
Hunk #1 succeeded at 30 (offset -1 lines).
Hunk #2 succeeded at 265 (offset -1 lines).
Hunk #3 succeeded at 589 (offset -1 lines).

It turns out that you do do not need this patch:
- 1c410fd6a56 [PATCH] s390/cpum_cf_diag: Add support for CPU-MF SVN 6
It requires a predecessor patch which introduced a new CPU Measurement
facility counter device driver for s390 with kernel 5.1:

- fe5908bccc56 s390/cpum_cf_diag: Add support for s390 counter facility diagnostic trace

We do not need this to be backported to 4.15. So omit commit 1c410fd6a56.

I can sent you the remaining 2 patches reworked to apply cleanly without noise,
however with a different commit id. Let me know if you want them.
~