Skip to contentSkip to conversation

kernel-yocto: consolidated pull request

PATCH New Bruce Ashfield 1 participant 6 messages Aug 27, 2020

lore
Share & tools
lore
#0 lore raw

cover kernel-yocto: consolidated pull request

From: Bruce Ashfield <[email protected]>

Richard,

Here's the latest set of queued kernel changes.

Two are routine -stable updates, the other meta data change is the cherry pick of a 5.4 change we had, that I somehow missed when creating the 5.8 config branch. This will get rid of he intermittent reproducibility failure, which I'll continue to debug.

The two kernel-yocto changes are features that have been requested for some time. One simply allows an configuration audit warning to be an error (off by default), and the other allows changes to files pointed to by .scc files to be part of the checksum.

I checked the checksum patch as discussed earlier, and it does look like it will work with directories that don't already exist, since if something isn't listed already as :True, it will be added as either :True or :False based on whether it exists when the checksum is calculated.

There's a corner case that a moved file doesn't seen to trigger a new exec of the task, but that isn't something commonly done and something that I can look into if it pops up. I've had this patch in my tree for ~8 months, so it is time to get it out and about :D

Cheers,

Bruce

The following changes since commit b67303460c9da25f69b206d0bbb3fa1467857bab:

devtool: expand SRC_URI when guessing recipe update mode (2020-08-27 08:28:03 +0100)

are available in the Git repository at:

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

Bruce Ashfield (5):
linux-yocto/5.4: update to v5.4.61
linux-yocto/5.8: update to v5.8.4
linux-yocto/5.8: disable IKHEADERS in default builds
kernel-yocto: checksum all modifications to available kernel fragments
directories
kernel-yocto: allow promotion of configuration warnings to errors

 meta/classes/kernel-yocto.bbclass             | 52 ++++++++++++++++++-
 .../linux/linux-yocto-rt_5.4.bb               |  6 +--
 .../linux/linux-yocto-rt_5.8.bb               |  6 +--
 .../linux/linux-yocto-tiny_5.4.bb             |  8 +--
 .../linux/linux-yocto-tiny_5.8.bb             |  8 +--
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 ++++----
 meta/recipes-kernel/linux/linux-yocto_5.8.bb  | 22 ++++----
 7 files changed, 86 insertions(+), 38 deletions(-)
Signature · 1 line
2.19.1
#1 lore raw

PATCH 1/5 linux-yocto/5.4: update to v5.4.61

From: Bruce Ashfield <[email protected]>

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

6576d69aac94 Linux 5.4.61
d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
744fde53ec32 xen: don't reschedule in preemption off sections
d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible 42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
b158e91610c7 epoll: Keep a reference on files added to the check list
5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS dafae068886a net: dsa: b53: check for timeout
83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() f4adc6430d74 net: ena: Prevent reset after device destruction
f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
7cc9812be1c7 efi: avoid error message when booting under Xen
d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe" 6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
e9849a60facb s390/ptrace: fix storage key handling
d35f24bc566d s390/runtime_instrumentation: fix storage key handling
cc215d206881 bonding: fix a potential double-unregister
8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete 5159a0a5164b can: j1939: fix support for multipacket broadcast message
5dc0c1c12094 bonding: show saner speed for broadcast mode
1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
c0e04d08e544 i40e: Fix crash during removing i40e driver
e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function 3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
233d6f2ab120 spi: stm32: fixes suspend/resume management
666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian 3473fa198178 ext4: don't allow overlapping system zones
ea54176e5821 ext4: fix potential negative array index in do_split()
2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0 cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
2524bb04d81b jffs2: fix UAF problem
04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
711f5688bb97 xfs: fix inode quota reservation checks
8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
06d4d9acd7d8 media: vpss: clean up resources in init
f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register() 62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
10e99c3003d5 opp: Enable resources again if they were disabled earlier
52d322f91954 kthread: Do not preempt current task if it is going to call schedule() 504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock() 2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories 59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
5663159e2930 mm: include CMA pages in lowmem_reserve at boot
e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
3e538c536f01 spi: Prevent adding devices below an unregistering controller
143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated 60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer() 055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
038580b1f58b btrfs: export helpers for subvolume name/id resolution
b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
244d9026768d kbuild: remove AS variable
fed06097acce kbuild: remove PYTHON2 variable
fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware f781285d09a9 Documentation/llvm: fix the name of llvm-size
97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM

