Skip to contentSkip to conversation

linux-yocto/5.8: update to v5.8.5

PATCH In review Bruce Ashfield 1 participant 3 messages Sep 2, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 linux-yocto/5.8: update to v5.8.5

From: Bruce Ashfield <[email protected]>

Updating linux-yocto/5.8 to the latest korg -stable release that comprises the following commits:

9ece50d8a470 Linux 5.8.5
c05dea7c0f3f binfmt_flat: revert "binfmt_flat: don't offset the data start" 44f639d5aeda io_uring: fix missing ->mm on exit
3f4be7a7db9f netlink: fix state reallocation in policy export
1c0be9a99c9c ethtool: Don't omit the netlink reply if no features were changed 507d7ac63fad ethtool: Account for hw_features in netlink interface e53140320193 ethtool: Fix preserving of wanted feature bits in netlink interface da995e0a6dac net: ena: Make missed_tx stat incremental
3942262b7499 tipc: fix uninit skb->data in tipc_nl_compat_dumpit() 828fd2e892b0 tipc: call rcu_read_lock() in tipc_aead_encrypt_done() 22f2be57784e net/smc: Prevent kernel-infoleak in __smc_diag_dump() df805b956877 net: sctp: Fix negotiation of the number of data streams. 4c1fc05e5d6a net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow 351366ffef2c net: qrtr: fix usage of idr in port assignment to socket c4c76ec584a7 net: nexthop: don't allow empty NHA_GROUP
a75f8a60c415 net: Fix potential wrong skb->protocol in skb_vlan_untag() 3f13223bb0b1 gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY

---
 .../linux/linux-yocto-rt_5.8.bb               |  4 ++--
 .../linux/linux-yocto-tiny_5.8.bb             |  6 +++---
 meta/recipes-kernel/linux/linux-yocto_5.8.bb  | 20 +++++++++----------
 3 files changed, 15 insertions(+), 15 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.8.bb +2 -2
index f956f04d53..a87cad962e 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
+SRCREV_machine ?= "ded3e9afb3262feb367227c63da1f762f893b192"
 SRCREV_meta ?= "0a4bef3856894e8bca3c74c97e7924ad262c0dc8"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.8;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.8.4"
+LINUX_VERSION ?= "5.8.5"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.8.bb +3 -3
index ae3b82b86a..3661072a48 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.8.4"
+LINUX_VERSION ?= "5.8.5"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "657076afb65e40e322bcc3b2bb8eeca590e20912"
-SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
+SRCREV_machine_qemuarm ?= "5bc60299c57b6dd6d88cd3196e1a3949a4365214"
+SRCREV_machine ?= "ded3e9afb3262feb367227c63da1f762f893b192"
 SRCREV_meta ?= "0a4bef3856894e8bca3c74c97e7924ad262c0dc8"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_5.8.bb +10 -10
index 0f162f87be..91a4873fc9 100644
@@ -12,15 +12,15 @@ KBRANCH_qemux86  ?= "v5.8/standard/base"
 KBRANCH_qemux86-64 ?= "v5.8/standard/base"
 KBRANCH_qemumips64 ?= "v5.8/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "a23a3757322d01974a65285aefcf7fdbbcde9aa8"
-SRCREV_machine_qemuarm64 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_machine_qemumips ?= "1f31484dac3aaf69f06a07d8869bd04d1d0377b7"
-SRCREV_machine_qemuppc ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_machine_qemuriscv64 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_machine_qemux86 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_machine_qemux86-64 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_machine_qemumips64 ?= "768aed7c0609f38222ee7672981a9b60c943f4fb"
-SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
+SRCREV_machine_qemuarm ?= "683da0bfdf000de0d65dc4a3c66bdc9906735144"
+SRCREV_machine_qemuarm64 ?= "ded3e9afb3262feb367227c63da1f762f893b192"
+SRCREV_machine_qemumips ?= "a86380b2bc78d8a40af8608569fe8d7f88f1bfd7"
+SRCREV_machine_qemuppc ?= "ded3e9afb3262feb367227c63da1f762f893b192"
+SRCREV_machine_qemuriscv64 ?= "ded3e9afb3262feb367227c63da1f762f893b192"
+SRCREV_machine_qemux86 ?= "ded3e9afb3262feb367227c63da1f762f893b192"
+SRCREV_machine_qemux86-64 ?= "ded3e9afb3262feb367227c63da1f762f893b192"
+SRCREV_machine_qemumips64 ?= "c0568a8edccef3a9bb29c2c4911b8200892c23f2"
+SRCREV_machine ?= "ded3e9afb3262feb367227c63da1f762f893b192"
 SRCREV_meta ?= "0a4bef3856894e8bca3c74c97e7924ad262c0dc8"
 
 # remap qemuarm to qemuarma15 for the 5.8 kernel
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
            git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.8;destsuffix=${KMETA}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-LINUX_VERSION ?= "5.8.4"
+LINUX_VERSION ?= "5.8.5"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.19.1
#1 lore raw

PATCH 2/2 kernel-yocto: only replace leading -I in include paths

From: Yanfei Xu <[email protected]>

We just want to remove the first '-I' in $d, hence removing the g' of sed avoid changing the real path which is include '-I'

We also add an anchor to the regex to only match -I at the start of the path.

---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-yocto.bbclass +1 -1
index cb7614d64a..6e74d08dca 100644
@@ -226,7 +226,7 @@ do_kernel_metadata() {
 		for feature in ${KERNEL_FEATURES}; do
 			feature_found=f
 			for d in $includes; do
-				path_to_check=$(echo $d | sed 's/-I//g')
+				path_to_check=$(echo $d | sed 's/^-I//')
 				if [ "$feature_found" = "f" ] && [ -e "$path_to_check/$feature" ]; then
 				    feature_found=t
 				fi
Signature · 1 line
2.19.1
#2 lore raw

Re: [PATCH 2/2] kernel-yocto: only replace leading -I in include paths

Note that this patch is slightly changed from the original.

I tweaked the short log, and added an anchor to the sed expression. So this one should be used, versus the earlier send.

Bruce

Quoted 31 lines · On Wed, Sep 2, 2020 at 10:33 AM <[email protected]> wrote:

From: Yanfei Xu <[email protected]>

We just want to remove the first '-I' in $d, hence removing the g' of sed avoid changing the real path which is include '-I'

We also add an anchor to the regex to only match -I at the start of the path.

---
 meta/classes/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-yocto.bbclass +1 -2
index cb7614d64a..6e74d08dca 100644
@@ -226,7 +226,7 @@ do_kernel_metadata() {
                for feature in ${KERNEL_FEATURES}; do
                        feature_found=f
                        for d in $includes; do
-                               path_to_check=$(echo $d | sed 's/-I//g')
+                               path_to_check=$(echo $d | sed 's/^-I//')
                                if [ "$feature_found" = "f" ] && [ -e "$path_to_check/$feature" ]; then
                                    feature_found=t
                                fi
--

2.19.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II