Bruce Ashfield [Wed, 3 Jan 2024 21:24:20 +0000 (16:24 -0500)]
linux-yocto/6.1: update to v6.1.70
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:
a507f147e6f0 Linux 6.1.70 a413b88cdb69 loop: deprecate autoloading callback loop_probe() 75c27bdb2144 wifi: nl80211: fix deadlock in nl80211_set_cqm_rssi (6.6.x) 15577a98ef29 wifi: cfg80211: fix CQM for non-range use 706448f716c1 fuse: share lookup state between submount and its parent ec7b81b0abcd mm/damon/core: make damon_start() waits until kdamond_fn() starts 41f4ff9fe22c x86/alternatives: Sync core before enabling interrupts 425379154b7f KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy 5dfacfd0fcd6 KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy() 3a0fd93cd9f7 KVM: arm64: vgic: Simplify kvm_vgic_destroy() 3339028dd082 thunderbolt: Fix memory leak in margining_port_remove() 69b6596c6e4a lib/vsprintf: Fix %pfwf when current node refcount == 0 2dd6f2286047 gpio: dwapb: mask/unmask IRQ when disable/enale it ab1c3f91d174 bus: ti-sysc: Flush posted write only after srst_udelay cd9f9ef59d85 pinctrl: starfive: jh7100: ignore disabled device tree nodes 7f7efa30fa87 dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata() 33b976a0f2ae tracing / synthetic: Disable events after testing in synth_event_gen_test_init() d2b549d3107b scsi: core: Always send batch on reset or error handling command 72e472a91c0d Revert "scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity" 4258274bacfb selftests: mptcp: join: fix subflow_send_ack lookup a8555c86f508 ublk: move ublk_cancel_dev() out of ub->mutex 1c250f2c5fa5 ubifs: fix possible dereference after free 3c42cc437d7e btrfs: zoned: no longer count fresh BG region as zone unusable b09a67617621 Revert "drm/amd/display: Do not set DRR on pipe commit" 93da3d8af9ee dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client e9779fac685e loop: do not enforce max_loop hard limit by (new) default 600043e1856c RISC-V: Fix do_notify_resume / do_work_pending prototype 764c6790dd71 9p: prevent read overrun in protocol dump tracepoint 7d09c84df5ab drm/i915: Reject async flips with bigjoiner c60e10d1549f smb: client: fix OOB in smbCalcSize() bef4315f19ba smb: client: fix OOB in SMB2_query_info_init() 71fe685b6a47 smb: client: fix potential OOB in cifs_dump_detail() 277832a306f9 smb: client: fix OOB in cifsd when receiving compounded resps 3f6da210470c dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp 1092525155ea net: ks8851: Fix TX stall caused by TX buffer overrun e9df9f089128 net: rfkill: gpio: set GPIO direction 805611157d68 net: 9p: avoid freeing uninit memory in p9pdu_vreadf 4c775b4cd8dd Input: soc_button_array - add mapping for airplane mode button 5df2b49e7e78 net: usb: ax88179_178a: avoid failed operations when device is disconnected 0f7bffd40a51 Bluetooth: Add more enc key size check 39347d645081 Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE e14a7ebafe4e Bluetooth: L2CAP: Send reject on command corrupted request 37f71e2c9f51 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg 470896ecbc92 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent d36d945f94c3 ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA 9599a5e34ca9 USB: serial: option: add Quectel RM500Q R13 firmware support a91fb450df5d USB: serial: option: add Foxconn T99W265 with new baseline 73b6b6ab03ae USB: serial: option: add Quectel EG912Y module support 9b968a708678 USB: serial: ftdi_sio: update Actisense PIDs constant names db57ef0dd4c2 wifi: cfg80211: fix certs build to not depend on file order ec350809cd98 wifi: cfg80211: Add my certificate 228d9960ae81 usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3 82f913724bc9 ALSA: usb-audio: Increase delay in MOTU M quirk 01bc94b58192 iio: triggered-buffer: prevent possible freeing of wrong buffer c508a99fbc21 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma() 1b670b0eeefa iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table 1fe4c93fc77b scsi: bnx2fc: Fix skb double free in bnx2fc_rcv() 66ccf5f7437a Input: ipaq-micro-keys - add error handling for devm_kmemdup 3637f6bdfe2c interconnect: qcom: sm8250: Enable sync_state 90aa62722d3e iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw 50d60bfc9681 interconnect: Treat xlate() returning NULL node as an error 900c1b3c62f9 drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original de4349bdf9f3 drm/i915/mtl: Add MTL for remapping CCS FBs 52c1a67dd303 drm/i915/dpt: Only do the POT stride remap when using DPT 7afe8109456d drm/i915: Fix intel_atomic_setup_scalers() plane_state handling b097184f8026 drm/i915: Relocate intel_atomic_setup_scalers() 99767368b7fa drm/i915/mtl: limit second scaler vertical scaling in ver >= 14 387e8077593e nvme-pci: fix sleeping function called from interrupt context b506833ee887 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl() 6eb51df9e739 pinctrl: at91-pio4: use dedicated lock class for IRQ 903bb0c7b81f x86/xen: add CPU dependencies for 32-bit build 2550d96aa248 i2c: aspeed: Handle the coalesced stop conditions with the start conditions. 5c11f637999c ASoC: fsl_sai: Fix channel swap issue on i.MX8MP 264d8c9b7f7f ASoC: hdmi-codec: fix missing report for jack initial status 9b4c95a63e2d afs: Fix use-after-free due to get/remove race in volume tree 17605162e26b afs: Fix overwriting of result of DNS query 791d5409cdb9 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry 3e617c7e39eb net: check dev->gso_max_size in gso_features_check() 087b96adc694 afs: Fix dynamic root lookup DNS check 9c6ea7abe3ed afs: Fix the dynamic root's d_delete to always delete unused dentries a70c2dd74198 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev() ea03196ebc47 net: mana: select PAGE_POOL a1986c429c68 Bluetooth: hci_event: shut up a false-positive warning fc6471510582 Bluetooth: Fix deadlock in vhci_send_frame 3e0d1585799d net/rose: fix races in rose_kill_by_device() 51e28c37d960 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources 6707baabe432 net: sched: ife: fix potential use-after-free 31edab12229c net: Return error from sk_stream_wait_connect() if sk_wait_event() fails 9d00421e1430 octeontx2-pf: Fix graceful exit during PFC configuration failure b0cee294022f net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above 72b8de75b394 net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors 18b4a5e0c3f5 net/mlx5e: Correct snprintf truncation handling for fw_version buffer 94c8485b449e net/mlx5: Fix fw tracer first block check 1750f55d855a net/mlx5e: fix a potential double-free in fs_udp_create_groups 01877daaeff0 net/mlx5e: Fix a race in command alloc flow f3739647a737 net/mlx5: Re-organize mlx5_cmd struct 148ec770c63e net/mlx5: Prevent high-rate FW commands from populating all slots bd6e09162910 net/mlx5: Introduce and use opcode getter in command interface 0f5de95fa266 net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list() 31037cfceff8 Revert "net/mlx5e: fix double free of encap_header" 8a84413505a6 Revert "net/mlx5e: fix double free of encap_header in update funcs" 2f635af7d6b4 wifi: mac80211: mesh_plink: fix matches_local logic 7a07af00aa88 wifi: mac80211: mesh: check element parsing succeeded 40ba7f9ab82a wifi: mac80211: check if the existing link config remains unchanged e90da1c7c6e7 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock 912652366f9e s390/vx: fix save/restore of fpu kernel context 0a6e700c3d7b reset: Fix crash when freeing non-existent optional resets 930a61fd795d ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init 228a00a77d50 ARM: dts: dra7: Fix DRA7 L3 NoC node register size 913463f8e6cd drm/amd/display: fix hw rotated modes when PSR-SU is enabled a4f48f77bbe7 HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[] 413bef367ba6 HID: i2c-hid: acpi: Unify ACPI ID tables format 57a6b0a464eb bpf: Fix prog_array_map_poke_run map poke update 4768f82272a7 kasan: disable kasan_non_canonical_hook() for HW tags
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit a0bfc167a283372297881baa696bc91bcea7787a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Tue, 2 Jan 2024 04:31:09 +0000 (23:31 -0500)]
linux-yocto/6.1: update to v6.1.69
Updating to the latest korg -stable release that comprises
the following commits:
4aa6747d9352 Linux 6.1.69 325556d46bfd r8152: fix the autosuspend doesn't work 4c2ad8e39c62 r8152: remove rtl_vendor_mode function 1d82735f4bae r8152: avoid to change cfg for all devices 9b3d3a7f3c4d net: tls, update curr on splice as well 869aee35cf61 ring-buffer: Have rb_time_cmpxchg() set the msb counter too c425a772fc58 ring-buffer: Do not try to put back write_stamp b15cf1486999 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs edbc03d671f7 ring-buffer: Fix writing to the buffer with max_data_size 6d98d594a5b6 ring-buffer: Have saved event hold the entire event 7888b607a981 ring-buffer: Do not update before stamp when switching sub-buffers 7043c4610ca7 tracing: Update snapshot buffer on resize if it is allocated 31785cf8171e ring-buffer: Fix memory leak of free page 8c3b77ad4e91 smb: client: fix OOB in smb2_query_reparse_point() d8541c50c671 smb: client: fix NULL deref in asn1_ber_decoder() 9f528a8e6832 smb: client: fix OOB in receive_encrypted_standard() 7b0faa541f15 drm/i915: Fix remapped stride with CCS on ADL+ 20907717918f drm/amd/display: Disable PSR-SU on Parade 0803 TCON again a9e2de19433f drm/amdgpu: fix tear down order in amdgpu_vm_pt_free 730b3322b8c3 btrfs: don't clear qgroup reserved bit in release_folio 9b670e1b644c btrfs: free qgroup reserve when ORDERED_IOERR is set da9b7c651c65 mm/shmem: fix race in shmem_undo_range w/THP 8ec07b0620ac mm/mglru: fix underprotected page cache 40f3ad769ec8 dmaengine: stm32-dma: avoid bitfield overflow assertion 78b2ba39beef drm/amdgpu/sdma5.2: add begin/end_use ring callbacks 6a1472d9be02 team: Fix use-after-free when an option instance allocation fails b01af9281851 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify 0b071a3266a8 ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS f2955dd3e933 soundwire: stream: fix NULL pointer dereference for multi_link 56f762659a5e btrfs: do not allow non subvolume root targets for snapshot 557f7ad06460 perf: Fix perf_event_validate_size() lockdep splat a684235d3035 HID: hid-asus: add const to read-only outgoing usb buffer 2b9e16bc1ce5 arm64: add dependency between vmlinuz.efi and Image 6cb0c71c6e7c net: usb: qmi_wwan: claim interface 4 for ZTE MF290 f7ce765744a3 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation fba6e958caa1 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad 8f0c8585856c HID: hid-asus: reset the backlight brightness level on resume de78e4bdcb5e nbd: pass nbd_sock to nbd_read_reply() instead of index d482bb566344 HID: add ALWAYS_POLL quirk for Apple kb 541b183be92f HID: glorious: fix Glorious Model I HID report 42b4ab97bee5 platform/x86: intel_telemetry: Fix kernel doc descriptions 355170a7ecac LoongArch: Implement constant timer shutdown interface adb6a907540c LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi 943cde1f3daa selftests/bpf: fix bpf_loop_bench for new callback verification scheme 1b40f23e702e nvme: catch errors from nvme_configure_metadata() 6cb3741c4582 nvme-auth: set explanation code for failure2 msgs 83bb13bf6c23 nbd: fold nbd config initialization into nbd_alloc_config() 02a4b14d17ab bcache: avoid NULL checking to c->root in run_cache_set() 3d3f72efc77d bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc() bc17ec4215e2 bcache: remove redundant assignment to variable cur_idx be0e2a28e06a bcache: avoid oversize memory allocation by small stripe_size 94070fd6689e blk-cgroup: bypass blkcg_deactivate_policy after destroying e52d0eb48efd blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!" 5fb6772cb573 stmmac: dwmac-loongson: Add architecture dependency 82c386d73689 usb: aqc111: check packet for fixup for true limit d6c02295c824 x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM ae818b2a2e78 drm/mediatek: Add spinlock for setting vblank event in atomic_begin 73c240e1ec73 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE 0c196180b588 PCI: loongson: Limit MRRS to 256 56d1891594d6 Revert "PCI: acpiphp: Reassign resources on bridge if necessary" 1ec80b9d4310 ALSA: hda/realtek: Apply mute LED quirk for HP15-db eeeb91216a1b ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants 82413e9e4255 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB 0dc6a06c4843 fuse: dax: set fc->dax to NULL in fuse_dax_conn_free() 36e2497ac7ad cred: switch to using atomic_long_t a51f71cd4f56 net: atlantic: fix double free in ring reinit logic 1646b2929d5e appletalk: Fix Use-After-Free in atalk_ioctl d835299dde3e net: stmmac: Handle disabled MDIO busses from devicetree 9aac81639e52 dpaa2-switch: do not ask for MDB, VLAN and FDB replay a81c7069af05 dpaa2-switch: fix size of the dma_unmap 9a23be1e5806 vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space() 2027dd67c3cf sign-file: Fix incorrect return values check 918991db7de0 stmmac: dwmac-loongson: Make sure MDIO is initialized before use 63387fe87fc5 net: ena: Fix XDP redirection error 2664b56420b3 net: ena: Fix xdp drops handling due to multibuf packets e312eed27aba net: ena: Destroy correct number of xdp queues upon failure 55a43bae0886 net: Remove acked SYN flag from packet in the transmit queue correctly 9bb392ee53af qed: Fix a potential use-after-free in qed_cxt_tables_alloc 112792ad36c4 iavf: Handle ntuple on/off based on new state machines for flow director 11c314a5a44a iavf: Introduce new state machines for flow director 01540ee2366a net/rose: Fix Use-After-Free in rose_ioctl 2de2a6cbe14f atm: Fix Use-After-Free in do_vcc_ioctl 3a76dcab2e3a octeontx2-af: Update RSS algorithm index d0f0786f8c5a octeontx2-pf: Fix promisc mcam entry action 34b630626a97 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters e4ce3dc7a0ed net: fec: correct queue selection a00dbc6dec4b net: vlan: introduce skb_vlan_eth_hdr() 7cfbb8bea36a atm: solos-pci: Fix potential deadlock on &tx_queue_lock 35c63d366fff atm: solos-pci: Fix potential deadlock on &cli_queue_lock 525904a15791 bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic ac6125174190 bnxt_en: Fix wrong return value check in bnxt_close_nic() 8217f9362c79 bnxt_en: Save ring error counters across reset 53cacb8cdc7e bnxt_en: Clear resource reservation during resume ab410db6e9aa qca_spi: Fix reset behavior 7e177e5a40d0 qca_debug: Fix ethtool -G iface tx behavior 2127142c179c qca_debug: Prevent crash on TX ring changes 0da41ddfb291 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX 514232495aa5 net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work 1e8396aab21d HID: lenovo: Restrict detection of patched firmware only to USB cptkbd e0cda159c865 afs: Fix refcount underflow from error handling race a7e6477cc3af ksmbd: fix memory leak in smb2_lock() 8925ab33b391 ext4: fix warning in ext4_dio_write_end_io() 1c077acf246c powerpc/ftrace: Fix stack teardown in ftrace_no_trace 34ae53cccf53 r8152: add vendor/device ID pair for ASUS USB-C2500 cac1218b32d7 r8152: add vendor/device ID pair for D-Link DUB-E250 893597cbabfb r8152: add USB device driver for config selection b80d0c6e5bae perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a4364e4733c8b8757927596dcbf7d6230f1da96) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Tue, 19 Dec 2023 09:33:46 +0000 (17:33 +0800)]
kea: upgrade 2.4.0 -> 2.4.1
Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator
fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.4.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7afab39fd1c3239df3bb2fa49b79a5efaaaf9db6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Markus Volk [Fri, 15 Dec 2023 17:30:55 +0000 (18:30 +0100)]
libadwaita: update 1.4.0 -> 1.4.2
=============
Version 1.4.2
=============
- Really fix build with libappstream 1.0
=============
Version 1.4.1
=============
- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
- Fix carousel scroll behavior with page reordering
- AdwComboRow
- Fix focus when opening the popover
- Set the correct state on the selected checkmark
- AdwNavigationView
- Fix a warning message
- AdwTabOverview
- Allow child focus on out animations
- AdwTabView
- Keep view alive during ::page-detached
- Fix crashes when using :pages
- Docs
- Fix erroneous <child> use in breakpoints migration guide
- Translation updates
- Russian
- Serbian
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c02a1169197fd5452d5b323dd523f6712245cb6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Tue, 19 Dec 2023 09:28:20 +0000 (17:28 +0800)]
libatomic-ops: upgrade 7.8.0 -> 7.8.2
Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1dea52da8cd00e6619890b8c4dcece8b5ff83f74) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Joshua Watt [Fri, 15 Dec 2023 20:34:04 +0000 (13:34 -0700)]
rpcbind: Specify state directory under /run
The state directory must be correctly specified as under /run because
RequiresMountsFor doesn't follow symbolic links which means the unit may
run before /run is mounted if the default of /var/run/rpcbind is kept
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 561e853e97e2cfa325ed310233577a5e124d9049) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481) Signed-off-by: Steve Sakoman <steve@sakoman.com>
devtool: modify: Handle recipes with a menuconfig task correctly
This avoids the following error when running `devtool modify` on a
recipe that has a menuconfig task, but does not have
KCONFIG_CONFIG_ENABLE_MENUCONFIG set.
.../temp/run.do_configure.4163366: line 152:
${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }: bad substitution
WARNING: .../temp/run.do_configure.4163366:152 exit 1 from
'[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]'
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e87e6fa84a0c4b5ac8e736dc62f6e08390ba2436) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sun, 10 Dec 2023 09:33:17 +0000 (09:33 +0000)]
sstate: Fix dir ownership issues in SSTATE_DIR
We currently use mkdir -p to create missing parent directories within SSTATE_DIR.
Reading the man page for mkdir mentions that parent directories are created with
the current umask, *not* the mode passed upon the commandline.
We could fix this by setting and resetting the umask but since we already have
decent python code able to do this, move to using that injecting a python function
into the chain of functions already present.
This should help fix the occasional sstate directory creation with the wrong
permissions.
[YOCTO #14385]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae642a4b038c6946e6c8aa9778bf09099d938a31) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Xiangyu Chen [Mon, 22 Jan 2024 09:29:10 +0000 (17:29 +0800)]
sudo: upgrade 1.9.14p3 -> 1.9.15p2
Changelog:
===========
1.9.15p2:
- Fixed a bug on BSD systems where sudo would not restore the
terminal settings on exit if the terminal had parity enabled.
1.9.15p1:
- Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based
sudoers from being able to read the ldap.conf file.
1.9.15:
- Fixed an undefined symbol problem on older versions of macOS
when "intercept" or "log_subcmds" are enabled in sudoers.
- Fixed "make check" failure related to getpwent(3) wrapping
on NetBSD.
- Fixed the warning message for "sudo -l command" when the command
is not permitted. There was a missing space between "list" and
the actual command due to changes in sudo 1.9.14.
- Fixed a bug where output could go to the wrong terminal if
"use_pty" is enabled (the default) and the standard input, output
or error is redirected to a different terminal. Bug #1056.
- The visudo utility will no longer create an empty file when the
specified sudoers file does not exist and the user exits the
editor without making any changes. GitHub issue #294.
- The AIX and Solaris sudo packages on www.sudo.ws now support
"log_subcmds" and "intercept" with both 32-bit and 64-bit
binaries. Previously, they only worked when running binaries
with the same word size as the sudo binary. GitHub issue #289.
- The sudoers source is now logged in the JSON event log. This
makes it possible to tell which rule resulted in a match.
Running "sudo -ll command" now produces verbose output that
includes matching rule as well as the path to the sudoers file
the matching rule came from. For LDAP sudoers, the name of the
matching sudoRole is printed instead.
- The embedded copy of zlib has been updated to version 1.3.
- The sudoers plugin has been modified to make it more resilient
to ROWHAMMER attacks on authentication and policy matching.
This addresses CVE-2023-42465.
- The sudoers plugin now constructs the user time stamp file path
name using the user-ID instead of the user name. This avoids a
potential problem with user names that contain a path separator
('/') being interpreted as part of the path name. A similar
issue in sudo-rs has been assigned CVE-2023-42456.
- A path separator ('/') in a user, group or host name is now
replaced with an underbar character ('_') when expanding escapes
in @include and @includedir directives as well as the "iolog_file"
and "iolog_dir" sudoers Default settings.
- The "intercept_verify" sudoers option is now only applied when
the "intercept" option is set in sudoers. Previously, it was
also applied when "log_subcmds" was enabled. Sudo 1.9.14
contained an incorrect fix for this. Bug #1058.
- Changes to terminal settings are now performed atomically, where
possible. If the command is being run in a pseudo-terminal and
the user's terminal is already in raw mode, sudo will not change
the user's terminal settings. This prevents concurrent sudo
processes from restoring the terminal settings to the wrong values.
GitHub issue #312.
- Reverted a change from sudo 1.9.4 that resulted in PAM session
modules being called with the environment of the command to be
run instead of the environment of the invoking user.
GitHub issue #318.
- New Indonesian translation from translationproject.org.
- The sudo_logsrvd server will now raise its open file descriptor
limit to the maximum allowed value when it starts up. Each
connection can require up to nine open file descriptors so the
default soft limit may be too low.
- Better log message when rejecting a command if the "intercept"
option is enabled and the "intercept_allow_setid" option is
disabled. Previously, "command not allowed" would be logged and
the user had no way of knowing what the actual problem was.
- Sudo will now log the invoking user's environment as "submitenv"
in the JSON logs. The command's environment ("runenv") is no
longer logged for commands rejected by the sudoers file or an
approval plugin.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Robert Yang [Mon, 11 Dec 2023 14:49:50 +0000 (06:49 -0800)]
nfs-utils: Upgrade 2.6.3 -> 2.6.4
* Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch.
* Add 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch to fix build with musl
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff416e9fd6a1a65cf59ecd662613581b6190e05e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aab5be508c0dd88a4d9767f65ba5b6fcd5fb9dd) Signed-off-by: Steve Sakoman <steve@sakoman.com>
zstd is dual-licensed under BSD _OR_ GPLv2. License wording in the
README for v1.5.5 is misleading, but license headers in the code clearly
state that there is a choice between the two licenses.
Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f85de590c188c9c3985e64a83efaf06b0b4fbc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.
The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,
fatal error: stdlib.h: No such file or directory
| 75 | #include_next <stdlib.h>
| | ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.
As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.
Signed-off-by: aszh07 <mail2szahir@gmail.com> Signed-off-by: Zahir Hussain <zahir.basha@kpit.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Jason Andryuk [Tue, 5 Dec 2023 18:42:05 +0000 (13:42 -0500)]
linux-firmware: Change bnx2 packaging
The bnx2 module uses both the mips and rv2p files, so package them all
together. Remove -mips from the package name, but add an RPROVIDES for
compatibility.
Signed-off-by: Jason Andryuk <jandryuk@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46f2b7b3bebc7efdb4199cdfe386dc16c049d8d7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Jose Quaresma [Wed, 6 Dec 2023 15:59:30 +0000 (15:59 +0000)]
go: update 1.20.11 -> 1.20.12
Upgrade to latest 1.20.x release [1]:
$ git log --oneline go1.20.11..go1.20.12 97c8ff8d53 (tag: go1.20.12, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.12 6446af942e [release-branch.go1.20] net/http: limit chunked data overhead 77397ffcb2 [release-branch.go1.20] crypto/rand,runtime: revert "switch RtlGenRandom for ProcessPrng" d77307f855 [release-branch.go1.20] cmd/compile: fix findIndVar so it does not match disjointed loop headers 1bd76576fe [release-branch.go1.20] crypto/rand,runtime: switch RtlGenRandom for ProcessPrng 1b59b017db [release-branch.go1.20] path/filepath: consider \\?\c: as a volume on Windows 46bc33819a [release-branch.go1.20] cmd/go/internal/vcs: error out if the requested repo does not support a secure protocol e1dc209be8 [release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in Git repos on Windows
Ross Burton [Mon, 18 Dec 2023 17:08:01 +0000 (17:08 +0000)]
tcl: skip async and event tests in run-ptest
These test suites are full of timing-sensitive test cases, so skip
them too.
[ YOCTO #15321 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd06c3668dbe9ec1cf9a0a84d7a6bc9851f9c662) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 19 Dec 2023 16:04:24 +0000 (16:04 +0000)]
testimage: Drop target_dumper and most of monitor_dumper
The target_dumper code is basically broken. It has been reading binary files
over the text base serial communication and runs at every command failure which
makes no sense. Each run might overwrite files from the previous run and the
output appears corrupted due to confusion from the binary data.
For now, remove the commands and the target dumper code as the command
and execution point are problematic. Also remove the same pieces of the monitor
code but leave the command list since in theory this can be moved to a more
useful place in the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a24d787987dccc95fdd95b7e85bf525a1c55b285) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Trevor Gamblin [Wed, 29 Nov 2023 14:32:41 +0000 (09:32 -0500)]
patchtest: shorten patch signed-off-by test output
The patch Signed-off-by test's output line is excessively long, and can
trigger a failsafe in the patchtest automated service's email content
generation. Shorten the output by reducing redundant phrasing and using
os.path.basename to get only the failing patch's name, not the entire
path, as the submitter should have a good idea of where it is located
regardless.
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc7546ded87dd44a988d7a23f1d7645094b5cdd4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Marco Felsch [Tue, 28 Nov 2023 22:47:44 +0000 (23:47 +0100)]
json-c: fix icecc compilation
Skip -Werror to make it possible to compile this recipe with ICECC else
all fallthrough comments will be removed since we pre-process the files
on the host before sending them to the compile nodes which then cause
errors because of default -Werror switch.
Fixes: caf64f85b5c5 ("json-c: update 0.13.1 - > 0.14") Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915f8307b063e17ddadd5dface83578b8ad254e2) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Markus Volk [Sat, 25 Nov 2023 11:15:52 +0000 (12:15 +0100)]
cups: Add root,sys,wheel to system groups
The Cups documentation states:
The default contains "admin", "lpadmin", "root", "sys" and/or "system".
https://www.cups.org/doc/man-cups-files.conf.html#:~:text=SystemGroup
Add root and sys accordingly
Also add wheel group. This is required for systems with polkit support in order to
control the printer settings with cups-pk-helper.
Not only for gnome-control-center, but also when using plain system-config-printer on
a system with running polkit, cups-pk-helper would be a required rdepend.
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 572fed0ac6dbcf5749e19c7b624826fc30cf301e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This fixes an issue running "opkg upgrade" on a system with systemd
(and when there is an update to "systemd-compat-units",
for example between yocto 4.2.2 and 4.2.3):
//var/lib/opkg/info/systemd-compat-units.postinst: cd: line 3: can't cd to /etc/init.d: No such file or directory
The existence of /etc/init.d is now tested
without causing an error if doesn't exist.
Fixes [YOCTO #15292]
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0330331a1386fd2a34b410a7f62b29bfc8dc23c4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Wed, 22 Nov 2023 09:35:01 +0000 (09:35 +0000)]
package_ipk: Fix Source: field variable dependency
The Source: variable is generated from FILE but this is excluded from checksums
normally which results in a reproduciubility issue when the filename changes.
Add in a dependency by reworking the code a little to avoid this.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3ea7da76c6930031a0071069027b1d71f737fbc9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Javier Tia <javier.tia@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47fa8d81083f1ef594f8fe6fcab3e227e9607b3f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
If we chdir(), do the chdir back to the original directory in a finally
block so they always run.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cdc40292818683b6df1c814498c7589450a163fa) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Adam Johnston [Tue, 21 Nov 2023 19:05:28 +0000 (19:05 +0000)]
useradd_base: Fix sed command line for passwd-expire
A previous commit tried to add the --follow-symlinks option to
the perform_passwd_expire function in useradd_base.bbclass, however it used
a single -.
This is interpreted as --file=ollow-symlinks which results in...
sed: couldn't open file ollow-symlinks: No such file or directory
and...
ERROR: <image name>: passwd --expire operation did not succeed.
Fix by adding the missing -
Signed-off-by: Adam Johnston <adam.johnston@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c0deafcfcea3f610c7dd9a2d2884a16fbfe0497) Signed-off-by: Steve Sakoman <steve@sakoman.com>
As stated in the LICENSES/README.md "Unless otherwise noted, the systemd
project sources are licensed under the terms and conditions of the GNU
Lesser General Public License v2.1 or later", so replace LGPL-2.1-only
with LGPL-2.1-or-later.
With the exception of some udev sources that are licensed under
GPL-2.0-or-later (but are packaged separately), the project is licensed
under LGPL, and all the components are LGPL or under LGPL compatible
licenses. The package libsystemd is currently under the main package
license, which can cause problems when scanning for GPL software linked
to CLOSED one. Add more granularity by setting a license for libsystemd
to LGPL-2.1-or-later.
Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54975f4b2184fe12c4995c289eba8358958e6c21) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Brad King (6):
Android: Require Clang 18 for -std=c++23
Tests: Clarify RunCMake.CTestTimeout case name
ctest: Restore support for --timeout values higher than default test timeout
Help: Document CMP0124 behavior on already-set variables
FindPostgreSQL: Add support for version 16
CMake 3.27.7
Wang Mingyu [Wed, 22 Nov 2023 09:01:09 +0000 (17:01 +0800)]
libxslt: upgrade 1.1.38 -> 1.1.39
Changelog:
===========
- extensions: Don't search imports for extension prefixes
- transform: Check maximum depth when processing default templates
- build: Add more missing includes
- python: Don't set deprecated global
- build: Add missing includes
- imports: Limit nesting depth
- extensions: Report top-level elements in xsltDebugDumpExtensions
- Add extern "C" { } block to xsltlocale.h
- python: Make it compatible with python3.12
- date: Fix check for localtime_s
- date: Fix check for gmtime_s
- pkg-config files include cflags for static builds
- Handle NOCONFIG case when setting locations from CMake target properties
- autotools: Make xslt-config executable
- tests: Structured error handler now passes a const xmlError
- python: Fix tests on MinGW
- fuzz: Fix xmlFuzzEntityLoader after recent libxml2 changes
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 48b353f3fb8e5ab1853cba7faa3065d2fe6f36b4) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Wed, 22 Nov 2023 08:59:44 +0000 (16:59 +0800)]
libgcrypt: upgrade 1.10.2 -> 1.10.3
Changelog:
==========
- Fix public key computation for other EdDSA curves.
- Remove out of core handler diagnostic in FIPS mode.
- Check that the digest size is not zero in gcry_pk_sign_md and
gcry_pk_verify_md.
- Make store an s-exp with \0 is considered to be binary.
- Various constant-time improvements.
- Use getrandom call only when supported by the platform.
- Change the default for --with-libtool-modification to never.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e21583896116cf37bf6b95aea466854e4fd5e54b) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Wed, 22 Nov 2023 08:55:21 +0000 (16:55 +0800)]
ell: upgrade 0.59 -> 0.60
Changelog:
==========
-Fix issue with missing NETLINK_EXT_ACK definition.
-Fix issue with incorrect derivation of ECC compressed points.
-Add support for ECC usage from SPAKE2+ key exchange protocol.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b13c1ffadda0893561e804d2ab789bf1c401d3a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Wang Mingyu [Wed, 22 Nov 2023 08:53:52 +0000 (16:53 +0800)]
bind: upgrade 9.18.19 -> 9.18.20
Changelog:
============
-Fix missing newlines in the output of "rndc nta -dump".
-Take into account local authoritative zones when falling back to serve-stale.
-Fix assertion failure when using lock-file configuration option together -X
argument to named.
-The 'lock-file' file was being removed when it shouldn't have been making it
ineffective if named was started 3 or more times.
-Fix a shutdown race in dns__catz_update_cb().
-B.ROOT-SERVERS.NET addresses are now 170.247.170.2 and 2801:1b8:10::b.
-The timeouts for resending zone refresh queries over UDP were lowered to enable
named to more quickly determine that a primary is down.
-Don't schedule resign operations on the raw version of an inline-signing zone.
-Fix a possible assertion failure on an error path in resolver.c:fctx_query(),
when using an uninitialized link.
-Add semantic patch to do an explicit cast from char to unsigned char in ctype.h
class of functions.
-Python system tests have to be executed by invoking pytest directly. Executing
them with the legacy test runner is no longer supported.
-The wrong covered value was being set by dns_ncache_current for RRSIG records
in the returned rdataset structure. This resulted in TYPE0 being reported as
the covered value of the RRSIG when dumping the cache contents.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b34124561d926d9273c52163853161515e5666a) Signed-off-by: Steve Sakoman <steve@sakoman.com>
That's not really correct because the synchronization should happen before
interrupts are reenabled to ensure that a pending interrupt observes the
complete update of the opcodes.
It's not entirely clear whether the interrupt entry provides enough
serialization already, but moving the sync_core() invocation into interrupt
disabled region does no harm and is obviously correct.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
2/2 [
Author: Thomas Gleixner
Email: tglx@linutronix.de
Subject: x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
Date: Thu, 7 Dec 2023 20:49:26 +0100
apply_alternatives() treats alternatives with the ALT_FLAG_NOT flag set
special as it optimizes the existing NOPs in place.
Unfortunately this happens with interrupts enabled and does not provide any
form of core synchronization.
So an interrupt hitting in the middle of the update and using the affected
code path will observe a half updated NOP and crash and burn. The following
3 NOP sequence was observed to expose this crash halfways reliably under
QEMU 32bit:
Where only #1 and #4 are true NOPs. The same problem exists for 64bit obviously.
Disable interrupts around this NOP optimization and invoke sync_core()
before reenabling them.
Fixes: 270a69c4485d ("x86/alternative: Support relocations in alternatives") Reported-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable@vger.kernel.org Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c8d29ab6b02c5b783429db3b67583deb1637142) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Sat, 23 Dec 2023 08:45:07 +0000 (08:45 +0000)]
linux/cve-exclusion6.1: Update to latest kernel point release
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4ffd18d3e71b935acc050b106267db544d86df7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Thu, 21 Dec 2023 14:25:06 +0000 (09:25 -0500)]
linux-yocto/6.1: update to v6.1.66
Updating to the latest korg -stable release that comprises
the following commits:
6c6a6c7e211c Linux 6.1.66 ea574927fc0b iomap: update ki_pos a little later in iomap_dio_complete adf0ecebf00a x86/apic/msi: Fix misconfigured non-maskable MSI quirk b3b839fb636b x86/xen: fix percpu vcpu_info allocation 00bc8b2cf44c xen: simplify evtchn_do_upcall() call maze 9311a0ff388a xen: Allow platform PCI interrupt to be shared 402b8323461c r8169: fix deadlock on RTL8125 in jumbo mtu mode 22ee0ddb2af7 r8169: disable ASPM in case of tx timeout 10ce6301009f drm/amd/display: Fix MPCC 1DLUT programming 8332cb6c6339 drm/amd/display: Fix the delta clamping for shaper LUT 442a4d4d0157 drm/amd/display: clean code-style issues in dcn30_set_mpc_shaper_3dlut 6cd736272165 drm/amd/display: Expand kernel doc for DC 8b01195be4a9 mmc: sdhci-sprd: Fix vqmmc not shutting down after the card was pulled 38d3216032c9 mmc: core: add helpers mmc_regulator_enable/disable_vqmmc 0e0a95166882 drm/amd/pm: fix a memleak in aldebaran_tables_init 59862b869275 iommu/vt-d: Make context clearing consistent with context mapping ee2c2247690c iommu/vt-d: Disable PCI ATS in legacy passthrough mode 8f39d297a26a iommu/vt-d: Add device_block_translation() helper 3787b3168b6c iommu/vt-d: Allocate pasid table in device probe path 681aeeda413d iommu/vt-d: Omit devTLB invalidation requests when TES=0 8aaed5b81d26 cpufreq: imx6q: Don't disable 792 Mhz OPP unnecessarily d3788f6e9d5a cpufreq: imx6q: don't warn for disabling a non-existing frequency 195514bda626 drm/amd/display: Guard against invalid RPTR/WPTR being set 395a63ca1ad2 drm/amd/display: Restore rptr/wptr for DMCUB as workaround 4ec4508db975 spi: Fix null dereference on suspend b57eebfb80e8 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset 5bc8d96fedce PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers 10c3d86fea04 octeontx2-af: Initialize 'cntr_val' to fix uninitialized symbol error 1c8f75ee9233 PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card 7545ddda9c98 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot. 21feaf558f93 net: ravb: Keep reverse order of operations in ravb_remove() 8d04278ff48b net: ravb: Stop DMA in case of failures on ravb_open() 52b751686cbf net: ravb: Start TX queues after HW initialization succeeded e2db25d16cdd net: ravb: Make write access to CXR35 first before accessing other EMAC registers f5c649ce7975 net: ravb: Use pm_runtime_resume_and_get() 149b2fe12aca net: ravb: Check return value of reset_control_deassert() 7ed2e4c2d016 ravb: Fix races between ravb_tx_timeout_work() and net related ops 8b1d088be5f1 r8169: prevent potential deadlock in rtl8169_close 9c4ac2d98a48 octeontx2-pf: Restore TC ingress police rules when interface is up aef2d5b3e56e octeontx2-af: Install TC filter rules in hardware based on priority 662b88708408 octeontx2-pf: Fix adding mbox work queue entry when num_vfs > 64 5d5bcfb1ca8d net: stmmac: xgmac: Disable FPE MMC interrupts 334e6378c28c octeontx2-af: Fix possible buffer overflow c3e974e9c4bb selftests/net: mptcp: fix uninitialized variable warnings 12dd4c1bf3bd selftests/net: unix: fix unused variable compiler warning 4e999af7cf8a selftests/net: fix a char signedness issue 249ceee95caf selftests/net: ipsec: fix constant out of range e01249a83939 uapi: propagate __struct_group() attributes to the container union fd91b48f108d dpaa2-eth: increase the needed headroom to account for alignment 94445d958307 ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet f89fef7710b2 usb: config: fix iteration issue in 'usb_get_bos_descriptor()' 9aff7c51b440 USB: core: Change configuration warnings to notices c89b34eef336 USB: xhci-plat: fix legacy PHY double init 307a6525c82a wifi: cfg80211: fix CQM for non-range use e8c1105c0ccc serial: sc16is7xx: add missing support for rs485 devicetree properties 55061c323075 serial: sc16is7xx: Put IOControl register into regmap_volatile a491c7be35ed auxdisplay: hd44780: move cursor home after clear display command 7f2116777541 Input: xpad - add HyperX Clutch Gladiate Support 7a105de27538 btrfs: fix 64bit compat send ioctl arguments not initializing version member 32912ee86931 btrfs: make error messages more clear when getting a chunk map 4fc9c61c02c0 btrfs: send: ensure send_fd is writable 86742a963fe6 btrfs: fix off-by-one when checking chunk map includes logical address 9fe447c485ed btrfs: ref-verify: fix memory leaks in btrfs_ref_tree_mod() 3f26d9b257ad btrfs: add dmesg output for first mount and last unmount of a filesystem 0ad7d59e7901 parisc: Mark altinstructions read-only and 32-bit aligned cf2ae6494d1f parisc: Ensure 32-bit alignment on parisc unwind section 2acfff573042 parisc: Mark jump_table naturally aligned 3793cd2ded7c parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codes 79a1fdf4c212 parisc: Mark lock_aligned variables 16-byte aligned on SMP 41d7852a0a39 parisc: Use natural CPU alignment for bug_table c7c78a4aa60a parisc: Mark ex_table entries 32-bit aligned in uaccess.h 645e4b693b5e parisc: Mark ex_table entries 32-bit aligned in assembly.h c23b9eaca80c powerpc: Don't clobber f0/vs0 during fp|altivec register save e6bc42fae6b8 KVM: PPC: Book3S HV: Fix KVM_RUN clobbering FP/VEC user registers 59419ebcc0a6 iommu/vt-d: Add MTL to quirk list to skip TE disabling 0b48970ce102 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR fc98ea2699c0 dma-buf: fix check in dma_resv_add_fence 4da1556996fa cpufreq/amd-pstate: Fix the return value of amd_pstate_fast_switch() 9d4c721c1866 powercap: DTPM: Fix unneeded conversions to micro-Watts a62ca58bb3cc nvme: check for valid nvme_identify_ns() before using it 82b5e603edd4 dm verity: don't perform FEC for failed readahead IO 6f5a9fc94bfc dm verity: initialize fec io before freeing it 7cfc3884a8bb drm/amd/display: fix ABM disablement 859a3a9f1e6b drm/amd/display: Update min Z8 residency time to 2100 for DCN314 6ef7f13c72df drm/amd/display: Use DRAM speed from validation for dummy p-state a67c18704706 drm/amd/display: Remove min_dst_y_next_start check for Z8 33ed892f0cde drm/amd/display: Include udelay when waiting for INBOX0 ACK c5cf436c8969 drm/amdgpu: Force order between a read and write to the same address c60884296300 drm/amd: Enable PCIe PME from D3 cebccbe80165 scsi: sd: Fix system start for ATA devices 181fd67dc5b9 scsi: Change SCSI device boolean fields to single bit flags 7d2faae81b57 dm-verity: align struct dm_verity_fec_io properly da9f55393f69 ALSA: hda/realtek: Add supported ALC257 for ChromeOS f4b130213497 ALSA: hda/realtek: Headset Mic VREF to 100% 65654af4c8a6 ALSA: hda: Disable power-save on KONTRON SinglePC ba911edc6c0c mmc: block: Be sure to wait while busy in CQE error recovery eab9ec644637 mmc: block: Do not lose cache flush during CQE error recovery e121f6d73d2e mmc: block: Retry commands in CQE error recovery 3a9a9c256f02 mmc: cqhci: Fix task clearing in CQE error recovery def67fd8efde mmc: cqhci: Warn of halt or task clear failure 2ebc8b758c7d mmc: cqhci: Increase recovery halt timeout d2fc10e262b5 mmc: sdhci-pci-gli: Disable LPM during initialization 87ceaa8521fc firewire: core: fix possible memory leak in create_units() db0b69e46da6 pinctrl: avoid reload of p state in list iteration 74820f7406a1 smb: client: report correct st_size for SMB and NFS symlinks 60fed17ca5b8 cifs: Fix FALLOC_FL_INSERT_RANGE by setting i_size after EOF moved 6406cce4b22d cifs: Fix FALLOC_FL_ZERO_RANGE by setting i_size if EOF moved
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83c13368918a69ad63ee957f3d03362e366afe42) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Commit ade8a0f59844 ("drm/i915: Make all GPU resets atomic") added a
preempt disable section over the hardware reset callback to prepare the
driver for being able to reset from atomic contexts.
In retrospect I can see that the work item at a time was about removing
the struct mutex from the reset path. Code base also briefly entertained
the idea of doing the reset under stop_machine in order to serialize
userspace mmap and temporary glitch in the fence registers (see eb8d0f5af4ec ("drm/i915: Remove GPU reset dependence on struct_mutex"),
but that never materialized and was soon removed in 2caffbf11762
("drm/i915: Revoke mmaps and prevent access to fence registers across
reset") and replaced with a SRCU based solution.
As such, as far as I can see, today we still have a requirement that
resets must not sleep (invoked from submission tasklets), but no need to
support invoking them from a truly atomic context.
Given that the preemption section is problematic on RT kernels, since the
uncore lock becomes a sleeping lock and so is invalid in such section,
lets try and remove it. Potential downside is that our short waits on GPU
to complete the reset may get extended if CPU scheduling interferes, but
in practice that probably isn't a deal breaker.
In terms of mechanics, since the preemption disabled block is being
removed we just need to replace a few of the wait_for_atomic macros into
busy looping versions which will work (and not complain) when called from
non-atomic sections.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Chris Wilson <chris.p.wilson@intel.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Link: https://lore.kernel.org/r/20230705093025.3689748-1-tvrtko.ursulin@linux.intel.com Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
[PG: backport from v6.4-rt ; minor context fixup caused by b7d70b8b06ed] Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Clark Williams <williams@redhat.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
2/17 [
Author: Clark Williams
Email: clrkwllms@kernel.org
Subject: 'Linux 6.1.33-rt11'
Date: Mon, 12 Jun 2023 10:40:02 -0500
Signed-off-by: Clark Williams <clrkwllms@kernel.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
5/17 [
Author: Sebastian Andrzej Siewior
Email: bigeasy@linutronix.de
Subject: io-mapping: don't disable preempt on RT in io_mapping_map_atomic_wc().
Date: Fri, 10 Mar 2023 17:29:05 +0100
io_mapping_map_atomic_wc() disables preemption and pagefaults for
historical reasons. The conversion to io_mapping_map_local_wc(), which
only disables migration, cannot be done wholesale because quite some call
sites need to be updated to accommodate with the changed semantics.
On PREEMPT_RT enabled kernels the io_mapping_map_atomic_wc() semantics are
problematic due to the implicit disabling of preemption which makes it
impossible to acquire 'sleeping' spinlocks within the mapped atomic
sections.
PREEMPT_RT replaces the preempt_disable() with a migrate_disable() for
more than a decade. It could be argued that this is a justification to do
this unconditionally, but PREEMPT_RT covers only a limited number of
architectures and it disables some functionality which limits the coverage
further.
Limit the replacement to PREEMPT_RT for now. This is also done
kmap_atomic().
6/17 [
Author: Sebastian Andrzej Siewior
Email: bigeasy@linutronix.de
Subject: locking/rwbase: Mitigate indefinite writer starvation
Date: Tue, 21 Mar 2023 17:11:40 +0100
On PREEMPT_RT, rw_semaphore and rwlock_t locks are unfair to writers.
Readers can indefinitely acquire the lock unless the writer fully acquired
the lock, which might never happen if there is always a reader in the
critical section owning the lock.
Mel Gorman reported that since LTP-20220121 the dio_truncate test case
went from having 1 reader to having 16 readers and that number of readers
is sufficient to prevent the down_write ever succeeding while readers
exist. Eventually the test is killed after 30 minutes as a failure.
Mel proposed a timeout to limit how long a writer can be blocked until
the reader is forced into the slowpath.
Thomas argued that there is no added value by providing this timeout. From
a PREEMPT_RT point of view, there are no critical rw_semaphore or rwlock_t
locks left where the reader must be preferred.
Mitigate indefinite writer starvation by forcing the READER into the
slowpath once the WRITER attempts to acquire the lock.
Reported-by: Mel Gorman <mgorman@techsingularity.net> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Mel Gorman <mgorman@techsingularity.net> Link: https://lore.kernel.org/877cwbq4cq.ffs@tglx Link: https://lore.kernel.org/r/20230321161140.HMcQEhHb@linutronix.de Cc: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit 286deb7ec03d941664ac3ffaff58814b454adf65) Signed-off-by: Clark Williams <clark.williams@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
7/17 [
Author: Paolo Abeni
Email: pabeni@redhat.com
Subject: revert: "softirq: Let ksoftirqd do its job"
Date: Mon, 8 May 2023 08:17:44 +0200
Due to the mentioned commit, when the ksoftirqd processes take charge
of softirq processing, the system can experience high latencies.
In the past a few workarounds have been implemented for specific
side-effects of the above:
commit 1ff688209e2e ("watchdog: core: make sure the watchdog_worker is not deferred")
commit 8d5755b3f77b ("watchdog: softdog: fire watchdog even if softirqs do not get to run")
commit 217f69743681 ("net: busy-poll: allow preemption in sk_busy_loop()")
commit 3c53776e29f8 ("Mark HI and TASKLET softirq synchronous")
but the latency problem still exists in real-life workloads, see the
link below.
The reverted commit intended to solve a live-lock scenario that can now
be addressed with the NAPI threaded mode, introduced with commit 29863d41bb6e ("net: implement threaded-able napi poll loop support"),
and nowadays in a pretty stable status.
While a complete solution to put softirq processing under nice resource
control would be preferable, that has proven to be a very hard task. In
the short term, remove the main pain point, and also simplify a bit the
current softirq implementation.
Note that this change also reverts commit 3c53776e29f8 ("Mark HI and
TASKLET softirq synchronous") and commit 1342d8080f61 ("softirq: Don't
skip softirq execution when softirq thread is parking"), which are
direct follow-ups of the feature commit. A single change is preferred to
avoid known bad intermediate states introduced by a patch series
reverting them individually.
There is an explicit wait-type violation in debug_object_fill_pool()
for PREEMPT_RT=n kernels which allows them to more easily fill the
object pool and reduce the chance of allocation failures.
Lockdep's wait-type checks are designed to check the PREEMPT_RT
locking rules even for PREEMPT_RT=n kernels and object to this, so
create a lockdep annotation to allow this to stand.
Specifically, create a 'lock' type that overrides the inner wait-type
while it is held -- allowing one to temporarily raise it, such that
the violation is hidden.
9/17 [
Author: Wander Lairson Costa
Email: wander@redhat.com
Subject: sched: avoid false lockdep splat in put_task_struct()
Date: Wed, 14 Jun 2023 09:23:22 -0300
In put_task_struct(), a spin_lock is indirectly acquired under the kernel
stock. When running the kernel in real-time (RT) configuration, the
operation is dispatched to a preemptible context call to ensure
guaranteed preemption. However, if PROVE_RAW_LOCK_NESTING is enabled
and __put_task_struct() is called while holding a raw_spinlock, lockdep
incorrectly reports an "Invalid lock context" in the stock kernel.
This false splat occurs because lockdep is unaware of the different
route taken under RT. To address this issue, override the inner wait
type to prevent the false lockdep splat.
Signed-off-by: Wander Lairson Costa <wander@redhat.com> Suggested-by: Oleg Nesterov <oleg@redhat.com> Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Suggested-by: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt <rostedt@goodmis.org> Cc: Luis Goncalves <lgoncalv@redhat.com> Link: https://lore.kernel.org/r/20230614122323.37957-3-wander@redhat.com Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
(cherry picked from commit a5e446e728e89d5f5c5e427cc919bc7813c64c28) Signed-off-by: Clark Williams <clark.williams@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
10/17 [
Author: Sebastian Andrzej Siewior
Email: bigeasy@linutronix.de
Subject: mm/page_alloc: Use write_seqlock_irqsave() instead write_seqlock() + local_irq_save().
Date: Fri, 23 Jun 2023 22:15:17 +0200
__build_all_zonelists() acquires zonelist_update_seq by first disabling
interrupts via local_irq_save() and then acquiring the seqlock with
write_seqlock(). This is troublesome and leads to problems on
PREEMPT_RT. The problem is that the inner spinlock_t becomes a sleeping
lock on PREEMPT_RT and must not be acquired with disabled interrupts.
The API provides write_seqlock_irqsave() which does the right thing in
one step.
printk_deferred_enter() has to be invoked in non-migrate-able context to
ensure that deferred printing is enabled and disabled on the same CPU.
This is the case after zonelist_update_seq has been acquired.
There was discussion on the first submission that the order should be:
local_irq_disable();
printk_deferred_enter();
write_seqlock();
to avoid pitfalls like having an unaccounted printk() coming from
write_seqlock_irqsave() before printk_deferred_enter() is invoked. The
only origin of such a printk() can be a lockdep splat because the
lockdep annotation happens after the sequence count is incremented.
This is exceptional and subject to change.
It was also pointed that PREEMPT_RT can be affected by the printk
problem since its write_seqlock_irqsave() does not really disable
interrupts. This isn't the case because PREEMPT_RT's printk
implementation differs from the mainline implementation in two important
aspects:
- Printing happens in a dedicated threads and not at during the
invocation of printk().
- In emergency cases where synchronous printing is used, a different
driver is used which does not use tty_port::lock.
Acquire zonelist_update_seq with write_seqlock_irqsave() and then defer
printk output.
Fixes: 1007843a91909 ("mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock") Acked-by: Michal Hocko <mhocko@suse.com> Reviewed-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20230623201517.yw286Knb@linutronix.de Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
(cherry picked from commit 4d1139baae8bc4fff3728d1d204bdb04c13dbe10) Signed-off-by: Clark Williams <clark.williams@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
11/17 [
Author: Sebastian Andrzej Siewior
Email: bigeasy@linutronix.de
Subject: bpf: Remove in_atomic() from bpf_link_put().
Date: Wed, 14 Jun 2023 10:34:30 +0200
bpf_free_inode() is invoked as a RCU callback. Usually RCU callbacks are
invoked within softirq context. By setting rcutree.use_softirq=0 boot
option the RCU callbacks will be invoked in a per-CPU kthread with
bottom halves disabled which implies a RCU read section.
On PREEMPT_RT the context remains fully preemptible. The RCU read
section however does not allow schedule() invocation. The latter happens
in mutex_lock() performed by bpf_trampoline_unlink_prog() originated
from bpf_link_put().
It was pointed out that the bpf_link_put() invocation should not be
delayed if originated from close(). It was also pointed out that other
invocations from within a syscall should also avoid the workqueue.
Everyone else should use workqueue by default to remain safe in the
future (while auditing the code, every caller was preemptible except for
the RCU case).
Let bpf_link_put() use the worker unconditionally. Add
bpf_link_put_direct() which will directly free the resources and is used
by close() and from within __sys_bpf().
12/17 [
Author: Thomas Gleixner
Email: tglx@linutronix.de
Subject: posix-timers: Ensure timer ID search-loop limit is valid
Date: Thu, 1 Jun 2023 20:58:47 +0200
posix_timer_add() tries to allocate a posix timer ID by starting from the
cached ID which was stored by the last successful allocation.
This is done in a loop searching the ID space for a free slot one by
one. The loop has to terminate when the search wrapped around to the
starting point.
But that's racy vs. establishing the starting point. That is read out
lockless, which leads to the following problem:
So CPU1 can observe a negative start value, i.e. -1, and the loop break
never happens because the condition can never be true:
if (sig->posix_timer_id == start)
break;
While this is unlikely to ever turn into an endless loop as the ID space is
huge (INT_MAX), the racy read of the start value caught the attention of
KCSAN and Dmitry unearthed that incorrectness.
Rewrite it so that all id operations are under the hash lock.
Reported-by: syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Frederic Weisbecker <frederic@kernel.org> Link: https://lore.kernel.org/r/87bkhzdn6g.ffs@tglx
(cherry picked from commit 8ce8849dd1e78dadcee0ec9acbd259d239b7069f) Signed-off-by: Clark Williams <clark.williams@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53e612c42ce438b100505c93d8bb65e59f49895d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Ross Burton [Mon, 18 Dec 2023 14:18:25 +0000 (14:18 +0000)]
linux-yocto: update CVE exclusions
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4cfc4187ac90a4504b93a01ff6333d14928728a8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dhairya Nagodra [Mon, 11 Dec 2023 10:05:00 +0000 (02:05 -0800)]
cve-update-nvd2-native: increase the delay between subsequent request failures
Sometimes NVD servers are unstable and return too many errors.
There is an option to have higher fetch attempts to increase the chances
of successfully fetching the CVE data.
Additionally, it also makes sense to progressively increase the delay
after a failed request to an already unstable or busy server.
The increase in delay is reset after every successful request and
the maximum delay is limited to 30 seconds.
Also, the logs are improved to give more clarity.
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7101d654635b707e56b0dbae8c2146b312d211ea) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dhairya Nagodra [Mon, 11 Dec 2023 10:04:59 +0000 (02:04 -0800)]
cve-update-nvd2-native: faster requests with API keys
As per NVD, the public rate limit is 5 requests in 30s (6s delay).
Using an API key increases the limit to 50 requests in 30s (0.6s delay).
However, NVD still recommends sleeping for several seconds so that the
other legitimate requests are serviced without denial or interruption.
Keeping the default sleep at 6 seconds and 2 seconds with an API key.
For failures, the wait time is unchanged (6 seconds).
Peter Marko [Mon, 27 Nov 2023 19:55:36 +0000 (20:55 +0100)]
cve-update-nvd2-native: make number of fetch attemtps configurable
Sometimes NVD servers are unstable and return too many errors.
Last time we increased number of attempts from 3 to 5, but
further increasing is not reasonable as in normal case
too many retries is just abusive.
Keep retries low as default and allow to increase as needed.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b6fd8043d83b99000054ab6ad2c745d07c6bcc1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This variable is not referenced in oe-core anymore.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 905b45a814cb33327503b793741c19b44c8550b3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Tue, 19 Dec 2023 14:29:32 +0000 (14:29 +0000)]
testimage: Exclude wtmp from target-dumper commands
wtmp is filled with binary data which the run_serial command can't cope with.
Catting this results in confusion of the serial interface and potentially large
backlogs of data in the buffers which can hang qemu.
Exclude the problematic files from the command.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 599ac08a6f6fb3f6a89a897c8e06367c63c2f979) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Rasmus Villemoes [Wed, 13 Dec 2023 03:34:09 +0000 (11:34 +0800)]
perf: lift TARGET_CC_ARCH modification out of security_flags.inc
Building perf without security_flags.inc being included in one's
distro results in the buildpaths warning
WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/bin/trace in
package perf contains reference to TMPDIR
because the ${DEBUG_PREFIX_MAP} does not get used. Most recipes get
that from CFLAGS, but the perf recipe explicitly unsets that.
Now ${SELECTED_OPTIMIZATION} of course contains more than just
${DEBUG_FLAGS}/${DEBUG_PREFIX_MAP}. For most TUs, perf's build system
adds its own optimization flags (-O6 for odd reasons), so for those
including the -O2 or -Og doesn't change anything. But looking at the
.o.cmd files show that there are some TUs which currently get built
without any -O flag. So for those adding the distro's
SELECTED_OPTIMIZATION seem to be the right thing to do.
Sundeep KOKKONDA [Thu, 14 Dec 2023 11:31:39 +0000 (03:31 -0800)]
binutils: stable 2.41 branch updates
Below commits on binutils-2.41 stable branch are updated. eb49941e7e1 Gold/MIPS: Add targ_extra_size=64 for mips32 triples c27eff41737 Gold/MIPS: Use EM_MIPS instead of EM_MIPS_RS3_LE for little endian 7fe76f02413 x86-64: fix suffix-less PUSH of symbol address
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Sundeep KOKKONDA [Thu, 14 Dec 2023 11:29:40 +0000 (03:29 -0800)]
glibc: stable 2.38 branch updates
Below commits on glibc-2.38 stable branch are updated. 44f757a636 LoongArch: Delete excessively allocated memory. bf5aa419cb elf: Fix wrong break removal from 8ee878592c 63dbbc5c52 sysdeps: sem_open: Clear O_CREAT when semaphore file is expected to exist [BZ #30789] 1e04dcec49 Revert "elf: Move l_init_called_next to old place of l_text_end in link map" 719866ab2f Revert "elf: Always call destructors in reverse constructor order (bug 30785)" e0b6c9706c Revert "elf: Remove unused l_text_end field from struct link_map"
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Richard Purdie [Mon, 6 Nov 2023 14:51:12 +0000 (14:51 +0000)]
sstate: Ensure sstate searches update file mtime
Commands like "bitbake XXX -S printdiff" search for sstate files but don't download
them. This means that local files aren't touched as the download code would do, meaning
the sstate cleanup scripts can delete them. This can then lead to obtuse build failures.
Have the search code touch local files in the same way as the main code paths would to
avoid these files disappearing.
Move the function to a common touch() function in lib/oe instead of duplicating code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a27fc0bd5706ab5b9c68a0271fcf57377a678cdf) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Follow the example of rust and cargo classes and pass RUST_HOST_SYS and
RUST_BUILD_SYS to rustc's --target argument instead of bare HOST_SYS and
BUILD_SYS.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1471c6c076f544ccd6f0722c82878311199881a7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
oeqa/selftest/tinfoil: Add tests that parse virtual recipes
Running `devtool search gcc` would result in errors for virtual recipes.
The reason was the newly introduced :layer-<layername> override.
When tinfoil parsed the recipes using the parseRecipeFile() function, it
failed to properly identify the layername for virtual recipes, which
resulted in the errors.
Add tests that exercise these code paths through parseRecipeFile().
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Tue, 5 Dec 2023 04:27:01 +0000 (23:27 -0500)]
linux-yocto/6.5: update to v6.5.13
Updating to the latest korg -stable release that comprises
the following commits:
4631960b4700 Linux 6.5.13 a9d6c0c5a6bd net/mlx5e: Track xmit submission to PTP WQ after populating metadata map c712654d6f36 net/mlx5e: Avoid referencing skb after free-ing in drop path of mlx5e_sq_xmit_wqe 2c9de867ca28 tracing: Have trace_event_file have ref counters 1f59a2a92855 powerpc/powernv: Fix fortify source warnings in opal-prd.c 7aded92aeb75 drm/amd/display: Change the DMCUB mailbox memory location from FB to inbox 353bc3849241 drm/amd/display: Enable fast plane updates on DCN3.2 and above 5b14cf37b9f0 drm/amd/display: fix a NULL pointer dereference in amdgpu_dm_i2c_xfer() 562176ea823a drm/amd/display: Fix DSC not Enabled on Direct MST Sink 5b37ee61b89d drm/amd/display: Guard against invalid RPTR/WPTR being set f3385c9b8ed4 drm/amdgpu: Fix possible null pointer dereference ed8fc80b1950 drm/amdgpu: lower CS errors to debug severity b827ed7014a0 drm/amdgpu: fix error handling in amdgpu_bo_list_get() 7c6574dd032c drm/amdgpu: fix error handling in amdgpu_vm_init 8c3b198fac82 drm/amdgpu: don't use ATRM for external devices 6f6177558004 drm/amdgpu: add a retry for IP discovery init a5bd0c0d3189 drm/amdgpu: fix GRBM read timeout when do mes_self_test 045d5eec88d2 drm/amdgpu: don't use pci_is_thunderbolt_attached() 02eb46bb2150 drm/amdgpu/smu13: drop compute workload workaround 5392874af8ab drm/amd/pm: Fix error of MACO flag setting code 5d614170fa1f drm/i915: Flush WC GGTT only on required platforms 1e019d6bcb44 drm/i915: Fix potential spectre vulnerability 0990bd1ff1bf drm/i915: Bump GLK CDCLK frequency when driving multiple pipes 9dfc6bc4a6a2 drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL 59d2eee68804 drm: bridge: it66121: ->get_edid callback must not return err pointers f0a11733bd03 drm/amd/pm: Handle non-terminated overdrive commands. e3b83d87c93e ext4: fix racy may inline data check in dio write 8b7e09f9b955 ext4: properly sync file size update after O_SYNC direct IO 13859f9e6493 ext4: add missed brelse in update_backups edfb7b8d36ab ext4: remove gdb backup copy for meta bg in setup_new_flex_group_blocks 079d796c58f2 ext4: correct the start block of counting reserved clusters 8547701c3b0a ext4: correct return value of ext4_convert_meta_bg ec51fb39b173 ext4: mark buffer new if it is unwritten to avoid stale data exposure a9ceb3e26c7c ext4: correct offset of gdb backup in non meta_bg group to update_backups aaa3bd727255 ext4: apply umask if ACL support is disabled d1769a4c92b3 ext4: make sure allocate pending entry not fail a937cf1c90d1 ext4: fix race between writepages and remount cdbfce536cfa Revert "net: r8169: Disable multicast filter for RTL8168H and RTL8107E" e33abcd82f9c media: qcom: camss: Fix csid-gen2 for test pattern generator 51792b41ee52 media: qcom: camss: Fix invalid clock enable bit disjunction 4122d47ad139 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3 c25c6d618eda media: qcom: camss: Fix missing vfe_lite clocks check d8cd7a8645c2 media: qcom: camss: Fix VFE-480 vfe_disable_output() e428d0f3e42f media: qcom: camss: Fix VFE-17x vfe_disable_output() 820b967c0384 media: qcom: camss: Fix vfe_get() error jump 2dbb91675d6b media: qcom: camss: Fix pm_domain_on sequence in probe 967a522b5123 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of AER ddb96a13b277 r8169: add handling DASH when DASH is disabled 89a0fc500471 r8169: fix network lost after resume on DASH systems 533108f04a57 selftests: mptcp: fix fastclose with csum failure c8e74731fff0 mptcp: fix setsockopt(IP_TOS) subflow locking e729027888e9 mptcp: add validity check for sending RM_ADDR 342b528c0e84 mptcp: deal with large GSO size 9a7982259028 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors 77227943445e mm: fix for negative counter: nr_file_hugepages 641061405579 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM L1.2 5fb6a480a0fa riscv: kprobes: allow writing to x0 c93d4b75f58e riscv: correct pt_level name via pgtable_l5/4_enabled 85efe51890ef riscv: mm: Update the comment of CONFIG_PAGE_OFFSET 05b2911ac941 riscv: put interrupt entries into .irqentry.text 8d497507ce26 riscv: Using TOOLCHAIN_HAS_ZIHINTPAUSE marco replace zihintpause 9c3115d8549a LoongArch: Mark __percpu functions as always inline 4ce011ebb640 NFSD: Update nfsd_cache_append() to use xdr_stream 90ceb1e85869 nfsd: fix file memleak on client_opens_release 3cdc6b90ef59 dm-verity: don't use blocking calls from tasklets f6af719e355d dm-bufio: fix no-sleep mode 02d2f24aaeee drm/mediatek/dp: fix memory leak on ->get_edid callback error path d82dbbb169f2 drm/mediatek/dp: fix memory leak on ->get_edid callback audio detection f310c613afdf media: ccs: Correctly initialise try compose rectangle da2617b32b4d media: venus: hfi: add checks to handle capabilities from firmware bc3ade714672 media: venus: hfi: fix the check to handle session buffer requirement 8da410e429d2 media: venus: hfi_parser: Add check to keep the number of codecs within range c7f45dd39318 media: sharp: fix sharp encoding 3163d9bf64e5 media: lirc: drop trailing space from scancode transmit 9de787139b02 f2fs: split initial and dynamic conditions for extent_cache 6fca08fd3085 f2fs: avoid format-overflow warning ea8df211997b f2fs: set the default compress_level on ioctl e08a8d94f982 f2fs: do not return EFSCORRUPTED, but try to run online repair 3ec63129137e i2c: i801: fix potential race in i801_block_transaction_byte_by_byte 1c5ffd27c542 gfs2: don't withdraw if init_threads() got interrupted e92237ba0704 net: phylink: initialize carrier state at creation 55c7b046cd1f net: dsa: lan9303: consequently nested-lock physical MDIO 82c9a9456b82 net: ethtool: Fix documentation of ethtool_sprintf() d67fce6b1368 s390/ap: fix AP bus crash on early config change callback invocation bc73f5ef079c i2c: designware: Disable TX_EMPTY irq while waiting for block length byte 0e094322aad6 sbsa_gwdt: Calculate timeout with 64-bit math 3a0a398bedeb lsm: fix default return value for inode_getsecctx b564c10d4e95 lsm: fix default return value for vm_enough_memory 695a358a3905 Revert "i2c: pxa: move to generic GPIO recovery" db205ac66fda Revert ncsi: Propagate carrier gain/loss events to the NCSI controller 30fb55283841 ALSA: hda/realtek: Add quirks for HP Laptops d9d0d1c1d880 ALSA: hda/realtek: Enable Mute LED on HP 255 G10 1bc8a597307c ALSA: hda/realtek - Enable internal speaker of ASUS K6500ZC 966b51c45080 ALSA: hda/realtek - Add Dell ALC295 to pin fall back table 96865995ccd2 ALSA: hda/realtek: Enable Mute LED on HP 255 G8 746820e6963a ALSA: info: Fix potential deadlock at disconnection 0b214ccbc778 btrfs: zoned: wait for data BG to be finished on direct IO allocation f13f25184a9f xfs: recovery should not clear di_flushiter unconditionally 64af62c8977a cifs: Fix encryption of cleared, but unset rq_iter data buffers 50f4b57fc561 cifs: do not reset chan_max if multichannel is not supported at mount 48a8c1891851 cifs: force interface update before a fresh session setup 9bf434f12957 cifs: reconnect helper should set reconnect for the right channel b9bb9607b1fc smb: client: fix potential deadlock when releasing mids 6db94d08359c smb: client: fix use-after-free in smb2_query_info_compound() 89929ea46f9c smb: client: fix use-after-free bug in cifs_debug_data_proc_show() ef97cb5e93f7 smb3: fix caching of ctime on setxattr 2d29a938bf62 smb3: allow dumping session and tcon id to improve stats analysis and debugging e0748969c6d7 smb3: fix touch -h of symlink 34e11da3eb40 smb3: fix creating FIFOs when mounting with "sfu" mount option e28562567c72 fs: add ctime accessors infrastructure 45fa91b09bdb xhci: Enable RPM on controllers that support low-power states b57e254d5ef4 parisc/power: Fix power soft-off when running on qemu 339ac29c6811 parisc/pgtable: Do not drop upper 5 address bits of physical address c1b8ef9d7b8f parisc: Prevent booting 64-bit kernels on PA1.x machines 6fc3231df968 mm/hugetlb: use nth_page() in place of direct struct page manipulation 45b910169533 mm/hugetlb: prepare hugetlb_follow_page_mask() for FOLL_PIN a231a59ec94c rcutorture: Fix stuttering races and other issues c85633590547 torture: Make torture_hrtimeout_ns() take an hrtimer mode parameter 05eb10004221 torture: Move stutter_wait() timeouts to hrtimers 3bdabd7be640 torture: Make torture_hrtimeout_*() use TASK_IDLE aac54ca1a64c torture: Add lock_torture writer_fifo module parameter 525bcb9c290c torture: Add a kthread-creation callback to _torture_create_kthread() ecc89436729b PCI: Lengthen reset delay for VideoPropulsion Torrent QN16e card 776edaebd616 PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers b5b24f7693fe pmdomain: imx: Make imx pgc power domain also set the fwnode d2cc57f71327 pmdomain: amlogic: Fix mask for the second NNA mem PD domain 47ceb5151c49 pmdomain: bcm: bcm2835-power: check if the ASB register is equal to enable 37179fcc916b cxl/port: Fix delete_endpoint() vs parent unregistration race 92ce68f7db0a cxl/region: Fix x1 root-decoder granularity calculations 276c11fba093 i3c: master: svc: fix random hot join failure since timeout error d85cce9a5cbc i3c: master: svc: fix SDA keep low when polling IBIWON timeout happen ccf8c93a3cdb i3c: master: svc: fix check wrong status register in irq handler de3f849e2fb9 i3c: master: svc: fix ibi may not return mandatory data byte f448576547a1 i3c: master: svc: fix wrong data return when IBI happen during start frame 3cce94303f3d i3c: master: svc: fix race condition in ibi work thread 7dc6161114a3 i3c: master: cdns: Fix reading status register 9090c5537c93 cxl/region: Do not try to cleanup after cxl_region_setup_targets() fails 3c6facb35781 mtd: cfi_cmdset_0001: Byte swap OTP info b3759b87052f mm: make PR_MDWE_REFUSE_EXEC_GAIN an unsigned long cabf0ae76cc5 mm/memory_hotplug: use pfn math in place of direct struct page manipulation bec1ed638f26 mm/cma: use nth_page() in place of direct struct page manipulation 569955a7bfa9 s390/cmma: fix detection of DAT pages 61c903a28d73 s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc() 6c4a91f9bb4a dmaengine: stm32-mdma: correct desc prep when channel running 5f74466e7a1e mcb: fix error handling for different scenarios when parsing b2f00346f57b driver core: Release all resources during unbind before updating device links 6d6b2578403a tracing: Have the user copy of synthetic event address use correct context 1d221014dba1 selftests/clone3: Fix broken test under !CONFIG_TIME_NS 8c3fa52a46ff i2c: core: Run atomic i2c xfer when !preemptible f81088082b15 kernel/reboot: emergency_restart: Set correct system_state 21468aca2b52 quota: explicitly forbid quota files from being encrypted 3925c0fb5932 jbd2: fix potential data lost in recovering journal raced with synchronizing fs bdev e0fe12248779 ASoC: codecs: wsa-macro: fix uninitialized stack variables with name prefix 19ed109e1aba hid: lenovo: Resend all settings on reset_resume for compact keyboards 496c5ca14f39 selftests/resctrl: Reduce failures due to outliers in MBA/MBM tests 49ff765672bb selftests/resctrl: Move _GNU_SOURCE define into Makefile a91a4e52bfe7 selftests/resctrl: Remove duplicate feature check from CMT test 23e60a15bbd0 selftests/resctrl: Fix uninitialized .sa_flags 6f33bfaa762b ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag 94da565664b0 ASoC: soc-dai: add flag to mute and unmute stream during trigger e31eb7d9b7e4 netfilter: nf_tables: split async and sync catchall in two functions e3e68e617bfa netfilter: nf_tables: remove catchall element in GC sync path 0d29174959bc ima: detect changes to the backing overlay file f2f0144e826b ima: annotate iint mutex to avoid lockdep false positive warnings 4ce77b023d42 mfd: qcom-spmi-pmic: Fix revid implementation 5487d746f77c mfd: qcom-spmi-pmic: Fix reference leaks in revid helper db76d11bdad1 leds: trigger: netdev: Move size check in set_device_name c8a439e96aaa arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size 0361d86f8a06 arm64: dts: qcom: ipq9574: Fix hwlock index for SMEM a7c6fa8ecdd3 ACPI: FPDT: properly handle invalid FPDT subtables 8398f2209474 firmware: qcom_scm: use 64-bit calling convention only when client is 64-bit 68d8d8c659ac arm64: dts: qcom: ipq8074: Fix hwlock index for SMEM 1fe0d9fa75ce arm64: dts: qcom: ipq5332: Fix hwlock index for SMEM 6a3866dbdcf3 thermal: intel: powerclamp: fix mismatch in get function for max_idle 5b2ed3c04a06 btrfs: don't arbitrarily slow down delalloc if we're committing 94fda7ef2f1c rcu: kmemleak: Ignore kmemleak false positives when RCU-freeing objects ca6769551657 PM: hibernate: Clean up sync_read handling in snapshot_write_next() 54a964575b7a PM: hibernate: Use __get_safe_page() rather than touching the list 3480c1cd3bcf dt-bindings: timer: renesas,rz-mtu3: Fix overflow/underflow interrupt names 59fef3cc602a arm64: dts: qcom: ipq6018: Fix hwlock index for SMEM 11b83785f525 rcu/tree: Defer setting of jiffies during stall reset 1dc5f364e065 svcrdma: Drop connection after an RDMA Read error 6aaf7cd8bdfe wifi: wilc1000: use vmm_table as array in wilc struct 6a1cbc40579e PCI: exynos: Don't discard .remove() callback 34198b3c544e PCI: kirin: Don't discard .remove() callback 560ba0deb73e PCI/ASPM: Fix L1 substate handling in aspm_attr_store_common() d7769b51d85e mmc: Add quirk MMC_QUIRK_BROKEN_CACHE_FLUSH for Micron eMMC Q2J54A 65204e28a0d0 mmc: sdhci_am654: fix start loop index for TAP value parsing c1008f77e6c9 mmc: vub300: fix an error code 09d9d8b40a33 ksmbd: fix slab out of bounds write in smb_inherit_dacl() 8434e0237913 ksmbd: handle malformed smb1 message b464f6c8df07 ksmbd: fix recursive locking in vfs helpers 94e6378e1a70 clk: qcom: ipq6018: drop the CLK_SET_RATE_PARENT flag from PLL clocks 499ebc29b6d6 clk: qcom: ipq8074: drop the CLK_SET_RATE_PARENT flag from PLL clocks 75f9b1a3ec29 clk: visconti: Fix undefined behavior bug in struct visconti_pll_provider 2718027d6bca clk: socfpga: Fix undefined behavior bug in struct stratix10_clock_data ea131894f000 powercap: intel_rapl: Downgrade BIOS locked limits pr_warn() to pr_debug() d3f1a2c43827 cpufreq: stats: Fix buffer overflow detection in trans_stats() 7a238a80e03d parisc/power: Add power soft-off when running on qemu 423d3944a2ae parisc/pdc: Add width field to struct pdc_model 4fb88c548be1 parisc/agp: Use 64-bit LE values in SBA IOMMU PDIR table 74d2059dc4dd arm64: module: Fix PLT counting when CONFIG_RANDOMIZE_BASE=n bd31e534721a arm64: Restrict CPU_BIG_ENDIAN to GNU as or LLVM IAS 15.x or newer d193f28146cf PCI: keystone: Don't discard .probe() callback 01359f23420e PCI: keystone: Don't discard .remove() callback e0cecc2aa28d KEYS: trusted: Rollback init_trusted() consistently 4745bd98ad9e KEYS: trusted: tee: Refactor register SHM usage ebd1f4898c3b sched/core: Fix RQCF_ACT_SKIP leak c62bad84b73d genirq/generic_chip: Make irq_remove_generic_chip() irqdomain aware 611dda46d77d mmc: meson-gx: Remove setting of CMD_CFG_ERROR 774de37c147f wifi: ath12k: fix dfs-radar and temperature event locking d908ca431e20 wifi: ath12k: fix htt mlo-offset event locking cf9c7d783a2b wifi: ath11k: fix gtk offload status event locking 423762f02182 wifi: ath11k: fix htt pktlog locking 1fd878e17501 wifi: ath11k: fix dfs radar event locking a9ad6fa9e582 wifi: ath11k: fix temperature event locking 117ccba0288b regmap: Ensure range selector registers are updated after cache sync 3055b7335604 ACPI: resource: Do IRQ override on TongFang GMxXGxx c85312edf701 parisc: Add nop instructions after TLB inserts d8cd49ff1fa3 mm/damon/sysfs: check error from damon_sysfs_update_target() 2e4dec8e1ba6 mm/damon/sysfs-schemes: handle tried regions sysfs directory allocation failure fadc9f448f56 mm/damon/sysfs-schemes: handle tried region directory allocation failure 47b6fa90875d mm/damon/core: avoid divide-by-zero during monitoring results update d44b509ba8af mm/damon: implement a function for max nr_accesses safe calculation dff884772b03 mm/damon/ops-common: avoid divide-by-zero during region hotness calculation 771f3a57fdd1 mm/damon/lru_sort: avoid divide-by-zero in hot threshold calculation e93ac6410de3 dm crypt: account large pages in cc->n_allocated_pages 369f7c467211 fbdev: stifb: Make the STI next font pointer a 32-bit signed offset 836db2e7e456 iommufd: Fix missing update of domains_itree after splitting iopt_area 38fae890594a watchdog: move softlockup_panic back to early_param 81c5d125ff14 mm/damon/sysfs: update monitoring target regions for online input commit 239a5a730e2a mm/damon/sysfs: remove requested targets when online-commit inputs 93a063073cc4 PCI/sysfs: Protect driver's D3cold preference from user space 5d93cb1ff604 hvc/xen: fix event channel handling for secondary consoles f17cba693e8a hvc/xen: fix error path in xen_hvc_init() to always register frontend driver b0ba80e8a6fe hvc/xen: fix console unplug fa71a72cd641 tty: serial: meson: fix hard LOCKUP on crtscts mode 82ed32865a03 tty/sysrq: replace smp_processor_id() with get_cpu() 9e4b54247cfd proc: sysctl: prevent aliased sysctls from getting passed to init 0e8e06574ca4 audit: don't WARN_ON_ONCE(!current->mm) in audit_exe_compare() 6ccef3ff7e79 audit: don't take task_lock() in audit_exe_compare() code path 3eacee28b152 sched: psi: fix unprivileged polling against cgroups c242318d0b92 mmc: sdhci-pci-gli: GL9755: Mask the replay timer timeout of AER b1f329180409 KVM: x86: Fix lapic timer interrupt lost after loading a snapshot. d09a0eaf01b2 KVM: x86: Clear bit12 of ICR after APIC-write VM-exit 080e6d79066f KVM: x86: Ignore MSR_AMD64_TW_CFG access 144b8472b699 KVM: x86: hyper-v: Don't auto-enable stimer on write from user-space e22352ec91e2 x86/cpu/hygon: Fix the CPU topology evaluation for real 2d0463ee5add x86/apic/msi: Fix misconfigured non-maskable MSI quirk 4a142ea152ba x86/PCI: Avoid PME from D3hot/D3cold for AMD Rembrandt and Phoenix USB4 72a40e561f3d crypto: x86/sha - load modules based on CPU features 8f15a7e3c054 scsi: ufs: core: Fix racing issue between ufshcd_mcq_abort() and ISR 07bc6e424419 scsi: qla2xxx: Fix system crash due to bad pointer access 32e63c396f78 scsi: ufs: qcom: Update PHY settings only when scaling to higher gears 09bcc704da4b scsi: megaraid_sas: Increase register read retry rount from 3 to 30 for selected registers fc3166ddfbe8 scsi: mpt3sas: Fix loop logic 69327243558f bpf: Fix precision tracking for BPF_ALU | BPF_TO_BE | BPF_END a101d1262799 bpf: Fix check_stack_write_fixed_off() to correctly spill imm a32e62eb903a randstruct: Fix gcc-plugin performance mode to stay in group 6cfee0c86eee powerpc/perf: Fix disabling BHRB and instruction sampling 6066567c5bd2 perf intel-pt: Fix async branch flags 4edc7e66c014 media: venus: hfi: add checks to perform sanity on queue pointers 2c86b24095fc drivers: perf: Check find_first_bit() return value 8d60852e8cc9 perf: arm_cspmu: Reject events meant for other PMUs bf8e10503008 i915/perf: Fix NULL deref bugs with drm_dbg() calls c8ace8d25274 perf/core: Fix cpuctx refcounting 109b452cc842 cifs: fix check of rc in function generate_smb3signingkey eeba3f02bb99 cifs: spnego: add ';' in HOST_KEY_LEN 95cd9b8efb1c scsi: ufs: core: Expand MCQ queue slot to DeviceQueueDepth + 1 8c7037da3d0e tools/power/turbostat: Enable the C-state Pre-wake printing b309f567636a tools/power/turbostat: Fix a knl bug 9b2e63f1bea6 macvlan: Don't propagate promisc change to lower dev in passthru b4c2de028ea4 net: sched: do not offload flows with a helper in act_ct ba8d40609562 net/mlx5e: Check return value of snprintf writing to fw_version buffer for representors 5f36c6760cc9 net/mlx5e: Check return value of snprintf writing to fw_version buffer 3d764c41725c net/mlx5e: Reduce the size of icosq_str aee07f286930 net/mlx5: Increase size of irq name buffer 42b11d1293e5 net/mlx5e: Update doorbell for port timestamping CQ before the software counter 647eb36aaeca net/mlx5e: Add recovery flow for tx devlink health reporter for unhealthy PTP SQ e729382c297e net/mlx5e: Make tx_port_ts logic resilient to out-of-order CQEs 11bffa0c4ef2 net/mlx5: Consolidate devlink documentation in devlink/mlx5.rst 57fb34e36fad net/mlx5e: Fix pedit endianness 3585f0b2afda net/mlx5e: fix double free of encap_header in update funcs ac2dd6c892e4 net/mlx5e: fix double free of encap_header 8b9491d50ca4 net/mlx5: Decouple PHC .adjtime and .adjphase implementations e87fa62ebc59 io_uring/fdinfo: remove need for sqpoll lock for thread/pid retrieval a533c9763c3f gve: Fixes for napi_poll when budget is 0 cb9e4507cca7 pds_core: fix up some format-truncation complaints 9c9d97c88536 pds_core: use correct index to mask irq b435b4573240 net: stmmac: avoid rx queue overrun c40a19f57010 net: stmmac: fix rx budget limit check 72caa17c14b4 netfilter: nf_tables: bogus ENOENT when destroying element which does not exist 1a605657adc5 netfilter: nf_tables: fix pointer math issue in nft_byteorder_eval() cbb43d024952 netfilter: nf_conntrack_bridge: initialize err to 0 eae0b295ce16 af_unix: fix use-after-free in unix_stream_read_actor() b971f116733c net: ethernet: cortina: Fix MTU max setting 458cc008c723 net: ethernet: cortina: Handle large frames fbe560020a5f net: ethernet: cortina: Fix max RX frame define 87c49806a37f bonding: stop the device in bond_setup_by_slave() fa9dac68ce73 ptp: annotate data-race around q->head and q->tail e9c309ded295 blk-mq: make sure active queue usage is held for bio_integrity_prep() 36fcea86f71d xen/events: fix delayed eoi list handling ebbb5baa134a ppp: limit MRU to 64K 230dc06e2495 net: mvneta: fix calls to page_pool_get_stats b70f095b30ee tipc: Fix kernel-infoleak due to uninitialized TLV value e4514960282d net: hns3: fix VF wrong speed and duplex issue 96f9229c8459 net: hns3: fix VF reset fail issue cdae6292604c net: hns3: fix variable may not initialized problem in hns3_init_mac_addr() be1f703f39ef net: hns3: fix out-of-bounds access may occur when coalesce info is read via debugfs 3a948d0aed3d net: hns3: fix incorrect capability bit display for copper port 3d7e5e30124b net: hns3: add barrier in vf mailbox reply process 53ba90be73c1 net: hns3: fix add VLAN fail issue 0ad883132835 xen/events: avoid using info_for_irq() in xen_send_IPI_one() fdd76a1e9353 tty: Fix uninit-value access in ppp_sync_receive() 8872dc638c24 ipvlan: add ipvlan_route_v6_outbound() helper d239d81b660b net: set SOCK_RCU_FREE before inserting socket into hashtable d31958f65e48 bpf: fix precision backtracking instruction iteration 732b237269e0 bpf: handle ldimm64 properly in check_cfg() 9aea191c29e1 gcc-plugins: randstruct: Only warn about true flexible arrays ae8ea4e20067 vhost-vdpa: fix use after free in vhost_vdpa_probe() ba9626b4c2bb vdpa_sim_blk: allocate the buffer zeroed 50aa75671d30 drm/i915/tc: Fix -Wformat-truncation in intel_tc_port_init 5e43db2d8c1d gfs2: Silence "suspicious RCU usage in gfs2_permission" warning a00a7a028bcd riscv: provide riscv-specific is_trap_insn() 377befc2e809 RISC-V: hwprobe: Fix vDSO SIGSEGV 1cdb52ffd660 SUNRPC: Fix RPC client cleaned up the freed pipefs dentries b8919192ab62 NFSv4.1: fix SP4_MACH_CRED protection for pnfs IO 5d215bd58b1e SUNRPC: Add an IS_ERR() check back to where it was 3c51fac1ae19 NFSv4.1: fix handling NFS4ERR_DELAY when testing for session trunking 37c6ca6a1931 drm/i915/mtl: avoid stringop-overflow warning 8250fdd1daa3 mtd: rawnand: meson: check return value of devm_kasprintf() 6fc0bc01eef1 mtd: rawnand: intel: check return value of devm_kasprintf() 0b8fb1758ef6 SUNRPC: ECONNRESET might require a rebind cc0ccee308e8 dt-bindings: serial: fix regex pattern for matching serial node children 61576b7a0f28 samples/bpf: syscall_tp_user: Fix array out-of-bound access 923697c686e7 samples/bpf: syscall_tp_user: Rename num_progs into nr_tests 64cdff87126d sched/core: Optimize in_task() and in_interrupt() a bit de9b4f65e9e2 wifi: iwlwifi: Use FW rate for non-data frames e651a075d817 mtd: rawnand: tegra: add missing check for platform_get_irq() c19a8794bf4f pwm: Fix double shift bug 81663506ed83 drm/amdgpu: fix software pci_unplug on some chips 5764e6c861f2 ALSA: hda/realtek: Add quirk for ASUS UX7602ZM 1acf0293d713 drm/qxl: prevent memory leak 4e35ae99f85d ASoC: ti: omap-mcbsp: Fix runtime PM underflow warnings fe4eb2157d8c i2c: dev: copy userspace array safely 1493baaf09e3 riscv: VMAP_STACK overflow detection thread-safe c99fff688529 kgdb: Flush console before entering kgdb on panic 6d8653b1a7a8 drm/amd/display: Avoid NULL dereference of timing generator 10ec5a97f8f5 media: imon: fix access to invalid resource for the second interface 163c0a38dfaf media: ccs: Fix driver quirk struct documentation 359f6509b342 media: cobalt: Use FIELD_GET() to extract Link Width ba5c85a4f30c gfs2: fix an oops in gfs2_permission 212f112fe5e9 gfs2: ignore negated quota changes 6928a428218e media: ipu-bridge: increase sensor_name size be36843c9691 media: vivid: avoid integer overflow 93bddd6529f1 media: gspca: cpia1: shift-out-of-bounds in set_flicker 3cb79a365e7c i3c: master: mipi-i3c-hci: Fix a kernel panic for accessing DAT_data. 017278f14114 virtio-blk: fix implicit overflow on virtio_max_dma_size ef0de19402e5 i2c: sun6i-p2wi: Prevent potential division by zero 43306cc76119 i2c: fix memleak in i2c_new_client_device() f10b93471818 i2c: i801: Add support for Intel Birch Stream SoC 7c2b91b30d74 i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler 454a176943a2 9p: v9fs_listxattr: fix %s null argument warning e0f8790383ef 9p/trans_fd: Annotate data-racy writes to file::f_flags a65245d663ee usb: gadget: f_ncm: Always set current gadget in ncm_bind() 95d3f58e1d4e usb: host: xhci: Avoid XHCI resume delay if SSUSB device is not present ecf58b678d4b f2fs: fix error handling of __get_node_page 184b4e42d929 f2fs: fix error path of __f2fs_build_free_nids 38f43d43f20a soundwire: dmi-quirks: update HP Omen match 5b13bb603d05 usb: ucsi: glink: use the connector orientation GPIO to provide switch events 5a6afa6a8427 usb: dwc3: core: configure TX/RX threshold for DWC3_IP 11fbc8357820 phy: qualcomm: phy-qcom-eusb2-repeater: Zero out untouched tuning regs d86b03dc9041 phy: qualcomm: phy-qcom-eusb2-repeater: Use regmap_fields 5fe0d30ecdc4 dt-bindings: phy: qcom,snps-eusb2-repeater: Add magic tuning overrides 4a24a3182624 tty: vcc: Add check for kstrdup() in vcc_probe() 5440e83534ee thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager b028f89c56e9 iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe() d6703d4a0686 mfd: intel-lpss: Add Intel Lunar Lake-M PCI IDs 807ee5504236 exfat: support handle zero-size directory e9cf5b36ef98 HID: Add quirk for Dell Pro Wireless Keyboard and Mouse KM5221W 5b6af0a7196a crypto: hisilicon/qm - prevent soft lockup in receive loop 9e7c0059fbe1 ASoC: Intel: soc-acpi-cht: Add Lenovo Yoga Tab 3 Pro YT3-X90 quirk 4113955cb689 PCI: Use FIELD_GET() in Sapphire RX 5600 XT Pulse quirk 4c525492f1c5 misc: pci_endpoint_test: Add Device ID for R-Car S4-8 PCIe controller 1567af9a411c PCI: dwc: Add missing PCI_EXP_LNKCAP_MLW handling 89973bbce2c8 PCI: dwc: Add dw_pcie_link_set_max_link_width() 27622f8b50ba PCI: Disable ATS for specific Intel IPU E2000 devices 0ac15627471b PCI: Extract ATS disabling to a helper function 5bb6d731d45e PCI: Use FIELD_GET() to extract Link Width f6fe7261b92b scsi: libfc: Fix potential NULL pointer dereference in fc_lport_ptp_setup() 668b8ec30762 PCI: Do error check on own line to split long "if" conditions db8e4d8567a7 atm: iphase: Do PCI error checks on own line 4faeebe638ca PCI: mvebu: Use FIELD_PREP() with Link Width 7f7d54926b39 PCI: tegra194: Use FIELD_GET()/FIELD_PREP() with Link Width fields def5e864ca2d gpiolib: of: Add quirk for mt2701-cs42448 ASoC sound fe7c1a0c2b25 ALSA: hda: Fix possible null-ptr-deref when assigning a stream c23ff8ea21bd ARM: 9320/1: fix stack depot IRQ stack filter 9de5ae56f4f3 HID: lenovo: Detect quirk-free fw on cptkbd and stop applying workaround 665b44e55c27 jfs: fix array-index-out-of-bounds in diAlloc 88b7894a8f87 jfs: fix array-index-out-of-bounds in dbFindLeaf dca403bb035a fs/jfs: Add validity check for db_maxag and db_agpref 491085258185 fs/jfs: Add check for negative db_l2nbperpage d2af4ef80601 scsi: ibmvfc: Remove BUG_ON in the case of an empty event pool 75a2656260fe scsi: hisi_sas: Set debugfs_dir pointer to NULL after removing debugfs b3e52db0e9d1 RDMA/hfi1: Use FIELD_GET() to extract Link Width f5437f4a3ec9 ASoC: SOF: ipc4: handle EXCEPTION_CAUGHT notification from firmware e134f3aba98e crypto: pcrypt - Fix hungtask for PADATA_RESET 355946538c39 ASoC: SOF: Pass PCI SSID to machine driver e670059e8c20 ASoC: soc-card: Add storage for PCI SSID 0adc6613c263 ASoC: mediatek: mt8188-mt6359: support dynamic pinctrl 9da3382085dc selftests/efivarfs: create-read: fix a resource leak a7e2f27557df arm64: dts: ls208xa: use a pseudo-bus to constrain usb dma size 5b4574b663d0 drm/amd: check num of link levels when update pcie param 3b0135937936 drm/amd/display: fix num_ways overflow error 1f20cb1da4dd drm/amd: Disable PP_PCIE_DPM_MASK when dynamic speed switching not supported 820daf9ffe2b drm/amdgpu: Fix a null pointer access when the smc_rreg pointer is NULL d33a35b13cbf drm/amdkfd: Fix shift out-of-bounds issue 16f77d4264c4 drm/panel: st7703: Pick different reset sequence 8c6c85a07376 drm/amdgpu/vkms: fix a possible null pointer dereference 22d7ec972cd9 drm/radeon: fix a possible null pointer dereference 9268bfd76beb drm/panel/panel-tpo-tpg110: fix a possible null pointer dereference 4fa930ba046d drm/panel: fix a possible null pointer dereference b0702ee4d811 drm/amdgpu: Fix potential null pointer derefernce 7c68283f3166 drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga 6dffdddfca81 drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7 dec5469ce9f5 drm/msm/dp: skip validity check for DP CTS EDID checksum 1eacb4c96e73 drm: vmwgfx_surface.c: copy user-array safely 301e597e7b81 drm_lease.c: copy user-array safely c7acf02df167 kernel: watch_queue: copy user-array safely b0ed017a2b97 kernel: kexec: copy user-array safely 5562f0a42844 string.h: add array-wrappers for (v)memdup_user() 811539a2ec93 drm/amd/display: use full update for clip size increase of large plane source e9b638de04b0 drm/amd: Update `update_pcie_parameters` functions to use uint8_t arguments c772eacbd6d0 drm/amdkfd: Fix a race condition of vram buffer unref in svm code 3ec74308f17a drm/amdgpu: not to save bo in the case of RAS err_event_athub 77eee682f437 md: don't rely on 'mddev->pers' to be set in mddev_suspend() c2a7847c0d4b drm/edid: Fixup h/vsync_end instead of h/vtotal de7550fe430f drm/amd/display: add seamless pipe topology transition check 356dee34f5db drm/amd/display: Don't lock phantom pipe on disabling f1035d36fd45 drm/amd/display: Blank phantom OTG before enabling 11c3ebd1d2b7 drm/komeda: drop all currently held locks if deadlock happens c7f81cd3e9c9 drm/amdkfd: ratelimited SQ interrupt messages d6f17735d8da drm/gma500: Fix call trace when psb_gem_mm_init() fails 54d7dd51345a platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e 99171d81c5bc of: address: Fix address translation when address-size is greater than 2 3df4c7945390 platform/chrome: kunit: initialize lock for fake ec_dev ad1b721c9d16 gpiolib: acpi: Add a ignore interrupt quirk for Peaq C1010 6165ae149eaa tsnep: Fix tsnep_request_irq() format-overflow warning 6a2c311fd0dc ACPI: EC: Add quirk for HP 250 G7 Notebook PC fc666d1b4751 Bluetooth: Fix double free in hci_conn_cleanup 0048ddf045bd Bluetooth: btusb: Add date->evt_skb is NULL check dd860dff8058 wifi: iwlwifi: mvm: fix size check for fw_link_id cc8de9383c72 bpf: Ensure proper register state printing for cond jumps cb2cfbec0982 vsock: read from socket's error queue 104922ba6602 net: sfp: add quirk for FS's 2.5G copper SFP aa47f6382bd1 wifi: ath10k: Don't touch the CE interrupt registers after power up b2e99ba69ce6 wifi: ath12k: mhi: fix potential memory leak in ath12k_mhi_register() fb3a71a8383f net: annotate data-races around sk->sk_dst_pending_confirm 37e1a89a8728 net: annotate data-races around sk->sk_tx_queue_mapping 437538c00f19 wifi: mt76: mt7921e: Support MT7992 IP in Xiaomi Redmibook 15 Pro (2023) cde2a1d8c9da net: sfp: add quirk for Fiberstone GPON-ONU-34-20BI 8d95caf80366 ACPI: APEI: Fix AER info corruption when error status data has multiple sections dfe13eaab043 wifi: ath12k: fix possible out-of-bound write in ath12k_wmi_ext_hal_reg_caps() 0b8e7c1169a6 wifi: ath10k: fix clang-specific fortify warning 79527c21a3ce wifi: ath12k: fix possible out-of-bound read in ath12k_htt_pull_ppdu_stats() c4992b79fadc wifi: ath9k: fix clang-specific fortify warnings 327b92e8cb52 bpf: Detect IP == ksym.end as part of BPF program 54a6152da499 atl1c: Work around the DMA RX overflow issue adc2474d823f wifi: mac80211: don't return unset power in ieee80211_get_tx_power() 6100f6013af0 wifi: mac80211_hwsim: fix clang-specific fortify warning b8966720c3a0 wifi: ath12k: Ignore fragments from uninitialized peer in dp ed0ac28cbc2a wifi: plfxlc: fix clang-specific fortify warning 66e460eeaa70 x86/mm: Drop the 4 MB restriction on minimal NUMA node memory size d112c682c47f workqueue: Provide one lock class key per work_on_cpu() callsite 335a47ed71e3 cpu/hotplug: Don't offline the last non-isolated CPU 2ca04946b4ea smp,csd: Throw an error if a CSD lock is stuck for too long d4d2297d04bf srcu: Only accelerate on enqueue time c05cbfcb6eee clocksource/drivers/timer-atmel-tcb: Fix initialization on SAM9 hardware 8ea7a452dc7d clocksource/drivers/timer-imx-gpt: Fix potential memory leak 161a323c60d0 selftests/lkdtm: Disable CONFIG_UBSAN_TRAP in test config 8c3b1175d152 srcu: Fix srcu_struct node grpmask overflow on 64-bit systems 2424410f94a9 perf/core: Bail out early if the request AUX area is out of bound c485c94c0b8b x86/retpoline: Make sure there are no unconverted return thunks due to KCSAN ec298b958cb0 lib/generic-radix-tree.c: Don't overflow in peek() 96612b6f99d5 btrfs: abort transaction on generation mismatch when marking eb as dirty e36407713163 locking/ww_mutex/test: Fix potential workqueue corruption
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e28367970d90ffdd501c1876a950e645486bdaf1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Tue, 5 Dec 2023 04:26:57 +0000 (23:26 -0500)]
linux-yocto/6.5: update to v6.5.11
Updating to the latest korg -stable release that comprises
the following commits:
799441832db1 Linux 6.5.11 dd1756d79179 ASoC: SOF: sof-pci-dev: Fix community key quirk detection aab16960e6e7 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection 575d3966a7da serial: core: Fix runtime PM handling for pending tx 9f625a9ec6ad misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP device support fe3545fb7c39 dt-bindings: serial: rs485: Add rs485-rts-active-high 71a913eb5331 tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks 7ffbf5db6963 tty: 8250: Add support for Intashield IX cards 8435b1f55760 tty: 8250: Add support for additional Brainboxes PX cards 21b8147a36f8 tty: 8250: Fix up PX-803/PX-857 98f984ff81de tty: 8250: Fix port count of PX-257 256a534427e9 tty: 8250: Add support for Intashield IS-100 933dde5b2082 tty: 8250: Add support for Brainboxes UP cards a4a09f0ed3cd tty: 8250: Add support for additional Brainboxes UC cards ca7f138b2c52 tty: 8250: Remove UC-257 and UC-431 19d34b73234a tty: n_gsm: fix race condition in status line change on dead connections fd277724946d Bluetooth: hci_bcm4377: Mark bcm4378/bcm4387 as BROKEN_LE_CODED 885108988763 usb: raw-gadget: properly handle interrupted requests 9ee038590d80 usb: typec: tcpm: Fix NULL pointer dereference in tcpm_pd_svdm() de5ac4d46304 usb: typec: tcpm: Add additional checks for contaminant 80105fc04b44 usb: storage: set 1.50 as the lower bcdDevice for older "Super Top" compatibility c99f302ea679 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD device 52d89332fbc6 ALSA: usb-audio: add quirk flag to enable native DSD for McIntosh devices c75a5e421b07 mmap: fix error paths with dup_anon_vma() 578c20ab383f mmap: fix vma_iterator in error path of vma_merge() cd91606eff46 perf evlist: Avoid frequency mode for the dummy event 65d457433a08 power: supply: core: Use blocking_notifier_call_chain to avoid RCU complaint a58f5fabcab0 rust: types: make `Opaque` be `!Unpin` 7fba72536eb5 rust: make `UnsafeCell` the outer type in `Opaque` 07256dc046b1 drm/amd/display: Don't use fsleep for PSR exit waits 4ec5def87694 ceph_wait_on_conflict_unlink(): grab reference before dropping ->d_lock fd652af1e1f9 io_uring: kiocb_done() should *not* trust ->ki_pos if ->{read,write}_iter() failed fd318cc5b221 powerpc/mm: Fix boot crash with FLATMEM c1d14ab7d666 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en() b233d39f7e15 r8152: Check for unplug in rtl_phy_patch_request() 19471af243b2 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw 17002b8f2606 riscv: dts: thead: set dma-noncoherent to soc bus 9f0400d31e56 drm/amdgpu: Reserve fences for VM update 6ca3c25f5472 platform/mellanox: mlxbf-tmfifo: Fix a warning message 6cca6f997088 netfilter: nf_tables: audit log object reset once per table 99d311781fe5 LoongArch: Disable WUC for pgprot_writecombine() like ioremap_wc() 6b43fea5f245 LoongArch: Replace kmap_atomic() with kmap_local_page() in copy_user_highpage() c86a4fbc2d5a LoongArch: Export symbol invalid_pud_table for modules building 74f9c03ecf79 LoongArch: Use SYM_CODE_* to annotate exception handlers 19fe554e5fcf gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET 4ca54e8b459d drm/amdgpu: Unset context priority is now invalid 4debab37b1bc ASoC: da7219: Correct the process of setting up Gnd switch in AAD 22da32b45717 scsi: mpt3sas: Fix in error path 8377f82beacf fbdev: uvesafb: Call cn_del_callback() at the end of uvesafb_exit() 0a997e6eeee8 fbdev: omapfb: fix some error codes 93ff3297b04a drm/ttm: Reorder sys manager cleanup step 0074d0980bf8 s390/kasan: handle DCSS mapping in memory holes 652d60ecb7a5 ASoC: codecs: tas2780: Fix log of failed reset via I2C. 4dd62532e05c ASoC: rt5650: fix the wrong result of key button ce5329ee79e5 efi: fix memory leak in krealloc failure handling c76be4af694e x86/efistub: Don't try to print after ExitBootService() 5c4e4f31643d net/mlx5: Bridge, fix peer entry ageing in LAG mode ead8d9a6b6ff netfilter: nfnetlink_log: silence bogus compiler warning 988ed1c96c42 ASoC: soc-dapm: Add helper for comparing widget name c68a8c5b50b9 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0 6777f23bca89 fs/ntfs3: Avoid possible memory leak b9ec0e799a2d fs/ntfs3: Fix directory element type detection 0030ccd87a87 fs/ntfs3: Fix NULL pointer dereference on error in attr_allocate_frame() 3228a2e0e5a7 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr() d408008a881a fs/ntfs3: Do not allow to change label if volume is read-only da05aa786c20 fs/ntfs3: Add more info into /proc/fs/ntfs3/<dev>/volinfo 31baaf864b39 fs/ntfs3: Fix alternative boot searching 1d7dd485108d fs/ntfs3: Add more attributes checks in mi_enum_attr() 36ffca949ab2 fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN) 28ece3bd8596 fs/ntfs3: Write immediately updated ntfs state 8d3d7dbdbddd fs/ntfs3: Add ckeck in ni_update_parent() 78b4576f0e38 fbdev: atyfb: only use ioremap_uc() on i386 and ia64 83a28f46ed3c Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport a18a7cc55c5b media: i2c: ov8858: Don't set fwnode in the driver d4c3cb925e65 powerpc/85xx: Fix math emulation exception 0cae483a9c8e ata: pata_parport: fit3: implement IDE command set registers e2fa6f732a73 ata: pata_parport: add custom version of wait_after_reset 142ac0fda553 dmaengine: ste_dma40: Fix PM disable depth imbalance in d40_probe 5976e4ed1405 irqchip/stm32-exti: add missing DT IRQ flag translation b65f1eec2d8e irqchip/riscv-intc: Mark all INTC nodes as initialized 4b0dfa2fc745 can: flexcan: remove the auto stop mode for IMX93 4bd493ce8d74 arm64: dts: imx93: add the Flex-CAN stop mode by GPR 92705546718b net: sched: cls_u32: Fix allocation size in u32_init() 6f9195596a6f ASoC: tlv320adc3xxx: BUG: Correct micbias setting 31af9e3be3cd ASoC: core: Do not call link_exit() on uninitialized rtd objects 0716f52fa334 ASoC: fsl-asoc-card: use integer type for fll_id and pll_id ac947c0992ef coresight: tmc-etr: Disable warnings for allocation failures 4dfa1e33d481 ASoC: simple-card: fixup asoc_simple_probe() error handling 8555438a0d87 ASoC: Intel: sof_sdw: add support for SKU 0B14
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f56f12e7353f97855befb765ca8c0117736cb96) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Tue, 5 Dec 2023 04:26:56 +0000 (23:26 -0500)]
linux-yocto/6.5: cfg: split runtime and symbol debug
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: Bruce Ashfield
Email: bruce.ashfield@gmail.com
Subject: debug: move PREEMPT_DEBUG to a runtime debug fragment
Date: Thu, 9 Nov 2023 12:08:31 -0500
For tools like spdx and debuggers to work with the kernel, we
require extra information. That is provided by the DEBUG_INFO
flags.
In that same fragment, some runtime debugging is being enabled
and that adds signficant overhead to the kernel.
Let's start a new runtime debug fragment with DEBUG_PREEMPT
and locking. We can add more to this in the future.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8cd829de8e8770aa4a46e984f6ef2cab3194fd29) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 8 Nov 2023 14:16:29 +0000 (09:16 -0500)]
linux-yocto/6.5: update to v6.5.10
Updating to the latest korg -stable release that comprises
the following commits:
43a868577dfc Linux 6.5.10 062c1ba88b4f accel/ivpu/37xx: Fix missing VPUIP interrupts cdb4daffc2d4 mm/damon/sysfs: check DAMOS regions update progress from before_terminate() a5c9f6289625 platform/x86: Add s2idle quirk for more Lenovo laptops adebf494e425 clk: stm32: Fix a signedness issue in clk_stm32_composite_determine_rate() 302479e2d4c4 clk: socfpga: gate: Account for the divider in determine_rate 5193aec42c45 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name d1e039180f81 sparc32: fix a braino in fault handling in csum_and_copy_..._user() 516177805997 perf/core: Fix potential NULL deref 25de47d0d6e7 x86/cpu: Add model number for Intel Arrow Lake mobile processor 3256ad9bb4ce x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility 7f864ab94da3 x86/tsc: Defer marking TSC unstable to a worker cfa5aa4a5ea2 nvmem: imx: correct nregs for i.MX6UL 4f6c3da9a978 nvmem: imx: correct nregs for i.MX6SLL 3e325ac1eec9 nvmem: imx: correct nregs for i.MX6ULL bc0991e8e1fb misc: fastrpc: Unmap only if buffer is unmapped from DSP 8e4afa8598d9 misc: fastrpc: Clean buffers on remote invocation failures c2400bfd8ce4 misc: fastrpc: Free DMA handles for RPC calls with no arguments 0351f86266f6 misc: fastrpc: Reset metadata buffer to avoid incorrect free 96790d33261c tracing/kprobes: Fix the description of variable length arguments 63de22fdf851 tracing/kprobes: Fix symbol counting logic by looking at modules as well 001b2dc822d3 i2c: aspeed: Fix i2c bus hang in slave read 20062e7a248f i2c: stm32f7: Fix PEC handling in case of SMBUS transfers e505ca5d9ac0 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() 135e2858ab78 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node() 2f7671a14960 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node() 5f6dc4a12d79 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale f763aa29992d iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds f2bd3c005aba iio: exynos-adc: request second interupt only when touchscreen mode is used 0a9bb3fa6870 iio: afe: rescale: Accept only offset channels 56e08ccc9697 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid 1c43576ac2d1 kasan: print the original fault addr when access invalid shadow 6cf937305199 blk-throttle: check for overflow in calculate_bytes_allowed c031d9a8383d scsi: sd: Introduce manage_shutdown device flag 927c770488fe iavf: in iavf_down, disable queues when removing the driver de306715bc3f drm/i915/mcr: Hold GT forcewake during steering operations a90e92e77bb6 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO 180069f6b8e8 net/sched: act_ct: additional checks for outdated flows 533c24b368d7 netfilter: flowtable: GC pushes back packets to classic path 36cf7d1d79ec i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR 4c898bdfc6a1 drm/i915/perf: Determine context valid in OA reports 9ba154363a09 gtp: fix fragmentation needed check with gso 62376a558db3 gtp: uapi: fix GTPA_MAX 450d6bf74c28 net/handshake: fix file ref count in handshake_nl_accept_doit() 8279cd3af8bf wifi: mac80211: don't drop all unprotected public action frames 943431ee2a17 wifi: cfg80211: fix assoc response warning on failed links 989ac939b1a5 wifi: cfg80211: pass correct pointer to rdev_inform_bss() 9617c77f0c0e tcp: fix wrong RTO timeout when received SACK reneging a22e19386109 r8152: Release firmware if we have an error in probe 0fd9553632fd r8152: Cancel hw_phy_work if we have an error in probe 56e8946e1a25 r8152: Run the unload routine if we have errors during probe 90b49a273de0 r8152: Increase USB control msg timeout to 5000ms as per spec c11f5c496f65 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg 0d3295a43c63 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 8e0e94bf5b4a net: ethernet: adi: adin1110: Fix uninitialized variable fdba00877119 igc: Fix ambiguity in the ethtool advertising cf6fd6e0a831 neighbour: fix various data-races 5f9d1995d040 net: do not leave an empty skb in write queue 7462118b2083 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry fd9d5ad3c865 treewide: Spelling fix in comment 7e5beb46db3a i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value f927602db213 iavf: initialize waitqueues before starting watchdog_task bcbf3f442903 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1 03599d8d353a r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1 23473ffd3aec r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx 3dacf771d6e4 clk: ti: Fix missing omap5 mcbsp functional clock and aliases 202f0a4266ca clk: ti: Fix missing omap4 mcbsp functional clock and aliases 7e6cde9455e1 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels() ec4a1eed8259 ARM: OMAP: timer32K: fix all kernel-doc warnings 0bc72b967d82 btrfs: fix unwritten extent buffer after snapshotting a new subvolume ca9cd8fb3454 btrfs: remove v0 extent handling 1df7ca358099 drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() ed93977857fd drm/amd: Disable ASPM for VI w/ all Intel systems 5692e4e09f0a drm/i915/pmu: Check if pmu is closed before stopping event 7c05a73c3893 accel/ivpu: Don't enter d0i3 during FLR 4bb5ed32bf06 ARM: dts: rockchip: Fix timer clocks for RK3128 6d6e82fb8a94 ARM: dts: rockchip: Add missing quirk for RK3128's dma engine 835fdd9a36cc ARM: dts: rockchip: Add missing arm timer interrupt for RK3128 568192da05cb ARM: dts: rockchip: Fix i2c0 register address for RK3128 f4b8ef292ec6 ARM: OMAP1: ams-delta: Fix MODEM initialization failure 0a411c59897e vdpa/mlx5: Fix double release of debugfs entry 37509b77aeeb vdpa_sim_blk: Fix the potential leak of mgmt_dev a3e7e0de21cf nfsd: lock_rename() needs both directories to live on the same fs 11bc9f5c70bb maple_tree: add GFP_KERNEL to allocations in mas_expected_entries() 257931b5d8b1 hugetlbfs: extend hugetlb_vma_lock to private VMAs a6d2f04abe6a mm/mempolicy: fix set_mempolicy_home_node() previous VMA pointer c0ade01d5369 selftests/mm: include mman header to access MREMAP_DONTUNMAP identifier 941f6af9946e mm/migrate: fix do_pages_move for compat pointers 5d6ea592222a mm/page_alloc: correct start page when guard page debug is enabled 92c5ddea6a6c hugetlbfs: clear resv_map pointer if mmap fails e3f64e0bb2fa mm: fix vm_brk_flags() to not bail out while holding lock 5ee66af50c41 i40e: sync next_to_clean and next_to_process for programming status desc 6ba04d5dfd00 arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards 7bc99864cb91 arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399 7c5934f90db6 arm64: dts: qcom: sa8775p: correct PMIC GPIO label in gpio-ranges 7f5d458012fa arm64: dts: rockchip: set codec system-clock-fixed on px30-ringneck-haikou 51b3ef53fa5d arm64: dts: rockchip: use codec as clock master on px30-ringneck-haikou aa7df1844910 arm64: dts: qcom: msm8996-xiaomi: fix missing clock populate d8b34f309f36 arm64: dts: qcom: apq8096-db820c: fix missing clock populate 368b3c788e99 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE e83bce65ae80 vsock/virtio: initialize the_virtio_vsock before using VQs 7efb5418f8cb virtio_pci: fix the common cfg map size 91dacc7d5dbd virtio-crypto: handle config changed by work queue 5f8c38e9538f virtio-mmio: fix memory leak of vm_dev 84a50412e433 virtio_balloon: Fix endless deflation and inflation on arm64 436be190fbf8 smb: client: prevent new fids from being removed by laundromat f806b7e98cb9 smb: client: make laundromat a delayed worker b8c0ab226fee smb: client: do not start laundromat thread on nohandlecache b483b64677a1 smb3: do not start laundromat thread when dir leases disabled 3027d3064c71 smb3: allow controlling maximum number of cached directories 9cb2ea5d7d2a smb3: allow controlling length of time directory entries are cached with dir leases c3b054a86347 vdpa/mlx5: Fix firmware error on creation of 1k VQs
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ddbba0d5a997d428a3c63580f845c0d581cac460) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Thu, 2 Nov 2023 21:55:36 +0000 (17:55 -0400)]
linux-yocto/6.5: cfg: restore CONFIG_DEVMEM
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: C. Andy Martin
Email: cam@myfastmail.com
Subject: security.cfg: restore strict-only /dev/mem access
Date: Fri, 27 Oct 2023 11:22:06 -0400
CONFIG_DEVMEM was mistakenly not enabled, which defeats
CONFIG_STRICT_DEVMEM and friends, as it completely removes all
/dev/mem support.
Signed-off-by: C. Andy Martin <cam@myfastmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c459be32000d703aad179a4bf5ef2479813f0404) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 8 Nov 2023 14:16:30 +0000 (09:16 -0500)]
linux-yocto/6.1: update to v6.1.61
Updating to the latest korg -stable release that comprises
the following commits:
4a61839152cc Linux 6.1.61 5926b0886d0c objtool/x86: add missing embedded_insn check 2afa9f7eb15c ext4: avoid overlapping preallocations due to overflow fcefddf3a151 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow 495c4c58d684 ext4: add two helper functions extent_logical_end() and pa_logical_end() d022e4ea9c2f platform/x86: Add s2idle quirk for more Lenovo laptops 48ebeab0eda1 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name 65e5a9890e03 sparc32: fix a braino in fault handling in csum_and_copy_..._user() 8b8cde8ebb87 perf/core: Fix potential NULL deref 5e232f2205f2 x86/cpu: Add model number for Intel Arrow Lake mobile processor 63cc3d5d343d x86/i8259: Skip probing when ACPI/MADT advertises PCAT compatibility 37495846b1ef nvmem: imx: correct nregs for i.MX6UL 116671d25915 nvmem: imx: correct nregs for i.MX6SLL b90b8633ef62 nvmem: imx: correct nregs for i.MX6ULL cc87c73eac2d misc: fastrpc: Unmap only if buffer is unmapped from DSP 38c5faf2a984 misc: fastrpc: Clean buffers on remote invocation failures 7737e9384e2d misc: fastrpc: Free DMA handles for RPC calls with no arguments 1e8851b51300 misc: fastrpc: Reset metadata buffer to avoid incorrect free 5a35fc1c0091 tracing/kprobes: Fix the description of variable length arguments 91b95e3b4ac8 i2c: aspeed: Fix i2c bus hang in slave read 11602cadc9b4 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers ff0312a156cf i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() f9a7b3b33c84 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node() 48a365ae4f31 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node() 6ec84059b5e1 iio: adc: xilinx-xadc: Correct temperature offset/scale for UltraScale e26fd381bf11 iio: adc: xilinx-xadc: Don't clobber preset voltage/temperature thresholds cb01837e0f7a iio: exynos-adc: request second interupt only when touchscreen mode is used 7a641bc52f00 iio: afe: rescale: Accept only offset channels 9236d2ea6465 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid 1684909df3f4 kasan: print the original fault addr when access invalid shadow 6a5b845b57b1 blk-throttle: check for overflow in calculate_bytes_allowed bb20a245df9c scsi: sd: Introduce manage_shutdown device flag 93fa5786f972 iavf: in iavf_down, disable queues when removing the driver f7f660df65a1 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO cb115b6688b6 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR 144f93c62239 gtp: fix fragmentation needed check with gso 039a050740fc gtp: uapi: fix GTPA_MAX 664a358b7966 tcp: fix wrong RTO timeout when received SACK reneging 5b100bb0449c r8152: Release firmware if we have an error in probe ecb51a434e3d r8152: Cancel hw_phy_work if we have an error in probe 87376143df3f r8152: Run the unload routine if we have errors during probe ee73f937c5e9 r8152: Increase USB control msg timeout to 5000ms as per spec 9eb275fec602 net: usb: smsc95xx: Fix uninit-value access in smsc95xx_read_reg 7c799bc32232 net: ieee802154: adf7242: Fix some potential buffer overflow in adf7242_stats_show() 55b01c5a847e net: ethernet: adi: adin1110: Fix uninitialized variable 9d2b588fae86 igc: Fix ambiguity in the ethtool advertising fa28949c72db neighbour: fix various data-races c166dd51b628 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry 9a194064fab6 treewide: Spelling fix in comment b1ad0a147d08 i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value d8ac13acfbf7 iavf: initialize waitqueues before starting watchdog_task 66e879507b12 r8169: fix the KCSAN reported data race in rtl_rx while reading desc->opts1 d10140916e6f r8169: fix the KCSAN reported data-race in rtl_tx while reading TxDescArray[entry].opts1 4138a02c8953 r8169: fix the KCSAN reported data-race in rtl_tx() while reading tp->cur_tx 29f365f4c3b8 clk: ti: Fix missing omap5 mcbsp functional clock and aliases 2ba943c6d9eb clk: ti: Fix missing omap4 mcbsp functional clock and aliases 8d8346ed3968 firmware/imx-dsp: Fix use_after_free in imx_dsp_setup_channels() df4169fc9b8a ARM: OMAP: timer32K: fix all kernel-doc warnings 6c668e2f338b drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper() 024251bab25d drm/amd: Disable ASPM for VI w/ all Intel systems eded5f5261b8 drm/i915/pmu: Check if pmu is closed before stopping event 4f46c177c03d nfsd: lock_rename() needs both directories to live on the same fs 3262ff5826e1 maple_tree: add GFP_KERNEL to allocations in mas_expected_entries() b1b2750de123 hugetlbfs: extend hugetlb_vma_lock to private VMAs c9b066f6920d mm/migrate: fix do_pages_move for compat pointers a6fbf025e3cf mm/page_alloc: correct start page when guard page debug is enabled 0aa7b24c068c hugetlbfs: clear resv_map pointer if mmap fails 38d0d1c44255 mm: fix vm_brk_flags() to not bail out while holding lock 38930ec7670a arm64: dts: rockchip: Fix i2s0 pin conflict on ROCK Pi 4 boards 9d72254c2b7a arm64: dts: rockchip: Add i2s0-2ch-bus-bclk-off pins to RK3399 08e6b680f264 vhost: Allow null msg.size on VHOST_IOTLB_INVALIDATE 1f14ded0f165 vsock/virtio: initialize the_virtio_vsock before using VQs 534487cc3eb8 virtio_pci: fix the common cfg map size 86f467d3582e virtio-crypto: handle config changed by work queue a9d4a1ea6709 virtio-mmio: fix memory leak of vm_dev 19b30a879065 virtio_balloon: Fix endless deflation and inflation on arm64 bede8b4b5175 mcb-lpc: Reallocate memory region to avoid memory overlapping c9efc3efe450 mcb: Return actual parsed size when reading chameleon table e58ab834e48f pinctrl: qcom: lpass-lpi: fix concurrent register updates 018b11ecba76 ASoC: codecs: wcd938x: fix runtime PM imbalance on remove 508c3353fed8 ASoC: codecs: wcd938x: fix regulator leaks on probe errors 877fc75d2cf7 ASoC: codecs: wcd938x: Simplify with dev_err_probe 629ba75200a1 ASoC: codecs: wcd938x: Convert to platform remove callback returning void 1fae817d3ecb mmc: core: Fix error propagation for some ioctl commands 719c01f28130 mmc: block: ioctl: do write error check for spi 651e66d20b59 mmc: core: Align to common busy polling behaviour for mmc ioctls d3466ce4f42e KVM: x86/pmu: Truncate counter value to allowed width on write
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8b5ec2f683f71f3e708d1c6401ebe07eec1986c7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 8 Nov 2023 14:16:27 +0000 (09:16 -0500)]
linux-yocto/6.1: cfg: restore CONFIG_DEVMEM
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: C. Andy Martin
Email: cam@myfastmail.com
Subject: security.cfg: restore strict-only /dev/mem access
Date: Fri, 27 Oct 2023 11:22:06 -0400
CONFIG_DEVMEM was mistakenly not enabled, which defeats
CONFIG_STRICT_DEVMEM and friends, as it completely removes all
/dev/mem support.
Signed-off-by: C. Andy Martin <cam@myfastmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfc0cc113eabb1160b6bfd630fa75c6a3cb9c7a5) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 8 Nov 2023 14:16:26 +0000 (09:16 -0500)]
kernel-yocto: improve metadata patching
The ability to patch the kernel-yocto metadata was added to support
debug and easier test cycles on kernel-cache provided fragments. As
such, it was very simple and has limited functionality.
That being said, it is an available feature and can be improved to
handle patches that fail to apply.
The main kernel patching is already handled by the kern-tools, so
we extend the patching of the meta-data to same tools and inherit
more functinality from the scripts.
[YOCTO #15266]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e867addd6c2f508f7a95e72222e750d37f3d19d8) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Bruce Ashfield [Wed, 8 Nov 2023 14:16:25 +0000 (09:16 -0500)]
kern-tools: update SRCREV to include SECURITY.md file
To be compliant with the recent security policy, bumping
the SRCREV to pickup the SECUIRTY.md of the kern-tools
repository. It's contents are repeated below:
How to Report a Potential Vulnerability?
========================================
If you would like to report a public issue (for example, one with a released
CVE number), please report it using the [https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security
Security Bugzilla]. If you have a patch ready, submit it following the same procedure as any
other patch as described in README.md.
If you are dealing with a not-yet released or urgent issue, please send a
message to security AT yoctoproject DOT org, including as many details as
possible: the layer or software module affected, the recipe and its version,
and any example code, if available.
Branches maintained with security fixes
---------------------------------------
See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable release and LTS]
for detailed info regarding the policies and maintenance of Stable branches.
The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a list of all
releases of the Yocto Project. Versions in grey are no longer actively maintained with
security patches, but well-tested patches may still be accepted for them for
significant issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fbdfc28b290ea3ed2dc3dbbaf461adc2839eb8f2) Signed-off-by: Steve Sakoman <steve@sakoman.com>