Skip to content

kernel: consolidated pull request

[email protected] openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6linux-yocto/4.19: update to v4.19.78meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb meta/recipes-kernel/linux/linux-yocto_4.19.bb+17 -170 replies
2/6linux-yocto/5.2: update to v5.2.20meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb meta/recipes-kernel/linux/linux-yocto_5.2.bb+18 -180 replies
3/6perf: fix v5.4+ buildsmeta/recipes-kernel/perf/perf.bb+7 -03 replies
4/6perf: create directories before copying single filesmeta/recipes-kernel/perf/perf.bb+2 -00 replies
5/6perf: add 'cap' PACKAGECONFIGmeta/recipes-kernel/perf/perf.bb+1 -00 replies
6/6perf: drop 'include' copymeta/recipes-kernel/perf/perf.bb+0 -97 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] kernel: consolidated pull request

From: Bruce Ashfield <[email protected]>

Hi all,

Here's a set of changes that I've been testing while the release finalizes. Now that master is open, I figured I'd send them before starting to stack on more changes.

Note: I have more -stable changes for 5.2 and 4.19, I just haven't fully
tested them yet, so they'll follow in a day or so.

For linux-yocto-dev, I'm bumping it to v5.4-rcX .. and of note, mips64 boot was totally broken on the switch to userspace, I had to do the following mainline reverts to get it working (after a couple of days of bisecting):

932bb934ed4d mips: compat: vdso: Use legacy syscalls as fallback cdab7e2c73d5 mips: vdso: Fix flip/flop vdso building bug b4c0f7fa5308 mips: vdso: Fix source path
1f66c45db330 mips: Add clock_gettime64 entry point abed3d826f2f mips: Add clock_getres entry point 6393e6064486 mips: fix vdso32 build, again 24640f233b46 mips: Add support for generic vDSO 8919975b6171 MIPS: VDSO: Fix build for binutils < 2.25 90800281e761 MIPS: VDSO: Remove unused gettimeofday.c

I'll report this upstream to linux-mips, since we'll want this properly fixed before I start into the next release kernel. While annoying, I'm glad that I ran into this right after it happened in mainline, and not in three months from now.

During my v5.4 testing, I ran into some perf build failures and came up with a series of patches to fix it, and get rid of some warnings while building.

The update and fix are these two changes:

perf: fix v5.4+ builds
perf: create directories before copying single files

I also noticed a libcap non-derministic detection, so I created a patch to control it via PACKAGECONFIG:

perf: add 'cap' PACKAGECONFIG

And then my final patch for perf, which is a RFC/RFT sort of thing. When fixing (yet another) set of "out of sync" file detection changes between perf and the headers, I realized that it was between the tools captured headers and a copy of the main include that we are doing from the kernel source directory. I was able to drop that include completely, and build for all architectures. I was also then able to drop some of the file copies that we've added over time.

This worked for me, but I'd be interested to see if it breaks anyone elses perf builds.

Cheers,

Bruce

The following changes since commit f484aa6090c5fa3f69c3aed0cab154ed1f46b7ac:

python-native: Remove debug.patch (2019-10-19 23:18:34 +0100)

are available in the Git repository at:

git://git.pokylinux.org/poky-contrib zedd/kernel
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=zedd/kernel

Bruce Ashfield (6):
linux-yocto/4.19: update to v4.19.78 linux-yocto/5.2: update to v5.2.20
perf: fix v5.4+ builds
perf: create directories before copying single files
perf: add 'cap' PACKAGECONFIG
perf: drop 'include' copy

 .../linux/linux-yocto-rt_4.19.bb              |  6 ++---
 .../linux/linux-yocto-rt_5.2.bb               |  6 ++---
 .../linux/linux-yocto-tiny_4.19.bb            |  8 +++----
 .../linux/linux-yocto-tiny_5.2.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_4.19.bb | 20 ++++++++---------
 meta/recipes-kernel/linux/linux-yocto_5.2.bb  | 22 +++++++++----------
 meta/recipes-kernel/perf/perf.bb              |  9 ++++----
 7 files changed, 40 insertions(+), 39 deletions(-)
Signature · 1 line
2.19.1