---
 .../linux/linux-yocto-rt_5.4.bb               |  6 ++---
 .../linux/linux-yocto-tiny_5.4.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_5.4.bb  | 22 +++++++++----------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
index a3416a660f..a0324f0304 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "ac6f31906972c08f16c1ce43410502a5ef251dce"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine ?= "e65e9ff22c5c42c9ae57a4cce45fbf91a7e7ae3b"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 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.4;destsuffix=${KMETA}"
 
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
index 58697bb9ef..f835a45870 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "693cdc59f5332582cd1e0e21f388b5342fadb5c6"
-SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine_qemuarm ?= "f30ce7653a038eb05ef0503d0d15c7c6ec33cdc5"
+SRCREV_machine ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
index 5dc388925c..6b22d138bd 100644
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.4/standard/base"
 KBRANCH_qemux86-64 ?= "v5.4/standard/base"
 KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "05fde54b1e68379be26d2d666e52eb8a4433cf67"
-SRCREV_machine_qemuarm64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemumips ?= "02fee7ae77f92e2090c26959be11c0a109b02ec2"
-SRCREV_machine_qemuppc ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemuriscv64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemux86 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemux86-64 ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_machine_qemumips64 ?= "e8247201b3d33b579520620cf37a398fa8311822"
-SRCREV_machine ?= "60fc5f2c61a48088ff4bbfb35b2f64af70bc5bdd"
-SRCREV_meta ?= "96bf76ffc2601220c790ffc0b57eec5a06c3f819"
+SRCREV_machine_qemuarm ?= "487ecd38aaa59c22302930e8a9697c62c9d85fe5"
+SRCREV_machine_qemuarm64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemumips ?= "ad1d747e7343bc9851bff62c4279060094c6eb59"
+SRCREV_machine_qemuppc ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemuriscv64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemux86 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemux86-64 ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_machine_qemumips64 ?= "4fe8438e9dea8d0a00f82003277f36785aac9e3d"
+SRCREV_machine ?= "00809fdaf65b24fcd0347f3d3e489e2890f7ed44"
+SRCREV_meta ?= "7ed307f65171d331a784ceecb6f56b9f8ecadb10"
 
 # remap qemuarm to qemuarma15 for the 5.4 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
@@ -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.4;destsuffix=${KMETA}"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
-LINUX_VERSION ?= "5.4.60"
+LINUX_VERSION ?= "5.4.61"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.19.1
#2 lore raw

PATCH 2/5 linux-yocto/5.8: update to v5.8.4

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

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

