[OE-core] [PATCH 0/6] kernel: consolidated pull request

bruce.ashfield at gmail.com bruce.ashfield at gmail.com
Mon Oct 21 20:16:12 UTC 2019


From: Bruce Ashfield <bruce.ashfield at gmail.com>

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(-)

-- 
2.19.1



More information about the Openembedded-core mailing list