47dcb7fcad1d Linux 5.8.4
920ebff48be3 Revert "drm/amd/display: Improve DisplayPort monitor interop"
d0a3a0136337 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set af3093319fce KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
d9903e8c2576 do_epoll_ctl(): clean the failure exits up a bit
1f802ace4bd5 efi/libstub: Handle unterminated cmdline
ca60a5eb8372 efi/libstub: Handle NULL cmdline
3bff856ba44d efi/libstub: Stop parsing arguments at "--"
e6584124b982 efi: add missed destroy_workqueue when efisubsys_init fails
09a307050798 efi/x86: Mark kernel rodata non-executable for mixed mode
3d9ed544ec9b EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
979a9c0058f9 powerpc/pseries: Do not initiate shutdown when system is running on UPS d9b227a03e9a powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores
c09886c19233 epoll: Keep a reference on files added to the check list
3489cea04a4b net: dsa: b53: check for timeout
0c831e9dad9d hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
d446604e432c selftests/bpf: Remove test_align leftovers
9500db5480f8 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe() af4a56476ddd net: ena: Change WARN_ON expression in ena_del_napi_in_range()
8c01a77d28bf net: ena: Prevent reset after device destruction
3c1d705f29c6 bonding: fix active-backup failover for current ARP slave
f6c6b312efef powerpc/pseries/hotplug-cpu: wait indefinitely for vCPU death
63f10205a215 bpf: Use get_file_rcu() instead of get_file() for task_file iterator 2fe8be1a33d5 powerpc/fixmap: Fix the size of the early debug area
6f1d3ac25b59 ARM64: vdso32: Install vdso32 from vdso_install
88d78fa3426f afs: Fix NULL deref in afs_dynroot_depopulate()
f09a790a6e46 kconfig: qconf: remove qInfo() to get back Qt4 support
19881ebab34f afs: Fix key ref leak in afs_put_operation()
f35bb8426115 Revert "RDMA/hns: Reserve one sge in order to avoid local length error" 8facd0c47293 RDMA/bnxt_re: Do not add user qps to flushlist
1f43cb1c6f56 Fix build error when CONFIG_ACPI is not set/enabled:
15f8decf24ed efi: avoid error message when booting under Xen
80876bf7962d kconfig: qconf: fix signal connection to invalid slots
a00ac43450bf kconfig: qconf: do not limit the pop-up menu to the first row
a4d533969b91 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe" 06e5e83d1fa5 scsi: ufs: Fix interrupt error message for shared interrupts
a3ef038de59a scsi: ufs-pci: Add quirk for broken auto-hibernate for Intel EHL
88a3da2e55b0 scsi: ufs: Add quirk to fix abnormal ocs fatal error
65fa4a6ee3b8 scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
2a0b7adc5d0d scsi: ufs: Add quirk to enable host controller without hce
81929755f92e scsi: ufs: Add quirk to disallow reset of interrupt aggregation
8ab0b065d8bd scsi: ufs: Add quirk to fix mishandling utrlclr/utmrlclr
c3e9f5c75eba scsi: ufs: ti-j721e-ufs: Fix error return in ti_j721e_ufs_probe() 3d1bc8c7b20f of/address: check for invalid range.cpu_addr
e10e99e4872b kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
cfc52749f050 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
753d60c62003 arch/ia64: Restore arch-specific pgd_offset_k implementation
c9486fc5f69b vfio/type1: Add proper error unwind for vfio_iommu_replay()
c49fa6397b6d vfio-pci: Avoid recursive read-lock usage
ba9c27ba1175 watch_queue: Limit the number of watches a user can hold
7505eeadc5a7 ASoC: intel: Fix memleak in sst_media_open
2586fcb08f85 ASoC: msm8916-wcd-analog: fix register Interrupt offset
ca79907768d3 s390/ptrace: fix storage key handling
87a297a5a835 s390/runtime_instrumentation: fix storage key handling
3bd77efc033f ipvlan: fix device features
39560b31450b bonding: fix a potential double-unregister
dfdc8eaf69a6 can: j1939: add rxtimer for multipacket broadcast session
638e26b82db3 can: j1939: abort multipacket broadcast session when timeout occurs f7653e4b8fa9 can: j1939: cancel rxtimer on multipacket broadcast session complete 6cc1cc005e97 can: j1939: fix support for multipacket broadcast message
f9c6097aeb30 bonding: show saner speed for broadcast mode
b9ca7a24e64a net: fec: correct the error path for regulator disable in probe
22da47f7c872 i40e: Fix crash during removing i40e driver
fb95a28d7daf i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
d302358881c4 igc: Fix PTP initialization
16c3d947c69b can: j1939: transport: add j1939_session_skb_find_by_offset() function f0c778597a5a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack 089dd91ec99b can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
93c39ebb5d44 libbpf: Fix BTF-defined map-in-map initialization on 32-bit host arches db7f8c57dbdd bpf: sock_ops sk access may stomp registers when dst_reg = src_reg cd4644d904e1 bpf: sock_ops ctx access may stomp registers in corner case
5d9c020bd8e3 tools/bpftool: Make skeleton code C++17-friendly by dropping typeof() c2bbf3cbcf78 ASoC: q6routing: add dummy register read/write function
60df9abd8489 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
4c3f6739fe05 spi: stm32: fixes suspend/resume management
4707dba95055 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian cfa678021a1b ext4: check journal inode extents more carefully
20070b188bf4 ext4: don't allow overlapping system zones
480a5124cd0e drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl() 88e79f7a9841 ext4: fix potential negative array index in do_split()
95e117076842 fs/signalfd.c: fix inconsistent return codes for signalfd4
796f99a7b77a fat: fix fat_ra_init() for data clusters == 0
f358706be43a alpha: fix annotation of io{read,write}{16,32}be()
5461d5e84ed3 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
99b3f3bd1fa9 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 2dc74b9a9a9f media: camss: fix memory leaks on error handling paths in probe
630170dfc73a virtio_ring: Avoid loop when vq is broken in virtqueue_poll
55bd4074ce6b scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
caceaea09891 cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0 3f6735308fdf swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
8d5b9bb9a58a ceph: fix use-after-free for fsc->mdsc
17754f71db7b jffs2: fix UAF problem
7beedf14a639 riscv: Fixup static_obj() fail
106f319212e5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
8da93b053951 xfs: fix inode quota reservation checks
a8c8ad128e19 svcrdma: Fix another Receive buffer leak
2a9eccbe614e m68knommu: fix overwriting of bits in ColdFire V3 cache control
4accb5af385b MIPS: Fix unable to reserve memory for Crash kernel
689bee9eb02a Input: psmouse - add a newline when printing 'proto' by sysfs
f6b2fb80ffdc f2fs: should avoid inode eviction in synchronous path
a692a28626e2 media: vpss: clean up resources in init
b0eecd0e3c05 rtc: goldfish: Enable interrupt in set_alarm() when necessary
e055ffe8d48a f2fs: fix to check page dirty status before writeback
527b13f612df media: coda: jpeg: add NULL check after kmalloc
cd67c599233f media: budget-core: Improve exception handling in budget_register() f05c0e45e0b7 scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
b84142b25cae scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
c68589be55fd drm/i915: Provide the perf pmu.module
3a07e556aa59 drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON
33eb147ff02f drm/amd/display: fix pow() crashing when given base 0
e0a7a29fb37f drm/amd/display: Fix DFPstate hang due to view port changed
9cb01ea4fab5 drm/amd/display: Blank stream before destroying HDCP session
115e2a7226c0 drm/amd/display: Fix EDID parsing after resume from suspend
e06fe5e678fe drm/amd/display: Fix incorrect backlight register offset for DCN
c20d9803acc2 drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal bdc689905bef drm: amdgpu: Use the correct size when allocating memory
144fa0580fbe mm/memory.c: skip spurious TLB flush for retried page fault
6f2950ebcd88 s390/pci: ignore stale configuration request event
4c86de3bff29 s390/pci: fix PF/VF linking on hot plug
1d95c4596123 s390/pci: re-introduce zpci_remove_device()
c77c3fdef0f6 s390/pci: fix zpci_bus_link_virtfn()
91729fc577b3 selftests: kvm: Use a shorter encoding to clear RAX
171f7e5f7d6a scsi: zfcp: Fix use-after-free in request timeout handlers
1ae4b74a2302 jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock() 38ccb4b484bb ext4: fix checking of directory entry validity for inline directories 7535cbdd6cab ext4: do not block RWF_NOWAIT dio write on unallocated space
e25d2b38fe64 opp: Put opp table in dev_pm_opp_set_rate() if _set_opp_bw() fails 9cb98fa067fa opp: Put opp table in dev_pm_opp_set_rate() for empty tables
e8996e480762 opp: Enable resources again if they were disabled earlier
6b5b9fdedd98 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
e0d5793a7aa6 ASoC: amd: renoir: restore two more registers during resume
5b21a116b136 mm, page_alloc: fix core hung in free_pcppages_bulk()
3d803ebd631e mm: include CMA pages in lowmem_reserve at boot
37d1789de274 squashfs: avoid bio_alloc() failure with 1Mbyte blocks
a1a1ea598177 uprobes: __replace_page() avoid BUG in munlock_vma_page()
14fb06cc4b38 kernel/relay.c: fix memleak on destroy relay channel
734a5c3f266c romfs: fix uninitialized memory leak in romfs_dev_read()
0675a6f26bd8 mm/vunmap: add cond_resched() in vunmap_pmd_range
917cdc0d2c53 io_uring: find and cancel head link async work on files exit
93366cb81056 spi: Prevent adding devices below an unregistering controller
a14e7ce59232 can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated cf3b3ffb272c can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer() 2d790596d76f ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
c20d8d9c04b9 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
44d8f487a7d6 ALSA: hda: avoid reset of sdo_limit
6a1624ca6229 khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
801515285db3 drm/ast: Initialize DRAM type before posting GPU
38814f974d34 drm/ast: Remove unused code paths for AST 1180
f8be691dbd88 drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel f04844351ce2 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()

---
 .../linux/linux-yocto-rt_5.8.bb               |  6 ++---
 .../linux/linux-yocto-tiny_5.8.bb             |  8 +++----
 meta/recipes-kernel/linux/linux-yocto_5.8.bb  | 22 +++++++++----------
 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.8.bb +3 -3
index 363b771967..f8758d2b1c 100644
@@ -11,13 +11,13 @@ python () {
         raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
 }
 
-SRCREV_machine ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_meta ?= "84377c2c723fe121d041f8fcfc99b8c244dcd6b0"
+SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
+SRCREV_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
 
 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.3"
+LINUX_VERSION ?= "5.8.4"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
meta/recipes-kernel/linux/linux-yocto-tiny_5.8.bb +4 -4
index 6c18a6178f..53145287bb 100644
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig"
 
 require recipes-kernel/linux/linux-yocto.inc
 
-LINUX_VERSION ?= "5.8.3"
+LINUX_VERSION ?= "5.8.4"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native"
 KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
-SRCREV_machine_qemuarm ?= "e5992f87f18d3e99f7448111f99bb1769dc718c7"
-SRCREV_machine ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_meta ?= "84377c2c723fe121d041f8fcfc99b8c244dcd6b0"
+SRCREV_machine_qemuarm ?= "657076afb65e40e322bcc3b2bb8eeca590e20912"
+SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
+SRCREV_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.8.bb +11 -11
index 283c74694d..7b2844699a 100644
@@ -12,16 +12,16 @@ KBRANCH_qemux86  ?= "v5.8/standard/base"
 KBRANCH_qemux86-64 ?= "v5.8/standard/base"
 KBRANCH_qemumips64 ?= "v5.8/standard/mti-malta64"
 
-SRCREV_machine_qemuarm ?= "2285cab1d5ddd24e489dab0d9faa7f3718e86195"
-SRCREV_machine_qemuarm64 ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_machine_qemumips ?= "18aba2b2d36ac3908500770d4b462c633aaa4e3c"
-SRCREV_machine_qemuppc ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_machine_qemuriscv64 ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_machine_qemux86 ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_machine_qemux86-64 ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_machine_qemumips64 ?= "f8266b2a44053579c3bb0bde59552b30091ddb83"
-SRCREV_machine ?= "34702049e3c1a4bb927e5f8d1cbe5f134afb4036"
-SRCREV_meta ?= "84377c2c723fe121d041f8fcfc99b8c244dcd6b0"
+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_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
 
 # remap qemuarm to qemuarma15 for the 5.8 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
@@ -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.3"
+LINUX_VERSION ?= "5.8.4"
 
 DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
 DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.19.1
#3 lore raw

PATCH 3/5 linux-yocto/5.8: disable IKHEADERS in default builds

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

A patch from 5.4 wasn't propagated to 5.8, and IKHEADERS was renabled in our default builds.

This cases reproducibility issues when kernel modules are built.

We haven't tracked down the root cause yet, but for now, we still don't want reproducibility failing on builds.

There's a dedicated reproducibility feature available for those that want to enable the feature.

---
 meta/recipes-kernel/linux/linux-yocto-rt_5.8.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_5.8.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_5.8.bb      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.8.bb +1 -1
index f8758d2b1c..f956f04d53 100644
@@ -12,7 +12,7 @@ python () {
 }
 
 SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
+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}"
meta/recipes-kernel/linux/linux-yocto-tiny_5.8.bb +1 -1
index 53145287bb..ae3b82b86a 100644
@@ -17,7 +17,7 @@ KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine_qemuarm ?= "657076afb65e40e322bcc3b2bb8eeca590e20912"
 SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
+SRCREV_meta ?= "0a4bef3856894e8bca3c74c97e7924ad262c0dc8"
 
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
meta/recipes-kernel/linux/linux-yocto_5.8.bb +1 -1
index 7b2844699a..0f162f87be 100644
@@ -21,7 +21,7 @@ SRCREV_machine_qemux86 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
 SRCREV_machine_qemux86-64 ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
 SRCREV_machine_qemumips64 ?= "768aed7c0609f38222ee7672981a9b60c943f4fb"
 SRCREV_machine ?= "6a095b50f83adc33b07bd1b3dbbcca8bec66849f"
-SRCREV_meta ?= "7ddf21c67d219078d369988270f008bf8d730b1c"
+SRCREV_meta ?= "0a4bef3856894e8bca3c74c97e7924ad262c0dc8"
 
 # remap qemuarm to qemuarma15 for the 5.8 kernel
 # KMACHINE_qemuarm ?= "qemuarma15"
Signature · 1 line
2.19.1
#4 lore raw

PATCH 4/5 kernel-yocto: checksum all modifications to available kernel fragments directories

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

This is based on the patch from Zhaolong Zhang <[email protected]> [kernel-yocto: checksum indirect cfg and scc files]

While the recommended manner to share/reuse feature fragments is to maintain them in a kernel-meta repository and track the changes via the standard SRCREV fetcher mechanism, that method is not always practical for small sets of features or for quick testing of changes.

These other flows use .scc files on the SRC_URI. It has been noted that config fragments or other features indirectly included by those .scc files will not trigger the kernel meta-data to be re-run and hence a build can continue with stale data (or not be triggered at all).

To solve this issue, we can collect the directories that are searchable via FILESEXTRAPATHS and add them to the do_kernel_metadata task checksum.

This allows modifications, additions and removals from the potential kernel feature directories to trigger a re-execution of the meta data task.

---
 meta/classes/kernel-yocto.bbclass | 39 +++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
meta/classes/kernel-yocto.bbclass +39 -0
index 96ea612258..34a0ff8f84 100644
@@ -85,6 +85,44 @@ def get_machine_branch(d, default):
 	    
     return default
 
+# returns a list of all directories that are on FILESEXTRAPATHS (and
+# hence available to the build) that contain .scc or .cfg files
+def get_dirs_with_fragments(d):
+    extrapaths = []
+    extrafiles = []
+    extrapathsvalue = (d.getVar("FILESEXTRAPATHS") or "")
+    # Remove default flag which was used for checking
+    extrapathsvalue = extrapathsvalue.replace("__default:", "")
+    extrapaths = extrapathsvalue.split(":")
+    for path in extrapaths:
+        for root, dirs, files in os.walk(path):
+            for name in files:
+                base, ext = os.path.splitext(name)
+                if ext and ext in [".scc", ".cfg"]:
+                    if path + ":True" not in extrafiles:
+                        extrafiles.append(path + ":" + str(os.path.exists(path)))
+
+    return " ".join(extrafiles)
+
+# returns a list of all the .scc and .cfg files that are on FILESEXTRAPATHS
+# (and hence available to the build)
+def get_fragments_in_filesextrapaths(d):
+    extrapaths = []
+    extrafiles = []
+    extrapathsvalue = (d.getVar("FILESEXTRAPATHS") or "")
+    # Remove default flag which was used for checking
+    extrapathsvalue = extrapathsvalue.replace("__default:", "")
+    extrapaths = extrapathsvalue.split(":")
+    for path in extrapaths:
+        for root, dirs, files in os.walk(path):
+            for name in files:
+                base, ext = os.path.splitext(name)
+                if ext and ext in [".scc", ".cfg"]:
+                    filepath = os.path.join(root, name)
+                    extrafiles.append(filepath + ":" + str(os.path.exists(filepath)))
+
+    return " ".join(extrafiles)
+
 do_kernel_metadata() {
 	set +e
 
@@ -367,6 +405,7 @@ do_kernel_checkout[dirs] = "${S}"
 addtask kernel_checkout before do_kernel_metadata after do_symlink_kernsrc
 addtask kernel_metadata after do_validate_branches do_unpack before do_patch
 do_kernel_metadata[depends] = "kern-tools-native:do_populate_sysroot"
+do_kernel_metadata[file-checksums] = " ${@get_dirs_with_fragments(d)}"
 do_validate_branches[depends] = "kern-tools-native:do_populate_sysroot"
 
 do_kernel_configme[depends] += "virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
Signature · 1 line
2.19.1
#5 lore raw

PATCH 5/5 kernel-yocto: allow promotion of configuration warnings to errors

In reply to Bruce Ashfield

From: Bruce Ashfield <[email protected]>

It was requested to add the ability to upgrade configuration warnings to errors, so that they can't be missed in a build.

Add a flag KMETA_AUDIT_WERROR, that when set, triggers a bb.fatal at the end of configuration checking if any warnings are found.

This is off by default, but is available for those that want to enable it in their kernel recipe or bbappend.

---
 meta/classes/kernel-yocto.bbclass | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)
meta/classes/kernel-yocto.bbclass +11 -2
index 34a0ff8f84..4f6698135b 100644
@@ -18,6 +18,7 @@ SRCREV_FORMAT ?= "meta_machine"
 KCONF_AUDIT_LEVEL ?= "1"
 KCONF_BSP_AUDIT_LEVEL ?= "0"
 KMETA_AUDIT ?= "yes"
+KMETA_AUDIT_WERROR ?= ""
 
 # returns local (absolute) path names for all valid patches in the
 # src_uri
@@ -546,6 +547,8 @@ python do_kernel_configcheck() {
 
     config_check_visibility = int(d.getVar("KCONF_AUDIT_LEVEL") or 0)
     bsp_check_visibility = int(d.getVar("KCONF_BSP_AUDIT_LEVEL") or 0)
+    kmeta_audit_werror = d.getVar("KMETA_AUDIT_WERROR") or ""
+    warnings_detected = False
 
     # if config check visibility is "1", that's the lowest level of audit. So
     # we add the --classify option to the run, since classification will
@@ -572,6 +575,7 @@ python do_kernel_configcheck() {
             with open (outfile, "r") as myfile:
                 results = myfile.read()
                 bb.warn( "[kernel config]: specified values did not make it into the kernel's final configuration:\n\n%s" % results)
+                warnings_detected = True
 
     # category #2: invalid fragment elements
     extra_params = ""
@@ -591,8 +595,9 @@ python do_kernel_configcheck() {
 
         if bsp_check_visibility and os.stat(outfile).st_size > 0:
             with open (outfile, "r") as myfile:
-               results = myfile.read()
-               bb.warn( "[kernel config]: This BSP contains fragments with warnings:\n\n%s" % results)
+                results = myfile.read()
+                bb.warn( "[kernel config]: This BSP contains fragments with warnings:\n\n%s" % results)
+                warnings_detected = True
 
     # category #3: redefined options (this is pretty verbose and is debug only)
     try:
@@ -613,6 +618,10 @@ python do_kernel_configcheck() {
             with open (outfile, "r") as myfile:
                 results = myfile.read()
                 bb.warn( "[kernel config]: This BSP has configuration options defined in more than one config, with differing values:\n\n%s" % results)
+                warnings_detected = True
+
+    if warnings_detected and kmeta_audit_werror:
+        bb.fatal( "configuration warnings detected, werror is set, promoting to fatal" )
 }
 
 # Ensure that the branches (BSP and meta) are on the locations specified by
Signature · 1 line
2.19.1