Compare commits

...

1811 Commits

Author SHA1 Message Date
Steve Sakoman
ff9ca74e17 build-appliance-image: Update to styhead head revision
(From OE-Core rev: 62dfe689246d648f9970a5476716e486b1a33765)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:51:50 -08:00
Steve Sakoman
ad45230448 poky.conf: bump version for 5.1.2
(From meta-yocto rev: 8a166a1e1845cc8c6cee5bf10479c90bdffe72c4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Xiangyu Chen
d55092f458 lttng-modules: fix sched_stat_runtime changed in Linux 6.6.66
The following commit has been backported into the 6.6.y branch.

See upstream commit:

    commit 5fe6ec8f6ab549b6422e41551abb51802bd48bc7
    Author: Peter Zijlstra <peterz@infradead.org>
    Date:   Mon Nov 6 13:41:43 2023 +0100

        sched: Remove vruntime from trace_sched_stat_runtime()

That caused building the lttng-modules report compile error:

       tracepoint-event-impl.h:133:6: error: conflicting types for
       'trace_sched_stat_runtime';

The fix is still pending on lttng review board, backport it to oe-core to
de-block the build issue.

(From OE-Core rev: 0562a2c75985acf9ef33034e8aeb163afdc683bf)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b973be9a7fbb2694d162ac06b76513525f3deed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Richard Purdie
66f9cec853 oeqa/ssh: Improve performance and log sizes
The current code is not fit for purpose when handling large files via ssh. In the strace
ptest case, we can end up with a 1.4GB archive being transferred for which every
byte is printed into the task logfile twice over. This is then sent over bitbake IPC
which compounds the problems.

Make the following improvements:
  * when the output is large (over 64kb), don't print it
  * use a bytearray for better concat performance since strings are slow for this
  * when there is no ssh output, say that
  * print periodic size status output rather than the data itself since this could be binary and/or large
  * fix the killed process message logic which appeared broken

(From OE-Core rev: 57673a71b20e2bbb53e7652a709bdcb32c429b6b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e7dd009a17dc902852983a82bce41bf78bb1e242)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Michael Nazzareno Trimarchi
f716913667 connman: Fix restart script
The script does not work if the connman service is already stopped.
The start-stop-daemon checks for the existence of a specified process.
If such a process exists, start-stop-daemon sends it the signal specified
by --signal, and exits with error status 0.  If such  a  process  does
not exist, start-stop-daemon exits with error status 1 (0 if --oknodo is specified).
The script uses set -e so we need to add --oknodo option to stop

(From OE-Core rev: f32ab69b4caef5ac2f61bb53102d8b08b94d54d5)

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1c1b67166049181136d5eb68740f3bf98bf670d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Robert Yang
e7964cf80f groff: Fix race issues for parallel build
Fixed race issues for parallel build:
groff: error: couldn't exec soelim: Permission

And:
groff: error: couldn't exec grn: Permission denied

(From OE-Core rev: 99da4c812712b6277a857ae8c903627a6c6d792a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
(cherry picked from commit b9ee7ea9ab05a1887c863dc9fccc65cb9e6850df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
2f9ced5a78 linux-yocto/6.6: update to v6.6.69
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a30cd70ab75a Linux 6.6.69
    ee18012c8015 block: avoid to reuse `hctx` not removed from cpuhp callback list
    937fcde0e971 ALSA: hda/realtek: Fix spelling mistake "Firelfy" -> "Firefly"
    ff4dff0bbe79 x86/cpu/intel: Drop stray FAM6 check with new Intel CPU model defines
    0098f6a62ac7 ALSA: sh: Fix wrong argument order for copy_from_iter()
    1ce362065899 btrfs: sysfs: fix direct super block member reads
    6e1a82259307 btrfs: avoid monopolizing a core when activating a swap file
    13eb3cae1d8e power: supply: gpio-charger: Fix set charge current limits
    c484dbafbae9 i2c: microchip-core: fix "ghost" detections
    e1cc0e256092 i2c: imx: add imx7d compatible string for applying erratum ERR007805
    b1f7476e07b9 PCI/MSI: Handle lack of irqdomain gracefully
    3f66c65f6525 i2c: microchip-core: actually use repeated sends
    80120bb4eef7 io_uring/sqpoll: fix sqpoll error handling races
    03041e474a6a tracing: Prevent bad count for tracing_cpumask_write
    dafa7332e7c0 tracing: Constify string literal data member in struct trace_event_call
    c1a26ea77f81 freezer, sched: Report frozen tasks as 'D' instead of 'R'
    60b57dc761d3 drm/amdkfd: pause autosuspend when creating pdd
    4312b60fa7ac drm/amdkfd: Use device based logging for errors
    9f7042ffc7f3 drm/amdkfd: drop struct kfd_cu_info
    798f21e8a655 drm/amdkfd: reduce stack size in kfd_topology_add_device()
    8406848671ce x86/cpu: Add Lunar Lake to list of CPUs with a broken MONITOR implementation
    fe48d03286b2 x86/cpu/intel: Switch to new Intel CPU model defines
    d7ac1856b6ec x86/cpu/vfm: Update arch/x86/include/asm/intel-family.h
    cb3491e875f6 x86/cpu/vfm: Add/initialize x86_vfm field to struct cpuinfo_x86
    f3a3192993da x86/cpu: Add model number for another Intel Arrow Lake mobile processor
    224d693c9203 x86/cpu: Add model number for Intel Clearwater Forest processor
    14172f8e9485 drm/amdgpu/hdp6.0: do a posting read when flushing HDP
    c9ad5cbf2495 drm/amdgpu/hdp5.0: do a posting read when flushing HDP
    f60770d660dc drm/amdgpu/hdp4.0: do a posting read when flushing HDP
    a9cb2cc5b8b5 drm/amd/amdgpu: allow use kiq to do hdp flush under sriov
    36a6e8aeae4a pmdomain: core: Add missing put_device()
    13ced1c4980e ALSA: hda/realtek: fix micmute LEDs don't work on HP Laptops
    31fc2ce99308 ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook X G1i
    2d2b19ed4169 sched/task_stack: fix object_is_on_stack() for KASAN tagged pointers
    1258986bbd17 MIPS: mipsregs: Set proper ISA level for virt extensions
    37ee3b66eb62 MIPS: Probe toolchain support of -msym32
    58bf93580fec blk-mq: move cpuhp callback registering out of q->sysfs_lock
    079fcc926b0b blk-mq: register cpuhp callback after hctx is added to xarray table
    12c0ddd6c551 virtio-blk: don't keep queue frozen during system suspend
    9735d40f5fde drm/dp_mst: Ensure mst_primary pointer is valid in drm_dp_mst_handle_up_req()
    5edf9f786a18 spi: omap2-mcspi: Fix the IS_ERR() bug for devm_clk_get_optional_enabled()
    3556af9a68af scsi: storvsc: Do not flag MAINTENANCE_IN return of SRB_STATUS_DATA_OVERRUN as an error
    cf4bea16bb6d scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
    cecca8b42063 spi: intel: Add Panther Lake SPI controller support
    eb9b647a6834 platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
    4eb54230b0ba LoongArch: BPF: Adjust the parameter of emit_jirl()
    5fc47124442d LoongArch: Fix reserving screen info memory for above-4G firmware
    5e448ea8df48 regmap: Use correct format specifier for logging range errors
    3ad1feaa0bd0 smb: server: Fix building with GCC 15
    7dbf2af85cd3 ALSA: sh: Use standard helper for buffer accesses
    39c860c96c64 ALSA: hda/conexant: fix Z60MR100 startup pop issue
    3dea3c59c4bd udf: Skip parent dir link count update if corrupted
    f50783148ec9 scsi: megaraid_sas: Fix for a potential deadlock
    fbd7deb459b2 scsi: qla1280: Fix hw revision numbering for ISP1020/1040
    ab9ae7e789ab watchdog: mediatek: Add support for MT6735 TOPRGU/WDT
    e64809e8754a watchdog: it87_wdt: add PWRGD enable quirk for Qotom QCML04
    d4d67fa7158d tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
    23681bc4b59f stddef: make __struct_group() UAPI C++-friendly
    b7f60ffdfd96 powerpc/pseries/vas: Add close() callback in vas_vm_ops struct
    dd45c8778273 mtd: rawnand: fix double free in atmel_pmecc_create_user()
    e658f1c133b8 dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
    aa2381a1ea39 dmaengine: apple-admac: Avoid accessing registers in probe
    34d2c9c6de73 dmaengine: fsl-edma: implement the cleanup path of fsl_edma3_attach_pd()
    f2705359161f dmaengine: tegra: Return correct DMA status when paused
    8cf5aa06d074 dmaengine: dw: Select only supported masters for ACPI devices
    7f92f287b0fa dmaengine: mv_xor: fix child node refcount handling in early exit
    908806a2e789 phy: rockchip: naneng-combphy: fix phy reset
    96173874d6b8 phy: usb: Toggle the PHY power during init
    94dd7d0665ec phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
    216b9f8335b5 phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
    58068f8b7a55 phy: core: Fix that API devm_phy_put() fails to release the phy
    80a6eeb3a73a phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
    293b3748abab phy: core: Fix an OF node refcount leakage in _of_phy_get()
    826acec1a9f9 phy: qcom-qmp: Fix register name in RX Lane config of SC8280XP
    36094da8b402 mtd: rawnand: arasan: Fix missing de-registration of NAND
    649ba9c1712b mtd: rawnand: arasan: Fix double assertion of chip-select
    3970d6b335fb mtd: diskonchip: Cast an operand to prevent potential overflow
    15c184b4e7cf nfsd: restore callback functionality for NFSv4.0
    488304065d0d nfsd: Revert "nfsd: release svc_expkey/svc_export with rcu_work"
    0326fbf69311 bpf: Check negative offsets in __bpf_skb_min_len()
    343a932a05f4 tcp_bpf: Add sk_rmem_alloc related logic for tcp_bpf ingress redirection
    9dbc7e0e5ce5 tcp_bpf: Charge receive socket buffer in bpf_tcp_ingress()
    9ef08c3fe764 mm/vmstat: fix a W=1 clang compiler warning
    d41fa58fca6f ceph: allocate sparse_ext map only for sparse reads
    44e518abbb49 ceph: fix memory leak in ceph_direct_read_write()
    fb98248fc4a2 ceph: try to allocate a smaller extent map for sparse read
    1d6de21f0029 media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
    3ee19fb278a6 Linux 6.6.68
    fd4d53318e96 dt-bindings: net: fec: add pps channel property
    c226b0f0d8b0 drm/amdgpu: Handle NULL bo->tbo.resource (again) in amdgpu_vm_bo_update
    194532af82a1 net: fec: make PPS channel configurable
    897bab2abdac net: fec: refactor PPS channel configuration
    4cba44122663 io_uring/rw: avoid punting to io-wq directly
    41928840172e io_uring/rw: treat -EOPNOTSUPP for IOCB_NOWAIT like -EAGAIN
    6c27fc6a783c io_uring/rw: split io_read() into a helper
    d9831a655e13 epoll: Add synchronous wakeup support for ep_poll_callback
    b3ab12531d0d ceph: fix memory leaks in __ceph_sync_read()
    a07c0908e368 ceph: improve error handling and short/overflow-read logic in __ceph_sync_read()
    f006f6eaea7b ceph: validate snapdirname option length when mounting
    7094f3b6df92 of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
    a7e5dc8d5da1 of: Fix error path in of_parse_phandle_with_args_map()
    50c960e79921 udmabuf: also check for F_SEAL_FUTURE_WRITE
    284760b320a0 nilfs2: prevent use of deleted inode
    cfb608b4cf22 nilfs2: fix buffer head leaks in calls to truncate_inode_pages()
    fdfa42cefba4 of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
    dd3412f29899 of/irq: Fix interrupt-map cell length check in of_irq_parse_imap_parent()
    96c9ff350476 NFS/pnfs: Fix a live lock between recalled layouts and layoutget
    2ca94c8de360 io_uring: check if iowq is killed before queuing
    a73f0425f44b io_uring: Fix registered ring file refcount leak
    24047899f94e selftests/bpf: Use asm constraint "m" for LoongArch
    8b7dfdf3dbd7 selftests/memfd: run sysctl tests when PID namespace support is enabled
    2f6ad0b613cd tracing: Add "%s" check in test_event_printk()
    cc2c77b35186 tracing: Add missing helper functions in event pointer dereference check
    452e89f1588d tracing: Fix test_event_printk() to process entire print argument
    906807c734ed smb: client: fix TCP timers deadlock after rmmod
    3d2634ec0d1d KVM: x86: Play nice with protected guests in complete_hypercall_exit()
    89fcec5e466b Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
    a41ee016b5df btrfs: tree-checker: reject inline extent items with 0 ref count
    90ae5b7a1c52 vmalloc: fix accounting with i915
    0b5b0b65561b zram: fix uninitialized ZRAM not releasing backing device
    aca0f94c25de zram: refuse to use zero sized block device as backing device
    da61286b6512 hwmon: (tmp513) Fix interpretation of values of Temperature Result and Limit Registers
    7e3b14abe39a hwmon: (tmp513) Fix Current Register value interpretation
    c680302c5eeb hwmon: (tmp513) Fix interpretation of values of Shunt Voltage and Limit Registers
    81a3738bed1a hwmon: (tmp513) Use SI constants from units.h
    d0823a2fe057 hwmon: (tmp513) Simplify with dev_err_probe()
    9d207df1282a hwmon: (tmp513) Don't use "proxy" headers
    da6b2c626ae7 drm/amdgpu: don't access invalid sched
    b91184b59437 i915/guc: Accumulate active runtime on gt reset
    7871b0d81a3b i915/guc: Ensure busyness counter increases motonically
    b5e8103c46aa i915/guc: Reset engine utilization buffer before registration
    5f46feefa5ef drm/panel: novatek-nt35950: fix return value check in nt35950_probe()
    b39de5a71bac drm/modes: Avoid divide by zero harder in drm_mode_vrefresh()
    d1b96495fa2a thunderbolt: Improve redrive mode handling
    cd8fb13924b3 USB: serial: option: add Telit FE910C04 rmnet compositions
    ec1ccad0c3b4 USB: serial: option: add MediaTek T7XX compositions
    996c88c81fec USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
    eb748a5a8c59 USB: serial: option: add MeiG Smart SLM770A
    27921a57efaf USB: serial: option: add TCL IK512 MBIM & ECM
    637b6e17f11d hexagon: Disable constant extender optimization for LLVM prior to 19.1.0
    b72d1e64984e efivarfs: Fix error on non-existent file
    666c7b77d581 i2c: riic: Always round-up when calculating bus period
    0eba9c56d77c chelsio/chtls: prevent potential integer overflow on 32bit
    efe74dd58a72 net: tun: fix tun_napi_alloc_frags()
    65fac86c3d73 KVM: x86: Cache CPUID.0xD XSTATE offsets+sizes during module init
    3e84704feefe EDAC/amd64: Simplify ECC check on unified memory controllers
    2956429c7a4e mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
    4ca7a0c83100 mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
    b15b92daf67c net: mdiobus: fix an OF node reference leak
    0e78c3eb72ec selftests: openvswitch: fix tcpdump execution
    576b58f39b0f netfilter: ipset: Fix for recursive locking warning
    592fc96af827 ipvs: Fix clamp() of ip_vs_conn_tab on small memory systems
    4dfa9a924008 net: ethernet: bgmac-platform: fix an OF node reference leak
    13fcc286811c net: hinic: Fix cleanup in create_rxqs/txqs()
    55a81dcf79bc ksmbd: fix broken transfers when exceeding max simultaneous operations
    8077d33fb8c8 ksmbd: count all requests in req_running counter
    ce2fade187dd net: renesas: rswitch: rework ts tags management
    6cd7cad950d9 ionic: use ee->offset when returning sprom data
    da5736f516a6 ionic: Fix netdev notifier unregister on failure
    470c5ecbac2f netdevsim: prevent bad user input in nsim_dev_health_break_write()
    2f3c62ffe881 net: mscc: ocelot: fix incorrect IFH SRC_PORT field in ocelot_ifh_set_basic()
    7a6927814b42 net/smc: check return value of sock_recvmsg when draining clc data
    935caf324b44 net/smc: check smcd_v2_ext_offset when receiving proposal msg
    295a92e3df32 net/smc: check v2_ext_offset/eid_cnt/ism_gid_cnt when receiving proposal msg
    91a7c27c1444 net/smc: check iparea_offset and ipv6_prefixes_cnt when receiving proposal msg
    2e0786b3006e net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
    2627c3e86469 net/smc: protect link down work from execute after lgr freed
    06518a75de0a cxl/region: Fix region creation for greater than x2 switches
    fa299bfc1e0e cxl/pci: Fix potential bogus return value upon successful probing
    9557ed4dcd8f tools: hv: change permissions of NetworkManager configuration file
    e5d1ae2d4d0b xfs: reset rootdir extent size hint after growfsrt
    29fcb5fef608 xfs: take m_growlock when running growfsrt
    35bd108619c2 xfs: use XFS_BUF_DADDR_NULL for daddrs in getfsmap code
    9fadc53d793c xfs: Fix the owner setting issue for rmap query in xfs fsmap
    4a82db7a4b73 xfs: conditionally allow FS_XFLAG_REALTIME changes if S_DAX is set
    b2dcbd8a928c xfs: attr forks require attr, not attr2
    27336a327b40 xfs: remove unused parameter in macro XFS_DQUOT_LOGRES
    1bee32f33c0a xfs: fix file_path handling in tracepoints
    cb95cb2450e3 xfs: convert comma to semicolon
    ca96d83c9307 xfs: don't walk off the end of a directory data block
    fe962ab3c4f1 xfs: Fix xfs_prepare_shift() range for RT
    2e63ed9b0175 xfs: Fix xfs_flush_unmap_range() range for RT
    c070b8802159 xfs: create a new helper to return a file's allocation unit
    7531c9ab2e55 xfs: declare xfs_file.c symbols in xfs_file.h
    ff627196ddc1 xfs: use consistent uid/gid when grabbing dquots for inodes
    c08d03996cea xfs: verify buffer, inode, and dquot items every tx commit
    85d0947db262 xfs: fix the contact address for the sysfs ABI documentation
    e4ee7050712a i2c: pnx: Fix timeout in wait functions
    76b63579a904 p2sb: Do not scan and remove the P2SB device when it is unhidden
    3c469a528e39 p2sb: Move P2SB hide and unhide code to p2sb_scan_and_cache()
    8b64ae60f3f9 p2sb: Introduce the global flag p2sb_hidden_by_bios
    f8c9788636f5 p2sb: Factor out p2sb_read_from_cache()
    9194a9214b04 platform/x86: p2sb: Make p2sb_get_devfn() return void
    db3667c9bbfb net: stmmac: fix TSO DMA API usage causing oops
    43fb5b0974eb usb: cdns3: Add quirk flag to enable suspend residency
    c7cc4152c0f4 PCI/AER: Disable AER service on suspend
    3e221877dd92 PCI: Use preserve_config in place of pci_flags
    0d1d7e0c6439 ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C
    9a6a33eb6be3 ASoC: Intel: sof_sdw: fix jack detection on ADL-N variant RVP
    dbdee8456aa8 MIPS: Loongson64: DTS: Fix msi node for ls7a
    d10b8db9907e usb: cdns3-ti: Add workaround for Errata i2409
    25f760c9ecfd PCI: Add ACS quirk for Broadcom BCM5760X NIC
    db7d50a5d7c4 PCI: vmd: Create domain symlink before pci_bus_add_devices()
    4f3cb0f96a2a usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled
    97e13434b5da net: sched: fix ordering of qlen adjustment
    ab6cc4ef42d6 Linux 6.6.67
    e68cbbef3d6f x86/static-call: fix 32-bit build
    44a7b0419d35 ALSA: usb-audio: Fix a DMA to stack memory bug
    bcf0e2fda80c x86/xen: remove hypercall page
    bcca7e067909 x86/xen: use new hypercall functions instead of hypercall page
    31f29270c15b x86/xen: add central hypercall functions
    82c211ead1ec x86/xen: don't do PV iret hypercall through hypercall page
    cd95149561d5 x86/static-call: provide a way to do very early static-call updates
    8fb54fe2e709 objtool/x86: allow syscall instruction
    aac984c87ef8 x86: make get_cpu_vendor() accessible from Xen code
    fe9a8f5250ae xen/netfront: fix crash when removing device
    4a41bb9f2b40 net: rswitch: Avoid use-after-free in rswitch_poll()
    9f7a9f95dfb7 selftests/bpf: remove use of __xlated()
    ce444a00414a selftests/bpf: Add netlink helper library
    3a7d88f9814a tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe()
    bfe9446ea1d9 bpf: sync_linked_regs() must preserve subreg_def
    4e76efda1f0a KVM: arm64: Disable MPAM visibility by default and ignore VMM writes
    e2ccaf2d0eb5 kselftest/arm64: abi: fix SVCR detection
    4a542118457d blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
    ee11eaa15132 net: dsa: microchip: KSZ9896 register regmap alignment to 32 bit boundaries
    f5fcb1ff9f46 net: renesas: rswitch: fix initial MPIC register setting
    ecdcaea0e405 Bluetooth: btmtk: avoid UAF in btmtk_process_coredump
    3bf09c685e1b Bluetooth: SCO: Add support for 16 bits transparent voice setting
    263b390a826f Bluetooth: iso: Fix recursive locking warning
    0108132d7d76 Bluetooth: hci_event: Fix using rcu_read_(un)lock while iterating
    11dc486ed5d4 Bluetooth: ISO: Reassociate a socket with an active BIS
    81c4b9529ed8 ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
    c6c217c6e28a team: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    679b5884e61d bonding: Fix feature propagation of NETIF_F_GSO_ENCAP_ALL
    3824c5fad18e net/sched: netem: account for backlog updates from child qdisc
    72dc88eca723 net: dsa: felix: fix stuck CPU-injected packets with short taprio windows
    27f0574253f6 netfilter: nf_tables: do not defer rule destruction via call_rcu
    8c2c8445cda8 netfilter: IDLETIMER: Fix for possible ABBA deadlock
    01b2c761503b net: renesas: rswitch: handle stop vs interrupt race
    bf8c6755f020 net: renesas: rswitch: avoid use-after-put for a device tree node
    78aa0aabb093 net: renesas: rswitch: fix leaked pointer on error path
    0c316b6e0aef net: renesas: rswitch: fix race window between tx start and complete
    af327c0f41d6 net: rswitch: Add jumbo frames handling for TX
    87388cbe9330 net: rswitch: Add a setting ext descriptor function
    0aeec4bb6a9f net: rswitch: Add unmap_addrs instead of dma address in each desc
    99ee2eb6e0fe net: rswitch: Use build_skb() for RX
    ad4bd2c039fb net: rswitch: Use unsigned int for desc related array index
    2a584b1443bd net: rswitch: Drop unused argument/return value
    f789f9d1af40 Documentation: PM: Clarify pm_runtime_resume_and_get() return value
    5b8ea6b89f92 ASoC: amd: yc: Fix the wrong return value
    d5a1ca7b5980 ALSA: control: Avoid WARN() for symlink errors
    131798aea9ae qca_spi: Make driver probing reliable
    ebaf832f1e22 qca_spi: Fix clock speed for multiple QCA7000
    3942f0b0d652 cxgb4: use port number to set mac addr
    ae5fab215f9c ACPI: resource: Fix memory resource type union access
    0d9344165273 net: sparx5: fix the maximum frame length register
    ad74e16b351d net: sparx5: fix FDMA performance issue
    f1d6afbe1ecd spi: aspeed: Fix an error handling path in aspeed_spi_[read|write]_user()
    8e9b5e14e5b9 net: mscc: ocelot: perform error cleanup in ocelot_hwstamp_set()
    3b3277267d7b net: mscc: ocelot: be resilient to loss of PTP packets during transmission
    5f2c6930c689 net: mscc: ocelot: ocelot->ts_id_lock and ocelot_port->tx_skbs.lock are IRQ-safe
    7f42e62a6e9f net: mscc: ocelot: improve handling of TX timestamp for unknown skb
    d275b713496e net: mscc: ocelot: fix memory leak on ocelot_port_add_txtstamp_skb()
    b7a79e51297f net: defer final 'struct net' free in netns dismantle
    03e661b5e7aa net: lapb: increase LAPB_HEADER_LEN
    74f0a6912926 ptp: kvm: x86: Return EOPNOTSUPP instead of ENODEV from kvm_arch_ptp_init()
    03528ff8de66 selftests: mlxsw: sharedbuffer: Ensure no extra packets are counted
    c9776bd1422e selftests: mlxsw: sharedbuffer: Remove duplicate test cases
    2be4018f4ce1 selftests: mlxsw: sharedbuffer: Remove h1 ingress test case
    bd7ddc5f921d wifi: cfg80211: sme: init n_channels before channels[] access
    325cf73a1b44 net/mlx5: DR, prevent potential error pointer dereference
    89ecda492d0a tipc: fix NULL deref in cleanup_bearer()
    4a9a7f9f745d batman-adv: Do not let TT changes list grows indefinitely
    fd0638fa60e6 batman-adv: Remove uninitialized data in full table TT response
    b2b6ecc29204 batman-adv: Do not send uninitialized TT changes
    86106974d0a8 amdgpu/uvd: get ring reference from rq scheduler
    e08dc2dc3c3f acpi: nfit: vmalloc-out-of-bounds Read in acpi_nfit_ctl
    567df47c3e45 wifi: mac80211: fix station NSS capability initialization order
    c32db61989af wifi: mac80211: clean up 'ret' in sta_link_apply_parameters()
    c07923459935 wifi: mac80211: init cnt before accessing elem in ieee80211_copy_mbssid_beacon
    f3412522f788 wifi: nl80211: fix NL80211_ATTR_MLO_LINK_ID off-by-one
    a574145ef474 rtla/timerlat: Make timerlat_hist_cpu->*_count unsigned long long
    dbec5b420397 bpf, sockmap: Fix update element with same
    b015f19fedd2 bpf, sockmap: Fix race between element replace and close()
    c2b6b47662d5 bpf,perf: Fix invalid prog_array access in perf_event_detach_bpf_prog
    68d23ee1bdf1 bpf: Fix theoretical prog_array UAF in __uprobe_perf_func()
    c7e1962a3807 bpf: Check size for BTF-based ctx access of pointer members
    0f2dd866c6b1 xfs: only run precommits once per transaction object
    08b1325d67a1 xfs: fix scrub tracepoints when inode-rooted btrees are involved
    eef2e0da3185 xfs: return from xfs_symlink_verify early on V4 filesystems
    549f2fc321ea xfs: don't drop errno values when we fail to ficlone the entire range
    b4f3bf6fe918 xfs: update btree keys correctly when _insrec splits an inode root block
    e07f9c92bd12 drm/i915: Fix NULL pointer dereference in capture_engine
    1f7659950736 drm/i915: Fix memory leak by correcting cache object name in error handler
    c0484aa1adc3 usb: dwc3: xilinx: make sure pipe clock is deselected in usb2 only mode
    8ca07a3d18f3 usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
    bd8ca5c5a04a usb: typec: anx7411: fix OF node reference leaks in anx7411_typec_switch_probe()
    1c766533deb3 usb: typec: anx7411: fix fwnode_handle reference leak
    e22e4df241f7 usb: ehci-hcd: fix call balance of clocks handling routines
    35acf6d7e889 usb: gadget: midi2: Fix interpretation of is_midi1 bits
    3184e07e1240 scsi: ufs: core: Update compl_time_stamp_local_clock after completing a cqe
    6c75336869c7 usb: dwc2: Fix HCD port connection race
    700f3afe5b76 usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
    09883478938d usb: dwc2: Fix HCD resume
    a3840455f275 ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
    a867bf10364a usb: host: max3421-hcd: Correctly abort a USB request.
    6f796a6a396d riscv: Fix IPIs usage in kfence_protect_page()
    e6c338476c80 ALSA: usb-audio: Add implicit feedback quirk for Yamaha THR5
    5baa28569c92 blk-cgroup: Fix UAF in blkcg_unpin_online()
    aa9b1d0d6a5b riscv: Fix wrong usage of __pa() on a fixmap address
    7ac2535d8ee6 tcp: check space before adding MPTCP SYN options
    bc6d8cc2c563 splice: do not checksum AF_UNIX sockets
    450a844c045f ksmbd: fix racy issue from session lookup and expire
    0252305d2964 perf/x86/intel/ds: Unconditionally drain PEBS DS when changing PEBS_DATA_CFG
    f9f85df30118 bpf: Fix UAF via mismatching bpf_prog/attachment RCU flavors
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 3ccbb2be0a00be2314f6c283fed313c301d144f2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3765ad18b68446727f2bbce6ab2e43a594dacdd9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
13541cfb55 linux-yocto/6.6: update to v6.6.66
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a66cdcdc9e44 Linux 6.6.66
    35163f642d91 i3c: master: svc: fix possible assignment of the same address to two devices
    43bbc5f8586e i3c: master: Remove i3c_dev_disable_ibi_locked(olddev) on device hotjoin
    1baed369508b serial: amba-pl011: fix build regression
    5eb15d2f4eb4 platform/x86: asus-wmi: Fix thermal profile initialization
    8bb7b689369e ALSA: usb-audio: Update UMP group attributes for GTB blocks, too
    fe330624b85f usb: dwc3: ep0: Don't reset resource alloc flag
    3706311ea095 net/smc: fix incorrect SMC-D link group matching logic
    7a89f5318252 ALSA: hda: Fix build error without CONFIG_SND_DEBUG
    2daba7d857e4 drm/amdgpu: rework resume handling for display (v2)
    aec3eecce11d ASoC: Intel: avs: Fix return status of avs_pcm_hw_constraints_init()
    3e26e24a301e ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
    7a670b420ef2 btrfs: add cancellation points to trim loops
    d11f14a7911e iio: invensense: fix multiple odr switch when FIFO is off
    ed968a1f1f66 xhci: dbc: Fix STALL transfer event handling
    1af5e8b1c9f3 mm/damon/vaddr: fix issue in damon_va_evenly_split_region()
    4358f241594b jffs2: Fix rtime decompressor
    6808a1812a34 jffs2: Prevent rtime decompress memory corruption
    0d5c7fcfa585 KVM: x86/mmu: Ensure that kvm_release_pfn_clean() takes exact pfn from kvm_faultin_pfn()
    67b5ed3b4d36 selftests/ftrace: adjust offset for kprobe syntax error test
    032b4122a92a vfio/mlx5: Align the page tracking max message size with the device capability
    7535956ffe5b Revert "unicode: Don't special case ignorable code points"
    1240225d838b x86: Fix build regression with CONFIG_KEXEC_JUMP enabled
    720792341f5e tracing/eprobe: Fix to release eprobe when failed to add dyn_event
    9d9bd3f7da8a clk: en7523: Initialize num before accessing hws in en7523_register_clocks()
    2a72d5cc83d6 btrfs: fix missing snapshot drew unlock when root is dead during swap activation
    b600d3040285 sched/deadline: Fix warning in migrate_enable for boosted tasks
    01ecd269755e sched/deadline: Move bandwidth accounting into {en,de}queue_dl_entity
    842010e3ca9e sched/deadline: Collect sched_dl_entity initialization
    24617f9ca8c8 sched: Unify more update_curr*()
    7f509457773e sched: Remove vruntime from trace_sched_stat_runtime()
    4db5988bb099 sched: Unify runtime accounting across classes
    654f3294c69e sched/headers: Move 'struct sched_param' out of uapi, to work around glibc/musl breakage
    b2f7d7507982 sched/fair: Rename check_preempt_curr() to wakeup_preempt()
    5787443f556e sched/fair: Rename check_preempt_wakeup() to check_preempt_wakeup_fair()
    b607a3886e61 sched/core: Prevent wakeup of ksoftirqd during idle load balance
    a2b004f5c93d sched/fair: Check idle_cpu() before need_resched() to detect ilb CPU turning busy
    f163cf9c6ae9 sched/core: Remove the unnecessary need_resched() check in nohz_csd_func()
    a13b2b9b0b0b mm/mempolicy: fix migrate_to_node() assuming there is at least one VMA in a MM
    cc424890b06b mempolicy: fix migrate_pages(2) syscall return nr_failed
    8f149bcc4d91 sched/numa: fix memory leak due to the overwritten vma->numab_state
    41f65469c33f sched/numa: Fix mm numa_scan_seq based unconditional scan
    42882b583095 io_uring/tctx: work around xa_store() allocation error issue
    c45cec53eeb4 setlocalversion: work around "git describe" performance
    2102ed90f789 smb: client: don't try following DFS links in cifs_tree_connect()
    b32ce4f9e3b7 serial: 8250_dw: Add Sophgo SG2044 quirk
    79f1a5b17bf5 rtc: cmos: avoid taking rtc_lock for extended period of time
    3fbde702748d misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
    691284c2cd33 powerpc/prom_init: Fixup missing powermac #size-cells
    44eb450d8ed5 ASoC: amd: yc: Add quirk for microphone on Lenovo Thinkpad T14s Gen 6 21M1CTO1WW
    8ef9ea1503d0 MIPS: Loongson64: DTS: Really fix PCIe port nodes for ls7a
    cb6d7ffca4be drm/amdgpu/vcn: reset fw_shared when VCPU buffers corrupted on vcn v4.0.3
    ddc2aa0f99e7 ASoC: amd: yc: fix internal mic on Redmi G 2022
    2c810ecfcc95 iio: light: ltr501: Add LTER0303 to the supported devices
    3fc7b49d24b1 usb: chipidea: udc: handle USB Error Interrupt if IOC not set
    57f7979aefdc fs/ntfs3: Fix case when unmarked clusters intersect with zone
    c5f89458a2ea LoongArch: Fix sleeping in atomic context for PREEMPT_RT
    ec1208b13c5e ACPI: x86: Clean up Asus entries in acpi_quirk_skip_dmi_ids[]
    353bc143066d ACPI: x86: Add skip i2c clients quirk for Acer Iconia One 8 A1-840
    295b50e95e90 f2fs: fix to shrink read extent node in batches
    76bdd3b1c256 f2fs: print message if fscorrupted was found in f2fs_new_node_page()
    ffe19e363c6f i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
    29c80f54e362 PCI: Add ACS quirk for Wangxun FF5xxx NICs
    407476eb5f76 PCI: Add 'reset_subordinate' to reset hierarchy below bridge
    b824ea2af6e0 PCI: Detect and trust built-in Thunderbolt chips
    c37cc784af7e PCI: vmd: Set devices to D0 before enabling PM L1 Substates
    61ee910a0042 PCI: vmd: Add DID 8086:B06F and 8086:B60B for Intel client SKUs
    70d65110986e PCI: qcom: Add support for IPQ9574
    a6dc4b4fda2e i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
    880827a141e3 KMSAN: uninit-value in inode_go_dump (5)
    9669b28f81e0 f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
    562334170295 verification/dot2: Improve dot parser robustness
    7a135fd49c3e smb: client: memcpy() with surrounding object base address
    08ab71e0f618 nvdimm: rectify the illogical code within nd_dax_probe()
    9e4828b78e28 thermal/drivers/qcom/tsens-v1: Add support for MSM8937 tsens
    03bf88b1e95d pinctrl: qcom: spmi-mpp: Add PM8937 compatible
    b377ef01a3d9 pinctrl: qcom-pmic-gpio: add support for PM8937
    338368f7fe2d scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
    0e5642e73a63 scsi: st: Don't modify unknown block number in MTIOCGET
    f6d6fb563e4b leds: class: Protect brightness_show() with led_cdev->led_access mutex
    8d37cb1c8f1a clk: qcom: tcsrcc-sm8550: add SAR2130P support
    62bd597e1e87 clk: qcom: rpmh: add support for SAR2130P
    80864fe570d5 clk: qcom: rcg2: add clk_rcg2_shared_floor_ops
    c6c58505bfba scsi: lpfc: Call lpfc_sli4_queue_unset() in restart and rmmod paths
    5fe23c57abad bpf: put bpf_link's program when link is safe to be deallocated
    6ff9768a3144 scsi: ufs: core: Make DMA mask configuration more flexible
    2da32aed4a97 pinmux: Use sequential access to access desc->pinmux data
    50ddf4b0e1a4 scsi: hisi_sas: Add cond_resched() for no forced preemption model
    77c9ad0c425a rtla/timerlat: Make timerlat_top_cpu->*_count unsigned long long
    987abe82faa9 tools/rtla: fix collision with glibc sched_attr/sched_set_attr
    aceff9270e86 tracing: Use atomic64_inc_return() in trace_clock_counter()
    d62b8e0c3f36 tracing/ftrace: disable preemption in syscall probe
    1cbb632b515a pinctrl: freescale: fix COMPILE_TEST error with PINCTRL_IMX_SCU
    fdac3e251d9e netpoll: Use rcu_access_pointer() in __netpoll_setup
    843adffcbb4a net/neighbor: clear error in case strict check is not set
    ed8cf33dead6 rocker: fix link status detection in rocker_carrier_init()
    d7a6ff5dc803 ASoC: hdmi-codec: reorder channel allocation list
    d87c7db6213c Bluetooth: Set quirks for ATS2851
    ac22911f2eed Bluetooth: Support new quirks for ATS2851
    5af48b484ec0 Bluetooth: Add new quirks for ATS2851
    5e50d12cc6e9 Bluetooth: hci_core: Fix not checking skb length on hci_acldata_packet
    36af575822ef Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
    916b577a2cef dsa: qca8k: Use nested lock to avoid splat
    10e8a2dec9ff bpf: Call free_htab_elem() after htab_unlock_bucket()
    07c020c6d14d wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
    3afd475d5af9 wifi: ipw2x00: libipw_rx_any(): fix bad alignment
    b9e52a96ec92 drm/amdgpu: set the right AMDGPU sg segment limitation
    83c45de6c6ce ALSA: usb-audio: Make mic volume workarounds globally applicable
    a8f7d6963768 virtio-net: fix overflow inside virtnet_rq_alloc
    4e3f73221deb drm/amdgpu: skip amdgpu_device_cache_pci_state under sriov
    69df145daf15 fsl/fman: Validate cell-index value obtained from Device Tree
    3b5d21b56c37 jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
    e7d376f94f72 jfs: fix array-index-out-of-bounds in jfs_readdir
    c56245baf3fd jfs: fix shift-out-of-bounds in dbSplit
    fd993b2180b4 jfs: array-index-out-of-bounds fix in dtReadFirst
    c212d91070be dma-debug: fix a possible deadlock on radix_lock
    efb054752f2c drm/amdgpu: refine error handling in amdgpu_ttm_tt_pin_userptr
    3295bd236450 netlink: specs: Add missing bitset attrs to ethtool spec
    ccc22ebf98df drm/amdgpu: Dereference the ATCS ACPI buffer
    9a1546e775f5 drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts for vega20_ih
    87210234e5a2 drm/sched: memset() 'job' in drm_sched_job_init()
    d783451a49d4 net: stmmac: Programming sequence for VLAN packets with split header
    81f4a1e9b654 net: sfp: change quirks for Alcatel Lucent G-010S-P
    556ae6c91145 drm/panel: simple: Add Microchip AC69T88A LVDS Display panel
    ffe1766a3a55 fanotify: allow reporting errors on failure to open fd
    d7a6fb6442b1 wifi: ath5k: add PCI ID for Arcadyan devices
    87b969352d38 wifi: ath5k: add PCI ID for SX76X
    706b07b7b37f net: inet6: do not leave a dangling sk pointer in inet6_create()
    25447c6aaa72 net: inet: do not leave a dangling sk pointer in inet_create()
    b4982fbf1304 net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
    db207d19adba net: af_can: do not leave a dangling sk pointer in can_create()
    6021ccc2471b Bluetooth: RFCOMM: avoid leaving dangling sk pointer in rfcomm_sock_alloc()
    8ad09ddc63ac Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
    157f08db9412 af_packet: avoid erroring out after sock_init_data() in packet_create()
    b77109f18a8d net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
    159c6df97655 net: ethernet: fs_enet: Use %pa to format resource_size_t
    6c591b8d0153 net: fec_mpc52xx_phy: Use %pa to format resource_size_t
    cf27f38254db samples/bpf: Fix a resource leak
    a52bc92fc47e r8169: don't apply UDP padding quirk on RTL8126A
    fba2b2d0b7cc ALSA: hda/conexant: Use the new codec SSID matching
    f4306ef142bc ALSA: hda: Use own quirk lookup helper
    45e43e721e26 drm/display: Fix building with GCC 15
    6fbdc3980b70 dlm: fix possible lkb_resource null dereference
    5059372280e2 drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
    1a0f54cb3fea wifi: rtw89: check return value of ieee80211_probereq_get() for RNR
    1159d74ed469 drm/mcde: Enable module autoloading
    0a59c2fe8d67 drm/bridge: it6505: Enable module autoloading
    189dc7030b72 drm: panel-orientation-quirks: Add quirk for AYA NEO GEEK
    33126ee70c56 drm: panel-orientation-quirks: Add quirk for AYA NEO Founder edition
    290127c6452d drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
    258b997e5119 drm/vc4: hvs: Set AXI panic modes for the HVS
    e0388a95736a drm/vc4: hdmi: Avoid log spam for audio start failure
    6e8348ec4215 HID: magicmouse: Apple Magic Trackpad 2 USB-C driver support
    66ab53850ca1 selftests/resctrl: Protect against array overflow when reading strings
    70e2f30534bb regmap: maple: Provide lockdep (sub)class for maple tree's internal lock
    2129f6faa5df soc: imx8m: Probe the SoC driver as platform driver
    3379f506f059 mmc: sdhci-esdhc-imx: enable quirks SDHCI_QUIRK_NO_LED
    63ddf8a5ec8f mmc: core: Add SD card quirk for broken poweroff notification
    8910c0217d7e media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
    31f9b4a22347 media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
    f20f3416fe33 media: uvcvideo: RealSense D421 Depth module metadata
    115afb20fdff HID: add per device quirk to force bind to hid-generic
    5b1f34bf3617 spi: spi-fsl-lpspi: Adjust type of scldiv
    28ed7bc5eee0 perf/x86/amd: Warn only on new bits set
    5a4688dbf4ae ACPI: x86: Make UART skip quirks work on PCI UARTs without an UID
    cfa076596dc4 hwmon: (nct6775) Add 665-ACE/600M-CL to ASUS WMI monitoring list
    dca4e74a9185 kcsan: Turn report_filterlist_lock into a raw_spinlock
    e8483ae13100 kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all()
    4c7baac247ce btrfs: do not clear read-only when adding sprout device
    a5d74fa24752 btrfs: avoid unnecessary device path update for the same device
    a5bc4e030f50 btrfs: don't take dev_replace rwsem on task already holding it
    a69752f1e5de s390/cpum_sf: Handle CPU hotplug remove during sampling
    7c27b25891b0 kselftest/arm64: Log fp-stress child startup errors to stdout
    61005057fd5c epoll: annotate racy check
    af3fde6112b2 x86/mm: Add _PAGE_NOPTISHADOW bit to avoid updating userspace page tables
    cb9945f292a8 kasan: make report_lock a raw spinlock
    625e3f5d13a7 lib: stackinit: hide never-taken branch from compiler
    03ba9477dcca ocfs2: update seq_file index in ocfs2_dlm_seq_next
    07f395d6197c mmc: core: Further prevent card detect during shutdown
    5d8525e5067a mmc: sdhci-pci: Add DMI quirk for missing CD GPIO on Vexia Edu Atla 10 tablet
    f1a99d8645d8 regmap: detach regmap from dev on regmap_exit
    f8abd03f83d5 xsk: fix OOB map writes when deleting elements
    5ea568e71d0c dma-fence: Use kernel's sort for merging fences
    ce97e7891b5d dma-fence: Fix reference leak on fence merge failure path
    4e1cb04a68af dma-buf: fix dma_fence_array_signaled v4
    8e858930695d bpf: fix OOB devmap writes when deleting elements
    94666abe8163 x86/kexec: Restore GDT on return from ::preserve_context kexec
    70d6c1badec3 modpost: Add .irqentry.text to OTHER_SECTIONS
    e2153e479e93 drm/amdgpu/hdp5.2: do a posting read when flushing HDP
    d834d20d2e86 drm/dp_mst: Fix resetting msg rx state after topology removal
    396f697500c8 drm/dp_mst: Verify request type in the corresponding down message reply
    c58947a8d4a5 drm/dp_mst: Fix MST sideband message body length check
    23b5908b11b7 cacheinfo: Allocate memory during CPU hotplug if not done from the primary CPU
    cc05aa2c0117 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
    bd74bc9b3a8c smb3.1.1: fix posix mounts to older servers
    ccf435caa314 fs/smb/client: cifs_prime_dcache() for SMB3 POSIX reparse points
    136fca78a66d fs/smb/client: Implement new SMB3 POSIX type
    439224eb2f5b fs/smb/client: avoid querying SMB2_OP_QUERY_WSL_EA for SMB3 POSIX
    c3afea07477b nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
    1e30b52edf17 scsi: ufs: core: Add missing post notify for power mode change
    0069928727c2 scsi: ufs: core: sysfs: Prevent div by zero
    38bd792fb676 scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
    15369e774f27 scsi: qla2xxx: Fix use after free on unload
    dbd3f8f3ade1 scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
    968bba7d1d04 scsi: qla2xxx: Fix NVMe and NPIV connect issue
    00e1503aaef7 scsi: qla2xxx: Fix abort in bsg timeout
    bafa26387438 ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG)
    00a4369b3a4b ALSA: hda/realtek: Enable mute and micmute LED on HP ProBook 430 G8
    2e50b49ba498 ALSA: usb-audio: add mixer mapping for Corsair HS80
    96035c0093db arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL
    8c36240460f9 arm64: Ensure bits ASID[15:8] are masked out when the kernel uses 8-bit ASIDs
    cdf81c4a8150 tracing: Fix cmp_entries_dup() to respect sort() comparison rules
    50d66c86262f can: mcp251xfd: mcp251xfd_get_tef_len(): work around erratum DS80000789E 6.
    1ac442f25c19 can: dev: can_set_termination(): allow sleeping GPIOs
    7015d9d4cc70 watchdog: rti: of: honor timeout-sec property
    164d3597d26d ksmbd: fix Out-of-Bounds Write in ksmbd_vfs_stream_write
    27de4295522e ksmbd: fix Out-of-Bounds Read in ksmbd_vfs_stream_read
    7dfbf011a57b LoongArch: Add architecture specific huge_pte_clear()
    a7f0509556fa HID: wacom: fix when get product name maybe null pointer
    81ad32b87eb9 mm: page_alloc: move mlocked flag clearance into free_pages_prepare()
    67a102352bb2 x86/CPU/AMD: WARN when setting EFER.AUTOIBRS if and only if the WRMSR fails
    68570b5c89c5 bpf: Fix exact match conditions in trie_get_next_key()
    2e9ff3f4834c bpf: Handle in-place update for full LPM trie correctly
    c1ab31edd258 bpf: Remove unnecessary kfree(im_node) in lpm_trie_update_elem
    c5325e6e4b6d bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
    67e972130bb6 iio: magnetometer: yas530: use signed integer type for clamp limits
    6d3f4c72019f scatterlist: fix incorrect func name in kernel-doc
    a84d507d3290 ocfs2: free inode when ocfs2_get_init_inode() fails
    6acd8e87b6e1 drm/v3d: Enable Performance Counters before clearing them
    88237f66b142 ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec
    602c3038a8a6 scsi: scsi_debug: Fix hrtimer support for ndelay
    59b30afa5786 scsi: sg: Fix slab-use-after-free read in sg_release()
    c169daf3cf39 bpf: Fix narrow scalar spill onto 64-bit spilled scalar slots
    9a420d6b4065 ASoC: SOF: ipc3-topology: fix resource leaks in sof_ipc3_widget_setup_comp_dai()
    77e01dfb4fb2 ASoC: SOF: ipc3-topology: Convert the topology pin index to ALH dai index
    f65d85bc1ffd spi: mpc52xx: Add cancel_work_sync before module remove
    37eef8c2e085 tools: Override makefile ARCH variable if defined, but empty
    8a2d8958585a ALSA: usb-audio: Notify xrun for low-latency mode
    06d43e40e2f9 ALSA: seq: ump: Fix seq port updates per FB info notify
    8ddb4126e6a4 ALSA: ump: Update substream name from assigned FB names
    d3e8e4d62c88 ALSA: seq: ump: Use automatic cleanup of kfree()
    206d56f41a15 tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
    f2f6d999a934 drm/sti: Add __iomem for mixer_dbg_mxn's parameter
    6bc209dbacc5 bpftool: fix potential NULL pointer dereferencing in prog_dump()
    0fcda0c9cb15 xsk: always clear DMA mapping information when unmapping the pool
    d504dc20b768 bpf, vsock: Invoke proto::close on close()
    57c47d3cf1a6 bpf, vsock: Fix poll() missing a queue
    c3799292d639 scsi: ufs: core: Add ufshcd_send_bsg_uic_cmd() for UFS BSG
    12e24d8a005c scsi: ufs: core: Always initialize the UIC done completion
    d5be5ce82a7e drm/bridge: it6505: Fix inverted reset polarity
    485924554390 drm/bridge: it6505: update usleep_range for RC circuit charge time
    f454a3e98c30 i3c: master: Fix dynamic address leak when 'assigned-address' is present
    990da49bfcbf i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED
    72863649acec i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS
    ac0fed078bc9 i3c: master: svc: Modify enabled_events bit 7:0 to act as IBI enable counter
    07f4c0df0eb3 i3c: master: svc: use slow speed for first broadcast address
    5626d1addc2a i3c: master: support to adjust first broadcast address speed
    a68c391c6321 i3c: master: fix kernel-doc check warning
    8aa36f7e004b i3c: master: svc: add hot join support
    e7217d528ef5 i3c: master: add enable(disable) hot join in sys entry
    ed24ab98242f f2fs: fix to drop all discards after creating snapshot on lvm device
    f3ae93e738db driver core: fw_devlink: Stop trying to optimize cycle detection logic
    dce7a5c7bfa3 driver core: Add FWLINK_FLAG_IGNORE to completely ignore a fwnode link
    5c764791fb7b driver core: fw_devlink: Improve logs for cycle detection
    faa6f8ce1b15 ntp: Remove invalid cast in time offset math
    91d2be8d4bf5 powerpc/vdso: Drop -mstack-protector-guard flags in 32-bit files with clang
    d68b0e67cff7 powerpc/vdso: Refactor CFLAGS for CVDSO build
    4a9485918a04 iommu/arm-smmu: Defer probe of clients after smmu device bound
    7360a0e798f4 zram: clear IDLE flag in mark_idle()
    9c251d1381ed zram: do not mark idle slots that cannot be idle
    b7c3fd65a3ea zram: split memory-tracking and ac-time tracking
    543d8315c289 mmc: mtk-sd: Fix MMC_CAP2_CRYPTO flag setting
    7e0ccc28fad1 mmc: mtk-sd: fix devm_clk_get_optional usage
    06b7f9295a42 mmc: mtk-sd: Fix error handle of probe function
    a8ece7488716 mmc: mtk-sd: use devm_mmc_alloc_host
    c6a3fa838e51 usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED
    3df5497b9183 usb: dwc3: ep0: Don't reset resource alloc flag (including ep0)
    65b1f31111ee usb: dwc3: gadget: Rewrite endpoint allocation flow
    395d9b40431c soc: fsl: cpm1: qmc: Set the ret error code on platform_get_irq() failure
    6885d8e7c1e3 soc: fsl: cpm1: qmc: Introduce qmc_{init,exit}_xcc() and their CPM1 version
    c73f53c7aaae soc: fsl: cpm1: qmc: Introduce qmc_init_resource() and its CPM1 version
    f865643723e9 soc: fsl: cpm1: qmc: Re-order probe() operations
    7ca6b9e73db2 soc: fsl: cpm1: qmc: Fix blank line and spaces
    850cee347212 soc/fsl: cpm: qmc: Convert to platform remove callback returning void
    2eb983f69079 serial: amba-pl011: Fix RX stall when DMA is used
    5aea1229e7ea serial: amba-pl011: Use port lock wrappers
    8d2ca6ac3711 gpio: grgpio: Add NULL check in grgpio_probe
    9cc1a6ce157d gpio: grgpio: use a helper variable to store the address of ofdev->dev
    fbc0a0c7718a xhci: Fix control transfer error on Etron xHCI host
    4a2422f67879 xhci: Don't issue Reset Device command to Etron xHCI host
    ec4e6d5944cd xhci: Combine two if statements for Etron xHCI host
    459cda7500ec xhci: remove XHCI_TRUST_TX_LENGTH quirk
    d55694547cd2 xhci: Allow RPM on the USB controller (1022:43f7) by default
    ea6b5d98fea4 KVM: arm64: Don't retire aborted MMIO instruction
    3fe534a02897 KVM: arm64: Change kvm_handle_mmio_return() return polarity
    3265aab0736f net: avoid potential UAF in default_operstate()
    4bd8ced2b9f6 net/mlx5e: Remove workaround to avoid syndrome for internal port
    97ce3a4ec55e geneve: do not assume mac header is set in geneve_xmit_skb()
    711525430d12 mlxsw: spectrum_acl_flex_keys: Use correct key block on Spectrum-4
    e5239f8671a1 mlxsw: spectrum_acl_flex_keys: Constify struct mlxsw_afk_element_inst
    5e7388444095 mlxsw: Mark high entropy key blocks
    64b67f77d993 mlxsw: Edit IPv6 key blocks to use one less block for multicast forwarding
    69f60dda481a mlxsw: spectrum_acl_flex_keys: Add 'ipv4_5b' flex key
    7598e65f990a mlxsw: Add 'ipv4_5' flex key
    e5242c5ff4c8 ethtool: Fix wrong mod state in case of verbose and no_mask bitset
    86c27603514c netfilter: nft_set_hash: skip duplicated elements pending gc run
    90bf312a6b6b netfilter: ipset: Hold module reference while requesting a module
    f6dc30c4698d net: sched: fix erspan_opt settings in cls_flower
    53c7314208c8 netfilter: nft_inner: incorrect percpu area handling under softirq
    f309733a8c9d igb: Fix potential invalid memory access in igb_init_module()
    0a4d8b1e3b28 ixgbe: downgrade logging of unsupported VF API version to debug
    2bf463e6c540 ixgbevf: stop attempting IPSEC offload on Mailbox API 1.5
    4f63de0ef87b net/qed: allow old cards not supporting "num_images" to work
    673d606683ac net/smc: fix LGR and link use-after-free issue
    f0c37002210a net/smc: initialize close_work early to avoid warning
    f59b799e52f7 net/smc: refactoring initialization of smc sock
    21f6f41e82e5 net/smc: {at|de}tach sndbuf to peer DMB if supported
    fe7ef3a10c75 net/smc: add operations to merge sndbuf with peer DMB
    988b81020ad4 net/smc: mark optional smcd_ops and check for support when called
    7e5ef8eb0547 net/smc: compatible with 128-bits extended GID of virtual ISM device
    70cfb64c882c net/smc: define a reserved CHID range for virtual ISM devices
    dd0ab991caf1 net/smc: unify the structs of accept or confirm message for v1 and v2
    8ea4fc3fefa1 net/smc: introduce sub-functions for smc_clc_send_confirm_accept()
    612c04a92730 net/smc: rename some 'fce' to 'fce_v2x' for clarity
    d00d4470bf8c tipc: Fix use-after-free of kernel socket in cleanup_bearer().
    d3ec686a369f dccp: Fix memory leak in dccp_feat_change_recv
    f43d12fd0fa8 net/ipv6: release expired exception dst cached in socket
    797a4c1f5b63 ipv6: introduce dst_rt6_info() helper
    19a788bd40fd net-timestamp: make sk_tskey more predictable in error path
    4d5a573f64e8 platform/x86: asus-wmi: Ignore return value when writing thermal policy
    5a4f732e2a8f platform/x86: asus-wmi: Fix inconsistent use of thermal policies
    6051a4b17f9e platform/x86: asus-wmi: add support for vivobook fan profiles
    426d94815e12 can: j1939: j1939_session_new(): fix skb reference counting
    3c215663b3e2 net: hsr: avoid potential out-of-bound access in fill_frame_info()
    d381c2b0d77e net/sched: tbf: correct backlog statistic for GSO packets
    70966e5bafb7 ptp: Add error handling for adjfine callback in ptp_clock_adjtime
    66127f0d1ecf net: enetc: Do not configure preemptible TCs if SIs do not support
    ea8e9f84ea15 selftests: hid: fix typo and exit code
    2f9bec0a749e netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level
    a9bcc0b70d9b netfilter: x_tables: fix LED ID check in led_tg_check()
    124834133b32 ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
    39df17a12746 can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics
    c7f3a539b180 can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics
    0fef1604a436 can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
    bbbc9e190b26 can: sja1000: sja1000_err(): fix {rx,tx}_errors statistics
    98b7477236be can: hi311x: hi3110_can_ist(): fix {rx,tx}_errors statistics
    bf92d477a9a3 can: ifi_canfd: ifi_canfd_handle_lec_err(): fix {rx,tx}_errors statistics
    dce292ffb728 can: m_can: m_can_handle_lec_err(): fix {rx,tx}_errors statistics
    112802200944 can: hi311x: hi3110_can_ist(): fix potential use-after-free
    8ac49d8fc936 can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
    c146df8292c6 can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails
    1cdd3563e147 can: gs_usb: add usb endpoint address detection at driver probe step
    e2282706eb5c can: gs_usb: add VID/PID for Xylanta SAINT3 product family
    b8a0428f1eb2 watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
    d556b4ff5854 watchdog: apple: Actually flush writes after requesting watchdog restart
    babc8a52fe69 watchdog: xilinx_wwdt: Calculate max_hw_heartbeat_ms using clock frequency
    e417b3cb55a7 iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
    943e0aeece93 Linux 6.6.65
    b47d9ffb2d1d openrisc: Use asm-generic's version of fix_to_virt() & virt_to_fix()
    52ab77109035 Revert "x86/pvh: Set phys_base when calling xen_prepare_pvh()"
    dd47f7175940 Revert "x86/pvh: Call C code via the kernel virtual mapping"
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: cca034823e61faacc82079515e78fe94612173ab)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db39e7791f8ed430ddfeec87ab2aa178090af45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
6be2708b42 linux-yocto/6.6: update to v6.6.64
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    22a054ea1f08 Linux 6.6.64
    f3b82bb26f5b posix-timers: Target group sigqueue to current task only if not exiting
    8a799149ab45 drm/amd/pm: update current_socclk and current_uclk in gpu_metrics on smu v13.0.7
    3990ef742c06 drm/amdgpu: fix usage slab after free
    70e6599a9e78 drm/amdkfd: Use the correct wptr size
    d50b5a7ac7f5 drm: xlnx: zynqmp_dpsub: fix hotplug detection
    65bea1cb0230 drm/etnaviv: flush shader L1 cache after user commandstream
    a3d970f106bb drm/mediatek: Fix child node refcount handling in early exit
    8ab73ac97c0f drm/sti: avoid potential dereference of error pointers
    997b64c3f4c1 drm/sti: avoid potential dereference of error pointers in sti_gdp_atomic_check
    82a5312f874f drm/sti: avoid potential dereference of error pointers in sti_hqvdp_atomic_check
    ac48ddf6b023 udmabuf: use vmf_insert_pfn and VM_PFNMAP for handling mmap
    cfaf83501a0c tpm: Lock TPM chip in tpm_pm_suspend() first
    135b4819f6fb btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
    c062bba16246 powerpc: Adjust adding stack protector flags to KBUILD_CLAGS for clang
    0760e47fa632 powerpc: Fix stack protector Kconfig test for clang
    1bdff8a19cd6 iio: gts: fix infinite loop for gain_to_scaletables()
    e5cac3272199 iio: adc: ad7923: Fix buffer overflow for tx_buf and ring_xfer
    98e1f03de842 iio: Fix fwnode_handle in __fwnode_iio_channel_get_by_name()
    8e5e63d6ca95 iio: accel: kx022a: Fix raw read format
    37dfc81266d3 nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
    1cecfdbc6bfc nfsd: make sure exp active before svc_export_show
    2eb355346c5a PCI: rockchip-ep: Fix address translation unit programming
    8b404b08be92 PCI: of_property: Assign PCI instead of CPU bus address to dynamic PCI nodes
    6f433923d3b6 dm thin: Add missing destroy_work_on_stack()
    fad9d2a96600 dm: Fix typo in error message
    c5f4540ae66e ovl: properly handle large files in ovl_security_fileattr
    4a44bcb73a0b leds: flash: mt6360: Fix device_for_each_child_node() refcounting in error paths
    5294e8abd46c thermal: int3400: Fix reading of current_uuid for active policy
    6868deee4a6b fs/proc/kcore.c: Clear ret value in read_kcore_iter after successful iov_iter_zero
    b50b631d8fce PCI: endpoint: Clear secondary (not primary) EPC in pci_epc_remove_epf()
    2bf49d724c9e PCI: keystone: Add link up check to ks_pcie_other_map_bus()
    344134ac9190 PCI: keystone: Set mode as Root Complex for "ti,keystone-pcie" compatible
    ce30d11b39e8 i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
    0a0dc4834f66 i3c: master: svc: Fix pm_runtime_set_suspended() with runtime pm enabled
    cdcc26d714c9 scsi: ufs: exynos: Fix hibern8 notify callbacks
    6caff31c3d18 util_macros.h: fix/rework find_closest() macros
    308e0cc36dc4 ceph: extract entity name from device id
    33a213c04faf mm/slub: Avoid list corruption when removing a slab from the full list
    2c932d5c7aac ARM: 9431/1: mm: Pair atomic_set_release() with _read_acquire()
    ef21187c0672 ARM: 9430/1: entry: Do a dummy read from VMAP shadow
    1af22528fee8 s390/entry: Mark IRQ entries to fix stack depot warnings
    1359fd9eae29 ARM: 9429/1: ioremap: Sync PGDs for VMALLOC shadow
    7e3a8ea3d1ad ad7780: fix division by zero in ad7780_write_raw()
    8bca39b958f1 clk: qcom: gcc-qcs404: fix initial rate of GPLL3
    6aa39a78128a leds: lp55xx: Remove redundant test for invalid channel number
    3723d1c056d0 iommu/io-pgtable-arm: Fix stage-2 map/unmap for concatenated tables
    9a8b989d8958 zram: clear IDLE flag after recompression
    f8cca70b0e57 vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
    8a92dc4df89c ftrace: Fix regression with module command in stack_trace_filter
    6e290ee989dd maple_tree: refine mas_store_root() on storing NULL
    065bf5dd2163 ovl: Filter invalid inodes with missing lookup function
    b11813bc2f4e media: uvcvideo: Require entities to have a non-zero unique ID
    f83f6a6e1263 media: uvcvideo: Stop stream during unregister
    6712a28a4f92 media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
    2dbb2307e19d media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
    047178d650bc media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
    3806bec2d470 media: amphion: Fix pm_runtime_set_suspended() with runtime pm enabled
    d173aee5709b efi/libstub: Free correct pointer on failure
    5262cbf40264 media: platform: exynos4-is: Fix an OF node reference leak in fimc_md_is_isp_available
    a2ed3b780f34 media: ts2020: fix null-ptr-deref in ts2020_probe()
    9ca2c2ad6ffa media: verisilicon: av1: Fix reference video buffer pointer assignment
    b7a830bbc25d media: imx-jpeg: Ensure power suppliers be suspended before detach them
    b59ab89bc83f media: i2c: tc358743: Fix crash in the probe error path when using polling
    76ef98f9131e arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
    55aebcbcfc0a media: i2c: dw9768: Fix pm_runtime_set_suspended() with runtime pm enabled
    0ba08c21c6a9 media: mtk-jpeg: Fix null-ptr-deref during unload module
    68efeff2f7fc media: imx-jpeg: Set video drvdata before register video device
    988cc10ddbde media: amphion: Set video drvdata before register video device
    71a15258f3c9 arm64: dts: ti: k3-am62-verdin: Fix SD regulator startup delay
    7477b16f8031 arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
    14635785805f arm64: dts: allwinner: pinephone: Add mount matrix to accelerometer
    7897f1f8b785 md/md-bitmap: Add missing destroy_work_on_stack()
    4275ac274194 btrfs: ref-verify: fix use-after-free after invalid ref action
    757171d1369b btrfs: add a sanity check for btrfs root in btrfs_search_slot()
    99f3cd5a866d btrfs: don't loop for nowait writes when checking for cross references
    bcacb52a985f quota: flush quota_release_work upon quota writeback
    a2110964d536 xfs: remove unknown compat feature check in superblock write validation
    b8b84dcdf3ab sh: intc: Fix use-after-free bug in register_intc_controller()
    906cdbdd3b01 block, bfq: fix bfqq uaf in bfq_limit_depth()
    0ca87e506375 sunrpc: fix one UAF issue caused by sunrpc kernel tcp socket
    931be6b73830 SUNRPC: timeout and cancel TLS handshake with -ETIMEDOUT
    3811172e8c98 sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
    065902117a5b nfs: ignore SB_RDONLY when mounting nfs
    5fab8abc2c27 cifs: unlock on error in smb3_reconfigure()
    880a661e6764 cifs: during remount, make sure passwords are in sync
    fe44c5477284 modpost: remove incorrect code in do_eisa_entry()
    625e2357c8fc smb: Initialize cfid->tcon before performing network ops
    0dd7a8b948fd Rename .data.once to .data..once to fix resetting WARN*_ONCE
    eda52d5ae82d Rename .data.unlikely to .data..unlikely
    ab8c357dbf87 init/modpost: conditionally check section mismatch to __meminit*
    52197a7c14df modpost: squash ALL_{INIT,EXIT}_TEXT_SECTIONS to ALL_TEXT_SECTIONS
    17f4332ae695 modpost: use ALL_INIT_SECTIONS for the section check from DATA_SECTIONS
    db081efa9b80 modpost: disallow the combination of EXPORT_SYMBOL and __meminit*
    a169a023e064 modpost: remove EXIT_SECTIONS macro
    2462732f35f1 modpost: remove MEM_INIT_SECTIONS macro
    95da0b40fa8c modpost: disallow *driver to reference .meminit* sections
    db5647420fb2 modpost: remove ALL_EXIT_DATA_SECTIONS macro
    4151b8e1fca8 rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
    24891e0ebca5 cifs: Fix parsing reparse point with native symlink in SMB1 non-UNICODE session
    430afd3edabf cifs: Fix parsing native symlinks relative to the export
    e061482601b4 smb: client: disable directory caching when dir_cache_timeout is zero
    03a0e2520350 perf/arm-cmn: Ensure port and device id bits are set properly
    9890e6f2ec92 perf/arm-smmuv3: Fix lockdep assert in ->event_init()
    2bb3ee1bf237 9p/xen: fix release of IRQ
    e978643c4c9c 9p/xen: fix init sequence
    5da567d3f737 block: return unsigned int from bdev_io_min
    1e20e4ff3a75 nvme/multipath: Fix RCU list traversal to use SRCU primitive
    f0679539fad9 nvme-multipath: avoid hang on inaccessible namespaces
    85b9f3e63e79 nvme-multipath: implement "queue-depth" iopolicy
    a7071e2bd0fc nvme-multipath: prepare for "queue-depth" iopolicy
    18db8ae7abb5 rtc: rzn1: fix BCD to rtc_time conversion errors
    011c3320e1fc jffs2: fix use of uninitialized variable
    01d3a2293d7e ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit
    612824dd0c94 ubi: fastmap: Fix duplicate slab cache names while attaching
    074b310f0591 ubifs: Correct the total block count by deducting journal reservation
    7e66d36871d1 ubi: fastmap: wl: Schedule fm_work if wear-leveling pool is empty
    dd4b1cbcc916 rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
    a990130f6770 rtc: abx80x: Fix WDT bit position of the status register
    96fd3dfb1d14 rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
    229a30ed42bb NFSv4.0: Fix a use-after-free problem in the asynchronous open()
    e7b5a40b9b38 um: Always dump trace for specified task in show_stack
    d3ca120303a7 um: Fix the return value of elf_core_copy_task_fpregs
    a875c023155e um: Fix potential integer overflow during physmem setup
    acfaf37888e0 SUNRPC: make sure cache entry active before cache_show
    dde654cad08f NFSD: Prevent a potential integer overflow
    10209665b5bf ipc: fix memleak if msg_init_ns failed in create_ipc_ns
    27d6e7eff07f f2fs: fix to do sanity check on node blkaddr in truncate_node()
    f7f33bb2dbaf lib: string_helpers: silence snprintf() output truncation warning
    9e68fcffc764 ublk: fix error code for unsupported command
    1534f6f69393 usb: dwc3: gadget: Fix looping of queued SG entries
    bb6bf24fe03b usb: dwc3: gadget: Fix checking for number of TRBs left
    5906ee369367 usb: musb: Fix hardware lockup on first Rx endpoint request
    73934e535cff smb: During unmount, ensure all cached dir instances drop their dentry
    791f83305357 smb: prevent use-after-free due to open_cached_dir error paths
    31fabf70d583 smb: Don't leak cfid when reconnect races with open_cached_dir
    921d90907eb9 smb: client: handle max length for SMB symlinks
    83cb4fb72d64 smb3: request handle caching when caching directories
    edf5b298eb36 ALSA: hda/realtek: Apply quirk for Medion E15433
    0e37c70bff7c ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
    76e3de272587 ALSA: hda/realtek: Set PCBeep to default value for ALC274
    c917f415c18a ALSA: hda/realtek: Update ALC225 depop procedure
    bc200027ee92 ALSA: pcm: Add sanity NULL check for the default mmap fault handler
    0357abf951c4 ALSA: ump: Fix evaluation of MIDI 1.0 FB info
    e9bf513718d0 media: v4l2-core: v4l2-dv-timings: check cvt/gtf result
    305c75f402e8 soc: fsl: rcpm: fix missing of_node_put() in copy_ippdexpcr1_setting()
    378ce4e08ca2 media: wl128x: Fix atomicity violation in fmc_send_cmd()
    c68dab166532 HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
    68a69ed52a8b blk-mq: Make blk_mq_quiesce_tagset() hold the tag list mutex less long
    e95080fba190 block: fix ordering between checking BLK_MQ_S_STOPPED request adding
    679b1874eba7 block: fix ordering between checking QUEUE_FLAG_QUIESCED request adding
    fe0d9800ead6 block: fix missing dispatching request when queue is started or unquiesced
    ad654c5bfe3e arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
    80f25003af22 ublk: fix ublk_ch_mmap() for 64K page size
    1681131bfa23 iio: gts: Fix uninitialized symbol 'ret'
    09faf32c682e sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
    8204dd589c4f um: vector: Do not use drvdata in release
    ad253966ee98 serial: 8250: omap: Move pm_runtime_get_sync
    63ff22d706bb serial: 8250_fintek: Add support for F81216E
    11af46904019 dt-bindings: serial: rs485: Fix rs485-rts-delay property
    cdbd5a1dcdc2 um: net: Do not use drvdata in release
    2d194d951895 um: ubd: Do not use drvdata in release
    5e1feafa7347 ubi: wl: Put source PEB into correct list if trying locking LEB failed
    de70a7e1f3d6 platform/chrome: cros_ec_typec: fix missing fwnode reference decrement
    46f8e2592681 smb: client: fix NULL ptr deref in crypto_aead_setkey()
    a96f9eb7add3 ksmbd: fix use-after-free in SMB request handling
    9665bbefab87 parisc/ftrace: Fix function graph tracing disablement
    185f065f458b cifs: support mounting with alternate password to allow password rotation
    4ca70a0630b0 cpufreq: mediatek-hw: Fix wrong return value in mtk_cpufreq_get_cpu_power()
    13dc02cae4e3 mtd: spi-nor: core: replace dummy buswidth from addr to data
    66f0fbc8ba18 spi: Fix acpi deferred irq probe
    856023ef032d netfilter: ipset: add missing range check in bitmap_ip_uadt
    5691e457251b gpio: exar: set value when external pull-up or pull-down is present
    d2543d75f81d Revert "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
    671bf7530c08 serial: sh-sci: Clean sci_ports[0] after at earlycon exit
    32ffdd003f6f Revert "usb: gadget: composite: fix OS descriptors w_value logic"
    69c83ff5299c wifi: brcmfmac: release 'root' node in all execution paths
    81da9c085454 wifi: ath12k: fix crash when unbinding
    8f3551f67991 wifi: rtlwifi: Drastically reduce the attempts to read efuse in case of failures
    223b546c6222 wifi: ath12k: fix warning when unbinding
    ebefd0c746a2 ARM: dts: omap36xx: declare 1GHz OPP as turbo again
    ae0ef0d756d2 usb: xhci: Fix TD invalidation under pending Set TR Dequeue
    5540869a3f75 Compiler Attributes: disable __counted_by for clang < 19.1.3
    19714c9e8885 Bluetooth: Fix type of len in rfcomm_sock_getsockopt{,_old}()
    0d53178a3d8b exfat: fix uninit-value in __exfat_get_dentry_set
    7451f7297e74 dt-bindings: iio: dac: ad3552r: fix maximum spi speed
    6a4645bc3b14 pinctrl: qcom: spmi: fix debugfs drive strength
    ee68555b979e tools/nolibc: s390: include std.h
    85cfe884668d locking/lockdep: Avoid creating new name string literals in lockdep_set_subclass()
    958275235d40 tty: ldsic: fix tty_ldisc_autoload sysctl's proc_handler
    2a9b68f2dc68 apparmor: test: Fix memory leak for aa_unpack_strdup()
    9b07fb464eb6 comedi: Flush partial mappings in error case
    1b8868b818ec fsnotify: fix sending inotify event with unexpected filename
    e5d5c04aac71 PCI: Fix use-after-free of slot->bus on hot remove
    7484289822c5 KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device
    2a4ec241dbe7 KVM: arm64: vgic-its: Add a data length check in vgic_its_save_*
    dd2f9861f275 KVM: arm64: Get rid of userspace_irqchip_in_use
    718f1712e155 KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE
    130abaa1da82 KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status
    26cd7f91f27f KVM: arm64: vgic-v3: Sanitise guest writes to GICR_INVLPIR
    10c95568e7ac powerpc/pseries: Fix KVM guest detection for disabling hardlockup detector
    d79f765b2eb8 KVM: x86/mmu: Skip the "try unsync" path iff the old SPTE was a leaf SPTE
    046fb04cbce9 crypto: x86/aegis128 - access 32-bit arguments as 32-bit
    e68ca7dafecb perf/x86/intel/pt: Fix buffer full but size is 0 case
    a7fc8dce17e6 ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()
    30a2d503367b ASoC: amd: yc: Add a quirk for microfone on Lenovo ThinkPad P14s Gen 5 21MES00B00
    9353cdf28d4c jfs: xattr: check invalid xattr size more strictly
    2bd7c6086641 ext4: fix FS_IOC_GETFSMAP handling
    786a552739bb ext4: supress data-race warnings in ext4_free_inodes_{count,set}()
    095694f58fe2 soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
    bdae089f4b95 ASoC: Intel: sst: Fix used of uninitialized ctx to log an error
    acf693decaa3 arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
    387a4dc33bb7 Revert "arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled"
    b8f8b81dabe5 ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
    22d907bcd283 btrfs: do not BUG_ON() when freeing tree block after error
    b98777309756 f2fs: fix null reference error when checking end of zone
    475d99e611d5 perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated
    e4f3bb7d53b9 dm-bufio: fix warnings about duplicate slab caches
    cd1e565a5b7f drm/amd/display: Add NULL pointer check for kzalloc
    d247af7c5dbf drm/amd/display: Check phantom_stream before it is used
    8c854138b593 drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
    ebef6616219f drm/amd/display: Check null pointer before try to access it
    ec1be3c527b4 drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw
    205e3b96cc9a drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw
    f14fc623dd23 dm-cache: fix warnings about duplicate slab caches
    ecb4aaa658da closures: Change BUG_ON() to WARN_ON()
    3347581bf9ed usb: ehci-spear: fix call balance of sehci clk handling routines
    74cb86e1006c ALSA: usb-audio: Fix out of bounds reads when finding clock sources
    804b96f8d0a0 xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
    7cd9f0a33e73 xfs: add bounds checking to xlog_recover_process_data
    6b42ded89ba8 nvme: fix metadata handling in nvme-passthrough
    232a138bd843 scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
    d00df6700ad1 mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
    a90cb059969b f2fs: fix fiemap failure issue when page size is 16KB
    d7f0c4c95652 gfs2: Remove and replace gfs2_glock_queue_work
    6e92dd3ac246 gfs2: Don't set GLF_LOCK in gfs2_dispose_glock_lru
    22185892fc22 ASoC: amd: yc: Fix for enabling DMIC on acp6x via _DSD entry
    2c9a5607ecba apparmor: fix 'Do simple duplicate message elimination'
    020002c76147 drm/amd/display: Fix null check for pipe_ctx->plane_state in hwss_setup_dpp
    756f30dc27ae drm/radeon: Fix spurious unplug event on radeon HDMI
    5e3a0f772d97 drm/radeon: change rdev->ddev to rdev_to_drm(rdev)
    28f6a86a2f66 drm/radeon: add helper rdev_to_drm(rdev)
    95070c084e20 ALSA: hda/realtek: Update ALC256 depop procedure
    789a72498d32 firmware_loader: Fix possible resource leak in fw_log_firmware_info()
    4a92e1030242 counter: ti-ecap-capture: Add check for clk_enable()
    5f7d46164af2 counter: stm32-timer-cnt: Add check for clk_enable()
    ed4c8fc2e71d misc: apds990x: Fix missing pm_runtime_disable()
    ce833757ba75 USB: chaoskey: Fix possible deadlock chaoskey_list_lock
    acfc4350dc2a USB: chaoskey: fail open after removal
    67970b0cc76b usb: yurex: make waiting on yurex_write interruptible
    7051f66d8158 usb: using mutex lock and supporting O_NONBLOCK flag in iowarrior_read()
    8353a251accf iio: light: al3010: Fix an error handling path in al3010_probe()
    8e0e47f038bc ipmr: fix tables suspicious RCU usage
    bba7909b511b ip6mr: fix tables suspicious RCU usage
    65ed89cad1f5 tcp: Fix use-after-free of nreq in reqsk_timer_handler().
    265f1f22fddd rxrpc: Improve setsockopt() handling of malformed user input
    9a62ca28d3f8 llc: Improve setsockopt() handling of malformed user input
    5703fb1d85f6 Bluetooth: MGMT: Fix possible deadlocks
    95f7a972194a Bluetooth: MGMT: Fix slab-use-after-free Read in set_powered_sync
    65e3a909bdab bnxt_en: Unregister PTP during PCI shutdown and suspend
    85c37802d94f bnxt_en: Refactor bnxt_ptp_init()
    c48cfa53fe96 bnxt_en: Reserve rings after PCIe AER recovery if NIC interface is down
    fd7259c1bacc net: hsr: fix hsr_init_sk() vs network/transport headers.
    41535cb14342 spi: atmel-quadspi: Fix register name in verbose logging function
    fed89cfab189 octeontx2-af: Quiesce traffic before NIX block reset
    0bbba28d4b8c octeontx2-af: RPM: fix stale FCFEC counters
    f002f21c1227 octeontx2-af: RPM: fix stale RSFEC counters
    92ada6df6ce7 octeontx2-pf: Reset MAC stats during probe
    3eda3da855da octeontx2-af: RPM: Fix low network performance
    6030d66ac03a octeontx2-af: RPM: Fix mismatch in lmac type
    7501912e5a9f net: stmmac: dwmac-socfpga: Set RX watchdog interrupt as broken
    93ccc94dd713 marvell: pxa168_eth: fix call balance of pep->clk handling routines
    6aa2ede634ad net: mdio-ipq4019: add missing error check
    836deb96383e net/ipv6: delete temporary address if mngtmpaddr is removed or unmanaged
    42251c2d1ef1 s390/iucv: MSG_PEEK causes memory leak in iucv_sock_destruct()
    f2a30e6fcd5a net: microchip: vcap: Add typegroup table terminators in kunit tests
    e3bb76fe2288 net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
    d0f06266562b tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets
    bca2c418a597 net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
    a422ebec863d net: usb: lan78xx: Fix double free issue with interrupt buffer allocation
    3ea084dfc5a8 power: supply: rt9471: Use IC status regfield to report real charger status
    8637f400b253 power: supply: rt9471: Fix wrong WDT function regfield declaration
    7f395c87a8fe power: supply: bq27xxx: Fix registers of bq27426
    348d7d07ef3b power: supply: core: Remove might_sleep() from power_supply_put()
    0c8d50501bc1 LoongArch: BPF: Sign-extend return values
    a639cea4de29 LoongArch: Fix build failure with GCC 15 (-std=gnu23)
    7ea2a3d40142 fs_parser: update mount_api doc to match function signature
    06f2fcf49854 vfio/pci: Properly hide first-in-list PCIe extended capability
    1f7b85e5ffd8 gpio: zevio: Add missed label initialisation
    c2d6226bef96 selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels
    6c5ddc2b68f2 vdpa/mlx5: Fix suboptimal range on iotlb iteration
    40be5b4c0c15 hwmon: (tps23861) Fix reporting of negative temperatures
    1dfc79bfc544 NFSD: Fix nfsd4_shutdown_copy()
    1c9a99c89e45 svcrdma: fix miss destroy percpu_counter in svc_rdma_proc_init()
    bd8524148dd8 nfsd: release svc_expkey/svc_export with rcu_work
    028417543535 NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
    eb51733ae5fc NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
    242ee2b0ad9b PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
    2ffc58ec837e remoteproc: qcom_q6v5_mss: Re-order writes to the IMEM region
    ab897ca4d7bb rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
    c437af60c4f1 remoteproc: qcom: pas: add minidump_id to SM8350 resources
    2f465476ff8b perf trace: Avoid garbage when not printing a syscall's arguments
    fad7be239512 perf trace: Do not lose last events in a race
    e3b4b95c2b8b perf trace: Fix tracing itself, creating feedback loops
    f38ab496c7c4 perf list: Fix topic and pmu_name argument order
    838dd342962c svcrdma: Address an integer overflow
    022c3fc12850 m68k: coldfire/device.c: only build FEC when HW macros are defined
    c178bcaccbfd m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
    ad8cf4a18d99 perf trace: avoid garbage when not printing a trace event's arguments
    16784362b4bd f2fs: fix to avoid forcing direct write to use buffered IO on inline_data inode
    794fa8792d4e f2fs: fix race in concurrent f2fs_stop_gc_thread
    e466b89987d8 PCI: j721e: Deassert PERST# after a delay of PCIE_T_PVPERL_MS milliseconds
    9621a3d5a4e0 PCI: j721e: Add suspend and resume support
    bea0c0e4013b PCI: j721e: Use T_PERST_CLK_US macro
    0a289ca90225 PCI: j721e: Add reset GPIO to struct j721e_pcie
    762de2993b77 PCI: cadence: Set cdns_pcie_host_init() global
    4231df767001 PCI: cadence: Extract link setup sequence from cdns_pcie_host_setup()
    5261d258e318 PCI: j721e: Add PCIe 4x lane selection support
    7c3bf691097c PCI: j721e: Add per platform maximum lane settings
    47203d68f52a PCI: Add T_PVPERL macro
    ed16873faf6a f2fs: fix to avoid use GC_AT when setting gc_mode as GC_URGENT_LOW or GC_URGENT_MID
    ecf4e6782b01 f2fs: fix to avoid potential deadlock in f2fs_record_stop_reason()
    67f4c6646011 f2fs: check curseg->inited before write_sum_page in change_curseg
    f3d586b7ab62 f2fs: fix the wrong f2fs_bug_on condition in f2fs_do_replace_block
    aac3361f6d22 perf ftrace latency: Fix unit on histogram first entry when using --use-nsec
    b6b896c2fd44 PCI: cpqphp: Fix PCIBIOS_* return value confusion
    f974480cf399 PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
    b7c4121a4390 rust: macros: fix documentation of the paste! macro
    cbc853c490c9 perf probe: Correct demangled symbols in C++ program
    2c6f6c3843df perf probe: Fix libdw memory leak
    f1b8bfe8d2f2 f2fs: fix to account dirty data in __get_secs_required()
    6b0ed65c94c2 f2fs: compress: fix inconsistent update of i_blocks in release_compress_blocks and reserve_compress_blocks
    9ac8d6636230 perf test attr: Add back missing topdown events
    0c4753453964 perf trace: Keep exited threads for summary
    380bc5a698b9 perf stat: Fix affinity memory leaks on error path
    035c6b7a13ac perf stat: Close cork_fd when create_perf_stat_counter() failed
    8e098baf6bc3 PCI: Fix reset_method_store() memory leak
    e30cab288c8d gfs2: Fix unlinked inode cleanup
    8264963475ca gfs2: Allow immediate GLF_VERIFY_DELETE work
    4389447f1b2a gfs2: Rename GLF_VERIFY_EVICT to GLF_VERIFY_DELETE
    39822f7f4963 gfs2: Replace gfs2_glock_queue_put with gfs2_glock_put_async
    67696fef78cf gfs2: Get rid of gfs2_glock_queue_put in signal_our_withdraw
    300b21886232 perf cs-etm: Don't flush when packet_queue fills up
    39e5f390c2c9 mailbox: arm_mhuv2: clean up loop in get_irq_chan_comb()
    ebe0f8dc243e smb: cached directories can be more than root file handle
    f65f4ad87797 pinctrl: k210: Undef K210_PC_DEFAULT
    0dffdb2e70f1 arm64: dts: qcom: sc8180x: Add a SoC-specific compatible to cpufreq-hw
    118aa7cacaa5 clk: clk-axi-clkgen: make sure to enable the AXI bus clock
    abdf848ce528 dt-bindings: clock: axi-clkgen: include AXI clk
    fbb13732c6ff clk: ralink: mtmips: fix clocks probe order in oldest ralink SoCs
    f85a1d06afbc clk: ralink: mtmips: fix clock plan for Ralink SoC RT3883
    72ea9a7e9e26 clk: clk-apple-nco: Add NULL check in applnco_probe
    921fcf2971a1 RDMA/mlx5: Move events notifier registration to be after device registration
    b6334d2356fc IB/mlx5: Allocate resources just before first QP/SRQ is created
    3dd9df8e5f34 fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
    1dd2d5630f0c powerpc/kexec: Fix return of uninitialized variable
    277ecc3d9797 powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static
    d2f3414036be KVM: PPC: Book3S HV: Avoid returning to nested hypervisor on pending doorbells
    e7d134bd28ee KVM: PPC: Book3S HV: Stop using vc->dpdes for nested KVM guests
    a6faea503ba4 dax: delete a stale directory pmem
    8e0de82ed18b ocfs2: fix uninitialized value in ocfs2_file_read_iter()
    ae5427f88f19 cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_power()
    4989d1ccf6f1 cpufreq: CPPC: Fix wrong return value in cppc_get_cpu_cost()
    6b0d7d6e6883 RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
    451d57b22b4a RDMA/hns: Fix out-of-order issue of requester when setting FENCE
    837197f49c71 x86/tdx: Dynamically disable SEPT violations from causing #VEs
    44cb69dbec78 x86/tdx: Rename tdx_parse_tdinfo() to tdx_setup()
    d4e39b6f96fe x86/tdx: Introduce wrappers to read and write TD metadata
    d0f6d80dbc79 x86/tdx: Pass TDCALL/SEAMCALL input/output registers via a structure
    a79a114f60f1 x86/tdx: Rename __tdx_module_call() to __tdcall()
    40d3b219aeb7 x86/tdx: Make macros of TDCALLs consistent with the spec
    2765142c05a6 x86/tdx: Skip saving output regs when SEAMCALL fails with VMFailInvalid
    c72a9456fdc8 scsi: sg: Enable runtime power management
    10a6fc486ac4 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
    7c1832287b21 scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
    ac3c9fb621de scsi: fusion: Remove unused variable 'rc'
    c28409f851ab scsi: bfa: Fix use-after-free in bfad_im_module_exit()
    d069227df10d fs/proc/kcore.c: fix coccinelle reported ERROR instances
    ed2571229155 mfd: rt5033: Fix missing regmap_del_irq_chip()
    ec3eb00526bf checkpatch: always parse orig_commit in fixes tag
    f6a2560e149e checkpatch: check for missing Fixes tags
    0ac9a7fbe907 iommu/vt-d: Fix checks and print in pgtable_walk()
    c801250a7714 iommu/vt-d: Fix checks and print in dmar_fault_dump_ptes()
    0bfed74e80cc clk: imx: imx8-acm: Fix return value check in clk_imx_acm_attach_pm_domains()
    e334c2fd518c clk: imx: clk-scu: fix clk enable state save and restore
    b92706bd0eb0 clk: imx: fracn-gppll: fix pll power up
    db62437bf2da clk: imx: fracn-gppll: correct PLL initialization flow
    791bf6190357 clk: imx: lpcg-scu: SW workaround for errata (e10858)
    cd2f9bc87711 RISC-V: KVM: Fix APLIC in_clrip and clripnum write emulation
    e435f311c55d RDMA/rxe: Set queue pair cur_qp_state when being queried
    a9b251599bd3 clk: renesas: rzg2l: Fix FOUTPOSTDIV clk
    4f2d22278e93 clk: sunxi-ng: d1: Fix PLL_AUDIO0 preset
    f37cc04fe893 RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey
    31978d5c5aef RDMA/rxe: Fix the qp flush warnings in req
    b4ba31e5aaff RDMA/hns: Fix cpu stuck caused by printings during reset
    8e20ac838be8 RDMA/hns: Use dev_* printings in hem code instead of ibdev_*
    44470c5eb88b RDMA/hns: Fix an AEQE overflow error caused by untimely update of eq_db_ci
    f05ef81db638 cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
    e07570a8f2cf cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
    a246daa26b71 powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
    8a06435959cc mtd: spi-nor: spansion: Use nor->addr_nbytes in octal DTR mode in RD_ANY_REG_OP
    9ea8d8bf9b62 powerpc/mm/fault: Fix kfence page fault reporting
    f1290871c8aa mtd: rawnand: atmel: Fix possible memory leak
    95b9fb67e493 mtd: hyperbus: rpc-if: Add missing MODULE_DEVICE_TABLE
    29664ae6c473 mtd: hyperbus: rpc-if: Convert to platform remove callback returning void
    c5c1d1ef7083 powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
    92f7cc84c3db powerpc/fadump: Refactor and prepare fadump_cma_init for late init
    783df31532f9 cpufreq: loongson2: Unregister platform_driver on failure
    d4cc78bd6a25 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices
    1b734ad0e336 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
    e1ef62e8d262 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
    d80635d7ebef mfd: da9052-spi: Change read-mask to write-mask
    7c8ac49aa18a mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
    a7083f0ce5f8 powerpc/vdso: Flag VDSO64 entry points as functions
    40163b26c3de scsi: hisi_sas: Enable all PHYs that are not disabled by user during controller reset
    8b12c4e29ac2 pinctrl: zynqmp: drop excess struct member description
    840295a8ff9e trace/trace_event_perf: remove duplicate samples on the first tracepoint event
    3d02397ca30b clk: mediatek: drop two dead config options
    e2f15cb48ab7 cppc_cpufreq: Use desired perf if feedback ctrs are 0 or unchanged
    c4b6c1781f6c unicode: Fix utf8_load() error path
    da2bc8a0c8f3 bpf: fix recursive lock when verdict program return SK_PASS
    aeafba58c432 wireguard: selftests: load nf_conntrack if not present
    4802caac250b netpoll: Use rcu_access_pointer() in netpoll_poll_lock
    f466641debcb erofs: handle NONHEAD !delta[1] lclusters gracefully
    de5a44f351ca Bluetooth: fix use-after-free in device_for_each_child()
    b754e831a94f ALSA: 6fire: Release resources at card release
    4507a8b9b303 ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
    2938dd264852 ALSA: us122l: Use snd_card_free_when_closed() at disconnection
    e07605d855c4 ALSA: usx2y: Use snd_card_free_when_closed() at disconnection
    440f6a15700e net: rfkill: gpio: Add check for clk_enable()
    89bf1b665ba9 bpf: Force uprobe bpf program to always return 0
    38e3d796f654 drm/amdkfd: Fix wrong usage of INIT_WORK()
    d1fb89f0024d selftests: net: really check for bg process completion
    43e25adc8026 ipv6: release nexthop on device removal
    70530a2f8120 net: use unrcu_pointer() helper
    bba7266d9dc4 sock_diag: allow concurrent operation in sock_diag_rcv_msg()
    161d4fc07133 sock_diag: allow concurrent operations
    37103a9d7f12 sock_diag: add module pointer to "struct sock_diag_handler"
    5ef3e03228e1 bpf, sockmap: Fix sk_msg_reset_curr
    98c7ea7d11f2 bpf, sockmap: Several fixes to bpf_msg_pop_data
    a53ad8ab116d bpf, sockmap: Several fixes to bpf_msg_push_data
    9df2dddc083a selftests/bpf: Add push/pop checking for msg_verify_data in test_sockmap
    862b395de02d selftests/bpf: Fix total_bytes in msg_loop_rx in test_sockmap
    a1820f63dd1e selftests/bpf: Fix SENDPAGE data logic in test_sockmap
    c8803b286d9d selftests/bpf: Add txmsg_pass to pull/push/pop in test_sockmap
    c88ae0a77c21 netlink: typographical error in nlmsg_type constants definition
    c65cff783752 netfilter: nf_tables: must hold rcu read lock while iterating object type list
    5199d4a4e018 netfilter: nf_tables: skip transaction if update object is not implemented
    981af60dd6a2 netfilter: nf_tables: must hold rcu read lock while iterating expression type list
    cd38d9cdf4bb netfilter: nf_tables: avoid false-positive lockdep splat on rule deletion
    6ee1c9849cc4 netfilter: nf_tables: Introduce nf_tables_getrule_single()
    1d0f811ec145 netfilter: nf_tables: Open-code audit log call in nf_tables_getrule()
    cf7b5e0bc199 drm: use ATOMIC64_INIT() for atomic64_t
    23c3f60082ac drm/vkms: Drop unnecessary call to drm_crtc_cleanup()
    41f0b320b6ea bpf, bpftool: Fix incorrect disasm pc
    b32f915fc659 drm/msm/dpu: cast crtc_clk calculation to u64 in _dpu_core_perf_calc_clk()
    1c079dace922 wifi: wfx: Fix error handling in wfx_core_init()
    a17b9afe58c4 drm: zynqmp_kms: Unplug DRM device before removal
    237f2dbfa005 drm/nouveau/gr/gf100: Fix missing unlock in gf100_gr_chan_new()
    ba0599332acc drm/etnaviv: hold GPU lock across perfmon sampling
    6b1c1297bcd5 drm/etnaviv: Request pages from DMA32 zone on addressing_limited
    a3d37915f133 drm/msm/gpu: Check the status of registration to PM QoS
    1021cc87206a drm/msm/adreno: Use IRQF_NO_AUTOEN flag in request_irq()
    d6a559c5642d bpf, arm64: Remove garbage frame for struct_ops trampoline
    c6120d95c729 drm/panfrost: Remove unused id_mask from struct panfrost_model
    b955ceba2c1e selftests/bpf: fix test_spin_lock_fail.c's global vars usage
    b99db02209ca octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dcbnl.c
    3ccbc7a51886 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
    c5a6c5af4346 octeontx2-pf: handle otx2_mbox_get_rsp errors in cn10k.c
    c4eae7bac880 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_flows.c
    c0f64fd73b60 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_ethtool.c
    52c63a6a27d3 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c
    bfbd0b09aff0 drm/msm/dpu: drop LM_3 / LM_4 on MSM8998
    29fa82adec3c drm/msm/dpu: drop LM_3 / LM_4 on SDM845
    b9ebac16315e drm/msm/dpu: on SDM845 move DSPP_3 to LM_5 block
    0e5bcf5136f1 drm: fsl-dcu: enable PIXCLK on LS1021A
    c4698ef8c42e wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
    557e07a7a487 selftests/bpf: Fix txmsg_redir of test_txmsg_pull in test_sockmap
    26f54adde839 selftests/bpf: Fix msg_verify_data in test_sockmap
    5981e6e1b50d drm/bridge: tc358767: Fix link properties discovery
    80afbcbdaf48 netdevsim: copy addresses for both in and out paths
    ef38a689f4e0 libbpf: never interpret subprogs in .text as entry programs
    452eb0e1589d ASoC: rt722-sdca: Remove logically deadcode in rt722-sdca.c
    36c79b9ff20a libbpf: fix sym_is_subprog() logic for weak global subprogs
    a8ec6447d76d drm/vc4: Match drm_dev_enter and exit calls in vc4_hvs_atomic_flush
    fff56eb08053 ice: consistently use q_idx in ice_vc_cfg_qs_msg()
    a340f9115301 ice: Support FCS/CRC strip disable for VF
    2edb61b5d3f0 virtchnl: Add CRC stripping capability
    fb5d7f68e676 wifi: ath11k: Fix CE offset address calculation for WCN6750 in SSR
    e05f60981951 bpf: Fix the xdp_adjust_tail sample prog issue
    44a21d9fbc2d libbpf: Fix output .symtab byte-order during linking
    d900a20e33d7 libbpf: Fix expected_attach_type set handling in program load callback
    65f9fe75cad1 drm/bridge: it6505: Drop EDID cache on bridge power off
    c2a04ba6f93d drm/bridge: anx7625: Drop EDID cache on bridge power off
    3340acafcce6 ASoC: dt-bindings: mt6359: Update generic node name and dmic-mode
    537f327629be ASoC: fsl_micfil: fix regmap_write_bits usage
    53507b7c6363 dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
    d73da0dd2853 wifi: ath12k: Skip Rx TID cleanup for self peer
    8325a50983c1 wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss2
    9ef3985a9e02 wifi: ath10k: fix invalid VHT parameters in supported_vht_mcs_rate_nss1
    56541262079d drm/v3d: Address race-condition in MMU flush
    fda29dff5581 drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq()
    b509546bfa1f drm/imx/dcss: Use IRQF_NO_AUTOEN flag in request_irq()
    521d4b3f1dc1 wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
    dbdca51b054f wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq()
    088e10e74390 drm/omap: Fix locking in omap_gem_new_dmabuf()
    4da37fba2a6b drm/omap: Fix possible NULL dereference
    b6551479daf2 wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
    9728b508b01a drm/vc4: hvs: Correct logic on stopping an HVS channel
    52c1716f65a5 drm/vc4: hvs: Remove incorrect limit from hvs_dlist debugfs function
    8182b5ca19c6 drm/vc4: hvs: Fix dlist debug not resetting the next entry pointer
    c7d474974954 drm/vc4: hdmi: Avoid hang with debug registers when suspended
    40c77e93cfdd drm/vc4: hvs: Don't write gamma luts on 2711
    2ee46de426cc drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused
    6c8938e41b82 platform/x86: panasonic-laptop: Return errno correctly in show callback
    b03e713a400a HID: hyperv: streamline driver probe to avoid devres issues
    599929021528 arm64: dts: rockchip: correct analog audio name on Indiedroid Nova
    8066badaf746 media: atomisp: Add check for rgby_data memory allocation failure
    025067eeb945 firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
    667b0527a3e7 selftests/resctrl: Protect against array overrun during iMC config parsing
    99ca7bddcade selftests/resctrl: Fix memory overflow due to unhandled wraparound
    feb6e4412537 selftests/resctrl: Refactor fill_buf functions
    315f9a1e1748 selftests/resctrl: Split fill_buf to allow tests finer-grained control
    367a0a92b968 arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add supplies for fixed regulators
    1e1acb879e3c arm64: dts: mediatek: mt8183-kukui-jacuzzi: Fix DP bridge supply names
    7db9c3c15fb5 arm64: dts: mediatek: mt6358: fix dtbs_check error
    dbcba9b1108a arm64: dts: mediatek: Add ADC node on MT6357, MT6358, MT6359 PMICs
    a67ebf6dcc4a arm64: dts: renesas: hihope: Drop #sound-dai-cells
    3dea2312ab45 regmap: irq: Set lockdep class for hierarchical IRQ domains
    2c8cfd167100 spi: zynqmp-gqspi: Undo runtime PM changes at driver exit time​
    48e518e705e7 spi: tegra210-quad: Avoid shift-out-of-bounds
    872bfc20abea pmdomain: ti-sci: Add missing of_node_put() for args.np
    1103d3b5a502 of/fdt: add dt_phys arg to early_init_dt_scan and early_init_dt_verify
    be0a96cfa9c0 x86/of: Unconditionally call unflatten_and_copy_device_tree()
    ccf190dba640 um: Unconditionally call unflatten_device_tree()
    66b991a52ae6 arm64: dts: ti: k3-j721s2: Fix clock IDs for MCSPI instances
    a21e7623d782 arm64: dts: ti: k3-j721e: Fix clock IDs for MCSPI instances
    cae00563f173 arm64: dts: ti: k3-j7200: Fix clock ids for MCSPI instances
    ccdac40ce4d2 arm64: dts: ti: k3-j7200: Fix register map for main domain pmx
    4981b8a2d9fa arm64: dts: ti: k3-j7200: use ti,j7200-padconf compatible
    9810ceccd99b ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
    0d9cee68a3f1 pwm: imx27: Workaround of the pwm output bug when decrease the duty cycle
    15cbeb8ae3c0 arm64: dts: mt8183: Damu: add i2c2's i2c-scl-internal-delay-ns
    8e965120d845 arm64: dts: mt8183: cozmo: add i2c2's i2c-scl-internal-delay-ns
    8b833a02b454 arm64: dts: mt8183: burnet: add i2c2's i2c-scl-internal-delay-ns
    0f627e99cca6 arm64: dts: mt8183: fennel: add i2c2's i2c-scl-internal-delay-ns
    52c3eb1c8ce8 regulator: rk808: Restrict DVS GPIOs to the RK808 variant only
    9e67b054198f cgroup/bpf: only cgroup v2 can be attached by bpf programs
    92031d660152 Revert "cgroup: Fix memory leak caused by missing cgroup_bpf_offline"
    2ef8dc16041b arm64: dts: mediatek: mt8173-elm-hana: Add vdd-supply to second source trackpad
    78a8e85b5314 arm64: dts: mt8183: kukui: Fix the address of eeprom at i2c4
    699e5e70ad34 arm64: dts: mt8183: krane: Fix the address of eeprom at i2c4
    3164cc7cf77a media: i2c: ds90ub960: Fix missing return check on ub960_rxport_read call
    f8549e3f03c1 tpm: fix signed/unsigned bug when checking event logs
    ae0ad1626018 efi/libstub: fix efi_parse_options() ignoring the default command line
    b18f8d9e2827 openrisc: Implement fixmap to fix earlycon
    91884250825f mmc: mmc_spi: drop buggy snprintf()
    4e12b09f57c2 ARM: dts: microchip: sam9x60: Add missing property atmel,usart-mode
    653847d80fa9 arm64: dts: qcom: sm6350: Fix GPU frequencies missing on some speedbins
    c24e019ca12d soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
    bfd19f48c45c soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
    b7394c6fba3a arm64: dts: mt8195: Fix dtbs_check error for infracfg_ao node
    0a3ba7c09ac8 arm64: dts: mt8195: Fix dtbs_check error for mutex node
    1dcb74ebda5c microblaze: Export xmb_manager functions
    882d7afaa4b8 drivers: soc: xilinx: add the missing kfree in xlnx_add_cb_for_suspend()
    d3a5e7ffbd41 spi: spi-fsl-lpspi: Use IRQF_NO_AUTOEN flag in request_irq()
    ecbc50474769 clocksource/drivers/timer-ti-dm: Fix child node refcount handling
    3ba257d80ffa clocksource/drivers:sp804: Make user selectable
    45eec49fa2fa kcsan, seqlock: Fix incorrect assumption in read_seqbegin()
    5b12a7e70b0b kcsan, seqlock: Support seqcount_latch_t
    01b61f5cef36 time: Fix references to _msecs_to_jiffies() handling of values
    7723bfe6f903 time: Partially revert cleanup on msecs_to_jiffies() documentation
    8d91bdca2f97 x86/unwind/orc: Fix unwind for newly forked tasks
    cc08c2c8e98e thermal/lib: Fix memory leak on error in thermal_genl_auto()
    1b78ac7eb6c7 tools/lib/thermal: Make more generic the command encoding function
    5cecc5786506 rcuscale: Do a proper cleanup if kfree_scale_init() fails
    a40520a7a5e6 crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
    ae5253313e0e crypto: bcm - add error check in the ahash_hmac_init function
    5a0329563e25 crypto: caam - add error check to caam_rsa_set_priv_key_form
    1fa9635a5f67 ACPI: CPPC: Fix _CPC register setting issue
    685c10269c41 hwmon: (nct6775-core) Fix overflows seen when writing limit attributes
    4ffcf7893f4b hwmon: (pmbus/core) clear faults after setting smbalert mask
    714788c6a697 hwmon: (pmbus_core) Allow to hook PMBUS_SMBALERT_MASK
    967a0e619108 rcu/kvfree: Fix data-race in __mod_timer / kvfree_call_rcu
    f5fed8a850d0 doc: rcu: update printed dynticks counter bits
    605150b4c903 crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init()
    830cabb61113 EDAC/igen6: Avoid segmentation fault on module unload
    6a975fbab1d2 crypto: hisilicon/qm - disable same error report before resetting
    4b3c113af8d6 amd-pstate: Set min_perf to nominal_perf for active mode performance gov
    db74e48b49ad crypto: cavium - Fix the if condition to exit loop after timeout
    5edae7a9a356 crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
    d9338b781fe9 EDAC/{skx_common,i10nm}: Fix incorrect far-memory error source indicator
    edf58d4bebc3 EDAC/skx_common: Differentiate memory error sources
    63a2d940c719 EDAC/fsl_ddr: Fix bad bit shift operations
    ac7dfac63970 thermal: core: Initialize thermal zones before registering them
    85a57cdc1b25 crypto: qat - remove faulty arbiter config reset
    ac6ebb9edcdb EDAC/bluefield: Fix potential integer overflow
    bba6cba4dab2 firmware: google: Unregister driver_info on failure
    05c9a7a53444 crypto: qat/qat_4xxx - fix off by one in uof_get_name()
    2a064b788dee crypto: qat - remove check after debugfs_create_dir()
    1f8e2f597b91 crypto: caam - Fix the pointer passed to caam_qi_shutdown()
    b2c36fa9ac8a virtio_blk: reverse request order in virtio_queue_rqs
    519899291235 nvme-pci: reverse request order in nvme_queue_rqs
    77035e4d27e1 ext4: fix race in buffer_head read fault injection
    cca059508975 ext4: remove array of buffer_heads from mext_page_mkuptodate()
    2266fe580adf ext4: pipeline buffer reads in mext_page_mkuptodate()
    fbd359a2ee20 ext4: remove calls to to set/clear the folio error flag
    21900e847812 hfsplus: don't query the device logical block size multiple times
    13ebba9e57a6 s390/syscalls: Avoid creation of arch/arch/ directory
    fad4262bd40d block: fix bio_split_rw_at to take zone_write_granularity into account
    539fabba965e netfs/fscache: Add a memory barrier for FSCACHE_VOLUME_CREATING
    ae8c963906ed cachefiles: Fix missing pos updates in cachefiles_ondemand_fd_write_iter()
    01f605a4cd74 acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block()
    b46bc5b02ded arm64: fix .data.rel.ro size assertion when CONFIG_LTO_CLANG
    d4e05e954504 m68k: mvme147: Reinstate early console
    6395a5f9eb44 m68k: mvme16x: Add and use "mvme16x.h"
    d77659d3ffba m68k: mvme147: Fix SCSI controller IRQ numbers
    cee3bff51a35 nvme-pci: fix freeing of the HMB descriptor table
    1a423bbbeaf9 initramfs: avoid filename buffer overrun
    372042443be4 mips: asm: fix warning when disabling MIPS_FP_SUPPORT
    6c63de9b4d0e ext4: avoid remount errors with 'abort' mount option
    410896624db6 brd: defer automatic disk creation until module initialization succeeds
    83d123e27623 x86/pvh: Call C code via the kernel virtual mapping
    f662b4a69e1d x86/pvh: Set phys_base when calling xen_prepare_pvh()
    aa6e32c654fc s390/pageattr: Implement missing kernel_page_present()
    a1dc0428c05a s390/cio: Do not unregister the subchannel based on DNV
    9820f3548679 kselftest/arm64: mte: fix printf type warnings about longs
    b95a1cd26a28 kselftest/arm64: mte: fix printf type warnings about __u64
    0dd9a53bb9b2 arm64: probes: Disable kprobes/uprobes on MOPS instructions
    ecc2aeeaa08a bpf: support non-r10 register spill/fill to/from stack in precision tracking
    44b1bfb5bd97 mptcp: fix possible integer overflow in mptcp_reset_tout_timer
    68f75e6f08aa drm/amd/display: Add null check for pipe_ctx->plane_state in dcn20_program_pipe
    36ff963c133a platform/x86: x86-android-tablets: Unregister devices in reverse order
    f7d9a18572fc nvme: apple: fix device reference counting
    3820b0fac773 fs/proc: do_task_stat: use sig->stats_lock to gather the threads/children stats
    c7e65cab54a8 drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute
    c3a3b6d9a938 drm/amd/display: Check null-initialized variables
    e0f6ee75f504 fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name
    9f35cec5e4b9 drm/amd/display: Initialize denominators' default to 1
    f38b09ba6a33 drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
    9d0f1e745e95 x86/stackprotector: Work around strict Clang TLS symbol requirements
    dc5ead0e8fc5 serial: sc16is7xx: fix invalid FIFO access with special register set
    a891938947f4 s390/pkey: Wipe copies of clear-key structures on failure
    d038693e08ad i2c: lpi2c: Avoid calling clk_get_rate during transfer
    561063997ae3 ipmr: Fix access to mfc_cache_list without lock held
    2abc2bd53e4c ARM: 9420/1: smp: Fix SMP for xip kernels
    344fb3c52923 ALSA: usb-audio: Fix Yamaha P-125 Quirk Entry
    7ed79c551c09 LoongArch: Define a default value for VM_DATA_DEFAULT_FLAGS
    65b08af3c4a1 ASoC: audio-graph-card2: Purge absent supplies for device tree nodes
    fe8c40810a11 proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
    82d0f099009e drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    0058f8ebfdb0 ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
    d525fc94249a ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
    1423de2c7ba1 ASoC: amd: yc: Support dmic on another model of Lenovo Thinkpad E14 Gen 6
    b07b441b79c2 platform/x86: thinkpad_acpi: Fix for ThinkPad's with ECFW showing incorrect fan speed
    769aa742527c can: j1939: fix error in J1939 documentation.
    3e8cc9901073 tools/lib/thermal: Remove the thermal.h soft link when doing make clean
    bb64195b56ca ASoC: tas2781: Add new driver version for tas2563 & tas2781 qfn chip
    739aac7323f0 platform/x86: dell-wmi-base: Handle META key Lock/Unlock events
    32660e18f5ca platform/x86: dell-smbios-base: Extends support to Alienware products
    fd782cb8f9d3 regulator: rk808: Add apply_bit for BUCK3 on RK809
    cb5bf9377102 firmware: arm_scmi: Reject clear channel request on A2P
    3bb3fa542835 soc: qcom: Add check devm_kasprintf() returned value
    7c92e2b55677 net: usb: qmi_wwan: add Quectel RG650V
    363473736bb0 bpf: fix filed access without lock
    3e3bc9cf3fdf x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB
    1b15738a7d30 ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
    9dc3380fb586 selftests/watchdog-test: Fix system accidentally reset after watchdog-test
    16009cc182ef usb: typec: use cleanup facility for 'altmodes_node'
    f083283f914b usb: add support for new USB device ID 0x17EF:0x3098 for the r8152 driver
    24fa3e9443a4 mac80211: fix user-power when emulating chanctx
    675a1803efa1 wifi: iwlwifi: mvm: Use the sync timepoint API in suspend
    9b0f6adf28b4 ASoC: Intel: sst: Support LPE0F28 ACPI HID
    92cab36cf11a ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet
    6909df783e42 ASoC: Intel: bytcr_rt5640: Add support for non ACPI instantiated codec
    98130b150916 ASoC: codecs: rt5640: Always disable IRQs from rt5640_cancel_work()
    28f152fc9553 wifi: radiotap: Avoid -Wflex-array-member-not-at-end warnings
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 036022b26de20f5eac567b81373e5c468b24001c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f77ff46e2a31c7a5ced9ede51ad871e38084d33e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
4bb4743d75 linux-yocto/6.6: update to v6.6.63
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    bff3e13adb72 Linux 6.6.63
    62aec1e92599 mm/damon/core: copy nr_accesses when splitting region
    6cba27abb669 mm/damon/core: handle zero schemes apply interval
    b0fb9543b119 mm/damon/core: check apply interval in damon_do_apply_schemes()
    bdc136e2b05f mm: resolve faulty mmap_region() error path behaviour
    04b7efa421dc mm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling
    3a6d8d3f1998 mm: refactor map_deny_write_exec()
    a97fe6889b25 mm: unconditionally close VMAs on error
    cd3ed99fca8c mm: avoid unsafe VMA hook invocation when error arises on mmap hook
    172ffd26a5af leds: mlxreg: Use devm_mutex_init() for mutex initialization
    3a741b80b345 fs/9p: fix uninitialized values during inode evict
    f111de0f0103 drm/amd/pm: Vangogh: Fix kernel memory out of bounds write
    3bc4569a727d mptcp: pm: use _rcu variant under rcu_read_lock
    fc3c73284d2e mptcp: drop lookup_by_id in lookup_addr
    416001b0412f mptcp: hold pm lock when deleting entry
    ac56c5e80e1f mptcp: update local address flags when setting it
    aa2b28ddcc26 mptcp: add userspace_pm_lookup_addr_by_id helper
    762ca2d2e3c7 mptcp: define more local variables sk
    fb79d68a36e2 NFSD: Never decrement pending_async_copies on error
    421f1a2a1afb NFSD: Initialize struct nfsd4_copy earlier
    ae267989b7b7 NFSD: Limit the number of concurrent async COPY operations
    20a10c78ac3a NFSD: Async COPY result needs to return a write verifier
    74115b3e41c7 NFSD: initialize copy->cp_clp early in nfsd4_copy for use by trace point
    db12e874e1a2 media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
    efb258ec337f lib/buildid: Fix build ID parsing logic
    0c623f5692a0 staging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation
    6dee8f99c690 staging: vchiq_arm: Get the rid off struct vchiq_2835_state
    6bfed8babc1a mm/damon/core: handle zero {aggregation,ops_update} intervals
    973739c94521 mm/damon/core: implement scheme-specific apply interval
    0a326fbc8f72 drm/amd/display: Adjust VSDB parser for replay feature
    5e91cd9a3417 drm/amd: Fix initialization mistake for NBIO 7.7.0
    16abd7ce81e4 nouveau: fw: sync dma after setup is called.
    8fc228ab5d38 pmdomain: imx93-blk-ctrl: correct remove path
    1a312ed8f9b2 drm/bridge: tc358768: Fix DSI command tx
    930f99a21e7f mmc: sunxi-mmc: Fix A100 compatible description
    56de724c58c0 Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
    32fc8cedcba6 LoongArch: Make KASAN work with 5-level page-tables
    4457bc909d1e LoongArch: Disable KASAN if PGDIR_SIZE is too large for cpu_vabits
    f04125eb9eb5 LoongArch: Fix early_numa_add_cpu() usage for FDT systems
    b0e476574004 nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
    672668e0208f ocfs2: fix UBSAN warning in ocfs2_verify_volume()
    037108f03ed4 ALSA: hda/realtek: fix mute/micmute LEDs for a HP EliteBook 645 G10
    630adf4d66f7 ALSA: hda/realtek - Fixed Clevo platform headset Mic issue
    8bbf0ab631cd nommu: pass NULL argument to vma_iter_prealloc()
    59b49ca67cca nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
    d28b059ee477 KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
    4b7522b0040f KVM: x86: Unconditionally set irr_pending when updating APICv state
    190b344caadc KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled
    8a84765c62cc ima: fix buffer overrun in ima_eventdigest_init_common
    c4d64534d4b1 vp_vdpa: fix id_table array not null terminated error
    15c49f91cfc8 vdpa/mlx5: Fix PA offset with unaligned starting iotlb map
    d372dd09cfbf vdpa: solidrun: Fix UB bug with devres
    64e67e869425 mm: revert "mm: shmem: fix data-race in shmem_getattr()"
    843dfc804af4 ocfs2: uncache inode which has failed entering the group
    d0f16cec7977 mm: fix NULL pointer dereference in alloc_pages_bulk_noprof
    3414fc6a7888 x86/mm: Fix a kdump kernel failure on SME system when CONFIG_IMA_KEXEC=y
    bcd602ae8c46 tools/mm: fix compile error
    4b9fb3aeb90e ARM: 9419/1: mm: Fix kernel memory mapping for xip kernels
    9ea6b70fecb9 bonding: add ns target multicast address to slave device
    c67ce71d5328 net: ti: icssg-prueth: Fix 1 PPS sync
    faf81a3d64b2 stmmac: dwmac-intel-plat: fix call balance of tx_clk handling routines
    a39058e0e554 net: stmmac: rename stmmac_pltfr_remove_no_dt to stmmac_pltfr_remove
    d54ebfe8d33f net: stmmac: dwmac-visconti: use devm_stmmac_probe_config_dt()
    e6eae391e3d9 net: stmmac: dwmac-intel-plat: use devm_stmmac_probe_config_dt()
    09621bd40205 net: Make copy_safe_from_sockptr() match documentation
    007bdd7878f9 net: stmmac: dwmac-mediatek: Fix inverted handling of mediatek,mac-wol
    4ae7a3c30c32 samples: pktgen: correct dev to DEV
    789f9963bd03 net: sched: cls_u32: Fix u32's systematic failure to free IDR entries for hnodes.
    9fd5661af639 net/sched: cls_u32: replace int refcounts with proper refcounts
    a682b356eaf8 Bluetooth: btintel: Direct exception event to bluetooth stack
    fbc8cf85f6cc Bluetooth: hci_core: Fix calling mgmt_device_connected
    5b0888a87bce Revert "RDMA/core: Fix ENODEV error for iWARP test over vlan"
    897617a413e0 virtio/vsock: Fix accept_queue memory leak
    06dc488a5930 net/mlx5e: CT: Fix null-ptr-deref in add rule err flow
    2aa94921b072 net/mlx5e: clear xdp features on non-uplink representors
    93a14620b97c net/mlx5e: kTLS, Fix incorrect page refcounting
    094d1a2121ce net/mlx5: fs, lock FTE when checking if active
    ff825ab2f455 mptcp: cope racing subflow creation in mptcp_rcv_space_adjust
    a66805c9b22c mptcp: error out earlier on disconnect
    1e5305972969 drm/rockchip: vop: Fix a dereferenced before check warning
    fa8d2d141004 net: vertexcom: mse102x: Fix tx_bytes calculation
    ad975697211f sctp: fix possible UAF in sctp_v6_available()
    bbc769d2fa1b netlink: terminate outstanding dump on socket close
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 7e977a80c94e405d94668523852fc021f3e5e138)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f5136e72e011fc2b9ca67d7ecd1ac7603d235c7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
a2fcd6435b linux-yocto/6.6: bsp/genericarm64: disable ARM64_SME
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 064488b0cc05ef0e31d6e7e85f48dcfc9ba6db72)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed7b6ad39bdab4e67acc7a5841b4519fd15a2dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
b525de911a linux-yocto/6.6: update to v6.6.62
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    c1036e4f14d0 Linux 6.6.62
    9da3636a4880 9p: fix slab cache name creation for real
    fc4951c3e335 mm/thp: fix deferred split unqueue naming and locking
    eb6b6d3e1f1e mm: refactor folio_undo_large_rmappable()
    0275e4021b0c mm: always initialise folio->_deferred_list
    e8769509d622 mm: support order-1 folios in the page cache
    2ad2067e9ffc mm/readahead: do not allow order-1 folio
    bc8990235fb5 mm: add page_rmappable_folio() wrapper
    71548fada7ee mm: krealloc: Fix MTE false alarm in __do_krealloc
    950ac86cff33 io_uring: fix possible deadlock in io_register_iowq_max_workers()
    d5092b0a1aaf bpf: Check validity of link->type in bpf_link_show_fdinfo()
    9dcf69612453 net: usb: qmi_wwan: add Fibocom FG132 0x0112 composition
    f08621233573 ASoC: fsl_micfil: Add sample rate constraint
    f198c09fe2ca LoongArch: Use "Exception return address" to comment ERA
    4f885fa64983 ASoC: rt722-sdca: increase clk_stop_timeout to fix clock stop issue
    e01cac3d6284 RISCV: KVM: use raw_spinlock for critical section in imsic
    bff14c38ed51 HID: lenovo: Add support for Thinkpad X1 Tablet Gen 3 keyboard
    24e8cc49c03e HID: multitouch: Add quirk for Logitech Bolt receiver w/ Casa touchpad
    1cb5bfc5bfc6 fs: Fix uninitialized value issue in from_kuid and from_kgid
    ebf63d5c82e7 ASoC: amd: yc: Fix non-functional mic on ASUS E1404FA
    34ec7bcee3d8 ASoC: amd: yc: Add quirk for ASUS Vivobook S15 M3502RA
    77c523dfb053 bpf: Fix mismatched RCU unlock flavour in bpf_out_neigh_v6
    a078a480ff3f bpf: Add sk_is_inet and IS_ICSK check in tls_sw_has_ctx_tx/rx
    6fbf6ff7549e vDPA/ifcvf: Fix pci_read_config_byte() return code handling
    5a526388d0ac nvme/host: Fix RCU list traversal to use SRCU primitive
    e8c714941811 smb: client: Fix use-after-free of network namespace.
    1a1bcca5c9ef nvme: make keep-alive synchronous operation
    e4f9fffbb1dc nvme-loop: flush off pending I/O while shutting down loop controller
    dd5d32f74fc1 net: phy: mdio-bcm-unimac: Add BCM6846 support
    bee372110e69 powerpc/powernv: Free name on error in opal_event_init()
    4c332037fcbb drm/amdkfd: Accounting pdd vram_usage for svm
    4a57f42e5ed4 nvme-multipath: defer partition scanning
    3406bfc813a9 RDMA/siw: Add sendpage_ok() check to disable MSG_SPLICE_PAGES
    c6db3a111e2d drm/vmwgfx: Limit display layout ioctl array size to VMWGFX_NUM_DISPLAY_UNITS
    87791a733a3b sound: Make CONFIG_SND depend on INDIRECT_IOMEM instead of UML
    839c22a2134a crypto: marvell/cesa - Disable hash algorithms
    83394e7d9421 crypto: api - Fix liveliness check in crypto_alg_tested
    d22f177935dd bpf: use kvzmalloc to allocate BPF verifier environment
    e04e64805802 nvme: disable CC.CRIME (NVME_CC_CRIME)
    8902a5223962 iommu/arm-smmu: Clarify MMU-500 CPRE workaround
    ded2b3b2bc50 HID: multitouch: Add quirk for HONOR MagicBook Art 14 touchpad
    6e306b87c035 HID: multitouch: Add support for B2402FVA track point
    f49a9d86c4cd block: Fix elevator_get_default() checking for NULL q->tag_set
    975cb1d21215 nvme: tcp: avoid race between queue_lock lock and destroy
    4b3441089235 irqchip/ocelot: Fix trigger register address
    68ec5395bc24 selftests/bpf: Verify that sync_linked_regs preserves subreg_def
    0d6c0b3b6f3f 9p: Avoid creating multiple slab caches with the same name
    a63c78c3493c 9p: v9fs_fid_find: also lookup by inode if not found dentry
    f1ab3a1bcbbc Linux 6.6.61
    b110196fec44 vsock/virtio: Initialization of the dangling pointer occurring in vsk->trans
    4bdc5a62c6e5 hv_sock: Initializing vsk->trans to NULL to prevent a dangling pointer
    f7a08b2897da ASoC: amd: yc: fix internal mic on Xiaomi Book Pro 14 2022
    1e8f31656ac1 ucounts: fix counter leak in inc_rlimit_get_ucounts()
    dd73c942eed7 ocfs2: remove entry once instead of null-ptr-dereference in ocfs2_xa_remove()
    c8fe8c223297 irqchip/gic-v3: Force propagation of the active state with a read-back
    4fea315a9fd8 USB: serial: option: add Quectel RG650V
    836eefa7c7e1 USB: serial: option: add Fibocom FG132 0x0112 composition
    4ffcb9d7891c USB: serial: qcserial: add support for Sierra Wireless EM86xx
    13d6ff3ca760 USB: serial: io_edgeport: fix use after free in debug printk
    69e19774f15e usb: typec: fix potential out of bounds in ucsi_ccg_update_set_new_cam_cmd()
    35925e2b7b40 usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier
    4abc5ee334fe usb: dwc3: fix fault at system suspend if device was already runtime suspended
    8a30da5aa960 usb: musb: sunxi: Fix accessing an released usb phy
    4877d9b2a2eb signal: restore the override_rlimit logic
    5b548fd0d298 fs/proc: fix compile warning about variable 'vmcore_mmap_ops'
    ef59a49a4b0b i2c: designware: do not hold SCL low when I2C_DYNAMIC_TAR_UPDATE is not set
    a2746ab3bbc9 filemap: Fix bounds checking in filemap_read()
    575a562f7a3e media: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_format
    0186347f1605 Revert "selftests/bpf: Implement get_hw_ring_size function to retrieve current and max interface size"
    bb9982d77734 Revert "wifi: mac80211: fix RCU list iterations"
    6e62dab357ee riscv/purgatory: align riscv_kernel_entry
    f04be6d68f71 btrfs: reinitialize delayed ref list after deleting it from the list
    701fae8dce72 arm64: smccc: Remove broken support for SMCCCv1.3 SVE discard hint
    22aaaa7a1a73 arm64: Kconfig: Make SME depend on BROKEN for now
    51d11ea0250d arm64/sve: Discard stale CPU state when handling SVE traps
    30db2a648550 mptcp: use sock_kfree_s instead of kfree
    1325e838089d net: vertexcom: mse102x: Fix possible double free of TX skb
    20f4eb96afe2 net: wwan: t7xx: Fix off-by-one error in t7xx_dpmaif_rx_buf_alloc()
    f749cb60a01f nfs: Fix KMSAN warning in decode_getfattr_attrs()
    203003c4ff18 posix-cpu-timers: Clear TICK_DEP_BIT_POSIX_TIMER on clone
    e639fe493614 ALSA: usb-audio: Add quirk for HP 320 FHD Webcam
    edfae9d997c7 dm-unstriped: cast an operand to sector_t to prevent potential uint32_t overflow
    036dd6e3d263 dm cache: fix potential out-of-bounds access on the first resume
    53421c3c0ee0 dm cache: optimize dirty bit checking with find_next_bit when resizing
    e57648ce325f dm cache: fix out-of-bounds access to the dirty bitset when resizing
    8cc12dab6353 dm cache: fix flushing uninitialized delayed_work on cache_ctr error
    11d5a3f8427a dm cache: correct the number of origin blocks to match the target length
    1df8231f4e99 thermal/drivers/qcom/lmh: Remove false lockdep backtrace
    a613a3924175 drm/amdgpu: prevent NULL pointer dereference if ATIF is not supported
    3930715c1aef drm/amdgpu: Fix DPX valid mode check on GC 9.4.3
    e2574b57990d drm/amdgpu: Adjust debugfs register access permissions
    8906728f2fbd drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()
    5a8ae5fa576c drm/amdgpu: Adjust debugfs eviction and IB access permissions
    343fcd066c09 rpmsg: glink: Handle rejected intent request better
    767975d74952 pwm: imx-tpm: Use correct MODULO value for EPWM mode
    c6cdc08c25a8 ksmbd: fix slab-use-after-free in smb3_preauth_hash_rsp
    726c1568b914 ksmbd: Fix the missing xa_store error check
    1f993777275c ksmbd: check outstanding simultaneous SMB operations
    e923503a56b3 ksmbd: fix slab-use-after-free in ksmbd_smb2_session_create
    5ba7258ff028 can: mcp251xfd: mcp251xfd_ring_alloc(): fix coalescing configuration when switching CAN modes
    91017ba42df0 can: mcp251xfd: mcp251xfd_get_tef_len(): fix length calculation
    89d8048df70c can: m_can: m_can_close(): don't call free_irq() for IRQ-less devices
    32adcb833ecc media: v4l2-ctrls-api: fix error handling for v4l2_g_ctrl()
    2d0f01aa602f media: v4l2-tpg: prevent the risk of a division by zero
    4264e26a34e3 media: pulse8-cec: fix data timestamp at pulse8_setup()
    83c152b55d88 media: cx24116: prevent overflows on SNR calculus
    784bc785a453 media: s5p-jpeg: prevent buffer overflows
    a244b82d0ae6 media: ar0521: don't overflow when checking PLL values
    bd24d8337159 ASoC: SOF: sof-client-probes-ipc4: Set param_size extension bits
    23bdbd1ef3e0 ASoC: stm32: spdifrx: fix dma channel release in stm32_spdifrx_remove
    d3304dbc2d5f thermal/of: support thermal zones w/o trips subnode
    5f2d0b607c70 tools/lib/thermal: Fix sampling handler context ptr
    57a9e9d71d77 ALSA: firewire-lib: fix return value on fail in amdtp_tscm_init()
    a8ce18094f42 scsi: sd_zbc: Use kvzalloc() to allocate REPORT ZONES buffer
    b01f2230868b media: adv7604: prevent underflow condition when reporting colorspace
    492275748168 media: dvb_frontend: don't play tricks with underflow values
    1e461672616b media: dvbdev: prevent the risk of out of memory access
    c776231e3d0b media: stb0899_algo: initialize cfr before using it
    203d04968af0 Revert "ALSA: hda/conexant: Mute speakers at suspend / shutdown"
    1947143cb188 drivers: net: ionic: add missed debugfs cleanup to ionic_probe() error path
    996a7208dadb rxrpc: Fix missing locking causing hanging calls
    0012be71c55b net: arc: rockchip: fix emac mdio node support
    8ed7a4a39c3f net: arc: fix the device for dma_map_single/dma_unmap_single
    af0aa8aecbe8 virtio_net: Add hash_key_length check
    bfd05c68e4c6 netfilter: nf_tables: wait for rcu grace period on net_device removal
    825a80817cf1 netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx
    d122b259a717 netfilter: nf_tables: cleanup documentation
    b0a3c915529e net: stmmac: Fix unbalanced IRQ wake disable warning on single irq case
    421cf80e7dee net: phy: ti: add PHY_RST_AFTER_CLK_EN flag
    719edd9f3372 net: hns3: fix kernel crash when uninstalling driver
    4b0599a66614 e1000e: Remove Meteor Lake SMBUS workarounds
    bf5f837d9fd2 i40e: fix race condition by adding filter's intermediate sync state
    6103d401b1cf ice: change q_index variable type to s16 to store -1 value
    f32fc3becfc7 can: c_can: fix {rx,tx}_errors statistics
    ef0edfbe9eee net: enetc: allocate vf_state during PF probes
    d3fb3cc83cf3 sctp: properly validate chunk size in sctp_sf_ootb()
    345267bf3643 dt-bindings: net: xlnx,axi-ethernet: Correct phy-mode property value
    d4c52c6a2bd5 net: enetc: set MAC address to the VF net_device
    9b7c0405af66 regulator: rtq2208: Fix uninitialized use of regulator_config
    3e79ad156bed security/keys: fix slab-out-of-bounds in key_task_permission
    6173b0bfcea3 nfs: avoid i_lock contention in nfs_clear_invalid_mapping
    351f03398ba8 NFSv3: only use NFS timeout for MOUNT when protocols are compatible
    d428de979bb2 sunrpc: handle -ENOTCONN in xs_tcp_setup_socket()
    7a3ed3f12529 platform/x86/amd/pmc: Detect when STB is not available
    9d9f5c75c0c7 HID: core: zero-initialize the report buffer
    24a7ac9d3d1b arm64: dts: rockchip: Correct GPIO polarity on brcm BT nodes
    95106521c1d8 ARM: dts: rockchip: Fix the realtek audio codec on rk3036-kylin
    1a22d3723f48 ARM: dts: rockchip: Fix the spi controller on rk3036
    0f4e827100ad ARM: dts: rockchip: drop grf reference from rk3036 hdmi
    f3d09c233bea ARM: dts: rockchip: fix rk3036 acodec node
    6900713f93c8 arm64: dts: rockchip: remove orphaned pinctrl-names from pinephone pro
    15b17bbcea07 firmware: arm_scmi: Fix slab-use-after-free in scmi_bus_notifier()
    810615507942 arm64: dts: imx8mp: correct sdhc ipg clk
    5cfe9619ce8a arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs
    ad0a938050d3 arm64: dts: imx8qxp: Add VPU subsystem file
    f8181c545d0a arm64: dts: rockchip: remove num-slots property from rk3328-nanopi-r2s-plus
    e24351485d15 arm64: dts: rockchip: Fix LED triggers on rk3308-roc-cc
    d0beaf49abc7 arm64: dts: rockchip: Remove #cooling-cells from fan on Theobroma lion
    d09940e349f6 arm64: dts: rockchip: Remove undocumented supports-emmc property
    d0a08abbe182 arm64: dts: rockchip: Add DTS for FriendlyARM NanoPi R2S Plus
    87759aaaab5c arm64: dts: rockchip: Fix bluetooth properties on Rock960 boards
    55907bdf4858 arm64: dts: rockchip: Fix bluetooth properties on rk3566 box demo
    54d80a600051 arm64: dts: rockchip: fix i2c2 pinctrl-names property on anbernic-rg353p/v
    08e793866570 arm64: dts: rockchip: Fix reset-gpios property on brcm BT nodes
    4d580a57ec23 arm64: dts: rockchip: Fix wakeup prop names on PineNote BT node
    f1da910ee9a2 arm64: dts: rockchip: Remove hdmi's 2nd interrupt on rk3328
    771bd4dde450 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-sapphire-excavator
    27b69008d637 arm64: dts: rockchip: Fix rt5651 compatible value on rk3399-eaidk-610
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: fba212764a0157f2a2460865efac3e64c1ea3fb0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 83dc33ac568e1320e1f675eaaa5e3b75dae26733)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
4a640b82c9 linux-yocto/6.6: update to v6.6.60
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    9b5aad3a7498c Linux 6.6.60
    cc082e50375a2 fs/ntfs3: Sequential field availability check in mi_enum_attr()
    10c20d79d59ca drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
    e979a6a626abf ASoC: SOF: ipc4-control: Add support for ALSA enum control
    3facc0417d3d7 ASoC: SOF: ipc4-control: Add support for ALSA switch control
    f01d8fc623711 ASoC: SOF: ipc4-topology: Add definition for generic switch/enum control
    d54afaef6570c SUNRPC: Remove BUG_ON call sites
    27a58a19bd20a mtd: spi-nor: winbond: fix w25q128 regression
    3d544942c0010 mm: don't install PMD mappings when THPs are disabled by the hw/process/vma
    02ec4b3bba49e mm: huge_memory: add vma_thp_disabled() and thp_disabled_by_hw()
    fc621e7a043de wifi: iwlwifi: mvm: fix 6 GHz scan construction
    f2f1fa446676c nilfs2: fix kernel bug due to missing clearing of checked flag
    a53c2d847627b wifi: mac80211: fix NULL dereference at band check in starting tx ba session
    6a91a5816b289 io_uring: always lock __io_cqring_overflow_flush
    e3fb0e6afcc39 arm64: dts: imx8ulp: correct the flexspi compatible string
    1a49b96c51063 vmscan,migrate: fix page count imbalance on node stats when demoting pages
    003d2996964c0 io_uring/rw: fix missing NOWAIT check for O_DIRECT start write
    70bbe8d0a9494 kasan: remove vmalloc_percpu test
    c60af16e1d6cc nvmet-auth: assign dh_key to NULL after kfree_sensitive
    4a39320977f9c ALSA: hda/realtek: Fix headset mic on TUXEDO Stellaris 16 Gen6 mb1
    b42adef85aca7 ALSA: hda/realtek: Fix headset mic on TUXEDO Gemini 17 Gen3
    77ddc732416b0 xfs: fix finding a last resort AG in xfs_filestream_pick_ag
    8e886e44397ba mctp i2c: handle NULL header address
    88f97a4b5843c ocfs2: pass u64 to ocfs2_truncate_inline maybe overflow
    c117a980185ee x86/traps: move kmsan check after instrumentation_begin
    86ee1845cbbf5 x86/traps: Enable UBSAN traps on x86
    b958948ae1cb3 mm/page_alloc: let GFP_ATOMIC order-0 allocs access highatomic reserves
    4882a352b5df8 mei: use kvmalloc for read buffer
    cb8b81ad3e893 mptcp: init: protect sched with rcu_read_lock
    4f7ffa83fa79d iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
    ade91f6e9848b sched/numa: Fix the potential null pointer dereference in task_numa_work()
    8c9a1ec39c698 cxl/acpi: Ensure ports ready at cxl_acpi_probe() return
    a9ed67f39f888 cxl/port: Fix cxl_bus_rescan() vs bus_rescan_devices()
    d210bc87cc4fd riscv: Remove duplicated GET_RM
    6d84e1b2e5ac0 riscv: Remove unused GENERATING_ASM_OFFSETS
    a63ba17207c50 riscv: Use '%u' to format the output of 'cpu'
    909e71f28e961 riscv: efi: Set NX compat flag in PE/COFF header
    58e78589ade88 ALSA: hda/realtek: Limit internal Mic boost on Dell platform
    ceec8ad09135c Input: edt-ft5x06 - fix regmap leak when probe fails
    c19a0c171d37f riscv: vdso: Prevent the compiler from inserting calls to memset()
    e79c1f1c9100b spi: spi-fsl-dspi: Fix crash when not using GPIO chip select
    163e6323799bd phy: freescale: imx8m-pcie: Do CMN_RST just before PHY PLL lock check
    0d86cd70fc6a7 cgroup/bpf: use a dedicated workqueue for cgroup bpf destruction
    b3c301b859c4a block: fix sanity checks in blk_rq_map_user_bvec
    0fc87887dcb3a mmc: sdhci-pci-gli: GL9767: Fix low power mode in the SD Express process
    4159cd6ab5cfe mmc: sdhci-pci-gli: GL9767: Fix low power mode on the set clock function
    8e1b52c15c811 cxl/port: Fix use-after-free, permit out-of-order decoder shutdown
    8cd25f1fce6b8 thunderbolt: Honor TMU requirements in the domain when setting TMU mode
    9523a0268924a tools/mm: -Werror fixes in page-types/slabinfo
    edd1f90505068 mm: shmem: fix data-race in shmem_getattr()
    b6f95df4f7af6 RISC-V: ACPI: fix early_ioremap to early_memremap
    1246d86e7bbde nilfs2: fix potential deadlock with newly created symlinks
    1a797936d3468 iio: light: veml6030: fix microlux value calculation
    38d6e8be234d8 iio: gts-helper: Fix memory leaks in iio_gts_build_avail_scale_table()
    62c1189668312 iio: gts-helper: Fix memory leaks for the error path of iio_gts_build_avail_scale_table()
    3dc0eda2cd5c6 iio: adc: ad7124: fix division by zero in ad7124_set_channel_odr()
    adfbc08b94e7d staging: iio: frequency: ad9832: fix division by zero in ad9832_calc_freqreg()
    cedf0f1db8d5f wifi: iwlegacy: Clear stale interrupts before resuming device
    6c44abb2d4c32 wifi: cfg80211: clear wdev->cqm_config pointer on free
    5f5a939759c79 wifi: ath10k: Fix memory leak in management tx
    ee35c423042c9 wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower
    0b9be24679358 Revert "selftests/mm: replace atomic_bool with pthread_barrier_t"
    1fe6799ee9b5f Revert "selftests/mm: fix deadlock for fork after pthread_create on ARM"
    fd28d95894609 Revert "driver core: Fix uevent_show() vs driver detach race"
    a762d0fc17df2 xhci: Use pm_runtime_get to prevent RPM on unsupported systems
    809dd30ee9011 xhci: Fix Link TRB DMA in command ring stopped completion event
    7e8066811a2c4 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend
    370814e9d512b phy: qcom: qmp-usb: fix NULL-deref on runtime suspend
    e8180a4b1cf93 usb: typec: qcom-pmic-typec: use fwnode_handle_put() to release fwnodes
    558650b18f090 usb: typec: fix unreleased fwnode_handle in typec_port_register_altmodes()
    cd205590599a3 usb: phy: Fix API devm_usb_put_phy() can not release the phy
    53e0684f3093b usbip: tools: Fix detach_port() invalid port error path
    aa03c31a001ac ALSA: usb-audio: Add quirks for Dell WD19 dock
    b3b2431ed27f4 rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
    7679283e61a8b rcu-tasks: Initialize data to eliminate RCU-tasks/do_exit() deadlocks
    dc5d4d4c12246 rcu-tasks: Add data to eliminate RCU-tasks/do_exit() deadlocks
    01a2b99ffcca8 rcu-tasks: Pull sampling of ->percpu_dequeue_lim out of loop
    7d85884576a3b USB: gadget: dummy-hcd: Fix "task hung" problem
    e028b82aba882 usb: gadget: dummy_hcd: execute hrtimer callback in softirq context
    365a13cf5baa6 usb: gadget: dummy_hcd: Set transfer interval to 1 microframe
    4a4cb56556124 usb: gadget: dummy_hcd: Switch to hrtimer transfer scheduler
    f6568620246d2 misc: sgi-gru: Don't disable preemption in GRU driver
    fe8cb9fac9793 NFS: remove revoked delegation from server's delegation list
    cc0ff7495e41b net: amd: mvme147: Fix probe banner message
    715db716a9f83 thermal: intel: int340x: processor: Add MMIO RAPL PL4 support
    56029f1bc3f1f thermal: intel: int340x: processor: Remove MMIO RAPL CPU hotplug support
    34c0344e7eac5 cifs: Fix creating native symlinks pointing to current or parent directory
    201430d21faab cifs: Improve creating native symlinks pointing to directory
    45eaaa13dd91d scsi: scsi_transport_fc: Allow setting rport state to current state
    550ef40fa6366 fs/ntfs3: Additional check in ntfs_file_release
    68b39c0765de7 fs/ntfs3: Fix general protection fault in run_is_mapped_full
    7a4ace681dbb6 fs/ntfs3: Additional check in ni_clear()
    34e3220efd666 fs/ntfs3: Fix possible deadlock in mi_read
    e91fbb21f248b fs/ntfs3: Add rough attr alloc_size check
    898c8795ec492 fs/ntfs3: Stale inode instead of bad
    84d363dbcfabc fs/ntfs3: Fix warning possible deadlock in ntfs_set_state
    5f21e3e60982c fs/ntfs3: Check if more than chunk-size bytes are written
    22cdf3be7d34f ntfs3: Add bounds checking to mi_enum_attr()
    3c73746c222a7 cxl/events: Fix Trace DRAM Event Record
    7013af5bbd281 smb: client: set correct device number on nfs reparse points
    bbc258dcdbfe5 smb: client: fix parsing of device numbers
    0eb2b767c42fa ACPI: CPPC: Make rmw_lock a raw_spin_lock
    790dc90b96481 afs: Fix missing subdir edit when renamed between parent dirs
    243d2506e7eb0 afs: Automatically generate trace tag enums
    a6fd78620f25a firmware: arm_sdei: Fix the input parameter of cpuhp_remove_state()
    2e4eb1866990e kasan: Fix Software Tag-Based KASAN with GCC
    4c3575787e988 iomap: turn iomap_want_unshare_iter into an inline function
    9bc18bb476e50 fsdax: dax_unshare_iter needs to copy entire blocks
    35adbe088888a fsdax: remove zeroing code from dax_unshare_iter
    451b0a27ca6a7 iomap: share iomap_unshare_iter predicate code with fsdax
    3c06d13ec80be iomap: don't bother unsharing delalloc extents
    61ada9422009e iomap: improve shared block detection in iomap_unshare_iter
    d4d5767c53581 bpf, test_run: Fix LIVE_FRAME frame update after a page has been recycled
    0ab3be58b45b9 netfilter: nft_payload: sanitize offset and length before calling skb_checksum()
    31384aa2ad05c mlxsw: spectrum_ipip: Fix memory leak when changing remote IPv6 address
    598f95742fdc6 mlxsw: spectrum_ptp: Add missing verification before pushing Tx header
    c69bc67c1cb21 net: skip offload for NETIF_F_IPV6_CSUM if ipv6 header contains extension
    1f1764466c33a Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs
    fef63832317d9 netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6()
    6a1f088f9807f netfilter: Fix use-after-free in get_info()
    ac5977001eee7 net: fix crash when config small gso_max_size/gso_ipv4_max_size
    90a6e0e1e151e bpf: Fix out-of-bounds write in trie_get_next_key()
    6a604877160fe netdevsim: Add trailing zero to terminate the string in nsim_nexthop_bucket_activity_write()
    e20459b5f658b bpf: Force checkpoint when jmp history is too long
    bef1f6beae90f selftests/bpf: Add bpf_percpu_obj_{new,drop}() macro in bpf_experimental.h
    597cf9748c347 net/sched: stop qdisc_tree_reduce_backlog on TC_H_ROOT
    42097a9dcaee3 gtp: allow -1 to be specified as file description from userspace
    699b48fc31727 ipv4: ip_tunnel: Fix suspicious RCU usage warning in ip_tunnel_init_flow()
    07c9c26e37542 net: stmmac: TSO: Fix unbalanced DMA map/unmap for non-paged SKB data
    bf6b2cd3c55de net: stmmac: dwmac4: Fix high address display by updating reg_space[] from register values
    9f5ae743dbe9a macsec: Fix use-after-free while sending the offloading packet
    b33b410597ebe ASoC: cs42l51: Fix some error handling paths in cs42l51_probe()
    fa078b39e3f1b wifi: iwlwifi: mvm: don't add default link in fw restart flow
    3eb986c64c6bf wifi: iwlwifi: mvm: Fix response handling in iwl_mvm_send_recovery_cmd()
    3b01b9985a543 wifi: iwlwifi: mvm: disconnect station vifs if recovery failed
    148f6af754781 RDMA/bnxt_re: synchronize the qp-handle table array
    16dbff3e8d195 RDMA/bnxt_re: Fix the usage of control path spin locks
    8636072c21e39 RDMA/mlx5: Round max_rd_atomic/max_dest_rd_atomic up instead of down
    e9c62661a0697 RDMA/cxgb4: Dump vendor specific QP details
    0a59445e2cdf3 wifi: brcm80211: BRCM_TRACING should depend on TRACING
    9b5c89acc8e99 wifi: ath11k: Fix invalid ring usage in full monitor mode
    189f1bfc5c84e wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys
    021693dad10a2 mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING
    5db6e193c4ca0 wifi: iwlegacy: Fix "field-spanning write" warning in il_enqueue_hcmd()
    9cfab1f3d425c spi: geni-qcom: Fix boot warning related to pm_runtime and devres
    fb384669cb8c2 cgroup: Fix potential overflow issue when checking max_depth
    73ca1c70b8b7f Input: xpad - add support for 8BitDo Ultimate 2C Wireless Controller
    403777d303399 Input: xpad - sort xpad_device by vendor and product ID
    eabe285e1c629 thermal: core: Free tzp copy along with the thermal zone
    3eb073abba327 thermal: core: Rework thermal zone availability check
    a95a9e3089d56 thermal: core: Make thermal_zone_device_unregister() return after freeing the zone
    18abb2787b536 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e5697 pnmtologo: sync with 6.6
    43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c85 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e5039 bpftool: Query only cgroup-related attach types
    f71bb11887bae cpu/amd: inhibit SMP check for qemux86
    c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d1 kselftest: Add a ksft_perror() helper
    06644f0d7193d drm/tilcdc: Set preferred depth
    ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6e qemux86: add configuration symbol to select values
    630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter
    46934791b9026 clear_warn_once: bind a timer to written reset value
    cdee9e38ff324 clear_warn_once: expand debugfs to include read support
    82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b1 libbpf: Fix build warning on ref_ctr_off
    9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65b perf: x86-32: explicitly include <errno.h>
    7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7f perf: fix bench numa compilation
    98bc2815fade4 perf: add SLANG_INC for slang.h
    17209a70b9b39 perf: add sgidefs.h to for mips builds
    9cd4258d910af perf: change --root to --prefix for python install
    8110a4f266284 perf: add 'libperl not found' warning
    bc89d5e08f773 perf: force include of <stdbool.h>
    4f6c760cc876a fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab3786 FAT: Added FAT_NO_83NAME
    cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf21 aufs6: fix magic.mk include path
    35266bc2dc81a aufs6: adapt to v6.6
    8edede4e98be1 aufs6: core
    712248233ebe1 aufs6: standalone
    3b71a8a848d8b aufs6: mmap
    3e2924871f371 aufs6: base
    7f4907a931016 aufs6: kbuild
    d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa04 yaffs2: v6.5 fixups
    cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d34 yaffs2: replace bdevname call with sprintf
    395b01cdc39d1 yaffs2: convert read_page -> readfolio
    d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090b yaffs: include blkdev.h
    dbd44252cd592 yaffs: fix misplaced variable declaration
    c223a10b1ac08 yaffs2: v5.6 build fixups
    90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6e yaffs: repair yaffs_get_mtd_device
    fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea27 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr
    ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4d pnmtologo: use relocatable file name
    664a6a0a484ba tools: use basename to identify file in gen-mach-types
    9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295a vt/conmakehash: improve reproducibility
    a972323151bdd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffcd defconfigs: drop obselete options
    00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf1 linux-yocto: Handle /bin/awk issues
    3d55d299f23a7 uvesafb: provide option to specify timeout for task completion
    23c068c080bea uvesafb: print error message when task timeout occurs
    edbfc939266ec compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19ab vmware: include jiffies.h
    572d84d928c87 Resolve jiffies wrapping about arp
    fdcd47cac8435 nfs: Allow default io size to be configured.
    927d488010984 check console device file on fs when booting
    57cc27f821ddf mount_root: clarify error messages for when no rootfs found
    1b53d82a81528 mconf: fix output of cflags and libraries
    1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f3 modpost: mask trivial warnings
    6de6730394846 kbuild: exclude meta directory from distclean processing
    6decd32815f53 powerpc: serialize image targets
    f6b683b38318c arm: serialize build targets
    e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f86 x86_64_defconfig: Fix warnings
    68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b18 powerpc: kexec fix for powerpc64
    da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11de mips: make current_cpu_data preempt safe
    5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c
    881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7a arm64: defconfig: cleanup config options
    f1727c537ba8d vexpress: Pass LOADADDR to Makefile
    4474c32dc24a4 arm: ARM EABI socketcall
    75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e05e2377a17fca93ad35630f6cd33f6a33873986)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8c3c6dab1b4993c7f122dac86ca9c1a5640245e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
20d890ecf7 linux-yocto/6.6: update to v6.6.59
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    bf3af7e92bda Linux 6.6.59
    7d9868180bd1 xfrm: validate new SA's prefixlen using SA family when sel.family is unset
    7a26cb660775 task_work: make TWA_NMI_CURRENT handling conditional on IRQ_WORK
    81507f633e79 tracing: probes: Fix to zero initialize a local variable
    042804a9fff1 RDMA/bnxt_re: Fix unconditional fence for newer adapters
    67819f10702b RDMA/bnxt_re: Avoid creating fence MR for newer adapters
    1aee34ed99e9 RDMA/bnxt_re: Fix the offset for GenP7 adapters for user applications
    38ca6fd426ea ACPI: PRM: Clean up guid type in struct prm_handler_info
    d1e55eeee056 platform/x86: dell-wmi: Ignore suspend notifications
    73cc3f905ca9 ASoC: qcom: Fix NULL Dereference in asoc_qcom_lpass_cpu_platform_probe()
    24f638125cc3 ata: libata: Set DID_TIME_OUT for commands that actually timed out
    ce4a70d9b916 net: phy: dp83822: Fix reset pin definitions
    4512c448f54c selinux: improve error checking in sel_write_load()
    c79e0a18e4b3 drm/amd/display: Disable PSR-SU on Parade 08-01 TCON too
    62c85b9a0dd7 hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
    c73bca72b84b xfrm: fix one more kernel-infoleak in algo dumping
    36bd0f386b7c LoongArch: Make KASAN usable for variable cpu_vabits
    8915ed160dbd LoongArch: Enable IRQ if do_ale() triggered in irq-enabled context
    cd2cef731170 LoongArch: Get correct cores_per_package for SMT systems
    5d10f6fb2cb7 ALSA: hda/realtek: Add subwoofer quirk for Acer Predator G9-593
    0d674f2e73b4 ALSA: hda/tas2781: select CRC32 instead of CRC32_SARWATE
    60a5ba560f29 x86/lam: Disable ADDRESS_MASKING in most cases
    599eee0e9817 KVM: arm64: Don't eagerly teardown the vgic on init error
    04ed2ba07ce7 KVM: arm64: Fix shift-out-of-bounds bug
    2c4adc9b192a KVM: nSVM: Ignore nCR3[4:0] when loading PDPTEs from memory
    f421a3b18aa7 openat2: explicitly return -E2BIG for (usize > PAGE_SIZE)
    743c78d455e7 nilfs2: fix kernel bug due to missing clearing of buffer delay flag
    a299d415dd37 ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue
    795b080d9aa1 ACPI: PRM: Find EFI_MEMORY_RUNTIME block for PRM handler and context
    bdaab141edb6 ACPI: resource: Add LG 16T90SP to irq1_level_low_skip_override[]
    975ede2a7bec drm/amd: Guard against bad data for ATIF ACPI method
    004ad1a2d684 btrfs: zoned: fix zone unusable accounting for freed reserved extent
    3521754614cf btrfs: fix passing 0 to ERR_PTR in btrfs_search_dir_index_item()
    2f2684c7903e cpufreq: CPPC: fix perf_to_khz/khz_to_perf conversion exception
    33e89c16cea0 cpufreq/cppc: Move and rename cppc_cpufreq_{perf_to_khz|khz_to_perf}()
    35dbac8c328d smb: client: Handle kstrdup failures for passwords
    66921a4d8e84 ALSA: hda/realtek: Update default depop procedure
    f965dc0f099a nfsd: cancel nfsd_shrinker_work using sync mode in nfs4_state_shutdown_net
    5f0468f30c8f powercap: dtpm_devfreq: Fix error check against dev_pm_qos_add_request()
    4bdc21506f12 ALSA: firewire-lib: Avoid division by zero in apply_constraint_to_size()
    8b339beb7cfe ASoC: fsl_micfil: Add a flag to distinguish with different volume control types
    f9ba85f823e7 ASoC: rsnd: Fix probe failure on HiHope boards due to endpoint parsing
    83a420e965f6 ASoC: max98388: Fix missing increment of variable slot_found
    6e4aed4acc1a ASoC: loongson: Fix component check failed on FDT systems
    f10cba3f761b ASoC: dt-bindings: davinci-mcasp: Fix interrupt properties
    5e3583b4c000 ASoC: dt-bindings: davinci-mcasp: Fix interrupts property
    773dc610ca64 net: dsa: mv88e6xxx: support 4000ps cycle counter period
    06b1c8091542 net: dsa: mv88e6xxx: read cycle counter period from hardware
    4dc655d86b54 net: dsa: mv88e6xxx: group cycle counter coefficients
    21db2f35fa97 bpf,perf: Fix perf_event_detach_bpf_prog error handling
    14bcb721d241 Bluetooth: ISO: Fix UAF on iso_sock_timeout
    d30803f6a972 Bluetooth: SCO: Fix UAF on sco_sock_timeout
    1ba33b327c3f posix-clock: posix-clock: Fix unbalanced locking in pc_clock_settime()
    7d6d46b42980 r8169: avoid unsolicited interrupts
    5d282467245f net: sched: use RCU read-side critical section in taprio_dump()
    0d4c0d2844e4 net: sched: fix use-after-free in taprio_change()
    a5cf8670acbb net/sched: act_api: deny mismatched skip_sw/skip_hw flags for actions created by classifiers
    d123062a3fdc bpf: Remove MEM_UNINIT from skb/xdp MTU helpers
    48068ccaea95 bpf: Fix overloading of MEM_UNINIT's meaning
    8a33a047bd31 bpf: Add MEM_WRITE attribute
    d1100acab464 bpf: Simplify checking size of helper accesses
    7caee37c466a net: usb: usbnet: fix name regression
    a7bdb199784f net: fix races in netdev_tx_sent_queue()/dev_watchdog()
    10cb940429c2 net/sched: adjust device watchdog timer to detect stopped queue at right time
    69076f8435c1 net: wwan: fix global oob in wwan_rtnl_policy
    433742ba96ba netfilter: xtables: fix typo causing some targets not to load on IPv6
    5ed4334fc951 fsl/fman: Fix refcount handling of fman-related devices
    275bebf5be50 fsl/fman: Save device references taken in mac_probe()
    06b526846cc9 net: dsa: mv88e6xxx: Fix error when setting port policy on mv88e6393x
    c2d2dc4f88bb octeon_ep: Add SKB allocation failures handling in __octep_oq_process_rx()
    e71146ff378c octeon_ep: Implement helper for iterating packets in Rx queue
    64854b218703 net: plip: fix break; causing plip to never transmit
    641c1beed52b be2net: fix potential memory leak in be_xmit()
    6dc937a3086e net/sun3_82586: fix potential memory leak in sun3_82586_send_packet()
    f41bd93b3e05 netfilter: bpf: must hold reference on net namespace
    c1530660410c xfrm: respect ip protocols rules criteria when performing dst lookups
    ac1d820eaa30 xfrm: extract dst lookup parameters into a struct
    a14a075a14af tracing: Consider the NULL character when validating the event length
    6bc24db74fe4 tracing/probes: Fix MAX_TRACE_ARGS limit handling
    f475d8a0cca7 jfs: Fix sanity check in dbMount
    a94c197d4d74 LoongArch: Don't crash in stack_top() for tasks without vDSO
    3d75f500f64d platform/x86: dell-sysman: add support for alienware products
    6d52db315cfc cifs: Validate content of NFS reparse point buffer
    f47a40ee4cdb ASoC: qcom: sm8250: add qrb4210-rb2-sndcard compatible string
    1ac49babc952 udf: fix uninit-value use in udf_get_fileshortad
    493447dd8336 udf: refactor inode_bmap() to handle error
    5fc8da4d326d udf: refactor udf_next_aext() to handle error
    402c8862fe54 udf: refactor udf_current_aext() to handle error
    8c213cc21724 arm64: Force position-independent veneers
    85e70dcd1f85 ASoC: fsl_sai: Enable 'FIFO continue on error' FCONT bit
    935e5c5f93df ASoC: codecs: lpass-rx-macro: add missing CDC_RX_BCL_VBAT_RF_PROC2 to default regs values
    b3d4f2329312 ASoC: amd: yc: Add quirk for HP Dragonfly pro one
    9eb32bd23bbc drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with real VLA
    0d16f53c9111 exec: don't WARN for racy path_noexec check
    9e5f93788c9d uprobe: avoid out-of-bounds memory access of fetching args
    f0a7ea54f3dc uprobes: prevent mutex_lock() under rcu_read_lock()
    f5272c98a4a0 uprobes: prepare uprobe args buffer lazily
    1c7fa34863c7 uprobes: encapsulate preparation of uprobe args buffer
    91f62703146a tracing/probes: Support $argN in return probe (kprobe and fprobe)
    e96b42d22f66 tracing/probes: cleanup: Set trace_probe::nr_args at trace_probe_init
    5868fa7ebe66 tracing/fprobe-event: cleanup: Fix a wrong comment in fprobe event
    4fad73700867 usb: dwc3: core: Fix system suspend on TI AM62 platforms
    66e56efc45cb XHCI: Separate PORT and CAPs macros into dedicated file
    ecc8a9502b3c usb: gadget: f_uac2: fix return value for UAC2_ATTRIBUTE_STRING store
    0a2794e244d8 usb: gadget: f_uac2: fix non-newline-terminated function name
    3af6c7285413 usb: gadget: f_uac2: Replace snprintf() with the safer scnprintf() variant
    c691c2adeb75 xhci: dbc: honor usb transfer size boundaries.
    7cbcb40d4699 xhci: dbgtty: use kfifo from tty_port struct
    32bd1720ede6 xhci: dbgtty: remove kfifo_out() wrapper
    fe19d913d2c8 iio: adc: ti-lmp92064: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    5f029be65dca mm: khugepaged: fix the arguments order in khugepaged_collapse_file trace point
    36249a0b212e khugepaged: remove hpage from collapse_file()
    03e36dba005e khugepaged: convert alloc_charge_hpage to alloc_charge_folio
    281a0312ce41 khugepaged: inline hpage_collapse_alloc_folio()
    c556c5580646 mm/khugepaged: use a folio more in collapse_file()
    4ba70817cfad mm: convert collapse_huge_page() to use a folio
    a1afee6c6f53 mm/khugepaged: convert alloc_charge_hpage() to use folios
    cf2bb1bf0306 cdrom: Avoid barrier_nospec() in cdrom_ioctl_media_changed()
    bb0f943675a9 bpf: Fix iter/task tid filtering
    4ed32cc0939b nvme-pci: fix race condition between reset and nvme_dev_disable()
    e2c03a2c838e nvme-pci: set doorbell config before unquiescing
    ed67a5b99e4d riscv, bpf: Make BPF_CMPXCHG fully ordered
    8a377818bcf8 bpf, vsock: Drop static vsock_bpf_prot initialization
    9dd9b16018cc vsock: Update msg_count on read_skb()
    66cd51de31c6 vsock: Update rx_bytes on read_skb()
    12c3e619d34a bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock
    9f2ccb6f3888 net/mlx5: Unregister notifier on eswitch init failure
    d88564c79d1c net/mlx5: Fix command bitmask initialization
    5ec33b1fe86d net/mlx5: Check for invalid vector index on EQ creation
    59ba6cdadb9c vmxnet3: Fix packet corruption in vmxnet3_xdp_xmit_frame
    d10cd7bf574e Bluetooth: bnep: fix wild-memory-access in proto_unregister
    97bbdc5001db bpf: Fix link info netfilter flags to populate defrag flag
    9221ae88c205 s390: Initialize psw mask in perf_arch_fetch_caller_regs()
    1ded6b12499e usb: typec: altmode should keep reference to parent
    b209c3a0bc3a smb: client: fix OOBs when building SMB2_IOCTL request
    b1813c220b76 smb: client: fix possible double free in smb2_set_ea()
    b80e9bc85bd9 scsi: target: core: Fix null-ptr-deref in target_alloc_device()
    2fe1384cbb7c net: ravb: Only advertise Rx/Tx timestamps if hardware supports it
    e9638d3e62dc ravb: Remove setting of RX software timestamp
    b94e5375ec66 genetlink: hold RCU in genlmsg_mcast()
    f8f8afc101f2 net: dsa: mv88e6xxx: Fix the max_vid definition for the MV88E6361
    997ae8da14f1 tcp/dccp: Don't use timer_pending() in reqsk_queue_unlink().
    7218de0778ae net: bcmasp: fix potential memory leak in bcmasp_xmit()
    1999a9e050c5 drm/msm/dpu: don't always program merge_3d block
    b18db3a4fa5f irqchip/renesas-rzg2l: Fix missing put_device
    39cb86f19199 irqchip/renesas-rzg2l: Add support for suspend to RAM
    0776b25d79d8 irqchip/renesas-rzg2l: Document structure members
    05cc5e67dda8 irqchip/renesas-rzg2l: Align struct member names to tabs
    4b70478b984a net: systemport: fix potential memory leak in bcm_sysport_xmit()
    08b8f206de4c bpf: Fix truncation bug in coerce_reg_to_size_sx()
    b01fbbf38584 net: xilinx: axienet: fix potential memory leak in axienet_start_xmit()
    0017189d6057 net/smc: Fix searching in list of known pnetids in smc_pnet_add_pnetid
    79571c4d2f65 net: ethernet: aeroflex: fix potential memory leak in greth_start_xmit_gbit()
    681ce79ab6fb netdevsim: use cond_resched() in nsim_dev_trap_report_work()
    268446b40bb1 macsec: don't increment counters for an unrelated SA
    65ca9f8ddc0d drm/amd/amdgpu: Fix double unlock in amdgpu_mes_add_ring
    a4bc03078eb3 octeontx2-af: Fix potential integer overflows on integer shifts
    e61fa0d66f22 net: stmmac: dwmac-tegra: Fix link bring-up sequence
    bc52115cc41a net: usb: usbnet: fix race in probe failure
    a17874a3a5ab net/smc: Fix memory leak when using percpu refs
    95e3da26819d firmware: arm_scmi: Queue in scmi layer for mailbox implementation
    d4e44b8a6a18 drm/msm: Allocate memory for disp snapshot with kvzalloc()
    f7ad91627348 drm/msm: Avoid NULL dereference in msm_disp_state_print_regs()
    33ece6c4f0c1 drm/msm/dsi: fix 32-bit signed integer extension in pclk_rate calculation
    9f2361089152 drm/msm/dsi: improve/fix dsc pclk calculation
    dd58a5f8b308 drm/msm/dpu: check for overflow in _dpu_crtc_setup_lm_bounds()
    adde6c68bf1a drm/msm/dpu: make sure phys resources are properly initialized
    1931dc14b537 accel/qaic: Fix the for loop used to walk SG table
    5032bf57ab5d RDMA/bnxt_re: Fix the GID table length
    bf39b3532143 RDMA/bnxt_re: Update the BAR offsets
    87cb3b0054e5 RDMA/bnxt_re: Fix a bug while setting up Level-2 PBL pages
    d517cadae6c3 RDMA/bnxt_re: Return more meaningful error
    05c5fcc1869a RDMA/bnxt_re: Fix out of bound check
    903f8b01c587 RDMA/bnxt_re: Fix the max CQ WQEs for older adapters
    5fcf649e4334 RDMA/bnxt_re: Support new 5760X P7 devices
    1ee5ef316a77 ipv4: give an IPv4 dev to blackhole_netdev
    3a662cc5b5d5 RDMA/srpt: Make slab cache names unique
    af29c430a343 RDMA/irdma: Fix misspelling of "accept*"
    c29fd05329a9 RDMA/cxgb4: Fix RDMA_CM_EVENT_UNREACHABLE error for iWARP
    6d91d07913ae firmware: arm_scmi: Fix the double free in scmi_debugfs_common_setup()
    8971fd61210d ALSA: hda/cs8409: Fix possible NULL dereference
    509c29d0d26f sched/core: Disable page allocation in task_tick_mm_cid()
    380681a29066 task_work: Add TWA_NMI_CURRENT as an additional notify mode.
    a3fe89d4f5bb selftests/bpf: Fix cross-compiling urandom_read
    923c5ded505c drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check
    119249d146d5 iio: frequency: admv4420: fix missing select REMAP_SPI in Kconfig
    1b3090ca3265 iio: frequency: {admv4420,adrf6780}: format Kconfig entries
    3e212996d21f bpf: fix kfunc btf caching for modules
    b56328660be0 s390/pci: Handle PCI error codes other than 0x3a
    6617ae800cbb selftests/bpf: fix perf_event link info name_len assertion
    0ce20181976d selftests/bpf: Add cookies check for perf_event fill_link_info test
    e909258d41b2 selftests/bpf: Use bpf_link__destroy in fill_link_info tests
    e5c2b971db09 bpf: fix unpopulated name_len field in perf_event link info
    cfd63c3a4538 bpf: Add cookie to perf_event bpf_link_info records
    99bf10e92a3f bpf: Add missed value to kprobe perf link info
    f4381ccf1ed1 ARM: dts: bcm2837-rpi-cm3-io3: Fix HDMI hpd-gpio pin
    9e3d07e503ea x86/resctrl: Avoid overflow in MB settings in bw_validate()
    b7bf17f4f92f RDMA/core: Fix ENODEV error for iWARP test over vlan
    c71957271f2e RDMA/bnxt_re: Add a check for memory allocation
    7d10555a340a RDMA/bnxt_re: Fix incorrect AVID type in WQE structure
    73e04a6114e0 RDMA/bnxt_re: Fix a possible memory leak
    90ad4e2fe3a2 bpf: Fix memory leak in bpf_core_apply
    978d1f63fc6e lib/Kconfig.debug: fix grammar in RUST_BUILD_ASSERT_ALLOW
    8552150e5d80 cpufreq/amd-pstate: Fix amd_pstate mode switch on shared memory systems
    49454f09936a bpf: devmap: provide rxq after redirect
    0fca5ed4be8e bpf: Make sure internal and UAPI bpf_redirect flags don't overlap
    de1f0ab13915 iio: accel: bma400: Fix uninitialized variable field_value in tap event handling.
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 076b5f6d2c32dbe34a2a712f095c6c4e29c39f84)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c7505c0387450c5467249828ec5c022f393b42a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
30f0f8c590 linux-yocto/6.6: genericarm64.cfg: enable CONFIG_DMA_CMA
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64.cfg: enable CONFIG_DMA_CMA
    Date: Thu, 24 Oct 2024 08:49:29 +0300

    It's needed for graphics on AMD KV260.

    Cc: Bill Mills <bill.mills@linaro.org>
    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 419acd65dc5e8299539fa874ec7dbe024906a3dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87bbf8eaa48cfc8bca02d86bd089df61846d2ca4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
7252462f9a linux-yocto/6.6: update to v6.6.58
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    18916a684a8b Linux 6.6.58
    fd6e2af79a94 ALSA: hda/conexant - Use cached pin control for Node 0x1d on HP EliteOne 1000 G2
    9698088ac770 nilfs2: propagate directory read errors from nilfs_find_entry()
    87cb3f6e0c04 selftests: mptcp: remove duplicated variables
    ec0d0fcbd5d8 selftests: mptcp: join: test for prohibited MPC to port-based endp
    d46b96f0a489 selftests: mptcp: join: change capture/checksum as bool
    229dfdc36f31 tcp: fix mptcp DSS corruption due to large pmtu xmit
    647cd4494cc3 serial: qcom-geni: fix receiver enable
    61c8f746ed83 serial: qcom-geni: fix dma rx cancellation
    7176aee5a1b2 serial: qcom-geni: revert broken hibernation support
    90e3f819e6aa serial: qcom-geni: fix polled console initialisation
    6acd19ad3aaf irqchip/sifive-plic: Unmask interrupt in plic_irq_enable()
    01282ab5182f irqchip/gic-v4: Don't allow a VMOVP on a dying VPE
    fad940e2dd78 pinctrl: apple: check devm_kasprintf() returned value
    3b36bb1fca2b pinctrl: stm32: check devm_kasprintf() returned value
    20728e86289a pinctrl: ocelot: fix system hang on level based interrupts
    481b477ab63c x86/bugs: Use code segment selector for VERW operand
    c29f192e0d44 tty: n_gsm: Fix use-after-free in gsm_cleanup_mux
    227358e89703 x86/entry_32: Clear CPU buffers after register restore in NMI return
    0c6a7e2c6012 x86/entry_32: Do not clobber user EFLAGS.ZF
    c8170b5ddc41 x86/CPU/AMD: Only apply Zenbleed fix for Zen2 during late microcode load
    6663f0c65885 x86/apic: Always explicitly disarm TSC-deadline timer
    16d7d35f1c1e x86/resctrl: Annotate get_mem_config() functions as __init
    66029078fee0 parport: Proper fix for array out-of-bounds access
    c895d48c843d serial: imx: Update mctrl old_status on RTSD interrupt
    245bee12a52d misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for OTP device
    78df42183e82 misc: microchip: pci1xxxx: add support for NVMEM_DEVID_AUTO for EEPROM device
    c3d3501cf896 usb: dwc3: Wait for EndXfer completion before restoring GUSB2PHYCFG
    479830f6c15b usb: typec: qcom-pmic-typec: fix sink status being overwritten with RP_DEF
    86c68aa714d0 USB: serial: option: add Telit FN920C04 MBIM compositions
    90a5c64279ae USB: serial: option: add support for Quectel EG916Q-GL
    53cd1bb1f8eb xhci: Mitigate failed set dequeue pointer commands
    cc7b7050996a xhci: Fix incorrect stream context type macro
    9c696bf4ab54 xhci: tegra: fix checked USB2 port number
    dc2d5f02636c vt: prevent kernel-infoleak in con_font_get()
    885f8c873fed Bluetooth: btusb: Fix regression with fake CSR controllers 0a12:0001
    8fb8e912afb4 Bluetooth: ISO: Fix multiple init when debugfs is disabled
    59bd80df4b88 Bluetooth: Remove debugfs directory on module init failure
    05f84d86169b Bluetooth: Call iso_exit() on module unload
    232c2eb6d60c iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    d8ef39dad9b9 iio: adc: ti-ads124s08: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    48e594b77cb7 iio: adc: ti-lmp92064: add missing select REGMAP_SPI in Kconfig
    2f76debe69b8 iio: dac: ad3552r: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    ad60bbd7c071 iio: proximity: mb1232: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    1fcc9d634b50 iio: dac: ad5766: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    66bfe12005f6 iio: light: bu27008: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    5d41abc777dc iio: frequency: adf4377: add missing select REMAP_SPI in Kconfig
    dc7a11e8cebd iio: amplifiers: ada4250: add missing select REGMAP_SPI in Kconfig
    7f06b154ffcf iio: light: opt3001: add missing full-scale range value
    2cbb41abae65 iio: light: veml6030: fix IIO device retrieval from embedded device
    6bd2b16425d4 iio: light: veml6030: fix ALS sensor resolution
    6acb0a4dac40 iio: hid-sensors: Fix an error handling path in _hid_sensor_set_report_latency()
    082a75594ba4 iio: adc: ti-ads8688: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
    e0eb585eef6c iio: dac: stm32-dac-core: add missing select REGMAP_MMIO in Kconfig
    ea8180528111 iio: dac: ltc1660: add missing select REGMAP_SPI in Kconfig
    c3a230c1df36 iio: dac: ad5770r: add missing select REGMAP_SPI in Kconfig
    64cf93b87fe3 drm/amdgpu: prevent BO_HANDLES error from being overwritten
    db0978d3ed8b drm/amdgpu/swsmu: Only force workload setup on init
    7c0763fd7974 drm/vmwgfx: Handle surface check failure correctly
    1a235af02164 drm/radeon: Fix encoder->possible_clones
    8e6ca01b3b8d scsi: ufs: core: Fix the issue of ICU failure
    7bd9af254275 scsi: ufs: core: Set SDEV_OFFLINE when UFS is shut down
    d3c4f41ae32c Input: xpad - add support for MSI Claw A1M
    a16af52f2442 selftest: hid: add the missing tests directory
    6414ab5c9c9c ublk: don't allow user copy for unprivileged device
    2762b3cc9094 io_uring/sqpoll: close race on waiting for sqring entries
    4c5b123ab289 blk-rq-qos: fix crash on rq_qos_wait vs. rq_qos_wake_function race
    c04670dffb3f x86/bugs: Do not use UNTRAIN_RET with IBPB on entry
    c42a343158ea x86/bugs: Skip RSB fill at VMEXIT
    61211f2da0be x86/entry: Have entry_ibpb() invalidate return predictions
    b28d3f44e20c x86/cpufeatures: Add a IBPB_NO_RET BUG flag
    6ccc10ed0a7d x86/cpufeatures: Define X86_FEATURE_AMD_IBPB_RET
    369535232d6a KVM: s390: Change virtual to physical address access in diag 0x258 handler
    88607ed93ee6 KVM: s390: gaccess: Check if guest address is in memslot
    82b433fb9b13 s390/sclp_vt220: Convert newlines to CRLF instead of LFCR
    ccea29b1e072 s390/sclp: Deactivate sclp after all its users
    fe2e0b6cd00a iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices
    37d9305caace mptcp: prevent MPC handshake on port-based signal endpoints
    6365900cb10e net: fec: Remove duplicated code
    1e1eb62c40e1 net: fec: Move `fec_ptp_read()` to the top of the file
    677f1df179cb maple_tree: correct tree corruption on spanning store
    9a0ab4fc28ed xfs: restrict when we try to align cow fork delalloc to cowextsz hints
    3eeac3311683 xfs: allow unlinked symlinks and dirs with zero size
    2bc2d49c36c2 xfs: fix freeing speculative preallocations for preallocated files
    740a427e8f45 xfs: fix unlink vs cluster buffer instantiation race
    0e52b98bf041 xfs: make sure sb_fdblocks is non-negative
    0aca73915dc1 xfs: allow symlinks with short remote targets
    4c99f3026cf2 xfs: convert delayed extents to unwritten when zeroing post eof blocks
    36081fd0ee37 xfs: make xfs_bmapi_convert_delalloc() to allocate the target offset
    0f726c17dfd8 xfs: make the seq argument to xfs_bmapi_convert_delalloc() optional
    f24ba2183148 xfs: match lock mode in xfs_buffered_write_iomap_begin()
    7c03b124353a xfs: use dontcache for grabbing inodes during scrub
    20adb1e2f069 xfs: revert commit 44af6c7e59b12
    5689d2345a01 xfs: enforce one namespace per attribute
    9716cdcc2f9e xfs: validate recovered name buffers when recovering xattr items
    db460c26f0b0 xfs: check shortform attr entry flags specifically
    cad051826d83 xfs: fix missing check for invalid attr flags
    0934046e3392 xfs: check opcode and iovec count match in xlog_recover_attri_commit_pass2
    c13c21f77824 xfs: require XFS_SB_FEAT_INCOMPAT_LOG_XATTRS for attr log intent item recovery
    c299188b443a xfs: remove a racy if_bytes check in xfs_reflink_end_cow_extent
    4bcef72d96b5 xfs: fix xfs_bmap_add_extent_delay_real for partial conversions
    f43bd357fde0 xfs: fix error returns from xfs_bmapi_write
    bed2b9037806 mm/swapfile: skip HugeTLB pages for unuse_vma
    a0035fc55554 mm/mglru: only clear kswapd_failures if reclaimable
    17396e32f975 mm/mremap: fix move_normal_pmd/retract_page_tables race
    6b91fd65a117 selftests/mm: fix deadlock for fork after pthread_create on ARM
    8f5fa1c677df selftests/mm: replace atomic_bool with pthread_barrier_t
    a9af9d5fb01b fat: fix uninitialized variable
    8e29f3235181 irqchip/gic-v3-its: Fix VSYNC referencing an unmapped VPE on GIC v4.1
    20b5342de51b net: microchip: vcap api: Fix memory leaks in vcap_api_encode_rule_test()
    81db1e528486 net: macb: Avoid 20s boot delay by skipping MDIO bus registration for fixed-link PHY
    8165bf83b8a6 arm64: probes: Fix uprobes for big-endian kernels
    173c13e38799 arm64: probes: Fix simulate_ldr*_literal()
    9f1e7735474e arm64: probes: Remove broken LDR (literal) uprobe support
    a3f169e39821 posix-clock: Fix missing timespec64 check in pc_clock_settime()
    75150ba93dda net: enetc: add missing static descriptor and inline keyword
    760a7c9695c0 net: enetc: disable NAPI after all rings are disabled
    a419f478b927 net: enetc: disable Tx BD rings after they are empty
    37184349468a net: enetc: block concurrent XDP transmissions during ring reconfiguration
    1c95443e44e1 net: enetc: remove xdp_drops statistic from enetc_xdp_drop()
    7b2e478abab0 mptcp: pm: fix UaF read in mptcp_pm_nl_rm_addr_or_subflow
    3c088dba8a4e ALSA: hda/conexant - Fix audio routing for HP EliteOne 1000 G2
    5511999e9615 ksmbd: fix user-after-free from session log off
    7fc7c47b9ba0 btrfs: fix uninitialized pointer free on read_alloc_one_name() error
    e11ce03b5874 btrfs: fix uninitialized pointer free in add_inode_ref()
    e9448e371c87 Linux 6.6.57
    8d5aebfff846 scsi: Revert "scsi: sd: Do not repeat the starting disk message"
    e6fc67c0efea e1000e: fix force smbus during suspend flow
    611f74b0e7fb net: ethernet: cortina: Restore TSO support
    7caf966390e6 secretmem: disable memfd_secret() if arch cannot set direct map
    e5a0031c7965 fs/proc/kcore.c: allow translation of physical memory addresses
    19a5029981c8 kthread: unpark only parked kthread
    f00545e8386e btrfs: split remaining space to discard in chunks
    73a4f5a704a2 selftests/rseq: Fix mm_cid test failure
    87070a96b1d2 selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test
    bd3222d47fae powercap: intel_rapl_tpmi: Fix bogus register reading
    697e3ddcf1f8 nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error
    b822007e8db3 device-dax: correct pgoff align in dax_set_mapping()
    8b36f4dcacb9 mptcp: pm: do not remove closing subflows
    b8be15d1ae7e mptcp: handle consistently DSS corruption
    143ffa7878e2 net: phy: Remove LED entry from LEDs list on unregister
    28a2c3e51d09 net: dsa: lan9303: ensure chip reset and wait for READY status
    3be342e0332a net: Fix an unsafe loop on the list
    563e6892e21d net: explicitly clear the sk pointer, when pf->create fails
    31c62224e91c ata: libata: avoid superfluous disk spin down + spin up during hibernation
    a448ced30802 mptcp: fallback when MPTCP opts are dropped after 1st data
    7994a4849c8b scsi: ufs: Use pre-calculated offsets in ufshcd_init_lrb()
    e04642a207f1 scsi: wd33c93: Don't use stale scsi_pointer value
    867639300759 Bluetooth: hci_conn: Fix UAF in hci_enhanced_setup_sync
    55f2bd90b9fb drm/i915/hdcp: fix connector refcounting
    937943c04250 drm/vc4: Stop the active perfmon before being destroyed
    07c51108d9e2 drm/v3d: Stop the active perfmon before being destroyed
    fb1643d00a50 hid: intel-ish-hid: Fix uninitialized variable 'rv' in ish_fw_xfer_direct_dma
    0b97fe09f099 usb: gadget: core: force synchronous registration
    0770cda1e40f usb: storage: ignore bogus device raised by JieLi BR21 USB sound chip
    cb8b441f73a6 usb: xhci: Fix problem with xhci resume from suspend
    38aef06ea2fd usb: dwc3: core: Stop processing of pending events if controller is halted
    936564b4dafa Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
    1fa959e74e50 HID: plantronics: Workaround for an unexcepted opposite volume key
    c1846e023899 HID: multitouch: Add support for lenovo Y9000P Touchpad
    1c3b4c90479a HID: amd_sfh: Switch to device-managed dmam_alloc_coherent()
    11381eea8897 hwmon: (adt7470) Add missing dependency on REGMAP_I2C
    f5033290daa1 hwmon: (adm9240) Add missing dependency on REGMAP_I2C
    fe5866fc1254 hwmon: (mc34vr500) Add missing dependency on REGMAP_I2C
    de90999ec3de hwmon: (tmp513) Add missing dependency on REGMAP_I2C
    2caf6c42629e hwmon: intel-m10-bmc-hwmon: relabel Columbiaville to CVL Die Temperature
    26b177ecdd31 wifi: mac80211: Avoid address calculations via out of bounds array indexing
    ea912d384d8e hid-asus: add ROG Ally X prod ID to quirk list
    1815b3236d6b HID: asus: add ROG Z13 lightbar
    5ec4596a0ba9 HID: asus: add ROG Ally N-Key ID and keycodes
    f74210883e53 HID: i2c-hid: Skip SET_POWER SLEEP for Cirque touchpad on system suspend
    64575ec3d24a HID: i2c-hid: Renumber I2C_HID_QUIRK_ defines
    e600ee984f72 HID: i2c-hid: Remove I2C_HID_QUIRK_SET_PWR_WAKEUP_DEV quirk
    b289b83409a6 HID: mcp2200: added driver for GPIOs of MCP2200
    84a5feebba10 rcu/nocb: Fix rcuog wake-up from offline softirq
    174caf7a16d6 rcu/nocb: Make IRQs disablement symmetric
    8bb79eb1db85 slip: make slhc_remember() more robust against malicious packets
    8fe992ff3df4 ppp: fix ppp_async_encode() illegal access
    c246bfbb35fb phonet: Handle error of rtnl_register_module().
    a8e473f7454a phonet: no longer hold RTNL in route_dumpit()
    4597c3866d04 mpls: Handle error of rtnl_register_module().
    ff7abccdd581 mpls: no longer hold RTNL in mpls_netconf_dump_devconf()
    ba5366b87c0d rtnetlink: add RTNL_FLAG_DUMP_UNLOCKED flag
    c8c76f1550b9 rtnetlink: change nlk->cb_mutex role
    f4df31a05153 mctp: Handle error of rtnl_register_module().
    60bfd345cc9b bridge: Handle error of rtnl_register_module().
    ca15d2882d8a vxlan: Handle error of rtnl_register_module().
    35b72beac967 rtnetlink: Add bulk registration helpers for rtnetlink message handlers.
    eae7435b48ff net: do not delay dst_entries_add() in dst_release()
    64121e36fdce netfilter: fib: check correct rtable in vrf setups
    997f67d813ce netfilter: xtables: avoid NFPROTO_UNSPEC where needed
    b4ff011609d0 sctp: ensure sk_state is set to CLOSED if hashing fails in sctp_listen_start
    a63850d0d941 btrfs: zoned: fix missing RCU locking in error message when loading zone info
    25c5ef253a4c net: ibm: emac: mal: fix wrong goto
    1edf039ee017 net/sched: accept TCA_STAB only for root qdisc
    ba578ecdd161 e1000e: change I219 (19) devices to ADP
    57c5053eaa5f igb: Do not bring the device up after non-fatal error
    703c4d820b31 i40e: Fix macvlan leak by synchronizing access to mac_filter_hash
    29d7aa1857b2 ice: Flush FDB entries before reset
    3b66266aa7ec ice: rename switchdev to eswitch
    fa6ab2d78c19 ice: Fix netif_is_ice() in Safe Mode
    a91c6e117079 powercap: intel_rapl_tpmi: Ignore minor version change
    f0a6c431d20d platform/x86/intel/tpmi: Add defines to get version information
    1e4a5eed757c gpio: aspeed: Use devm_clk api to manage clock source
    2a165df9ce20 gpio: aspeed: Add the flush write to ensure the write complete.
    cfa836da7f4c nouveau/dmem: Fix privileged error in copy engine channel
    0aac3fb641cc drm/nouveau: pass cli to nouveau_channel_new() instead of drm+device
    ca57186f2dec net: dsa: b53: fix jumbo frames on 10/100 ports
    dd5b3a830540 net: dsa: b53: allow lower MTUs on BCM5325/5365
    94c4cb9b9113 net: dsa: b53: fix max MTU for BCM5325/BCM5365
    bd1f41c3abd1 net: dsa: b53: fix max MTU for 1g switches
    f9a966afcd76 net: dsa: b53: fix jumbo frame mtu check
    1d068c925418 net: ethernet: adi: adin1110: Fix some error handling path in adin1110_read_fifo()
    826e9b748dec Revert "net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled"
    dd64ea033756 thermal: intel: int340x: processor: Fix warning during module unload
    335a4cbcaa6b thermal: int340x: processor_thermal: Set feature mask before proc_thermal_add
    80a146b9bb08 net: phy: bcm84881: Fix some error handling paths
    38b2d5a57d12 Bluetooth: RFCOMM: FIX possible deadlock in rfcomm_sk_state_change
    597ea17d84d3 selftests: net: no_forwarding: fix VID for $swp2 in one_bridge_two_pvids() test
    3453f5839420 netfilter: br_netfilter: fix panic with metadata_dst skb
    446be5505ea0 rxrpc: Fix uninitialised variable in rxrpc_send_data()
    2daffbd861de tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits out
    718c49f840ef tcp: new TCP_INFO stats for RTO events
    04dce9a12050 tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
    e676ca60ad2a tcp: fix to allow timestamp undo if no retransmits were sent
    9ca634676ff6 net: phy: dp83869: fix memory corruption when enabling fiber
    fca41e5fa491 NFSv4: Prevent NULL-pointer dereference in nfs42_complete_copies()
    dedc14e1301a SUNRPC: Fix integer overflow in decode_rc_list()
    fde7db1c0614 ice: fix VLAN replay after reset
    803f31073b08 ice: set correct dst VSI in only LAN filters
    4ab072325c62 NFSD: Mark filecache "down" if init fails
    1fab0233720f x86/amd_nb: Add new PCI IDs for AMD family 1Ah model 60h
    9736678bc21c x86/amd_nb: Add new PCI IDs for AMD family 0x1a
    688872c4ea4a fbdev: sisfb: Fix strbuf array overflow
    0809fb86ad13 smb: client: fix UAF in async decryption
    f7fb5dda5553 fbcon: Fix a NULL pointer dereference issue in fbcon_putcs
    65b2d49e55fe drm/amd/display: Check null pointer before dereferencing se
    0ef6e016eb53 scsi: lpfc: Ensure DA_ID handling completion before deleting an NPIV instance
    ab88c77894aa scsi: lpfc: Add ELS_RSP cmd to the list of WQEs to flush in lpfc_els_flush_cmd()
    5da9855385bc driver core: bus: Return -EIO instead of 0 when show/store invalid bus attribute
    d885c464c250 driver core: bus: Fix double free in driver API bus_register()
    a84ae28d710b staging: vme_user: added bound check to geoid
    5b53a7a6bdba tools/iio: Add memory allocation failure check for trigger_name
    b01793cc63dd virtio_pmem: Check device status before requesting flush
    784744b01b08 netfilter: nf_reject: Fix build warning when CONFIG_BRIDGE_NETFILTER=n
    5b04f41abaf8 netfilter: nf_nat: don't try nat source port reallocation for reverse dir clash
    1215e29918af LoongArch: Fix memleak in pci_acpi_scan_root()
    0b700d29ebad comedi: ni_routing: tools: Check when the file could not be opened
    0be52823e51c usb: dwc2: Adjust the timing of USB Driver Interrupt Registration in the Crashkernel Scenario
    01ac64e09261 usb: chipidea: udc: enable suspend interrupt after usb reset
    b72bf5cade51 usb: typec: tipd: Free IRQ only if it was requested before
    e418d91195d2 serial: protect uart_port_dtr_rts() in uart_shutdown() too
    339273a9ddfe clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D
    7fb5f957213b remoteproc: imx_rproc: Use imx specific hook for find_loaded_rsc_table
    7af8d697b70f media: videobuf2-core: clear memory related fields in __vb2_plane_dmabuf_put()
    a39416d8597a riscv/kexec_file: Fix relocation type R_RISCV_ADD16 and R_RISCV_SUB16 unknown
    740a6059c367 soundwire: cadence: re-check Peripheral status with delayed_work
    99002ae8a1a8 RDMA/mlx5: Enforce umem boundaries for explicit ODP page faults
    a29a9c2c9dce riscv: avoid Imbalance in RAS
    50c4307e8261 mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    fa840ba4bd9f ntb: ntb_hw_switchtec: Fix use after free vulnerability in switchtec_ntb_remove due to race condition
    f4ce3b5d26ce io_uring: check if we need to reschedule during overflow flush
    30884833361b RISC-V: Don't have MAX_PHYSMEM_BITS exceed phys_addr_t
    ea0256e393e0 i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition
    8f53f6f96678 PCI: Mark Creative Labs EMU20k2 INTx masking as broken
    f8e2a0416a68 i2c: i801: Use a different adapter-name for IDF adapters
    2488685858ed PCI: Add ACS quirk for Qualcomm SA8775P
    f829cb4535ba clk: bcm: bcm53573: fix OF node leak in init
    ccb8e44ae3e2 RDMA/rtrs-srv: Avoid null pointer deref during path establishment
    bd9a77a93049 PCI: Add function 0 DMA alias quirk for Glenfly Arise chip
    1598bf01006d soundwire: intel_bus_common: enable interrupts before exiting reset
    a195a42dd25c RDMA/mad: Improve handling of timed out WRs of mad agent
    6ba8ecf9aa4e ktest.pl: Avoid false positives with grub2 skip regex
    5d5e3b4cbe8e bpf: Prevent tail call between progs attached to different hooks
    96b128028801 s390/cpum_sf: Remove WARN_ON_ONCE statements
    e789b7fdd7ba ext4: nested locking for xattr inode
    58c0648e4c77 ext4: don't set SB_RDONLY after filesystem errors
    cadbdd78e049 bpf, x64: Fix a jit convergence issue
    5575beab1b26 s390/mm: Add cond_resched() to cmm_alloc/free_pages()
    78cddbd77595 s390/facility: Disable compile time optimization for decompressor code
    c43622d6f917 bpf: Check percpu map value size first
    aaa880f8a9a5 selftests/bpf: Fix ARG_PTR_TO_LONG {half-,}uninitialized test
    1881193bf2cb Input: synaptics-rmi4 - fix UAF of IRQ domain on driver removal
    6e20720b1229 zram: don't free statically defined names
    6272936fd242 zram: free secondary algorithms names
    c556e72cea2a ntfs3: Change to non-blocking allocation in ntfs_d_hash
    fd94986382d1 virtio_console: fix misc probe bugs
    5e20797c824b fs/ntfs3: Refactor enum_rstbl to suppress static checker
    cdb1efee542c fs/ntfs3: Fix sparse warning in ni_fiemap
    16f93bdd61e4 fs/ntfs3: Do not call file_modified if collapse range failed
    939b4b2c008d drm/amd/display: Revert "Check HDCP returned status"
    b505e4fc411c drm/amd/display: Remove a redundant check in authenticated_dp
    1a7ca970112c lib/build_OID_registry: avoid non-destructive substitution for Perl < 5.13.2 compat
    dcfaf8b500db jbd2: fix kernel-doc for j_transaction_overhead_buffers
    5f77c8e84ae4 Bluetooth: Fix usage of __hci_cmd_sync_status
    66c43605be89 selftests: Introduce Makefile variable to list shared bash scripts
    f45c65b1b941 selftests: net: Remove executable bits from library scripts
    ab656dd9fc0d libsubcmd: Don't free the usage string
    03cec19f546d perf sched: Move curr_pid and cpu_last_switched initialization to perf_sched__{lat|map|replay}()
    4078f1d442d8 perf sched: Move curr_thread initialization to perf_sched__map()
    e649fb7f8361 perf sched: Fix memory leak in perf_sched__map()
    85ca3d45bd40 perf sched: Move start_work_mutex and work_done_wait_mutex initialization to perf_sched__replay()
    86052433693b bootconfig: Fix the kerneldoc of _xbc_exit()
    f0fc028b6f1f e1000e: move force SMBUS near the end of enable_ulp function
    1fe83044fdc9 i40e: Include types.h to some headers
    f717743ecfdf i40e: Fix ST code value for Clause 45
    a47a759e435b scsi: sd: Do not repeat the starting disk message
    9e6075e112ee scsi: Remove scsi device no_start_on_resume flag
    2e561175e9cf ASoC: tas2781: mark dvc_tlv with __maybe_unused
    9c122d020a62 ata: ahci: Add mask_port_map module parameter
    924c0af49c63 spi: spi-fsl-lpspi: remove redundant spi_controller_put call
    18f3fdb17496 riscv: cpufeature: Fix thead vector hwcap removal
    5915b8981ad6 tracing: Have saved_cmdlines arrays all in one allocation
    26c907b8d887 libceph: init the cursor when preparing sparse read in msgr2
    fb90d9729549 pds_core: no health-thread in VF path
    bd1521e0ea9a Revert "powerpc/ps3_defconfig: Disable PPC64_BIG_ENDIAN_ELF_ABI_V2"
    43987659fa9c bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone
    39601f49c9e0 bus: mhi: ep: Add support for async DMA read operation
    b6af3a95417b bus: mhi: ep: Add support for async DMA write operation
    a77e5950f93f bus: mhi: ep: Introduce async read/write callbacks
    efdfa92a823a bus: mhi: ep: Rename read_from_host() and write_to_host() APIs
    be6c52b059a2 drm/crtc: fix uninitialized variable use even harder
    0d3d2236a0e0 ALSA: hda/realtek: cs35l41: Fix device ID / model name
    c800174e0865 ALSA: hda/realtek: cs35l41: Fix order and duplicates in quirks table
    e87cb9dd3fad tracing: Remove precision vsnprintf() check from print event
    9dd05dac697c drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP (again)
    452c0740d72c net: ethernet: cortina: Drop TSO support
    6e0d0554d857 riscv: Remove SHADOW_OVERFLOW_STACK_SIZE macro
    50e33567bc4a gfs2: Revert "ignore negated quota changes"
    8251e3b0ce92 gfs2: qd_check_sync cleanups
    e51c5aff8480 gfs2: Revert "introduce qd_bh_get_or_undo"
    9060935b4b8b phy: qualcomm: eusb2-repeater: Rework init to drop redundant zero-out loop
    fa3532b1540f phy: qualcomm: phy-qcom-eusb2-repeater: Add tuning overrides
    e905bc71e7ed ASoC: cs35l56: Load tunings for the correct speaker models
    9790a7acc352 Revert "PCI/MSI: Provide stubs for IMS functions"
    7745e14f4c03 net: fec: don't save PTP state if PTP is unsupported
    ac20736861f3 unicode: Don't special case ignorable code points
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: cf8177a6c40294f6428350f54bb853c37c09360a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e8a5b1c53d9cae12b4f3c6d3259be55df5f1d2f4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Bruce Ashfield
7808ebbc8b linux-yocto/6.6: update to v6.6.56
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    d4576c567009 Linux 6.6.56
    1e0f696469d6 Revert "perf callchain: Fix stitch LBR memory leaks"
    9b15f68c4127 Linux 6.6.55
    e334ae4a0cd5 perf python: Allow checking for the existence of warning options in clang
    3faea7810e2b Revert "ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path"
    e0aba0c6d521 null_blk: Fix return value of nullb_device_power_store()
    e0b065ec636d drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_link_enc before using it
    776ebdeee65b perf report: Fix segfault when 'sym' sort key is not used
    eada63e6e337 drm/amd/display: Revert Avoid overflow assignment
    de4841fca84f crypto: octeontx* - Select CRYPTO_AUTHENC
    25613e6d9841 vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()
    cdf4bbbdb956 rxrpc: Fix a race between socket set up and I/O thread creation
    b538fefeb102 net: stmmac: move the EST lock to struct stmmac_priv
    aaadb755f2d6 null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues'
    b2b02202f87d null_blk: Remove usage of the deprecated ida_simple_xx() API
    2deb10a99671 platform/x86: think-lmi: Fix password opcode ordering for workstations
    e115c1b5de55 efi/unaccepted: touch soft lockup during memory accept
    50f4b57e9a9d drm/bridge: adv7511: fix crash on irq during probe
    fd4d5cd7a2e8 iommufd: Fix protection fault in iommufd_test_syz_conv_iova
    69a1e2d938db net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events
    164936b2fc88 netfilter: nf_tables: restore set elements when delete set fails
    a1bd2a38a1c6 netfilter: nf_tables: fix memleak in map from abort path
    b90778973293 ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    1428da2f4a33 Revert "drm/amd/display: Skip Recompute DSC Params if no Stream on Link"
    d253f71605e4 drm/rockchip: vop: enable VOP_FEATURE_INTERNAL_RGB on RK3066
    907717eea14c btrfs: drop the backref cache during relocation if we commit
    4dc6ea8b4d9d btrfs: relocation: constify parameters where possible
    5ae94c639777 btrfs: relocation: return bool from btrfs_should_ignore_reloc_root
    ce31847f109c ACPI: battery: Fix possible crash when unregistering a battery hook
    2deeb3c748da ACPI: battery: Simplify battery hook locking
    712d30f9a505 clk: qcom: gcc-sc8180x: Add GPLL9 support
    1c723d785adb r8169: add tally counter fields added with RTL8125
    f02fcb7283b1 r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
    736da4240815 iio: pressure: bmp280: Fix waiting time for BMP3xx configuration
    ae6724f9f13e iio: pressure: bmp280: Fix regmap for BMP280 device
    5da669d9ee26 iio: pressure: bmp280: Use BME prefix for BME280 specifics
    b71b2d704a93 iio: pressure: bmp280: Improve indentation and line wrapping
    afe335a6c5e2 iio: pressure: bmp280: Allow multiple chips id per family of devices
    c059a2661a1d dt-bindings: clock: qcom: Add GPLL9 support on gcc-sc8180x
    65e71cffb833 dt-bindings: clock: qcom: Add missing UFS QREF clocks
    fc1ed6f791e3 remoteproc: k3-r5: Delay notification of wakeup event
    e1df6bbf4771 remoteproc: k3-r5: Acquire mailbox handle during probe routine
    9eac174a9b89 media: imx335: Fix reset-gpio handling
    2b00bc1d7d40 media: i2c: imx335: Enable regulator supplies
    e6be95592c9f RDMA/mana_ib: use the correct page table index based on hardware page size
    6c95c700f2b6 net: mana: Add support for page sizes other than 4KB on ARM64
    86b6cf7e253b net: mana: Enable MANA driver on ARM64 with 4K page size
    1f997b1d13e0 sched: psi: fix bogus pressure spikes from aggregation race
    c83a80d8b84f lib/buildid: harden build ID parsing logic
    f941d779622b build-id: require program headers to be right after ELF header
    a94ec40b9405 drm/amd/display: Allow backlight to go below `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT`
    54ad9c760854 mm: z3fold: deprecate CONFIG_Z3FOLD
    5b981d8335e1 uprobes: fix kernel info leak via "[uprobes]" vma
    24f7989ed2e1 io_uring/net: harden multishot termination case for recv
    3c38faa39e6c arm64: errata: Expand speculative SSBS workaround once more
    9a3e9aab606d arm64: cputype: Add Neoverse-N3 definitions
    c7e0da744932 i2c: synquacer: Deal with optional PCLK correctly
    6109f5319bfd i2c: synquacer: Remove a clk reference from struct synquacer_i2c
    316be4911f63 i2c: core: Lock address during client device instantiation
    4a2be5a72865 i2c: create debugfs entry per adapter
    aac871e493fc platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
    2dbc42f554b3 platform/x86: x86-android-tablets: Create a platform_device from module_init()
    ce5ec367994d kconfig: qconf: fix buffer overflow in debug links
    eebc10e92477 cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock
    68d603f467a7 drm/amd/display: Fix system hang while resume with TBT monitor
    487f6450bcb9 drm/amd/display: Add HDR workaround for specific eDP
    579a0a84e3c0 drm/sched: Add locking to drm_sched_entity_modify_sched
    451c87d21db6 drm/i915/gem: fix bitwise and logical AND mixup
    a8023f8b5598 close_range(): fix the logics in descriptor table trimming
    310d95316791 rtla: Fix the help text in osnoise and timerlat top tools
    8b0f0a268ddb tracing/timerlat: Fix duplicated kthread creation due to CPU online/offline
    a6e9849063a6 tracing/timerlat: Fix a race during cpuhp processing
    a4a05ceffe8f tracing/timerlat: Drop interface_lock in stop_kthread()
    79250decc9ab tracing/hwlat: Fix a race during cpuhp processing
    b8c118c2a2ad ceph: fix cap ref leak via netfs init_request
    e676e4ea76bb mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
    830c03e58beb Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE
    2f4e3926bc50 net: pcs: xpcs: fix the wrong register that was written back
    7c5cd531d093 gpio: davinci: fix lazy disable
    0f41f383b5a6 cpufreq: Avoid a bad reference count on CPU node
    ed87190e9d9c btrfs: wait for fixup workers before stopping cleaner kthread during umount
    521cfe23fbcb btrfs: send: fix invalid clone operation for file that got its size decreased
    7ad0c5868f2f btrfs: fix a NULL pointer dereference when failed to start a new trasacntion
    d7674ed0dcd4 ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_override[]
    27ec4a380bc1 ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[]
    c7d10fa7d769 cachefiles: fix dentry leak in cachefiles_open_file()
    195e42c9a92f Input: adp5589-keys - fix adp5589_gpio_get_value()
    7c3f04223aaf Input: adp5589-keys - fix NULL pointer dereference
    cda7d597245f rtc: at91sam9: fix OF node leak in probe() error path
    03582f475242 net: stmmac: Fix zero-division error when disabling tc cbs
    cd9ce830facd tomoyo: fallback to realpath if symlink's pathname does not exist
    af3122f5fdc0 gso: fix udp gso fraglist segmentation after pull from frag_list
    718a752bd746 vrf: revert "vrf: Remove unnecessary RCU-bh critical section"
    73328d2af5aa iio: magnetometer: ak8975: Fix reading for ak099xx sensors
    3374f06f9544 smb3: fix incorrect mode displayed for read-only files
    472973229cb0 smb: client: use actual path when queryfs
    868e843e522d clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL
    5bdb3cc0cced clk: qcom: gcc-sc8180x: Fix the sdcc2 and sdcc4 clocks freq table
    ea3a6938cb9b media: qcom: camss: Fix ordering of pm_runtime_enable
    c2218a82f795 media: qcom: camss: Remove use_count guard in stop_streaming
    8c860f35867a clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()
    b0686aedc5f1 media: venus: fix use after free bug in venus_remove due to race condition
    56770d1e01d6 clk: qcom: gcc-sm8150: De-register gcc_cpuss_ahb_clk_src
    7e21770654f5 clk: samsung: exynos7885: Update CLKS_NR_FSYS after bindings fix
    8cf5c85d5edf clk: qcom: clk-rpmh: Fix overflow in BCM vote
    1229485abfce media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
    e6f63d04c03e clk: qcom: gcc-sm8450: Do not turn off PCIe GDSCs during gdsc_disable()
    6fa24b41d3b5 media: sun4i_csi: Implement link validate for sun4i_csi subdev
    fb2867420e4e clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
    fc71c2395893 remoteproc: k3-r5: Fix error handling when power-up failed
    bd588d52562a clk: rockchip: fix error for unknown clocks
    eb4df5e36a6e media: ov5675: Fix power on/off delay timings
    acc5103a0a8c aoe: fix the potential use-after-free problem in more places
    1587db113004 riscv: Fix kernel stack size when KASAN is enabled
    83b39493cd00 RDMA/mana_ib: use the correct page size for mapping user-mode doorbell page
    4ac637122930 i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition
    6b17072c7db5 NFSD: Fix NFSv4's PUTPUBFH operation
    f7d8ee9db943 nfsd: map the EBADMSG to nfserr_io to avoid warning
    33658acea064 nfsd: fix delegation_blocked() to block correctly for at least 30 seconds
    be8d32ebfa0b perf hist: Update hist symbol when updating maps
    bebb4c240500 perf python: Disable -Wno-cast-function-type-mismatch if present on clang
    bf0b3b352594 exfat: fix memory leak in exfat_load_bitmap()
    9a2585ad17cd riscv: define ILLEGAL_POINTER_VALUE for 64bit
    8f91116f3682 arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386
    5f5ec16bd14d arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS
    d52c5652e7dc ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
    86a89e75e9e4 ocfs2: fix null-ptr-deref when journal load failed.
    84543da867c9 ocfs2: remove unreasonable unlock in ocfs2_read_blocks
    ef768020366f ocfs2: cancel dqi_sync_work before freeing oinfo
    637c00e06564 ocfs2: reserve space for inline xattr before attaching reflink tree
    8d176ca5d915 ocfs2: fix uninit-value in ocfs2_get_block()
    e7a801014726 ocfs2: fix the la space leak when unmounting an ocfs2 volume
    e3a9fc1520a6 mm: krealloc: consider spare memory for __GFP_ZERO
    fd3496243409 jbd2: correctly compare tids with tid_geq function in jbd2_fc_begin_commit
    1c62dc0d82c6 jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error
    393331e16ce2 resource: fix region_intersects() vs add_memory_driver_managed()
    b57b53e8ffcd drm: omapdrm: Add missing check for alloc_ordered_workqueue
    0022085f11c6 of/irq: Support #msi-cells=<0> in of_msi_get_domain
    d657d28641ec of: address: Report error on resource bounds overflow
    25b7a6703728 drm/rockchip: vop: clear DMA stop bit on RK3066
    a17dfde57704 parisc: Fix stack start for ADDR_NO_RANDOMIZE personality
    62f3e58c4e39 parisc: Allow mmap(MAP_STACK) memory to automatically expand upwards
    42451ba0d6e1 parisc: Fix 64-bit userspace syscall path
    89bbc55d6b16 ext4: mark fc as ineligible using an handle in ext4_xattr_set()
    c5771f1c484c ext4: use handle to mark fc as ineligible in __track_dentry_update()
    d13a3558e824 ext4: fix fast commit inode enqueueing during a full journal commit
    1552199ace59 ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list()
    80dccb81b7db ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
    f55ecc58d07a ext4: update orig_path in ext4_find_extent()
    9203817ba46e ext4: fix timer use-after-free on failed mount
    68a69cf60660 ext4: fix double brelse() the buffer of the extents path
    8162ee5d94b8 ext4: aovid use-after-free in ext4_ext_insert_extent()
    1b558006d98b ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free
    93051d16b312 ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
    5efccdee4a7d ext4: dax: fix overflowing extents beyond inode size when partially writing
    8c762b4e1921 ext4: fix incorrect tid assumption in ext4_fc_mark_ineligible()
    f4308d8ee384 ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
    8fe117790b37 ext4: fix slab-use-after-free in ext4_split_extent_at()
    a56e5f389d42 ext4: correct encrypted dentry name hash when not casefolded
    2d64e7dada22 ext4: no need to continue when the number of entries is 1
    9cdf65c6c311 ALSA: hda/realtek: Add a quirk for HP Pavilion 15z-ec200
    762650cd5e7f ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9
    3624416ab149 ALSA: line6: add hw monitor volume control to POD HD500X
    228a8b952cf4 ALSA: usb-audio: Add native DSD support for Luxman D-08u
    9d125aab4c47 ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET
    aba1be9a804f ALSA: core: add isascii() check to card ID generator
    633d3456849d ALSA: hda/tas2781: Add new quirk for Lenovo Y990 Laptop
    c923bc874659 drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
    6e6f89549c66 drm/mediatek: ovl_adaptor: Add missing of_node_put()
    3eff30f2c315 parisc: Fix itlb miss handler for 64-bit programs
    9fca08c06a8d perf/core: Fix small negative period being ignored
    888f728d81f8 power: supply: hwmon: Fix missing temp1_max_alarm attribute
    7febcf11742f spi: bcm63xx: Fix missing pm_runtime_disable()
    f2d0b351e03f spi: bcm63xx: Fix module autoloading
    0a42f6360798 dt-bindings: clock: exynos7885: Fix duplicated binding
    ff580d01301e memory: tegra186-emc: drop unused to_tegra186_emc()
    028258156f65 firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
    bf47be5479b3 ovl: fail if trusted xattrs are needed but caller lacks permission
    6fcd6feaf132 rust: sync: require `T: Sync` for `LockedBy::access`
    d6c159c066d2 i2c: designware: fix controller is holding SCL low while ENABLE bit is disabled
    b80dc74c386f i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
    625a77b68c96 media: i2c: ar0521: Use cansleep version of gpiod_set_value()
    c0e00163f804 i2c: xiic: Wait for TX empty to avoid missed TX NAKs
    7e263fd6efba i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
    22a1f8a5b56b i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume
    8176d4878ed2 platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug
    b8c0aee7c2a5 Revert "ALSA: hda: Conditionally use snooping for AMD HDMI"
    2c74d33dbfd9 selftests: vDSO: fix vdso_config for s390
    0fe35c473713 selftests: vDSO: fix ELF hash table entry size for s390x
    676727021dbd powerpc/vdso: Fix VDSO data access when running in a non-root time namespace
    dfb569762ce7 selftests/mm: fix charge_reserved_hugetlb.sh test
    b88842a9f1b8 selftests: vDSO: fix vDSO symbols lookup for powerpc64
    d3b90ed9a08d selftests: vDSO: fix vdso_config for powerpc
    6c8aff20229f selftests: vDSO: fix vDSO name for powerpc
    9629c0c3e876 perf: Really fix event_function_call() locking
    42cd165b4cf8 perf callchain: Fix stitch LBR memory leaks
    e2955fbe08b0 spi: rpc-if: Add missing MODULE_DEVICE_TABLE
    106f10fef0b9 accel/ivpu: Add missing MODULE_FIRMWARE metadata
    4019391dfe37 selftests: breakpoints: use remaining time to check if suspend succeed
    c2aa41032872 spi: s3c64xx: fix timeout counters in flush_fifo
    dbda70bbe421 selftest: hid: add missing run-hid-tools-tests.sh
    494380a4e4c0 spi: spi-cadence: Fix missing spi_controller_is_target() check
    97aa3293db69 spi: spi-cadence: Fix pm_runtime_set_suspended() with runtime pm enabled
    97f76711a90e spi: spi-cadence: Use helper function devm_clk_get_enabled()
    d6e3898d62a8 spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
    c2d9f9a7837a bpftool: Fix undefined behavior in qsort(NULL, 0, ...)
    390b9e54cdfd iomap: handle a post-direct I/O invalidate race in iomap_write_delalloc_release
    ad762c520471 bpftool: Fix undefined behavior caused by shifting into the sign bit
    d43776b90765 ext4: fix i_data_sem unlock order in ext4_ind_migrate()
    34b2096380ba ext4: avoid use-after-free in ext4_ext_show_leaf()
    1fe2852720cd ext4: ext4_search_dir should return a proper error
    b111ae42bbfd bpf: Make the pointer returned by iter next method valid
    18f06bacc197 ksmbd: add refcnt to ksmbd_conn struct
    f5e30a30fce7 platform/x86: lenovo-ymc: Ignore the 0x0 state
    4298813a43f7 drm/amdgpu/gfx10: use rlc safe mode for soft recovery
    c20cd3d6d261 drm/amdgpu/gfx11: use rlc safe mode for soft recovery
    e16a6d1a3357 powerpc/pseries: Use correct data types from pseries_hp_errorlog struct
    fe2c86e1927e of/irq: Refer to actual buffer size in of_irq_parse_one()
    b511474f4958 drm/amd/pm: ensure the fw_info is not null before using it
    3ffbdc977d80 drm/amdgpu/gfx9: use rlc safe mode for soft recovery
    8361e3f78828 drm/amdgpu: Block MMR_READ IOCTL in reset
    c474a1a75599 drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
    ee5d547006d3 scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers
    66a403d89b73 perf: Fix event_function_call() locking
    deb78dc859dd drm/amdgpu: fix unchecked return value warning for amdgpu_gfx
    5e0e1a941e57 scsi: lpfc: Update PRLO handling in direct attached topology
    55119faf5abc scsi: aacraid: Rearrange order of struct aac_srb_unit
    adf290fe434c perf,x86: avoid missing caller address in stack traces captured in uprobe
    4ee08b4a7201 drm/printer: Allow NULL data in devcoredump printer
    c7630935d9a4 drm/amd/display: Initialize get_bytes_per_element's default to 1
    a1495acc6234 drm/amd/display: Avoid overflow assignment in link_dp_cts
    929506d56714 drm/amd/display: Fix index out of bounds in DCN30 color transformation
    122e3a7a8c7b drm/amd/display: Fix index out of bounds in degamma hardware format translation
    0d38a0751143 drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation
    be2ca7a2c156 drm/amd/display: Check link_res->hpo_dp_link_enc before using it
    42d31a336438 drm/amd/display: Check stream before comparing them
    fb557a36b0b9 drm/stm: ltdc: reset plane transparency after plane disable
    64f38c08b592 platform/x86: touchscreen_dmi: add nanote-next quirk
    651ba62c255f HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
    71cfb54e0f0c drm/amdkfd: Fix resource leak in criu restore queue
    fe90214179d5 drm/amdgpu: enable gfxoff quirk on HP 705G4
    a3c8cbefce38 drm/amdgpu: add raven1 gfxoff quirk
    c076b3746224 jfs: Fix uninit-value access of new_ea in ea_buffer
    9288a9676c52 drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs
    4155dff76a8c scsi: smartpqi: correct stream detection
    7fff9a9f866e jfs: check if leafidx greater than num leaves per dmap tree
    4218b31ecc7a jfs: Fix uaf in dbFreeBits
    f04925a02ea2 jfs: UBSAN: shift-out-of-bounds in dbFindBits
    cf6f3ebd6312 drm/amd/display: fix double free issue during amdgpu module unload
    75839e2365b6 drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)
    9641bc4adf84 drm/amd/display: Check null pointers before using dc->clk_mgr
    4778982c73d6 drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
    6ec7c739346c HID: Ignore battery for all ELAN I2C-HID devices
    29d2d5eda393 ata: sata_sil: Rename sil_blacklist to sil_quirks
    8fcf85196adc ata: pata_serverworks: Do not use the term blacklist
    e47e563c6f0d drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
    30ceb873cc2e drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
    44e4aeaef96b drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit
    0a1741d10da2 drm/stm: Avoid use-after-free issues with crtc and plane
    dfdbc5ba10fb iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count
    54e86bfec010 iommu/vt-d: Always reserve a domain ID for identity setup
    1c36eb173249 power: reset: brcmstb: Do not go into infinite loop if reset fails
    2d56271fce96 rcuscale: Provide clear error when async specified without primitives
    fdda354f60a5 fbdev: pxafb: Fix possible use after free in pxafb_task()
    36bfefb6baaa fbdev: efifb: Register sysfs groups through driver core
    4b101d2f40df hwmon: (nct6775) add G15CF to ASUS WMI monitoring list
    2de5fd836bd6 x86/syscall: Avoid memcpy() for ia32 syscall_get_arguments()
    e9df4c61079e selftests/nolibc: avoid passing NULL to printf("%s")
    fc975b8daba2 tools/nolibc: powerpc: limit stack-protector workaround to GCC
    6cc4e5eaadae ALSA: hdsp: Break infinite MIDI input flush loop
    7a5574099670 ALSA: asihpi: Fix potential OOB array access
    ddd52c9fe992 x86/kexec: Add EFI config table identity mapping for kexec kernel
    407abc7e0c7f x86/pkeys: Restore altstack access in sigreturn()
    19059128205f x86/pkeys: Add PKRU as a parameter in signal handling functions
    ef6c1ed5887f tools/x86/kcpuid: Protect against faulty "max subleaf" values
    71faa656b8e7 ASoC: codecs: wsa883x: Handle reading version failure
    70d5e30b0a3c ALSA: usb-audio: Add logitech Audio profile quirk
    fb2ed616af7e ALSA: usb-audio: Replace complex quirk lines with macros
    0bf9779cd954 ALSA: usb-audio: Define macros for quirk table entries
    077e1b7cd521 x86/ioapic: Handle allocation failures gracefully
    864f68a24293 ALSA: usb-audio: Add input value sanity checks for standard types
    f888741fcfab nfp: Use IRQF_NO_AUTOEN flag in request_irq()
    fef7b51f22cf wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()
    0a630d690b7f wifi: mt76: mt7915: hold dev->mt76.mutex while disabling tx worker
    833ebae26663 wifi: mt76: mt7915: add dummy HW offload of IEEE 802.11 fragmentation
    b4f8240bc389 can: netlink: avoid call to do_set_data_bittiming callback with stale can_priv::ctrlmode
    b017f4f6709a drivers/perf: arm_spe: Use perf_allow_kernel() for permissions
    8552508033b2 proc: add config & param to block forcing mem writes
    8b2906e1349a ACPICA: iasl: handle empty connection_node
    f37319609335 wifi: mac80211: fix RCU list iterations
    6dcadb2ed3b7 wifi: iwlwifi: mvm: avoid NULL pointer dereference
    324116255492 wifi: iwlwifi: mvm: use correct key iteration
    5cce1c07bf89 tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process
    27fe713c62a1 netpoll: Ensure clean state on setup failures
    b60d2bc676e4 crypto: simd - Do not call crypto_alloc_tfm during registration
    0f6dab0b79f1 net: atlantic: Avoid warning about potential string truncation
    f989162f55ed ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family
    239ac7faeaea wifi: rtw89: correct base HT rate mask for firmware
    d4c4653b60de ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
    0d6255e512b3 bnxt_en: Extend maximum length of version string by 1 byte
    74834f4a6c19 net: mvpp2: Increase size of queue_name buffer
    12d26aa7fd3c tipc: guard against string buffer overrun
    4588ea78d390 ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()
    93d065b704bd ACPI: EC: Do not release locks during operation region accesses
    90ec583a85c4 wifi: rtw88: select WANT_DEV_COREDUMP
    7a552bc2f3ef wifi: ath11k: fix array out-of-bound access in SoC stats
    d0e4274d9dc9 wifi: ath12k: fix array out-of-bound access in SoC stats
    1ab2cfe19700 blk_iocost: fix more out of bound shifts
    29dbea4c56df ACPI: CPPC: Add support for setting EPP register in FFH
    716dae9686fe ACPI: video: Add force_vendor quirk for Panasonic Toughbook CF-18
    cc026a7f9be6 Bluetooth: btrtl: Set msft ext address filter quirk for RTL8852B
    18ed567ad0aa Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0489:0xe122
    37a6fc0d8fca net: sched: consistently use rcu_replace_pointer() in taprio_change()
    3f5625e9e92b wifi: mt76: mt7915: disable tx worker during tx BA session enable/disable
    1c6db07811fb e1000e: avoid failing the system during pm_suspend
    13ca2b3568fb ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
    0b02303431a3 ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
    68a8e45743d6 ACPI: PAD: fix crash in exit_round_robin()
    0a94777ba4ca net: hisilicon: hns_mdio: fix OF node leak in probe()
    359a218ce1a9 net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
    f62bf4ffeba5 net: hisilicon: hip04: fix OF node leak in probe()
    143edf098b80 net/xen-netback: prevent UAF in xenvif_flush_hash()
    04053e55dd50 wifi: cfg80211: Set correct chandef when starting CAC
    d76360adabd6 wifi: iwlwifi: mvm: drop wrong STA selection in TX
    191e8d525620 wifi: iwlwifi: mvm: Fix a race in scan abort flow
    82465e05ca6f ice: Adjust over allocation of memory in ice_sched_add_root_node() and ice_sched_add_node()
    21ba7132a911 crypto: octeontx2 - Fix authenc setkey
    0ac97b001cce crypto: octeontx - Fix authenc setkey
    6300199be334 crypto: x86/sha256 - Add parentheses around macros' single arguments
    e37e34883503 wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
    fdc73f2cfbe8 wifi: rtw89: avoid to add interface to list twice when SER
    e6e4cfb5f6d6 wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()
    40346cbb19ad ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
    b0f3c6a2d0bd ALSA: gus: Fix some error handling paths related to get_bpos() usage
    2c3c1f87cf7e cifs: Do not convert delimiter when parsing NFS-style symlinks
    c6db81c550ce cifs: Fix buffer overflow when parsing NFS reparse points
    92e71ccd8fd4 ASoC: imx-card: Set card.owner to avoid a warning calltrace if SND=m
    f8f081578b5b ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
    e4c886dd24a3 cifs: Remove intermediate object of failed create reparse call
    fa72abf31bd0 ALSA: hda/realtek: Fix the push button function for the ALC257
    466129e3d0ad ALSA: mixer_oss: Remove some incorrect kfree_const() usages
    0152c81f61fa ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
    28234f8ab69c Bluetooth: L2CAP: Fix not validating setsockopt user input
    6a6baa1ee7a9 Bluetooth: ISO: Fix not validating setsockopt user input
    dea46e246ef0 media: usbtv: Remove useless locks in usbtv_video_free()
    0c18a64039aa Bluetooth: hci_sock: Fix not validating setsockopt user input
    b66ff9a3fc90 loop: don't set QUEUE_FLAG_NOMERGES
    3000f3a86dd0 i2c: xiic: Try re-initialization on bus busy timeout
    7c48b5a6c32c i2c: xiic: improve error message when transfer fails to start
    7f64cb5b4d8c sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
    25a54df40841 dt-bindings: net: xlnx,axi-ethernet: Add missing reg minItems
    1372c7579ec5 iomap: constrain the file range passed to iomap_file_unshare
    f9620e2a665a ppp: do not assume bh is held in ppp_channel_bridge_input()
    d9dfd41e32cc net: test for not too small csum_start in virtio_net_hdr_to_skb()
    ea8cad4ca5e0 ipv4: ip_gre: Fix drops of small packets in ipgre_xmit
    a9ad307c0dde net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check
    9b0ee571d20a net: add more sanity checks to qdisc_pkt_len_init()
    25ab0b87dbd8 net: avoid potential underflow in qdisc_pkt_len_init() with UFO
    da143240028c net: fec: Reload PTP registers after link-state change
    dc5fb264168c net: fec: Restart PPS after link state change
    e66e38d07b31 net: ethernet: lantiq_etop: fix memory disclosure
    718b66340364 net: Fix gso_features_check to check for both dev->gso_{ipv4_,}max_size
    dae9b99bd21f net: Add netif_get_gro_max_size helper for GRO
    f0a84ad84d98 Bluetooth: btmrvl: Use IRQF_NO_AUTOEN flag in request_irq()
    b90907696c30 Bluetooth: L2CAP: Fix uaf in l2cap_connect
    4883296505aa Bluetooth: MGMT: Fix possible crash on mgmt_index_removed
    4e3542f40f3a netfilter: nf_tables: prevent nf_skb_duplicated corruption
    fe9ccbf1b749 selftests: netfilter: Fix nft_audit.sh for newer nft binaries
    271b4904727b net: wwan: qcom_bam_dmux: Fix missing pm_runtime_disable()
    96858258de2f net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()
    8691a82abf0c netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED
    fab615ac9fcb net/mlx5e: Fix crash caused by calling __xfrm_state_delete() twice
    0168ab6fbd9e net/mlx5e: Fix NULL deref in mlx5e_tir_builder_alloc()
    1c252d64652e net/mlx5: Added cond_resched() to crdump collection
    26fad69b34fc net/mlx5: Fix error path in multi-packet WQE transmit
    70db858273c7 net: sparx5: Fix invalid timestamps
    d6c4c0867086 ieee802154: Fix build error
    11ab19d48ab8 ceph: remove the incorrect Fw reference check when dirtying pages
    10a58555e0bb mailbox: bcm2835: Fix timeout during suspend mode
    b372b484d232 mailbox: rockchip: fix a typo in module autoloading
    7879ad0aa996 drm/amdgpu: Fix get each xcp macro
    f42595fb8fdb scsi: pm8001: Do not overwrite PCI queue mapping
    6b63cda2d4f4 scsi: st: Fix input/output error on empty drive reset
    86fdd1806461 jump_label: Fix static_key_slow_dec() yet again
    33f3e832275e jump_label: Simplify and clarify static_key_fast_inc_cpus_locked()
    e67534bd31d7 static_call: Replace pointless WARN_ON() in static_call_module_notify()
    c0abbbe8c98c static_call: Handle module init failure correctly in static_call_del_module()
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: c1466343ca07b851059ba2c0da86a3f12ff6ea9d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7829fdb1f05cf04d55d25db2d3ff705626008105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Deepthi Hemraj
b2cd1dea04 binutils: stable 2.43.1 branch update
Below commit on binutils-2.43.1 stable branch are updated.
b82e2250574 Automatic date update in version.in
280374309b1 PR32300, --dependency-file: link dependencies are not all collected
263e116833e s390: Add arch15 instructions
645da6d426e s390: Relax risbg[n]z, risb{h|l}gz, {rns|ros|rxs}bgt operand constraints
7f7047a9c6c s390: Simplify (dis)assembly of insn operands with const bits
e7592364504 s390: Align opcodes to lower-case
d6ab1d2efdc s390: Document syntax to omit base register operand
c40337b1784 LoongArch: Add elfNN_loongarch_mkobject to initialize LoongArch tdata
95ed7cf1be2 segv in bfd_elf_get_str_section
0a71d78f6a6 ld: Don't explicitly add .note.gnu.build-id in elf.sc
ad2ce1e6457 x86: Turn PLT32 to PC32 only for PC-relative relocations
238493e7f09 x86-64: Disable PIE on PR gas/32189 test
68d5dbd315d x86-64: Never make R_X86_64_GOT64 section relative
d77d08180d1 x86/APX: Don't promote AVX/AVX2 instructions out of APX spec
f307db3d8b7 bfd: Pass true to ld_plugin_object_p
cd3e2b58f2c PR32109, aborting at bfd/bfd.c:1236 in int _bfd_doprnt
2d37b890e56 lto: Add a test for PR ld/32083
d16a1893c44 ld: Add an LTO test for common symbol override
e4cfe6dab3e Re-enable development changes on the 2_43 branch

Testing was done and there were no regressions found

(From OE-Core rev: dce36f0c4a2c1455ecce56377afc3d436096360a)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4950a2d67a85b3f4a643a46fdc54d348abce5ed6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Peter Marko
efc5392268 expat: upgrade 2.6.3 -> 2.6.4
Handle CVE-2024-50602

(From OE-Core rev: 690874991ca51b37bc0af262ba6c366ff72af13f)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5dc22afe3d2ea767f084b7c6e3625cb6edd66522)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Mark Hatle
3e7489546c cve-update-nvd2-native: Handle BB_NO_NETWORK and missing db
The custom do_fetch routine is ignoring BB_NO_NETWORK, add a check for this
as the correct behavior for the user is to set:
  CVE_DB_UPDATE_INTERVAL = "-1"

If CVE_DB_UPDATE_INTERNAL is set to -1, check that a DB file exists, if not
we need to error so the user can deal with this.

Note, MIRRORs are NOT handled by this code.

(From OE-Core rev: 2bc4623a910dfa3a22cd054ea1e0f2dd59d74eea)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 337c0806d2784d74bee8d6420fb8b4d48795d5fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-13 05:49:08 -08:00
Antonin Godard
e5b1aa3792 ref-manual: move runtime-testing section to the test-manual
In the same fashion as the previous commit ("ref-manual/packages: move
ptest section to the test-manual"), move the runtime testing section of
the development tasks manual to the test environment manual.

Add a link to it from the test-manual/intro document.

(From yocto-docs rev: 8ac3e2eb1dd4149b24af03666813dc6d94df466d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6b44257874858db3aa426d3e84a79c41cb4937a3)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Antonin Godard
587d779d56 ref-manual/packages: move ptest section to the test-manual
[ YOCTO #15106 ]

It makes more sense to document ptests in the test-manual. Since ptests
are still related to packages, keep a link to ptests from packages.rst
to the test-manual.

Reported-by: Yoann Congal <yoann.congal@smile.fr>
(From yocto-docs rev: b79d1c8d501418d20c024c92b0ace755dd6b1c88)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b389c06b709e4791e1cce5e8a5b58f6b0cd03a14)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Antonin Godard
843c4a8de7 SSTATE_MIRRORS/SOURCE_MIRROR_URL: add instructions for mirror authentication
[ YOCTO #15218 ]

There are different ways of configuring the build host when
authentication to a mirror (SSTATE_MIRRORS or SOURCE_MIRROR_URL) is
required.

Document these methods, and begin with the preferred approach which is
to edit ~/.netrc appropriately. When that is not possible, specifying
the credentials from the URL is also possible, so document it as well.

Reported-by: peter.zsifkovits@at.bosch.com
Tested-by: Antonin Godard <antonin.godard@bootlin.com> # Debian 12 container
(From yocto-docs rev: fbe43aaa28bd0e0ec3884595e07d5d4c59116fb5)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4c303cce0627e0f2ce52e72597541e220585aaed)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Antonin Godard
6bea4b93af ref-manual/devtool-reference: add warning note on deploy-target and shared objects
The command `devtool deploy-target` does not handle any dependency of
the application, even when properly listed in DEPENDS or RDEPENDS. While
the current documentation was clear on that, it felt needed to add a
note on the fact that build-time dependencies may also result in
runtime dependencies, especially for people new to the project.

Add a warning block below the existing deploy-target documentation.
Also, link to the Overview and Concepts page, which explains it
thoroughly.

[ YOCTO #14377 ]

Reported-By: Robert Berger <pokylinux@reliableembeddedsystems.com>
(From yocto-docs rev: 018df90485f4ae9312a61885f52cade6d863e3b4)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 56c84004daad5f8a5db53e36852331435d57c8af)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Antonin Godard
111d75956c contributor-guide/submit-changes.rst: suggest to remove the git signature
By default when sending patches Git adds the git version at the bottom
of the patch, which is not necessary in most cases. Suggest to remove it
when configuring Git when sending patches.

Suggested-By: Jaekyu Lee <jaekyu.lee@lge.com>
(From yocto-docs rev: 8ce5875766008827de7bc9bcf8ee5417d557abcb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit d3465691231f10466703198a831a681803ffdfad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Antonin Godard
5eba7f90c7 ref-manual/qa-checks: remove patch-status-core/patch-status-noncore
These QA checks were merged as "patch-status" after commit
61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 ("insane: Improve patch-status
layer filtering") in OE-Core.

[ YOCTO #15345 ]

Reported-By: Diego Sueiro <diego.sueiro@arm.com>
(From yocto-docs rev: 39f5d3d1bfb087ea3a736e9a34829ec45bc7bd13)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 3f3a9f53fea6c7d533b9e999dc959dcc3bed7745)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Trevor Gamblin
e8eab0f9b4 reproducible-builds.rst: show how to build a single package
Add a bit to the "Can we prove the project is reproducible?" section to
show how OEQA_REPRODUCIBLE_TEST_TARGET can be used to test a single
package (rather than the world build), as this may be useful for
maintainers.

[YOCTO #15619]

(From yocto-docs rev: 0c1ca2bd6de4cf98a91fbbec9524e08682739487)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c4bc09f61621938086be377653121d6b4e62b570)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:49 -08:00
Mark Hatle
59f1177527 populate_sdk_ext: write_local_conf add shutil import
Add shutil import to resolve error:

Exception: NameError: name 'shutil' is not defined, Did you forget to import 'shutil'

(From OE-Core rev: 6f0d75ed7bbae03301bd41db1076ce926c5e742c)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b64263a43b4d82f1ebba13815bccb8a8cd3127f9)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Wang Mingyu
991f1b56b2 gstreamer1.0: upgrade 1.24.9 -> 1.24.10
(From OE-Core rev: 42104c010fc6f9bdee84625604777974ad2b70a5)

(From OE-Core rev: 6a871d3166775d95a8a50cb79bec6a2e158b5674)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Alexander Kanavin
4d7a32679f gstreamer1.0: upgrade 1.24.6 -> 1.24.9
(From OE-Core rev: e01f9c79725388437d52096701416b61d9a0aa7d)

(From OE-Core rev: e30a79d4ee30b51cdc83fc13121d548fde3b1e7a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Ross Burton
2f971cc14b gstreamer1.0: run ptests in parallel
Run the ptests in four parallel jobs (reduces runtime from ~80s to ~20s
on my machine), and also pass any arguments in the scripts to make it
easier to run individual tests.

(From OE-Core rev: 87a9fadc71c8d3c1eb841c84c96146d5c56f1241)

(From OE-Core rev: 4a5b169abf171754217458d1615f9fb8bddc4a2b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Ross Burton
25c8215476 gstreamer1.0-libav: explicitly disable documentation
We can't build documentation when doing a cross build, so disable it
explicitly to be clear.

(From OE-Core rev: 2706062d3a711ff0b2c03bee40b908ad329ebd6d)

(From OE-Core rev: f60e311ebbbc7230471b6b9d6036d5e8d6c21c3d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Yash Shinde
44c8d98587 binutils: Fix CVE-2024-53589
A buffer overflow vulnerability exists in GNU Binutils’ objdump utility
when processing tekhex format files. The vulnerability occurs in the
Binary File Descriptor (BFD) library’s tekhex parser during format identification.
Specifically, the issue manifests when attempting to read 8 bytes at an address
that precedes the global variable ‘_bfd_std_section’, resulting in an out-of-bounds read.

Backport a patch from upstream to fix CVE-2024-53589.
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=e0323071916878e0634a6e24d8250e4faff67e88]

(From OE-Core rev: 04c6b181bf9b1babd647c642ba8598b837f1263b)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Sunil Dora
d0a0b07574 gcc: Fix c++: tweak for Wrange-loop-construct
This commit updates the warning to use a check for "trivially constructible" instead of
"trivially copyable." The original check was incorrect, as "trivially copyable" only applies
to types that can be copied trivially, whereas "trivially constructible" is the correct check
for types that can be trivially default-constructed.

This change ensures the warning is more accurate and aligns with the proper type traits.

LLVM accepted a similar fix:
https://github.com/llvm/llvm-project/issues/47355

PR c++/116731 [https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116731]

(From OE-Core rev: b8260e5aca93a7000001013f8a950fb040141588)

Signed-off-by: Marek Polacek <polacek@redhat.com>
Signed-off-by: Sunil Dora <sunilkumar.dora@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Antonin Godard
a1b9be34db buildtools-docs-tarball: Add rsvg so we can handle svg files in docs
We need to convert svg into png in the docs build so add rsvg tools
to handle this.

(From OE-Core rev: 5dd1fdf4c3e8596c4e7c8cd57d371c2c1d4b0843)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Guðni Már Gilbert
c2dcb76eb1 python3: upgrade 3.12.7 -> 3.12.8
Changelog:
https://docs.python.org/release/3.12.8/whatsnew/changelog.html#python-3-12-8

(From OE-Core rev: 751cf7a576dbb949763703e655e951bcd583f251)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Guðni Már Gilbert
1b4d8585f0 python3: upgrade 3.12.6 -> 3.12.7
Changelog:
https://docs.python.org/release/3.12.7/whatsnew/changelog.html#python-3-12-7

(From OE-Core rev: 103cb3a5390214bd95a75c4db4b00f64b456b7f1)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-01-09 06:02:48 -08:00
Antonin Godard
d65fa3f3a7 poky.conf: add new tested distros
These are currently tested on the autobuilder for Styhead.

(From meta-yocto rev: a943016dab5107976f57ed2a451e6038b88f70e5)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 06:01:37 -08:00
Michael Opdenacker
d1b1b32756 dev-manual/bmaptool.rst: simplify and fix instructions
- Remove duplicate instructions

- Detail how to run bmaptool directly if you installed it on your host
  instead of building it through the ``bmaptool-native`` recipe,
  as running "oe-run-native bmaptool-native bmaptool ..." won't work
  in this case.

- Use "chmod a+w" instead of "chmod 666", better advice,
  and only run "chmod" in the option that runs "oe-run-native"

(From yocto-docs rev: 8e6b07ffcc3aacee2244e064e09c27418017e414)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4afa71ef6e5bf1db126c80e6d987f588d0b5a086)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 06:01:37 -08:00
Michael Opdenacker
4f8eb0e638 dev-manual/bmaptool.rst: correct command for bmaptool-native
Using only "bitbake bmaptool-native", running "oe-run-native bmaptool-native bmaptool ..."
fails as follows:

Error: Have you run 'bitbake bmaptool-native -caddto_recipe_sysroot'?

Running the "bitbake bmaptool-native -caddto_recipe_sysroot" target
is actually sufficient.

(From yocto-docs rev: 8c08d627127866194aea1ca19b1e4055fe5e7b9f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 72fe904a3bbb5e2c7279ab1f119c2beca200dcf2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 06:01:37 -08:00
Michael Opdenacker
e1c2e2e3fa dev-manual: fix styling of references to bmaptool
To follow the styling conventions when we are
refering to the name of a tool instead of the command itself
(documentation/standards.md).

This also improves the HTML rendering of the bmaptools subsection.

(From yocto-docs rev: f8bf503b13a53fb0b34c1fdac92d78d66813abfb)

Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c569d840c4b6f43e10629b6f1ff45189211e27a9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 06:01:37 -08:00
Antonin Godard
e82dc2ad3c Update the documentation for SRCPV
The variable SRCPV is deprecated since 4.3. Instead of including SRCPV
in PV, including the sign "+" is enough for bitbake to add the source
control information to PKGV during the packaging phase.

Update the documentation for SRCPV and the places where it was used.
When instructions previously referred to SRCPV, replace by mentioning to
include "+" in the assignment.

In most examples, "+git" is added to PV as it is the most popular SCM.
Simply adding "+" is also possible, although it is better practice to
include the SCM name, so give that example.

Update the gcompat example with l3afpad as it didn't include "+git" in
its PV definition anymore.

(From yocto-docs rev: 3866c09cc0460d25fefc0c831affd89633cf8a7b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit ee16c96202e5027d1a8d7e89e11c25f127c78326)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-26 06:01:37 -08:00
Richard Purdie
bca4068948 cve-update-nvd2-native: Tweak to work better with NFS DL_DIR
After much debugging, the corruption issues on the autobuilder appear to
be due to the way sqlite accesses database files. It doesn't change the
file timestamp after making changes, which for reasons unknown, confuses
NFS. As soon as the file is touched, NFS becomes fine again accross the
whole cluster, as if by magic.

We could try and debug further but putting a "touch" call into the code
is easy and harmless. Lets hope this removes this annoying source of
errors.

(From OE-Core rev: 6e517366cda4c22547ed097ee58126f7dfc56a57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-18 06:37:29 -08:00
Antonin Godard
6a06994363 system-requirements.rst: add dependencies for pdf builds
With the recent changes from commit
bd6265ca323fac547a197bb516dc4a9ef3897508 ("doc: Makefile: add support
for xelatex"), the list of dependencies needs to be updated.

The initial list of dependencies was made for Ubuntu/Debian, and the
packages were translated for the other distros using pkgs.org.

Add them separately from the rest of the dependencies as they pull a
_lot_ of additional dependencies (for LaTeX).

Move the texlive-fncychap documentation dependency to the PDF specific
dependency.

Notes:
- Fedora/OpenSUSE do not have the "lang-all" texlive collection, so
  install all available languages.
- AlmaLinux does not seem to provide texlive-collection-fontsextra,
  texlive-collection-lang*, and texlive-collection-latexextra, so add a
  warning about that.

(From yocto-docs rev: 01048d7de570a9d896c5aab294008396e2d78607)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 02c090718ac602f7d4760dd28dadbf0631668d49)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
a5efa185bb system-requirements: update list of supported distros
To match the list in meta-poky/conf/distro/poky.conf.

(From yocto-docs rev: 02de22c04e51e0ca43394b6d5df2adca0068ca1a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit c9c3f6896e4bc967a9b394574532735babb70397)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
43251de6de system-requirements: add fedora 39 to supported distros
(From yocto-docs rev: 5236193be5297366f23c930be1bf283956d6d257)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit dc7fd0e56fbfed77975f6b4ed2106331476ef7f3)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
a9263bd0c3 poky.yaml.in: replace inkscape dependency by librsvg2-bin
inkscape used to be a requirement to convert SVG images to PNGs/PDFs,
but we replaced it recently by rsvg-convert.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: cf161a7e8210ecef884fcd51a5f683f2daf21aeb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 8c0bb4e41c203a0a7a31c2bdc26834d87a83413a)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
c69d1db652 poky.yaml.in: add missing locales dependency
This is a requirement for building the documentation, otherwise we get
(on Ubuntu 24.04):

     File "/usr/lib/python3.12/locale.py", line 615, in setlocale
       return _setlocale(category, locale)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   locale.Error: unsupported locale setting

(From yocto-docs rev: bfefcc4222cba5e812d3fe3ea4c39a846b3cb69b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0943a7b67ef0012b5d9badc15e0c579dbb9014ae)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
0ee3614e0f Gather dependencies in poky.yaml.in
We used to have packages here and there in system-requirements.rst for
each distro. Instead, gather all the dependencies in poky.yaml.in so we
have an overview of what we provide for each distro.

Use yaml ">" to list the dependencies in alphabetical order, one entry
per line, which makes them easier to read and compare among distros.

Rename UBUNTU_… variables to UBUNTU_DEBIAN_…, since these are used for
both distros.

(From yocto-docs rev: e365a6d5c59f72f4e6a81a0267cbfcda61502d45)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1ed6118b7cf1b5dcbfca753c83fa30fb97bf44ad)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Antonin Godard
13a641dffb docs: update current releases
Remove dunfell and nanbield which are not supported anymore.
Add styhead as an active release.
Set walnascar as the dev branch.

The switcher menu now contains:
- Unstable (dev)
- Styhead (5.1)
- Scarthgap (5.0.4)
- Kirkstone (4.0.22)

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 1b62abaadba198627d2a092ffd29046fe9fcf139)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4c81e2856c268d7d0221ebb6b8156ad65b9e83ca)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Lee Chee Yang
18e3d524c7 migration-guides: add release notes for 5.1.1
(From yocto-docs rev: 2b412cb13b3f199b4a67b4d7f4bb01502833cce4)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit db2ff7bbe64e1dca6b0868046f478d7622f79865)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Guénaël Muller
d6fe9f9f99 ref-manual: use standardized method accross both ubuntu and debian for locale install
Modify locale installation method to be standard accross all debian-based distributions.
Pre-existing method is available only on Ubuntu, locale-gen tool has no parameter in Debian.

(From yocto-docs rev: f0a786c185ca4d8fa1e1f2f64e2af5465d9ac4aa)

Signed-off-by: Guénaël Muller <guenael.muller@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 30002019198a168e48537407bb928facb26af82a)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Sid-Ali
dd6b2448aa shadow: use update-alternatives to handle su.1 and nologin.8
This patch fixes the following error at do_rootfs:

  update-alternatives: Error: not linking
  /PATH/TO/rootfs/usr/share/man/man1/su.1
  to /usr/share/man/man1/su.1.util-linux since
  /PATH/TO/rootfs/usr/share/man/man1/su.1
  exists and is not a link

  update-alternatives: Error: not linking
  /PATH/TO/rootfs/usr/share/man/man8/nologin.8
  to /usr/share/man/man8/nologin.8.util-linux since
  /PATH/TO/rootfs/usr/share/man/man8/nologin.8
  exists and is not a link

The problem can be reproduced by adding the following lines to local.conf
and then building an image:

  EXTRA_IMAGE_FEATURES:append = " doc-pkgs"
  IMAGE_INSTALL:append = " shadow util-linux"

su.1 and nologin.8 are handled by update-alternatives in util-linux recipe, so
do it in shadow recipe too.

(From OE-Core rev: a12be809144cbca43576d15c0f0f1781eeaf5a27)

Signed-off-by: Sid-Ali Teir <sidali.teir@cysec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 198c4582c6391ac87c49e09882189235c44b60e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Guðni Már Gilbert
ae130b042f dnf: drop python3-iniparse from DEPENDS and RDEPENDS
python3-iniparse dependency was dropped 2019, see the
following commit as reference:
d7d0e0e2f9

When looking at the Git history, this happened around tag 4.2.1

(From OE-Core rev: 82b1c8fb497f74bbc67cc6763116fa96267acc4a)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Guðni Már Gilbert
25b62b9d75 python3-poetry-core: drop python3-six from RDEPENDS
Looking at the history, python3-six was removed as a dependency
in the poetry.lock file in v1.5.2

Even before v1.5.2 and until now (v1.9.1) there is no code in
the package which imports the six module. So it can be safely
dropped from the recipe.

(From OE-Core rev: 01a938f176c1eb2f753c2df50ef966cc175a2d18)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Guðni Már Gilbert
334ca4a275 systemd-boot: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
c81217920e

(From OE-Core rev: 0df327ea64ec6a9e99c8f96e1dab52d3db3711b3)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Guðni Már Gilbert
cba63e1d0a systemd: drop intltool-native from DEPENDS
intltool was dropped as a dependency in v236
See commit for reference:
c81217920e

(From OE-Core rev: 5c6254279c8b7faf76809024ebbc02856030179e)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Hitendra Prajapati
6d7266c511 ghostscript: upgrade 10.03.1 -> 10.04.0
avoid-host-contamination.patch
refreshed for 10.04.0

Changelog:
===========
- addresses CVEs: CVE-2024-46951, CVE-2024-46952, CVE-2024-46953, CVE-2024-46954, CVE-2024-46955, CVE-2024-46956
- add protection for device selection from PostScript input.
- efforts in code hygiene and maintainability continue.
- The usual round of bug fixes, compatibility changes, and incremental improvements.
- add the capability to build with the Tesseract OCR engine.

(From OE-Core rev: a0c802e9b1d8400589aede20e52f40d10a344314)

(From OE-Core rev: 067e769ada6c8cd5783c6d32f24cea9f0e4ed666)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Peter Marko
5ec843a287 curl: patch CVE-2024-9681
Picked commit [1] per solution described in [2].

[1] https://github.com/curl/curl/commit/a94973805df96269bf
[2] https://curl.se/docs/CVE-2024-9681.html

(From OE-Core rev: 19663c559b72a0d14ddd0792be325284a6e16edc)

(From OE-Core rev: c8282f5f79a38be0672c68c9e8f11bc072b77b56)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Peter Marko
5aec1091bf rust: ignore CVE-2024-43402
This CVE was created because fix for CVE-2024-24576 was incomplete.
Ignore the new CVE in the same way as the old one.

See https://nvd.nist.gov/vuln/detail/CVE-2024-43402

(From OE-Core rev: 6ed9968bf3e35aca316227ee23294c683f77055d)

(From OE-Core rev: 10abc451f37be9d7d6b9482dbd5666a2bf8e9736)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:11 -08:00
Ross Burton
b5b326fcc6 libsndfile1: backport the fix for CVE-2024-50612
Backport the fix from upstream.

(From OE-Core rev: 2fc6b711a6a7252ddf13587927c06333f5a38d71)

(From OE-Core rev: 4d76d2f2affb95f25f1882f33305b1489a392f65)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:10 -08:00
Hitendra Prajapati
f2609a2f16 libarchive: fix CVE-2024-48957 & CVE-2024-48958
Backport fixes for:

* CVE-2024-48957 - Upstream-Status: Backport from 3006bc5d02
* CVE-2024-48958 - Upstream-Status: Backport from a1cb648d52

(From OE-Core rev: 8b520c3cea136591128f6601718c23334afd7a55)

(From OE-Core rev: 4f6a2eea1476bc7be1d55b6b6051c4b65d4d97fa)

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:10 -08:00
Peter Marko
027121de7e qemu: patch CVE-2024-6505
Backport patch [3] as linked from [1] via [2].

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-6505
[2] https://bugzilla.redhat.com/show_bug.cgi?id=2295760
[3] https://gitlab.com/qemu-project/qemu/-/commit/f1595ceb

(From OE-Core rev: ded62bdb5ce9da62aaaa53ac20203bd87a7b1197)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:10 -08:00
Peter Marko
52c7e49e2c builder: set CVE_PRODUCT
Builder is a common word and there are many other builder components
which makes us to ignore CVEs for all of them.
There is already 1 ignored and currently 3 new ones.

Instead, set product to yocto to filter them.

(From OE-Core rev: fd4ec5a5318b36af0a9a0a097a5b1f1de44a8edf)

(From OE-Core rev: 18773170492fc01ce7123ba0fac88e58750a3b93)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-17 12:58:10 -08:00
Lee Chee Yang
ecd195a3ef migration-guides: add release notes for 4.0.23
(From yocto-docs rev: 59c219067c6e47968d07d1f34ff0530f2411fd11)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 5835cb574881d57785f099c768467177d077e867)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Antonin Godard
2854015f70 ref-manual: classes: fix bin_package description
The previous bin_package description was confusing: it would instruct to
use the git fetcher to extract the content of an RPM package using the
`subpath` option - but that's not possible as the git fetcher can be
used to clone a repository but not to do the extraction.

Update the description by telling what it really does and what it
doesn't do, and by giving an HTTPS+RPM example.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 1c60116c666a742838129f0b83007d81f3c0e05d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 305f024bf99ba02b153eed0cebe3d36594868497)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Lee Chee Yang
02b3ba14de migration-guides: add release notes for 5.0.5
(From yocto-docs rev: a6edb2e6e79ef414754a4deeeb3a940a41ca40c8)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 4175839e718db49bf6971e900c1cf176d03458d7)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Alexander Kanavin
5c8cef6207 ref-manual: merge two separate descriptions of RECIPE_UPGRADE_EXTRA_TASKS
The second description was added due to confusion over the variable rename in oe-core.

(From yocto-docs rev: ff33f7c374c6079af4dc2609e9fb63d705598bc7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b64fb34643343b364705df9c3bd64af91ed9d687)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Lee Chee Yang
5a12600915 migration-guides: add release notes for 5.0.4
(From yocto-docs rev: b59347a137c82832297677d9e7a9247dbb694d56)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Antonin Godard
363f76a783 standards.md: add a section on admonitions
We try to limit our usage of these admonitions to `note` and `warning`,
as the Sphinx documentation warns that most themes only style these two
admonitions. So add a section on that.

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 845983eed77f9914994375eff11ea5c9bb690593)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit a37bb6cbb67f923206c5c168b5239527530fbce5)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
721a0e0103 resulttool: Improve repo layout for oeselftest results
Having all oe-selftest results on top of each other results in a large 640MB
json file which is hard to use. Split the results out per machine and test type.

This also stops the toolchain raw logs from overwriting each other meaning more
than one MACHINE is preserved.

(From OE-Core rev: 8717a2e2161378bab4e27d515a71396b2a6bcf00)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b890f04bc7d147b4a11b824a84f3d2abd75ac54)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
ea0a01b8f2 resulttool: Trim the precision of duration information
The duration values have pointless amounts of precision. Removing some of the
least significant digits reduces result size and makes the results easier to read.

(From OE-Core rev: 7a95226404e41e878858afcc383d26fb534ccf16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a789a2e6d97bb8efd663226a17db8d1ca6c1e40f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
d329f42da2 resulttool: Clean up repoducible build logs
We've improved the data stored for reproduicible builds. Teach resulttool how
to apply those cleanups when reprocessing data so we can reduce results file
sizes and make the data easier to process.

(From OE-Core rev: 316535d421be32d773a4f98beea5bf2aabfccefb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b799c57ae6d61c1b1c7035c8a2c4ba6ee08d1a81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
4d496db35d resulttool: Handle ltp rawlogs as well as ptest
Improve the rawlogs handling to include ltp logs as well as the ptest ones to
reduce the size of the results git repos.

(From OE-Core rev: 8a34083bf097bf6a8362ce7f9b86fba5662a27bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0a1954d559609c2c1ca16936d0d68eb3c4c6b45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
e6b2aa1998 resulttool: Add --logfile-archive option to store mode
Storing the log files inside the testresults git repo isn't scaling and isn't
really appropriate use of a git repository. Allow these to be optionally stored
in a separate filesystem location so the git repo can remain managable.

(From OE-Core rev: 174e86868178f817f2bb6b3d9c7224a4352144ed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1afc0f3d7e93fa8496be241e9622d3b9a6904bd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
0f8b48414d resulttool: Fix passthrough of --all files in store mode
When using store mode, --all was broken as not all files were being preserved.
Fix this by limiting the scope of the git rm command.

(From OE-Core rev: ad850837d3a45fa7cc094e3eb9c059120664c8e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9604561d2022b6c76b1cb4186d40800d1affdd2b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
8cd1a180d6 oeqa/utils/gitarchive: Return tag name and improve exclude handling
Tweak the gitarchive exclude handling not to error if excluded files
don't match.

Also return the tagname created so that other code can then use it.

(From OE-Core rev: bde2cf92e1a968e7272a194b887c331742f94d5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1adba3430faffdf6217b6a00533a3b48a9388abc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
4dec174239 resulttool: Use single space indentation in json output
Using 4 space indentation in resulted in hundreds of megabytes of extra file size
in general use. Reduce this to make filesizes more managable and reduce the processing
cost. Some level of indentation and spacing does make the files more readable and allows
use of git diff so we need to retain some of it.

(From OE-Core rev: b8be3ac506bb39665390c770f72de2ca359670b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a274cdcaf852cca9497f0358f44dda99c06aacbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
417c3eb065 resulttool: Allow store to filter to specific revisions
We have a challenge on the autobuilder where test results from both OE-Core
and poky are being mixed together during result storage which is confusing the
data. Add a way to filter to specific revisions as the least worst way to fix
the various issues this is causing.

(From OE-Core rev: 42a21e6f942208da75ae1121468379044ece77dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f276a0dc65341668788853be2cf27ab6aa12b13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
d666d72ba2 selftest/reproducible: Clean up pathnames
There are several problems with these paths. Firstly they contain full
system paths which depend upon where the test was run. These are pretty
pointless and just take up a lot of space making the results files large.

Secondly, they contain the same path twice. The reference and target path
will always be the same thing in two different locations.

Strip off the prefix and remove the duplication. This does change the output
data but that can't really be avoided. It does shrink the results data and makes
it more readable.

(From OE-Core rev: 40b422edd954eeb917464e6baa0e952d2ed4184c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 81a44de36e864b08687451fd85aeba7c529fd7f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
78809626ec selftest/reproducible: Drop rawlogs
The "rawlogs" data consists of a long string of results data which is
already in a structured data format. I can't see this is adding much
value in duplciating the data but it does create a huge string with a
lot of long problematic pathnames and inflates the results data size.

I suggest we drop this data as obsolete and not necessary.

(From OE-Core rev: d35e96785a07bba29a76c96f91751be12497f50c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5b2c70fab2ffa409b861d83f048b65d458d03a90)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
8c3866aa53 do_package/sstate/sstatesig: Change timestamp clamping to hash output only
The code was changing the timestamps of the files in the do_package output,
particularly the files added for debug sources. This was to do two things:

a) make do_package sstate more reproducible
b) ensure better hash equivalence matching

Unfortuately the debug source files are hardlinks into the source tree for
efficiency so touching these, touches a lot of files in ${B} and ${S}. This
causes unpredictable effects if compile is run again for example, or could
cause compiling in the install task.

The hash equivalence matching is of key importance but we can mimic that
using clamping of the file timestamps in the depsig output used to generate
the hashes.

This patch drops the global timestamp clamping, instead allowing the files
to retain their creation timestamps into sstate. This makes do_package sstate
slightly less reproducibile. We could clamp the sstate timestamps but that
would lead to two different sets of timestamps depending on whether the
data came from sstate or not. I'd prefer to have consistent code behaviour,
rather than differing behavhour depending on whether data came from sstate
or not.

If we wanted to have reproducibiliy and fix the "corruption" of S/B and have
consistent codepaths, the only other option would be two copies of the
sources, which could end up huge and seems the least desireable option.

This patch therefore drops the timestamp clamping in the sstate files
and tweaks the depsig data generation to clamp the timestamps for do_package
instead since this seems the best compromise.

I validated that rpm/deb/ipk files still generate correctly as before.

(From OE-Core rev: 0e6b2c761f6d727fe21a0ce2803a0f0aef236f59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 475759fdab7200488b2a568b2ba1aa31a456d113)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Changqing Li
a0af85c8cf rxvt-unicode.inc: disable the terminfo installation by setting TIC to :
Without this change, TIC is the native tic in recipe-sysroot-native.
By default, native tic has set its default terminfo path to native path:
${datadir}/terminfo; $HOME/.terminfo

When sstate cache is used, the cached native tic's terminfo path could
be a path not exist on current host, then native tic will try to install
terminfo to HOME dir, cause host contamination.

Disable the terminfo installation by setting TIC to :

(From OE-Core rev: 571e50db36d2b4bac075d4025efbdfdb8548468b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fe35ead2c3135a18c346e7baa31d34b15c3e2d95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Deepthi Hemraj
02847cd56f glibc: stable 2.40 branch updates.
Below commits on glibc-2.40 stable branch are updated.
626c048f32 elf: handle addition overflow in _dl_find_object_update_1 [BZ #32245]
efb710034e linux: sparc: Fix clone for LEON/sparcv8 (BZ 31394)
2344580243 Mitigation for "clone on sparc might fail with -EFAULT for no valid reason" (bz 31394)
3a34851103 elf: Change ldconfig auxcache magic number (bug 32231)
85e5850f2f Make tst-strtod-underflow type-generic
5c06c6e0b5 libio: Set _vtable_offset before calling _IO_link_in [BZ #32148]
cc256952ec Add tests of more strtod special cases
8f40dfbe2a Add more tests of strtod end pointer
4a9b6cdc88 Make tst-strtod2 and tst-strtod5 type-generic
5a10d05c39 powerpc64le: Build new strtod tests with long double ABI flags (bug 32145)
c4cc72d2ef Do not set errno for overflowing NaN payload in strtod/nan (bug 32045)
ad93c2047d Improve NaN payload testing
cac10d88c6 Make __strtod_internal tests type-generic
d0c1792ad2 Fix strtod subnormal rounding (bug 30220)
e06153665f More thoroughly test underflow / errno in tst-strtod-round
9bc76c7ca4 Test errno setting on strtod overflow in tst-strtod-round
61b6464f8d Add tests of fread
77018fd9f9 stdio-common: Add new test for fdopen

Testresults:
After update	|Before update	 |Difference
PASS: 4947	|PASS: 4945 	 |PASS: +2
FAIL: 224	|FAIL: 224	 |FAIL: 0
XPASS: 4	|XPASS: 4	 |XPASS: 0
XFAIL: 16	|XFAIL: 16	 |XFAIL: 0
UNSUPPORTED: 229|UNSUPPORTED: 229|UNSUPPORTED: 0

(From OE-Core rev: e773465484dbcae693b75ea1a61006a0cedb79cc)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
f23d3a5603 bitbake: runqueue: Fix scenetask processing performance issue
Analysis shows that "bitbake core-image-ptest-all" spends a lot of
time in scenequeue_updatecounters and much of it is rebuilding a set
which doens't change. Reorder the code to avoid that performance
glitch.

(Bitbake rev: 1452e74cc4ddfaadc6537a049877a66cec253c8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 923c19b9713e398d8e66e6d4422dfd4c18a03486)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
d4efa698f2 bitbake: runqueue: Optimise setscene loop processing
Rather than looping through things we looped through on the previous execution,
start looping where we left off for setscene processing. This gives speed
improvements depending on the kind of build being executed.

(Bitbake rev: 5465f9b6e3b4748e563efc53657af96f02a41c7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00f4d932e3af0eeb333339cbe942010fc76dee0f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Richard Purdie
e619153f24 bitbake: runqueue: Fix performance of multiconfigs with large overlap
There have been complaints about the performance of large multiconfig builds
for a while. The key missing data point was that the builds needed to have large
overlaps in sstate objects. This can be simulated by building the same things with
just different TMPDIRs. In runqueue/bitbake terms this equates to large numbers of
deferred tasks.

The issue is that the expensive checks in the setscene loop were hit every time
through runqueue's execute function before the check on deferred tasks. This leads
to task execution starvation as that only happens once per iteration.

Move the skip check earlier in the function which speeds things up enormously
and should improve performance of such builds for users.

(Bitbake rev: 5392a2bf6d82626e11eec5578eb4de53ba09f1fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c6c506757f2b3e28c8b20513b45da6b4659c95f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-12-09 06:25:53 -08:00
Steve Sakoman
7e081bd98f build-appliance-image: Update to styhead head revision
(From OE-Core rev: b511d0146a2e8f316f4aecc90c853215674013ea)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:45:41 -08:00
Steve Sakoman
34cbe78845 poky.conf: bump version for 5.1.1
(From meta-yocto rev: 9ea6609e61db3c66d6e3231afb424193165aad24)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Alexander Kanavin
8282240ec1 package_rpm: restrict rpm to 4 threads
TL;DR version:

with this, and the previous compression level changes
I am seeing drastic speedups in package_write_rpm completion times:

webkitgtk goes from 78 seconds to 37 seconds
glibc-locale goes from 399 seconds to 58 seconds (!)

The long version:

rpm uses multithreading for two purposes:

- spawning compressors (which are nowadays themselves
multi-threaded, so the feature is not as useful as it once
was)
- parallel file classification

While the former behaves well on massively parallel CPUs
(it was written and verified here :), the latter was then added
by upstream and only benchmarked on their very old, slow laptop,
apparently:
41f0e214f2

On anything more capable it starts showing pathologic behavior,
presumably from spawning massive amount of very short-lived threads,
and then having to synchronize them. For example classifying glibc-locale
takes
5m20s with 256 threads (default on my machine!)
1m49s with 64 threads
59s with 16 threads
48s with 8 threads

Even a more typical recipe like webkitgtk is affected:
47s with 256 threads
32s with 64 threads
27s with 16 or 8 threads

I have found that the optimal amount is actually four: this also
means that only four compressors are running at a time, but
as they're themselves using threads, and typical recipes are dominated
by just two or three large packages, this does not affect overall
completion time.

(From OE-Core rev: ac480775440fba812fd5aa9da73e0e5bc60d46d6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Alexander Kanavin
3f6f82abab package_rpm: use zstd's default compression level
zstd uses 3 by default, while 19 is the highest and slowest.
It's not clear why 19 was picked to begin with, possibly
I copy-pasted it from rpm's examples without thinking:
https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66

This brings significant speedups in rpm's compression step:
for example compressing webkitgtk takes 11s instead of 36s.

The rpm size increases from 175648k to 234860k. I think it's
a worthy default tradeoff.

(From OE-Core rev: 9ec8b99470ed744c8eca0b23f99ba54210984080)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Markus Volk
d7cd2e6f52 gcc: add a backport patch to fix an issue with tzdata 2024b
There is an issue in the std::chrono::tzdb parser that causes problems
since the tzdata-2024b release started using %z in the main format.

As a real world problem I encounter an issue with the waybar clock module,
which ignores the timezone setting and only shows system time.

(From OE-Core rev: 08dfd3849bd804f4760ebeca226645e65709a65a)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 39018429f05511053ab12e23e7f4487ea25ee529)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Kai Kang
814bde9a6b kexec-tools: update COMPATIBLE_HOST because of makedumpfile
makedumpfile is not compatible with mipsarcho32 and riscv32, so set for
kexec-tools accordingly.

And update packagegroup-core-tools-testapps too.

(From OE-Core rev: 6922821ab9a0e72e666e57e4b941e5821503509e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9107d9c09c7dab385c6034778cefadca3613be9c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Alexander Kanavin
afa029245b selftest/sstatetests: run CDN mirror check only once
The first no-fail check was an attempt to work around the old
CDN's instability (and it didn't really help); it should not be necessary
with the new CDN, and only delays a-full completion.

(From OE-Core rev: 6ffde2643e6ee8a2a0eddca173a254dbdc4a79bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7f75c42b7fcf60a9ca58d3ded9047df675d76dc2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Richard Purdie
ad7bee26f8 openssl: Fix SDK environment script to avoid unbound variable
Avoid errors like:

buildtools/sysroots/x86_64-pokysdk-linux/environment-setup.d/openssl.sh: line 6: BB_ENV_PASSTHROUGH_ADDITIONS: unbound variable

by setting an explicit empty default value.

(From OE-Core rev: a57192131cbcb65e17b11f47aa0f90ef63258280)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5a2a4910a22668f25679a47deaa9e2ed28665efa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Chen Qi
5337502bb3 shadow: use update-alternatives to handle groups.1
This patch fixes the following error at do_rootfs:

  update-alternatives: Error: not linking /PATH/TO/rootfs/usr/share
  /man/man1/groups.1 to /usr/share/man/man1/groups.1.coreutils since
  /PATH/TO/rootfs/usr/share/man/man1/groups.1 exists and is not a link

The problem can be reproduced by adding the following lines to local.conf
and then building an image:

  EXTRA_IMAGE_FEATURES:append = " doc-pkgs"
  IMAGE_INSTALL:append = " shadow coreutils"

groups.1 is handled by update-alternatives in coreutils recipe, so
do it in shadow recipe too.

(From OE-Core rev: 822d70b7ccc2e5922de99a7703ec7eb3f814e29f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78c8eb60097df2e16c699464c39ff9142fc1ae69)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Martin Jansa
7c76a24afb ffmpeg: fix packaging examples
* I've noticed that ffmpeg package isn't created in my builds, due
  to --disable-programs in EXTRA_OECONF added by our .bbappend, but
  was surprised that lib32-ffmpeg is created.

* lib32-ffmpeg was created only because it contained the examples
  which are installed in /usr/share/ffmpeg even when PN is lib32-ffmpeg
  as we pass --datadir=${datadir}/ffmpeg in EXTRA_OECONF here

* --disable-programs controls ${bindir}/ffprobe ${bindir}/ffmpeg and
  ${datadir}/ffmpeg/ffprobe.xsd ${datadir}/ffmpeg/libvpx-*.ffpreset

(From OE-Core rev: 24bf3ad245fa2dba14a59477279c6db3c8bcd088)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7bf828b6431a254201675e41047f53da47912f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Yi Zhao
57ad766534 systemd: fix broken links for sysvinit-compatible commands
Since commit[1], PACKAGECONFIG[sysvinit] is not enabled by default when
sysvinit is not in DISTRO_FEATURES, which causes the following
sysvinit-compatible commands/services to not be built and installed:

  runlevel
  telinit
  rc-local.service
  systemd-initctl
  systemd-initctl.service
  systemd-rc-local-generator
  systemd-sysv-generator
  systemd-update-utmp-runlevel.service

Therefore, links to these commands/services should only be created when
PACKAGECONFIG[sysvinit] is enabled.

[1] https://git.openembedded.org/openembedded-core/commit/?id=3668235fd60a9027608f37251c4b453ed21b3687

(From OE-Core rev: 681e3d20c2ac16778e302b468ec278aed9562639)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a20b698f1acdee972cf1ff570b09a2e2c36bef1a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Aleksandar Nikolic
a24d2beb5e scripts/install-buildtools: Update to 5.1
Update to the 5.1 release of the 5.1 series for buildtools.

(From OE-Core rev: 4f58037a49ef538d89d9c6df81b1b2d8a2eab4d7)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Bruce Ashfield
326b9963d4 linux-yocto/6.10: bsp/genericarm64: disable ARM64_SME
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: disable ARM64_SME
    Date: Thu, 21 Nov 2024 15:53:35 +0000

    From upstream:

        arm64: Kconfig: Make SME depend on BROKEN for now

        commit 81235ae0c846e1fb46a2c6fe9283fe2b2b24f7dc upstream.

        Although support for SME was merged in v5.19, we've since uncovered a
        number of issues with the implementation, including issues which might
        corrupt the FPSIMD/SVE/SME state of arbitrary tasks. While there are
        patches to address some of these issues, ongoing review has highlighted
        additional functional problems, and more time is necessary to analyse
        and fix these.

        For now, mark SME as BROKEN in the hope that we can fix things properly
        in the near future. As SME is an OPTIONAL part of ARMv9.2+, and there is
        very little extant hardware, this should not adversely affect the vast
        majority of users.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 3a6e6639b0dc4a49adfba15e720bb884d9859aa7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 022f9814cb9d6d420e9d89a746f4c67b452c498f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Bruce Ashfield
d3cac60761 linux-yocto/6.10: cfg: gpio: allow to re-enable the deprecated GPIO sysfs interface
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bartosz Golaszewski
    Email: bartosz.golaszewski@linaro.org
    Subject: gpio: allow to re-enable the deprecated GPIO sysfs interface
    Date: Mon, 11 Nov 2024 14:08:23 +0100

    The GPIO sysfs interface is disabled in standard linux config and in
    general users should use the character device instead but there are still
    programs out there that depend on it so for the time being add a kernel
    feature allowing to enable it.

    Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: b286e3dd8624cab0c57fe85c457b617e402ff6b9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae19861bfc336d869a7a84b13ab3e7b318e1b560)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Bruce Ashfield
30ff83b582 linux-yocto/6.10: genericarm64.cfg: enable CONFIG_DMA_CMA
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Mikko Rapeli
    Email: mikko.rapeli@linaro.org
    Subject: genericarm64.cfg: enable CONFIG_DMA_CMA
    Date: Thu, 24 Oct 2024 08:49:29 +0300

    It's needed for graphics on AMD KV260.

    Cc: Bill Mills <bill.mills@linaro.org>
    Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 0b5476e41714ba1290bad711d9adfe894c3a70e3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7d1572bce914ff67c3e08f95dfd8504b00b9a8e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Vijay Anusuri
423213a8d6 xwayland: upgrade 24.1.3 -> 24.1.4
Includes security fix CVE-2024-9632

Ref: https://lists.x.org/archives/xorg/2024-October/061766.html

(From OE-Core rev: 95a4db564feff2c0dd21dad735b7a95a03c2a647)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3fdc716d1260b4a92a46cfd2059ce044447f9172)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Wang Mingyu
6b52d22a26 xwayland: upgrade 24.1.2 -> 24.1.3
(From OE-Core rev: 38a09bff16c85b10386435eca88358aec0159ba5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b42744482d5b883c04e81b4be56ef19bc27caa3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Jinfeng Wang
030dac6999 tzdata/tzcode-native: upgrade 2024a -> 2024b
(From OE-Core rev: eae95be63db899ab2e247d823149e89aea6170f7)

Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b84b29b1827624270cc1698feda2ee87d55c01e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Peter Marko
2b4c64dbef cve-check: fix malformed cve status description with : characters
When CPE is not provided and character ":" is in cve status description,
current code takes only last part of split function.
This works only if there is no ":" in description, otherwise it drops
the other split parts.

Do a new split of the original string to take the whole description unchanged.
This fixes following entries from world build of poky+meta-oe+meta-python:

tiff-4.6.0-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2015-7313
CVE_STATUS:  fixed-version: Tested with check from https://security-tracker.debian.org/tracker/CVE-2015-7313 and already 4.3.0 doesn't have the issue
description: //security-tracker.debian.org/tracker/CVE-2015-7313 and already 4.3.0 doesn't have the issue
corrected:   Tested with check from https://security-tracker.debian.org/tracker/CVE-2015-7313 and already 4.3.0 doesn't have the issue

gnupg-2.5.0-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2022-3219
CVE_STATUS:  upstream-wontfix: Upstream doesn't seem to be keen on merging the proposed commit - https://dev.gnupg.org/T5993
description: //dev.gnupg.org/T5993
corrected:   Upstream doesn't seem to be keen on merging the proposed commit - https://dev.gnupg.org/T5993

libyaml-0.2.5-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2024-35325
CVE_STATUS:  upstream-wontfix: Upstream thinks this is a misuse (or wrong use) of the libyaml API - https://github.com/yaml/libyaml/issues/303
description: //github.com/yaml/libyaml/issues/303
corrected:   Upstream thinks this is a misuse (or wrong use) of the libyaml API - https://github.com/yaml/libyaml/issues/303

libyaml-0.2.5-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2024-35326
CVE_STATUS:  upstream-wontfix: Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302
description: //github.com/yaml/libyaml/issues/302
corrected:   Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302

libyaml-0.2.5-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2024-35328
CVE_STATUS:  upstream-wontfix: Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302
description: //github.com/yaml/libyaml/issues/302
corrected:   Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302

cpio-2.15-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2023-7216
CVE_STATUS:  disputed: intended behaviour, see https://lists.gnu.org/archive/html/bug-cpio/2024-03/msg00000.html
description: //lists.gnu.org/archive/html/bug-cpio/2024-03/msg00000.html
corrected:   intended behaviour, see https://lists.gnu.org/archive/html/bug-cpio/2024-03/msg00000.html

openssh-9.9p1-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2023-51767
CVE_STATUS:  upstream-wontfix: It was demonstrated on modified sshd and does not exist in upstream openssh https://bugzilla.mindrot.org/show_bug.cgi?id=3656#c1.
description: //bugzilla.mindrot.org/show_bug.cgi?id=3656#c1.
corrected:   It was demonstrated on modified sshd and does not exist in upstream openssh https://bugzilla.mindrot.org/show_bug.cgi?id=3656#c1.

cups-2.4.10-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2021-25317
CVE_STATUS:  not-applicable-config: This concerns /var/log/cups having lp ownership, our /var/log/cups is root:root, so this doesn't apply.
description: root, so this doesn't apply.
corrected:   This concerns /var/log/cups having lp ownership, our /var/log/cups is root:root, so this doesn't apply.

unzip-1_6.0-r0 do_cve_check: CVE_STATUS with 3 parts for CVE-2008-0888
CVE_STATUS:  fixed-version: Patch from https://bugzilla.redhat.com/attachment.cgi?id=293893&action=diff applied to 6.0 source
description: //bugzilla.redhat.com/attachment.cgi?id=293893&action=diff applied to 6.0 source
corrected:   Patch from https://bugzilla.redhat.com/attachment.cgi?id=293893&action=diff applied to 6.0 source

syslog-ng-4.7.0-r0 do_cve_check: CVE_STATUS with 6 parts for CVE-2022-38725
CVE_STATUS:  cpe-incorrect: cve-check wrongly matches cpe:2.3🅰️oneidentity:syslog-ng:*:*:*:*:premium:*:*:* < 7.0.32
description: syslog-ng:*:*:*:*:premium:*:*:* < 7.0.32
corrected:   cve-check wrongly matches cpe:2.3🅰️oneidentity:syslog-ng:*:*:*:*:premium:*:*:* < 7.0.32

(From OE-Core rev: 5cd34a34879ad424f3b1637b48892d6fa037861d)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc33dd9176726cb4b2d2f142ed1bc655da8e0a9f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Peter Marko
449107b22b cve-check: do not skip cve status description after :
Correct maxsplit parameter from 5 to 4 to not drop text if
description contains ":".

Example:
>>> "detail: cpe:vendor:product:description:cont".split(':', 5)
['detail', ' cpe', 'vendor', 'product', 'description', 'xxx']
>>> "detail: cpe:vendor:product:description:cont".split(':', 4)
['detail', ' cpe', 'vendor', 'product', 'description:xxx']

(From OE-Core rev: 4921605aab4c9588e5c96de3afe08e9d35f51145)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c4d8ca41ac0b429af92bf0ea84f1dfd0cda9e1f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Chris Laplante
87e1004fc4 bitbake: fetch2: use persist_data context managers
Python 3.13 emits a ResourceWarning for unclosed sqlite3 `Connection`s.
See https://docs.python.org/3/whatsnew/3.13.html#sqlite3

The previous commit fixed persist_data's context manager to close the
connection, but we were never actually using `with` in the first place.

This change is not necessary on 'master' because persist_data was
removed.

(Bitbake rev: 9602a684568910fd333ffce907fa020ad3661c26)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
(cherry picked from commit 61f803c7d92a012b62837b0cdae4789a394b260e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Chris Laplante
d28c963ec4 bitbake: persist_data: close connection in SQLTable __exit__
A Connection's __exit__ does not close the connection, but rather deals
with transactions. See https://docs.python.org/3/library/sqlite3.html#how-to-use-the-connection-context-manager

This change is not necessary on 'master' because persist_data was
removed.

(Bitbake rev: a5640a2527cf1995e2afb80c95f303dea52c73b3)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
(cherry picked from commit b0fba0f5af555ff970406b5cf3bf8fb113d953d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Richard Purdie
aeea31fea5 bitbake: fetch/wget: Increase timeout to 100s from 30s
Testing shows the worst case CDN response time can be up to 100s. The wget fetcher
is used for accessing sstate from the CDN so increase our timeouts there to match
our worst case repsonse times.

(Bitbake rev: 70b09f62bc5622fa64bb668cdad610bd48bf7bb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Joshua Watt
18612ba9d4 bitbake: Remove custom exception backtrace formatting
Removes the code in bitbake to show custom backtrace formatting for
exceptions. In particular, the bitbake exception code prints function
arguments, which while helpful is a security problem when passwords and
other secrets can be passed as function arguments.

As it turns out, the handling of the custom serialized exception stack
frames was pretty much made obsolete by d7db75020ed ("event/msg: Pass
formatted exceptions"), which changed the events to pass a preformatted
stacktrack list of strings, but the passing of the serialized data was
never removed.

Change all the code to use the python traceback API to format exceptions
instead of the custom code; conveniently traceback.format_exception()
also returns a list of stack trace strings, so it can be used as a drop
in replacement for bb.exception.format_exception()

(Bitbake rev: 1f7889c2f5e192fb108b51883aac8685ccb187f2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-30 05:41:59 -08:00
Antonin Godard
4d44b6b9ff dev-manual: bblock: use warning block instead of attention
Sphinx recommends using warning and note here:
https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#directives

Suggested-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 8288c8cae7fe7303e89d8ed286de91fc26ce6cc3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit ed49067f172637d38d470a864feed2a02bd84c66)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
4625985c41 dev-manual: document how to provide confs from layer.conf
Add a section on providing global level configuration from the
layer.conf file. Since this file is parsed at an earlier stage in the
parsing process, it's not possible to combine bb.utils.contains and
{DISTRO,MACHINE}_FEATURES to conditionally set some configurations.

This patch documents:

- First that this file can be used for providing such configuration.
- Then demonstrate how to conditionally provide them, using a technique
  that is currently used in meta-virtualization
  (https://git.yoctoproject.org/meta-virtualization/tree/conf/layer.conf#n50).

Fixes [YOCTO #12688].

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: b73e99b161a11a46a1a96ff42135893e0c978e2a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 31e5bd3e82e11f77da2abd96eb8c17a7c8194b7c)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
ad3e2d1532 conf.py: add a bitbake_git extlink
To make references to the bitbake repo, add an extlink for it and use it
in the docs with ":bitbake_git:`lib/bb/utils.py </tree/lib/bb/utils.py>`".

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5efb5f678278276aebd6809ab785dcea8c732de3)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 8bf3c656ec54a582c75ca7c135121a15f8e4f631)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
e8f4f13c55 migration-guides: 5.1: fix titles
- fix title underline
- add anchor for workdir changes
- supported-kernel-versions was misplaced, move it
- "Miscellaneous changes" anchor was wrong

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 04507c6593d305f830817555a44706a61518b535)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2bfd49176ff71350054417dc6a9a284466876069)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
dfb27c0b97 sphinx-static/switchers.js.in: do not refer to URL_ROOT anymore
This variable was removed from the Sphinx-generated
documentation_options.js, thus breaking the current implementation of
our switchers.js. Like searchtools.js, which is also generated by
Sphinx, use document.documentElement.dataset.content_root as a
replacement.

To be backwards-compatible to get one or the other.

(From yocto-docs rev: 1771d1b174b42ae9de5b46898a805bee7e10c076)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2849690abf94872e259e712128e90413f3b9a2f2)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
4a66fa862b doc: add a download page for epub and pdf
These files are placed in the _static directory during publish. Note
that Sphinx does not complain if files do not exist during compilation
(since they are copied at the end). This is why this was used instead of
the ":download:" role.

(From yocto-docs rev: 3f6848dd88cd4266e721cc7bbb2460b1e9d24f2b)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 38aa55418426227203fe3a106fa1e85494a57c12)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Michael Opdenacker
c3cbcecb74 doc: Makefile: publish pdf and epub versions too
Copy the generated files in the special _static directory.

Fixes [YOCTO #14357]

(From yocto-docs rev: 8f1364a4a2e04d334128ce59c47f50996aef0c65)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b6974695993599959c0d5b7436aa290ee5d0dfca)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
0e3b3e16cf doc: Makefile: add support for xelatex
This patch makes the "latexpdf" target compile the documentation with
xelatex instead of the default pdflatex engine.

The reason behind this is stated in [YOCTO #14357]: pdflatex does not
support compiling foreign characters, so we need to resort to another
engine, here xelatex.

It also increases the texmf config buf_size to 10000000 to avoid a
compilation error.

(From yocto-docs rev: 9a297c65942a52d6165378d6792d5e0788b492ba)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 93848842b3ad8aa6b9c9f46d60f2c2ad396c6971)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Antonin Godard
ab07d1a341 doc: Makefile: remove inkscape, replace by rsvg-convert
Remove inkscape as it is not part of meta/, and use librsvg so we can
ship it in a buildtools tarball for the autobuilder workers.

(From yocto-docs rev: 65db816385dd985bfc3bc895102b25e9ea5d9adf)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 0caa432b888209bd80443df230143761e1faf415)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Talel BELHAJSALEM
bcd7f0eeed contributor-guide: Remove duplicated words
Remove "and then" as it is duplicated.

(From yocto-docs rev: 6bab46640d63949034eedc52c6c367198c9e91c5)

Signed-off-by: Talel BELHAJSALEM <bhstalel@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 52ed947120e400620277a58f895294b558a9324e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Aditya Tayade
ce94244963 e2fsprogs: removed 'sed -u' option
In embedded box, sed might be provided another providers like Busybox,
hence use generic options whenever possible.
/bin/sed -> /etc/alternatives/sed
/etc/alternatives/sed -> /bin/busybox.nosuid

Here used 'sed -u' option is not necessary, hence removed it.

Fixes below error:
sed: invalid option -- 'u'

Also added 'set -eux' option which halts execution of the script
on any failures.

(From OE-Core rev: 045d50e63bcaf13056ce749c616eecc4d4516958)

Signed-off-by: Aditya Tayade <Aditya.Tayade@kpit.com>
Signed-off-by: Pawan Badganchi <Pawan.Badganchi@kpit.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 07caee1829d2a61bc018fe0e37ecd482922179ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Jinfeng Wang
75215fbce6 glib-2.0: fix glib-2.0 ptest failure when upgrading tzdata2024b
Backport 3 patches [1][2][3] for gdatetime test to fix the ptest failure.

[1] c0619f08e6
[2] 30e9cfa573
[3] fe2699369f

(From OE-Core rev: aaeac4978111fa4051296cb800251432dc02226a)

Signed-off-by: Jinfeng Wang <jinfeng.wang.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c8f87d5d4ec9f286b1e85d114cb9a728c1ff64b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Tom Hochstein
70d7a401f7 weston: Add missing runtime dependency on freerdp
With rdp enabled, nothing from freerdp is installed in the rootfs, and
rdp is not usable. It seems there is no actual build time dependency
other than the meson check itself, so add an explicit runtime
dependency.

(From OE-Core rev: a378c75bfb7d3be5f8af4947465349266eef8a84)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23271a1f908a223b4eb56d6034cbb1ac23da14fe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:10 -08:00
Regis Dargent
30f687033c udev-extraconf: fix network.sh script did not configure hotplugged interfaces
Udev script network.sh is called when a new ethernet interface is plugged (eg. USB).
Due to some (old) missing files, this script does nothing, instead of configuring the
interfaces with ifup.
I just commented the corresponding lines to allow the script to reach the part where
it calls ifup.

(From OE-Core rev: 55069a5f68ade552e3c45333d441dc2d18753476)

Signed-off-by: Regis Dargent <regis.dargent@gmail.com>

Fixes [YOCTO 15616]

network.sh relies on (long) missing files (eg. /etc/network/options,
/etc/init.d/network) to decide if it should configure the new network
interface (ifup) or put its name in /etc/udev_network_queue for future
initialization by /etc/init.d/network service.
The actual result was that the new hotplugged interface was never
automatically configured.
Removing the obsolete tests allows the script to do its intended job.

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 160f7139172ffdf510a0d7d4e85f7fbaac7fd000)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Yoann Congal
cc6492d418 python3-maturin: sort external libs in wheel files
Import a merged patch that sort external libs in the wheel file
generated by maturin. That improve reproducibility.

(From OE-Core rev: 055519ae0da73afd1bfb89d74193b41751dc9a80)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
CC: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66da28f85727206c0e647efba93c1be028519fe5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Chen Qi
7b3d419028 libgfortran: fix buildpath QA issue
The '-fdebug-prefix-map' options are used to map source files locations,
otherwise, DW_AT_comp_dir will contain buildpath.

The '-gno-record-gcc-switches' option is used to fix the buildpath introduced
by '-fintrinsic-modules-path' option, which is automatically added by fortran.
Here's some output from 'readelf --debug-dump libgfortran.so.5.0.0' when this
option is not added:
"""
<0><1a37d3>: Abbrev Number: 4 (DW_TAG_compile_unit)
   <1a37d4>   DW_AT_producer    : (indirect string, offset: 0xd653): GNU Fortran2008 14.2.0 -m64
                -march=core2 -mtune=core2 -msse3
                -mfpmath=sse -mshstk -g -O2 -O2 -fstack-protector-strong -fimplicit-none
                -fno-repack-arrays -fno-underscoring -fcf-protection=full
                -fallow-leading-underscore -fbuilding-libgfortran -fPIC
                -fintrinsic-modules-path /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/
                core2-64-poky-linux/libgfortran/14.2.0/recipe-sysroot-native/usr/bin/x86_64-poky-linux
                /../../lib/x86_64-poky-linux/gcc/x86_64-poky-linux/14.2.0/finclude
                -fpre-include=../../../../recipe-sysroot/usr/include/finclude/math-vector-fortran.h
"""

See https://gcc.gnu.org/pipermail/fortran/2024-October/061204.html for more
detailed information.

(From OE-Core rev: ba53108d33267b58306c6406ec90455bc221edaf)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1eb084956bcba83782bc2b24cf8cc89459a57e34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Jagadeesh Krishnanjanappa
f29a31d723 tune-cortexa32: set tune feature as armv8a
Cortexa32 is a 32-bit armv8a architecture processor, so set the tune feature
as armv8a instead of aarch64 which is 64-bit armv8a architecture.

It solves the following build error while compiling libgcc-initial
and libssp-nonshared.
-- snip --
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfpu=neon'
aarch64-poky-linux-musl-gcc: error: unrecognized command-line option '-mfloat-abi=hard'
-- snip --

(From OE-Core rev: 19402b5e867616e26c0013402a3b9f32acb6d9fc)

Signed-off-by: Jagadeesh Krishnanjanappa <workjagadeesh@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3b898270aca62559dfa42ed71d296fe8a8b46a41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Alban Bedel
7eb33afbbf util-linux: Add findmnt to the bash completion RDEPENDS
The bash completion scripts for `umount`, `fstrim` and `fsfreeze` make
use of `findmnt` so add it to the bash completion RDEPENDS.

(From OE-Core rev: 2fa36487777ec352f5fb1379657236da342367a7)

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f8703b486a6ccf39225815362acadafb890ca56e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Ross Burton
243fd68951 groff: fix rare build race in hdtbl
It's possible to build the hdtbl examples before grn has been build:

groff: error: couldn't exec grn: No such file or directory

Backport a dependency fix from upstream.

[ YOCTO #15610 ]

(From OE-Core rev: 1c007c8dab24da03c739d4cccdaabfcf78807b5b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d590a32423d05cefc4e7282f971f633b3fa0b941)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Ross Burton
4280b129e7 tcl: skip io-13.6 test case
---- Result was:
{abcdefghj
01234} 0
---- Result should have been (exact matching):
{abcdefghj
} 1 01234 0
==== io-13.6 FAILED

This test is documented as failing on slow machines, so just skip it.

[ YOCTO #15407 ]

(From OE-Core rev: 8b608a5f40c6c40d0fd1091c8943eae61adc1df0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f69183586655294c9aed6687cebe57767c2f3eb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Hongxu Jia
f808d877a9 gcc-source: Fix racing on building gcc-source-14.2.0 and lib32-gcc-source-14.2.0
While enabling multilib, build gcc-source-14.2.0 and lib32-gcc-source-14.2.0
at the same time:

    $ MACHINE = "qemux86-64"
    $ require conf/multilib.conf
    $ MULTILIBS = "multilib:lib32"
    $ DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
    $ bitbake gcc-source-14.2.0 lib32-gcc-source-14.2.0
    ...
    $ cat tmp-glibc/work-shared/gcc-14.2.0-r0.vr2401/temp/log.task_order
    20241012-064533.415426 do_recipe_qa (2688052): log.do_recipe_qa.2688052
    20241012-064533.463783 do_recipe_qa (2688051): log.do_recipe_qa.2688051
    20241012-064533.805164 do_fetch (2688257): log.do_fetch.2688257
    20241012-064533.852955 do_fetch (2688256): log.do_fetch.2688256
    20241012-064617.823714 do_unpack (2698542): log.do_unpack.2698542
    20241012-064617.871730 do_unpack (2698541): log.do_unpack.2698541
    ...

There are two tasks for do_fetch, do_unpack and others, so there are race issues.

Both of them have the same hardcode 'gcc' prefix in ${WORKDIR} and
${S}, explicitly disable lib32-gcc-source-14.2.0 for multilib

Set gcc-source as BPN of gcc-source-14.2.0

(From OE-Core rev: 9609a7c9c6d809cc02480c3f12f8dd7c6f3fe9fc)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 901c47877e0710af50639f688e0bfdb851b762b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Mikko Rapeli
1df725e653 ovmf-native: remove .pyc files from install
They break builds which share sstate files on different
machines and paths:

ERROR: ovmf-edk2-stable202408-r0 do_prepare_recipe_sysroot: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 624, function: extend_recipe_sysroot
     0620:
     0621:    # Handle deferred binfiles
     0622:    for l in binfiles:
     0623:        (targetdir, dest) = binfiles[l]
 *** 0624:        staging_copyfile(l, targetdir, dest, postinsts, seendirs)
     0625:
     0626:    bb.note("Installed into sysroot: %s" % str(msg_adding))
     0627:    bb.note("Skipping as already exists in sysroot: %s" % str(msg_exists))
     0628:
File: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/classes-global/staging.bbclass', lineno: 165, function: staging_copyfile
     0161:        os.symlink(linkto, dest)
     0162:        #bb.warn(c)
     0163:    else:
     0164:        try:
 *** 0165:            os.link(c, dest)
     0166:        except OSError as err:
     0167:            if err.errno == errno.EXDEV:
     0168:                bb.utils.copyfile(c, dest)
     0169:            else:
Exception: FileExistsError: [Errno 17] File exists: '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/sysroots-components/x86_64/ovmf-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc' -> '/srv/pokybuild/yocto-worker/oe-selftest-fedora/build/build-st-667282/tmp/work/core2-64-poky-linux/ovmf/edk2-stable202408/recipe-sysroot-native/usr/bin/edk2_basetools/BaseTools/Source/Python/AutoGen/__pycache__/WorkspaceAutoGen.cpython-312.pyc'

(From OE-Core rev: 400aace90a7d33c2b51f736ec832d844faaa272c)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit facd9e17fa53e2fb3a828b3f179cfb659be75d37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Richard Purdie
ae0db85f2c qemurunner: Clean up serial_lock handling
Avoid "RuntimeError: release unlocked lock" since the lock shouldn't
be locked even in the error path. Add a try/finally path to ensure
this.

(From OE-Core rev: 0d08aab2e1c1ff1a8cb41b62b2e763bb88ca8b5a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0732ee009ca47580d1d2ad75334f4aa50e6efd5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Claus Stovgaard
28bf1ab675 lib/oe/package-manager: skip processing installed-pkgs with empty globs
We can skip processing the installed-pkgs file if globs is empty.
This is the case if self.d.getVar for IMAGE_INSTALL_COMPLEMENTARY
returns an empty string. If globs is an empty string the result from
processing with empty glob in oe-pkgdata-util will always be 0 packages
to install.

Instead of return early on this we just skip and still generate the
locale archive if needed.

(From OE-Core rev: be4dbec9e79b51b9b72670291ba02c4f6d3258dd)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 160c45c83d5addf01e4834cf896af871bd6fca7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Pavel Zhukov
3d90719ae3 package_rpm: Check if file exists before open()
Exception handler tries to read() /etc/passwd file in sysroot
and if file doesn't exist for any reason then it raises FileNotFoundError
exception which mask the original source of the problem and makes
debugging of the issue more difficult.

Fixes:
Exception: FileNotFoundError: [Errno 2] No such file or directory:
'/codebuild/output/src1899304708/src/build/tmp-container/work/core2-64-oe-linux/emqx-bin/4.3.12/recipe-sysroot/etc/passwd'

(From OE-Core rev: 17c8560f323d619b4a98d2276b4c0bf04c8196fd)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4ad9a0e0b11eb7bc5a3dd45fc8945e094ea949e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Robert Yang
29732ee9da cml1.bbclass: do_diffconfig: Don't override .config with .config.orig
Fixed:
1) $ bitbake virtual/kernel -cmenuconfig
Do some changes and save the new config to default .config.
2) $ bitbake virtual/kernel -cdiffconfig
The config fragment is dumped into ${WORKDIR}/fragment.cfg.

But the .config which was saved by step #1 is overridden by .config.orig, so
the changes will be lost if run 'bitbake virtual/kernel'

And the following comment is for subprocess.call(), not for shutil.copy(),
so move subprocess.call() to the correct location.
    # No need to check the exit code as we know it's going to be
    # non-zero, but that's what we expect.

(From OE-Core rev: 3647eb69038917971a9d8ca9553875adddcc893f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cccf6b02f92dad514e65fd779ff659b19eb6be7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Richard Purdie
daca1765ee oeqa/runtime/ssh: Fix incorrect timeout fix
I'd meant to change the command timeout in the previous change, fix
the correct one.

(From OE-Core rev: 41ab062f0b711e30720d0e52aab79ef387ec4f28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb991988cb23be2c8947171726ada321f27e6eed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Richard Purdie
6f98edd3e2 oeqa/runtime/ssh: Rework ssh timeout
After the changes to improve this test, we keep seeing image testing ssh
failures, particularly on mips.

It looks like part of the problem is that on a loaded system, 5s is too short
for mips to reliably establish an ssh connection. I've seen logs where it keeps
timing out and fails to work, then the debug code successfully uses ssh later after
everything else fails.

Change the timings/retries to give slow platforms enough time to respond.

(From OE-Core rev: 5158ceb4179ec53e396a57068714aea7d81e3f59)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ba64ccf3ad6e40461219b72d60eb0fe5cb38fddd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Purushottam Choudhary
be17654c13 virglrenderer: Add patch to fix -int-conversion build issue
Fix int conversion related error during compilation
as some of the platforms where EGLNativeDisplayType
is an int instead of a pointer with GCC-14.

(From OE-Core rev: c1992859ad2284170e66769d59b342a58fa05700)

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f71f4936a273262343e34f278e6cfcc1e419aea3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Chen Qi
afcbd3f013 toolchain-shar-extract.sh: exit when post-relocate-setup.sh fails
When LD_LIBRARY_PATH is set, post-relocate-setup.sh will fail and
exit properly. But such failure is ignored and the SDK installation
will continue and tell user that things succeed. This is misleading.
So exit immediately if post-relocate-setup.sh fails.

Fixes [Yocto #15586]

(From OE-Core rev: 0d75c64b6d4b57800c844993876840f281b877d9)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c8e2dcc1f71aa33cc6e56dfdebebbe7ef010c944)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Ross Burton
007a24be9c strace: download release tarballs from GitHub
Switch to downloading the release tarballs from GitHub.  Their CDN is
rock solid, and strace.io is hosted inside Russia which some networks
are blocking.

(From OE-Core rev: f0ae7467e194c79778a0561b4cd1eda99f9cc5a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bbdbd6d943a64e5b0dae4c2ee705d017fb7ef80e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Clayton Casciato
c475ad45eb uboot-sign: fix concat_dtb arguments
Fixes [YOCTO #15642]

Ensure empty argument passed from do_uboot_assemble_fitimage is passed to
concat_dtb

(From OE-Core rev: 668c5cbd8e4e4d03ac7007b997251cfe9419ba01)

Signed-off-by: Clayton Casciato <majortomtosourcecontrol@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3c473785e5ceef677ff2b77c5fc17f5704c622f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Richard Purdie
cf7ae7abb7 pseudo: Fix envp bug and add posix_spawn wrapper
Fix pseudo with python 3.13 by adding a wrapper for posix_spawn and
fixing a NULL pointer dereference in envp handling it uncovered. This
fixes issues on Fedora 41.

(From OE-Core rev: 111024b00dab52e6c1e382d931f97af4b90d7683)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d80e20d70d170397f9827c5a5fc75ad1f2e8cd94)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Hiago De Franco
8330186086 weston: backport patch to allow neatvnc < v0.9.0
Currently weston 13.0.3 with neatvnc 0.8.1 does not compile when using
VNC:

| Dependency neatvnc found: NO found 0.8.1 but need: '< 0.8.0' ;
matched: '>= 0.7.0'

However weston upstream already increased the allowed version to 0.9.0,
since neatvnc 0.8.0 does not introduce any changes that breaks API used
by the VNC backend. Therefore, backport this patch.

(From OE-Core rev: fc88bc296fad8b016f7f8ebea4035becb70ac702)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8516496018a3ee9e81a67d4682bf9784d0eab2bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Peter Marko
6a653ee684 go: upgrade 1.22.7 -> 1.22.8
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.7..go1.22.8
aeccd613c8 (tag: go1.22.8) [release-branch.go1.22] go1.22.8
b4086b7c16 [release-branch.go1.22] syscall: skip TestAmbientCapsUserns when restricted, document
6fab4b9a9e [release-branch.go1.22] runtime: size maps.Clone destination bucket array safely
71655f14ce [release-branch.go1.22] cmd/cgo: correct padding required by alignment

[1] https://github.com/golang/go/compare/go1.22.7...go1.22.8

(From OE-Core rev: c6808b3b618b377fb5e723c8921c12de7cddb7ff)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 552b9913b25107d7a34611b499b7811896b5f098)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Peter Marko
9c722def51 go: upgrade 1.22.6 -> 1.22.7
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.6..go1.22.7
7529d09a11 (tag: go1.22.7) [release-branch.go1.22] go1.22.7
d4c53812e6 [release-branch.go1.22] go/build/constraint: add parsing limits
2092294f2b [release-branch.go1.22] encoding/gob: cover missed cases when checking ignore depth
b232596139 [release-branch.go1.22] go/parser: track depth in nested element lists
e87be9833e [release-branch.go1.22] runtime: on AIX, fix call to _cgo_sys_thread_create in _rt0_ppc64_aix_lib
676d6100d8 [release-branch.go1.22] cmd/fix: support go versions with patch release
0a525a3ed0 [release-branch.go1.22] os: fix Chtimes test flakes

Fixes CVE-2024-34155, CVE-2024-34156 and CVE-2024-34158

[1] https://github.com/golang/go/compare/go1.22.6...go1.22.7

(From OE-Core rev: aac1f6716deb89edeba223b530c7620e85837cb6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92d609c49c0870ca10fcc39d52a801109d65a98b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Wang Mingyu
4115fa9366 wireless-regdb: upgrade 2024.07.04 -> 2024.10.07
(From OE-Core rev: 28f655a66eeaa1020eacc05b018c493902919db5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f124bb09a798d94eca5e93387bc361b147ce53f9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Vijay Anusuri
7c2d7188df xserver-xorg: upgrade 21.1.13 -> 21.1.14
Includes security fix CVE-2024-9632

Ref: https://lists.x.org/archives/xorg/2024-October/061765.html

(From OE-Core rev: 68d511dbde5efad9e40ed3918c15bba629130437)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Peter Marko
a99c033f4c cve-check: add support for cvss v4.0
https://nvd.nist.gov/general/news/cvss-v4-0-official-support

CVSS v4.0 was released in November 2023
NVD announced support for it in June 2024

Current stats are:
* cvss v4 provided, but also v3, so cve-check showed a value
sqlite> select count(*) from nvd where scorev4 != 0.0 and scorev3 != 0.0;
2069
* only cvss v4 provided, so cve-check did not show any
sqlite> select count(*) from nvd where scorev4 != 0.0 and scorev3 = 0.0;
260

(From OE-Core rev: 7ce34ce58f83bc02fa2c04bec54e358e8614157e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 358dbfcd80ae1fa414d294c865dd293670c287f0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Katawann
6a44d7c078 cve-check: add field "modified" to JSON report
Added the "modified" field to the JSON export in the
cve-check.class. This field captures the last modification date of each
CVE, providing more detailed information on changes and updates within
the exported data.

(From OE-Core rev: 242bf4dcd4f85ec4d212fd68e060cf9fb307e96e)

Signed-off-by: Katawann <quent_55@hotmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 740b8a0b23c4021d07c3714420e3ea8b46e61454)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-26 05:37:09 -08:00
Julien Stephan
8ce494b9cf dev-manual: add bblock documentation
bblock is a helper tool to lock/unlock tasks and recipes to specific
signatures. Add a documentation page for it.

(From yocto-docs rev: 5692ad6f023289dda63567c1f79132854ae3899d)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit a082aa39840587d3af6c3f4a2c2747564ca37414)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Julien Stephan
7194d7e233 ref-manual: variables: add SIGGEN_LOCKEDSIGS* variables
Variables SIGGEN_LOCKEDSIGS, SIGGEN_LOCKEDSIGS_TASKSIG_CHECK and
SIGGEN_LOCKEDSIGS_TYPES are used to lock specific tasks to specific
signatures. They are used by bitbake -S <lockedsigs> and bblock, so add
documentation for them.

(From yocto-docs rev: 3351a0bdeddf7ea930ec9f80f596a9f11671775c)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 32e3995bed2836f549866ec3b8ad254bdda37dbf)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Julien Stephan
46ba40ac6c styles: vocabularies: Yocto: add sstate
Add sstate as an accepted word to avoid errors when runnign make
stylecheck.

(From yocto-docs rev: f196b33ebda35bce94c987892a6bf9fd9f58b670)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1c50726296e876747ea3f862729e953f025ce619)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Julien Stephan
38e4b3fffb documentation: Makefile: add SPHINXLINTDOCS to specify subset to sphinx-lint
make sphinx-lint runs sphinx-lint on the whole documentation which can be
long and reports a lot or errors/warnings. Let's add a new
SHPINXLINTDOCS variable to allow specifying a subset, just as VALEDOCS
does. Keep variable assignment aligned and also use $(SOURCEDIR) by
default for SPHINXLINTDOCS and VALEDOCS variables.

Also update the README file and fix a typo in Link checking section
title.

(From yocto-docs rev: 46a9480f4904d00dbce103be52cf7dd4d14c27b9)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 3dfe7b5c746af31de74f67cf88214e5d52bdb65d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Julien Stephan
50d1790d0b README: add instruction to run Vale on a subset
make stylecheck runs Vale on the whole documentation which can be long
and reports a lot of errors/warnings. We can run Vale on a subset using
the VALEDOCS variable, so update documentation to highlight it.

(From yocto-docs rev: ba8642cd423b59ecff5e74a0ed0469deef9f5d18)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Tested-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 262237f72534c983e178231cb6839ed69709c443)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Antonin Godard
f09fc4426b conf.py: rename :cve: role to :cve_nist:
Newer versions of Sphinx already define a :cve: role that points to
cve.org, instead of the role we defined in conf.py that points to
nvd.nist.gov.

Rename our role to :cve_nist: to avoid warnings (treated as errors).
This is also backwards compatible, meaning we can build the doc with an
older Sphinx if needed.

The file were automatically replaced with following command:

find . -name '*.rst' -exec sed -i 's/:cve:/:cve_nist:/g' {} \+

Suggested-By: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 1e5e574a6cdb6b086da2c5a981446b522e80cf2d)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 15fa3b7e85dde50d7236c1738ad607531cc654b8)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Ola x Nilsson
2935d1b1d8 glibc: Fix missing randomness in __gen_tempname
Backport the fix for glibc bug 32214.

The missing randomness in early boot may cause some systemd services
to fail when they occasionally try to create tempdirs like
/run/systemd/namespace-aaaaaa at the same time.
The error messages can contain things like
"Failed to set up mount namespacing".

(From OE-Core rev: 92cc48d51c763249b2eb8b4181bc20056fc72264)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
aszh07
26e83c3ca2 ffmpeg: Add "libswresample libavcodec" to CVE_PRODUCT
Currently, CVE_PRODUCT only detects vulnerabilities where the product is "ffmpeg".

However, there are also vulnerabilities where the product is "libswresample",
and "libavcodec" as shown below.
https://app.opencve.io/vendors/?vendor=ffmpeg

Therefore, add "libswresample libavcodec" to CVE_PRODUCT to detect vulnerabilities
where the product is "libswresample libavcodec" as well.

(From OE-Core rev: 0b0299415ec719bb4c3764dfa0740e4ff6cc0362)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9684eba5c543de229108008e29afd1dd021a9799)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Khem Raj
84bb73b74a ffmpeg: Disable asm optimizations on x86
disable asm code if PIC is required, as the provided asm
decidedly is not PIC for x86.

(From OE-Core rev: 03c20ece58f4368ff95241e90063269f75e1b81d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 941fc40ca971f87e61c19e5a0703caa304ec7547)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Ross Burton
2f866930d9 ffmpeg: no need for textrel INSANE_SKIP
It appears in testing that modern ffmpeg no longer needs to disable PIC,
so there's no need to ignore textrel warnings.

(From OE-Core rev: 6eebf4c2a9b5d30cf5145df61f1713ec1a6ce91a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98d577fef75d54a59eeacaabb4a45e44b2f6832e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Ross Burton
9c4e3fe7dc ffmpeg: nasm is x86 only, so only DEPEND if x86
No need to depend on nasm if we're not going to use it.

(From OE-Core rev: 0830e65afc2e7d828ae1667addb6f7499ea8ddd0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b99ea7f130c3f945af9a09a6ecf85b6ff8f4b710)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Wang Mingyu
3148ccf972 orc: upgrade 0.4.39 -> 0.4.40
Changelog:
===========
- Security: Minor follow-up fixes for CVE-2024-40897
- powerpc: fix div255w which still used the inexact substitution
- x86: work around old GCC versions (pre 9.0) having broken xgetbv
  implementations
- x86: consider MSYS2/Cygwin as Windows for ABI purposes only
- x86: handle unnatural and misaligned array pointers
- orccodemem: Assorted memory mapping fixes
- Fix include header use from C++
- Some compatibility fixes for Musl
- ppc: Disable VSX and ISA 2.07 for Apple targets
- ppc: Allow detection of ppc64 in Mac OS
- x86: Fix non-C11 typedefs
- meson: Fix detecting XSAVE on older AppleClang
- x86: try fixing AVX detection again by adding check for XSAVE
- Check return values of malloc() and realloc()

(From OE-Core rev: ad56908d308d6d51e2d0b3f258ea52cfe6bf0375)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed7e4eb12491968c5f962b7e89d557c2c6d86a33)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:26 -08:00
Rohini Sangam
93ecdebf0c vim: Upgrade 9.1.0698 -> 9.1.0764
This includes CVE-fix for CVE-2024-45306 and CVE-2024-47814

Changes between 9.1.0698 -> 9.1.0764
====================================
https://github.com/vim/vim/compare/v9.1.0698...v9.1.0764

(From OE-Core rev: d71af9599b8658fb5d7f5d2845ccf7a956588a3f)

Signed-off-by: Rohini Sangam <rsangam@mvista.com>
Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2f0e5e63399e544063c79b0b1f9555c820b0604c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-11 09:16:25 -08:00
Steve Sakoman
5465094be9 release-notes-4.0: update BB_HASHSERVE_UPSTREAM for new infrastructure
Public hashserver is now at hashserv.yoctoproject.org:8686

(From yocto-docs rev: 4716ef9098a297d3183efbbd2c477bc6b48df226)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Antonin Godard
7a5fd94f38 ref-manual: devtool-reference: document missing commands
Give a brief description for important commands that made it into
devtool or that were missing from this quick reference document.

(From yocto-docs rev: 349e1a5194e3497d29de25a788ff429496517c3c)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 6238adae1b072c9e09c558038d397dfac6ec109f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Antonin Godard
d30cf8a367 ref-manual: devtool-reference: refresh example outputs
Previous outputs were missing some commands and options, some others
were obsolete.

(From yocto-docs rev: 82e374974424f91d2bd59d86414e19b0297de82f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1c83037707b4c981a70c968ba04ded502f9bffbf)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Antonin Godard
6eb6b5bd58 ref-manual: release-process: add a reference to the doc's release
When reading the stable releases section, we want to know for which
release the documentation was built. Use &DISTRO_NAME; to refer to the
current release.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: da11223e77e3bfae79806cb9522fae03446dbf41)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 05ee6844d710beb844bbdac892888879847f6d22)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Antonin Godard
166d96b98c ref-manual: release-process: update releases.svg with month after "Current"
This way we put a timestamp on the image, so that someone looking at the
image on an old release tarball has a representation of the release "as
of <date>".

Here set "Oct. 24" as it was the last time the file was updated.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 5c933f4d5f1680b25e593fafa429870bbb52ecb2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 7b62bbec900bc84a31e4686839e774ba7bd5ae9f)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Jose Quaresma
77be470ec3 oeqa/selftest: Update the BB_HASHSERVE_UPSTREAM
(From OE-Core rev: d5ba3f78f340d4627cf33eca14969d61b00f5766)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Richard Purdie
91c6303228 bitbake: tests/fetch: Use our own mirror of mobile-broadband-provider to decouple from gnome gitlab
GNOME gitlab has occasional downtime which impacts bitbake-selftest
and causes autobuilder failures. Switch to our own mirror for test
purposes to avoid those issues.

(Bitbake rev: 44c4c487e09a383bd7c1d195cb63b7f06c17ac2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 91e268b11ed683bd197026f9b36001f6d54ee05c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Richard Purdie
4037852628 bitbake: tests/fetch: Use our own mirror of sysprof to decouple from gnome gitlab
GNOME gitlab has occasional downtime which impacts bitbake-selftest
and causes autobuilder failures. Switch to our own mirror for test
purposes to avoid those issues.

(Bitbake rev: d6b76a928ed4ffe8bb1b425f02077ce8554d0fbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 008808755ed6cfeb6c41273e69ce718f0833c26c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Robert Yang
26faea17ca bitbake: gitsm: Remove downloads/tmpdir when failed
The tmpdir such as downloads/tmplp3cnemv won't be removed without this fix.

(Bitbake rev: 03387d4f60cbf2ae93bb48d53688fa71197f5179)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ba8d3214759142afc11f0a88d80eb30a8bcde3a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:08 -07:00
Robert Yang
8509d1158d bitbake: gitsm: Add call_process_submodules() to remove duplicated code
There are 14 lines can be removed, and can make it easy to maintain.

(Bitbake rev: a6a5de754494128512ccbc8ce62ec24364fd1bb8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ea2c1ac079d63349407a69172ff80cd9acc7252)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:07 -07:00
Jose Quaresma
bb5c3abffb bitbake: bitbake: doc/user-manual: Update the BB_HASHSERVE_UPSTREAM
(Bitbake rev: 0531ae3caaa0ff007d263964e4cdff3f7c8b25b9)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-11-02 06:15:07 -07:00
Lee Chee Yang
ecc98e3c14 migration-guide: add release notes for 4.0.22
(From yocto-docs rev: f490f72b7356ae2564ca6b3f7e4f1ee515f12608)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 9563855ccd92e21fb6f8320c96a3a83e115c947e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:04 -07:00
Antonin Godard
c5b9300e55 ref-manual: release-process: refresh the current LTS releases
Mention that Scarthgap the latest LTS in a bullet list next to
Kirkstone. Reword the parapraph a bit to make it clearer after this
change.

Reviewed-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
(From yocto-docs rev: 7d19dd0d5cc2037b8ad48d89633ae073c13586a9)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit afeded9939777d88bf4cb9ebf7a61aadd476642d)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:04 -07:00
Antonin Godard
91d764a376 ref-manual: release-process: update releases.svg
* Add Walnascar release.
* Remove dunfell, gatesgarth, hardknott, honister: these release are not
  supported anymore. Start from kirkstone, which is still supported.

(From yocto-docs rev: 78f5cc6c6033477ddd253d53146481e9b885d271)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit aa9a580c8c57af4baa4fb24a43487fb7afc258e5)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:04 -07:00
Antonin Godard
eca314a5c8 ref-manual: faq: add q&a on class appends
Add the suggestion by Richard to the FAQ, with some minor rewordings and
additional punctuations.

Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 7de91ada04715103776497971b34d28f24f7148a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 2466a5e7973bf6e724f1cf0b42f838065847d283)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
60f7d7e6bf overview-manual: concepts: add details on package splitting
The package splitting section of the overview manual currently lacks any
explanation of how package splitting is implemented and redirects to
the package class, which is not really understandable for newcomers to
the project.

This patch adds a short explanation of what is done:

* How the PACKAGES variable is defined.
* How the FILES variable is defined.
* How the two work together.
* How to add a custom package.

This should give enough details to a new user on what package splitting
achieves and how to add a custom package.

Adresses [YOCTO #13225]

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: fe96edac4bf17915d1d301f9122ce7ae981fe0da)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 143c3cacdec36c9d7ab81c89bbcc12c0c3936bd9)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
5dcd6b86e9 ref-manual: structure.rst: document missing tmp/ dirs
Document `hosttools/`, `pkgdata/` and add some more information on
`work-shared/`.

Adresses [YOCTO #14543].

Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: e1ac30dfffddab6e82c708486f8a31f9ec4b1d58)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 372b5b4ca55819c294970b20aa8b8d8167144329)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
94d3814f81 release-notes-5.1: add beaglebone-yocto parselogs test oeqa failure
The beaglebone-yocto currently fails the parselogs runtime test. For
details see: https://bugzilla.yoctoproject.org/show_bug.cgi?id=15624

Reported-by: Ross Burton <Ross.Burton@arm.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 1185f92c0f4a80b69759c944f74673aa6d6bb35a)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 295e45d17658c8f47a87163be7fc7b6327c3fa4c)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Niko Mauno
59a0d5753c docs: Replace VOLATILE_TMP_DIR with FILESYSTEM_PERMS_TABLES
The VOLATILE_TMP_DIR variable was removed and it's functionality
replaced with a FILESYSTEM_PERMS_TABLES entry in
https://git.yoctoproject.org/poky/commit/?id=2f46b6f27dfa3a9d5ad177900fcecfe64c3536f1
("bitbake.conf: drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead")

(From yocto-docs rev: 92aef324d06f1f257fc3896b63c4c744d19c0853)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1ef0eabaa07cc39075a040b99a5c11567d745408)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Niko Mauno
61b6825c5f docs: Replace VOLATILE_LOG_DIR with FILESYSTEM_PERMS_TABLES
The VOLATILE_LOG_DIR variable was removed and it's functionality
replaced with a FILESYSTEM_PERMS_TABLES entry in
https://git.yoctoproject.org/poky/commit/?id=2f8806deb7655b37d6f8d12ff54680d6acf7a298
("bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead")

(From yocto-docs rev: 8632cd1070da26f217046071c43dd2f877f2e608)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit b1c22561878ba618eb69e4c8784ea346b989a0ea)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Robert Yang
c07ed6edcd release-notes-5.0.rst: NO_OUTPUT -> NO_COLOR
(From yocto-docs rev: bcbbad8a4466551411688b9d65b01cc8b604a8d6)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(cherry picked from commit ac4c4455d40dc0852d95461a3a10d687d2aedd6e)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
b1abf5f3b1 ref-manual: fix ordering of insane checks list
It should be before "perllocalpod" and after "patch-status".

Reported-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 96ff6bd571a185b4e2c6174f2cc937994efe4cd5)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 1304b899cd4480f80eaeb6e58d57e87d3d2f6911)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
24a08a4d0b release-notes-5.1: fix spdx bullet point
(From yocto-docs rev: d1883cb915ac16466bc72ddc9cd7b27d902f5551)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Reported-by: Quentin Schulz <quentin.schulz@cherry.de>
(cherry picked from commit c3bcbd847779afe78ff7e4345c9a5c61b3321975)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Peter Kjellerstedt
0c02f87d31 image.bbclass: Drop support for ImageQAFailed exceptions in image_qa
After commit 905e224849fbbed1719e0add231b00e2d570b3b4 (image_qa: fix
error handling), any unexpected exceptions in do_image_qa() would result
in a variable being set, but never used, effectively hiding the error.

Since image_qa now calls oe.qa.exit_if_errors(), remove the support for
oe.utils.ImageQAFailed and instead rely on the called functions to call
oe.qa.handle_error() themselves. This matches what do_package_qa() does.

Also update the description of do_image_qa() to explain that the called
functions are expected to call oe.qa.handle_error() themselves.

[ YOCTO #15601 ]

(From OE-Core rev: c00ad42b6a26ceb7a2878ed2c7f6c2821fe513cc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c3e111c965af2bc56533633c376b70b7fa5e1de)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Niko Mauno
9daf5c5cf5 bitbake.conf: Mark VOLATILE_TMP_DIR as obsolete
This variable was removed in
https://git.yoctoproject.org/poky/commit/?id=2f46b6f27dfa3a9d5ad177900fcecfe64c3536f1
("bitbake.conf: drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead")
so ensure that distributions become aware that it no longer has any
effect.

(From OE-Core rev: ec032dd13a19e4d4a332f06ace87f1f02143c3b2)

(From OE-Core rev: a2b419d123b76594879da740eb665397929f70e0)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Niko Mauno
14fdf7b3a6 bitbake.conf: Mark VOLATILE_LOG_DIR as obsolete
This variable was removed in
https://git.yoctoproject.org/poky/commit/?id=2f8806deb7655b37d6f8d12ff54680d6acf7a298
("bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead")
so ensure that distributions become aware that it no longer has any
effect.

(From OE-Core rev: a951a900ce459191a9796a7069a1d3b658dda88f)

(From OE-Core rev: fe1d653d094f006509c8b2aee3eafc5118be1ab3)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Sergei Zhmylev
034931764d lsb-release: fix Distro Codename shell escaping
(From OE-Core rev: 168bed0e3d339ec75973faa682d47269ec96d599)

Signed-off-by: Sergei Zhmylev <s.zhmylev@yadro.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7b5824c547b1348713e992a8bebd40577a0c5709)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Jonas Gorski
5d72a3a770 rootfs-postcommands.bbclass: make opkg status reproducible
opkg stores the current time as Installed-Time in its status file when
installing packages to the rootfs. Make this reproducible by replacing
Installed-Time with ${REPRODUCIBLE_TIMESTAMP_ROOTFS}, which then also
matches the files' datestamps.

Based on OpenWrt's approach for the issue [1].

[1] https://github.com/openwrt/openwrt/blob/main/include/rootfs.mk#L103

(From OE-Core rev: 80b279f18230208c6cc258ddf6a6e6dd3f8c9d79)

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 61a9b1b1cb618ce90ba7886036f41263075c07df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Ross Burton
c3de683380 icu: update patch Upstream-Status
(From OE-Core rev: 0accc87026a135246ba33ee92ebe215cdd0a5959)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 717eb63df55f11d3eb4353ae1364a5781adfce76)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Chen Qi
a78f903a5f json-c: avoid ptest failure caused by valgrind
json-c's ptest will automatically detect valgrind and use it to run
tests. This will fail in case valgrind does not work, e.g., intel-x86-64
(corei7-64) + lib32 image. The error is about illegal instruction.
Error message is like below:

  Illegal instruction     (core dumped) valgrind --tool=memcheck ...
  ERROR: "test1Formatted spaced pretty" exited with non-zero exit status: 132

So we explicitly disable valgrind by exporting USE_VALGRIND=0.

(From OE-Core rev: 78160463259ac3be6de380d12b8cd6159162792b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0429a278e39b7a2846144bcc3fcc24ca298cab7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Richard Purdie
8113fd2dc1 binutils: Fix binutils mingw packaging
Use SOLIBSDEV in FILES to fix nativesdk-binutils packaging on mingw
builds.

(From OE-Core rev: 3e953bbf59ed4bd08e40403fb4506dfc35a58f92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cba58ab2f380252f231fc78944499ade65e32223)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Daniel McGregor
46b4d4c257 libpam: use libdir in conditional
Using the usrmerge distro feature for this check causes the -native
variant's build to fail. Simplify the test to be correct for both
native and target builds.

(From OE-Core rev: ba11742291bccc9ac4d30ca85b058576cbc17427)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 105e6fbdd28238cef41f280c0c28939b24d1a96e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Harish Sadineni
80e1dff59f binutils: Add missing perl modules to RDEPENDS for nativsdk variant
In SDK, missing perl modules causes 'x86_64-pokysdk-linux-gp-display-html --help' to abort with below errors..
  - Can't locate bignum.pm in @INC (you may need to install the feature module).
  - Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)

By adding the following perl modules to RDEPENDS fixes the above errors:
  nativesdk-perl-module-bignum
  nativesdk-perl-module-bigint
  nativesdk-perl-module-math-bigint

(From OE-Core rev: 75773577d8dd9c9d61aa039e1da2482c064c666a)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05f1099acbbb10b6ce33ea117d313749f7dc4a47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Khem Raj
2b82219880 qemu: Fix build on musl/riscv64
musl does not provide strerrorname_np() so do not use it.

(From OE-Core rev: 36b05346e63f9885da45a3c3a06ad5f6a5cd905c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d7678118af5aa4bfbf6fb72b34f90a1e37b917c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Khem Raj
90404038a9 bluez: Fix mesh builds on musl
When mesh is enabled on musl the build fails with conflicting basename
calls.

(From OE-Core rev: bab3e883cb770ef9fc28c002a98efd0ca5cbf60d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2db90c6508e350d35782db973291bbf5ffdfd3a5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Harish Sadineni
98257584a9 oeqa/selftest/gcc: Fix kex exchange identification error
while runnig oe-selftest for gcc, some of the testcases that need to be run on qemu
are not running due to below failures:
- kex_exchange_identification: read: Connection reset by peer^M
   Connection reset by 192.168.7.2 port 22^M
   ERROR: Couldn't create remote directory /tmp/runtest.3549814 on ssh

To resolve kex exchange identification error increased the MaxStartups.

(From OE-Core rev: 971d63d5b4982ce9ef4c4be742ba83a9708267da)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df64d5ab6eb37dcdc2046f449ec539a3f4b985c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Purushottam Choudhary
7b10822d32 kmscube: Upgrade to latest revision
Upgrade to the latest kmscube revision.

Changelog:
b2f97f5 common: fix cast type in init_egl()
4961a04 gst-decoder.c: switch to decodebin3
d12ba65 kmscube: warn of missing mode argument in offscreen renders

(From OE-Core rev: 42ddd6d531dd4925a3fcd9515674e3aab3ee211c)

Signed-off-by: Purushottam Choudhary <purushottam27.kumar@lge.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Wang Mingyu
0e5dc60deb libevdev: upgrade 1.13.2 -> 1.13.3
Changelog:
 include: sync event codes with kernel 6.10

(From OE-Core rev: 1a364569ca82adf39d2b5c44e8666e64d281d51a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c0167807a9c681b24f3025e6e762df1b3c97157)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Wang Mingyu
a6e5a0bf50 git: upgrade 2.46.0 -> 2.46.1
Changelog:
==============
 * "git checkout --ours" (no other arguments) complained that the
   option is incompatible with branch switching, which is technically
   correct, but found confusing by some users.  It now says that the
   user needs to give pathspec to specify what paths to checkout.
 * It has been documented that we avoid "VAR=VAL shell_func" and why.
 * "git add -p" by users with diff.suppressBlankEmpty set to true
   failed to parse the patch that represents an unmodified empty line
   with an empty line (not a line with a single space on it), which
   has been corrected.
 * "git rebase --help" referred to "offset" (the difference between
   the location a change was taken from and the change gets replaced)
   incorrectly and called it "fuzz", which has been corrected.
 * "git notes add -m '' --allow-empty" and friends that take prepared
   data to create notes should not invoke an editor, but it started
   doing so since Git 2.42, which has been corrected.
 * An expensive operation to prepare tracing was done in re-encoding
   code path even when the tracing was not requested, which has been
   corrected.
 * Perforce tests have been updated.
 * The credential helper to talk to OSX keychain sometimes sent
   garbage bytes after the username, which has been corrected.
 * A recent update broke "git ls-remote" used outside a repository,
   which has been corrected.
 * "git config --value=foo --fixed-value section.key newvalue" barfed
   when the existing value in the configuration file used the
   valueless true syntax, which has been corrected.
 * "git reflog expire" failed to honor annotated tags when computing
   reachable commits.
 * A flakey test and incorrect calls to strtoX() functions have been
   fixed.

 * Follow-up on 2.45.1 regression fix.
 * "git rev-list ... | git diff-tree -p --remerge-diff --stdin" should
   behave more or less like "git log -p --remerge-diff" but instead it
   crashed, forgetting to prepare a temporary object store needed.
 * The patch parser in "git patch-id" has been tightened to avoid
   getting confused by lines that look like a patch header in the log
   message.
 * "git bundle unbundle" outside a repository triggered a BUG()
   unnecessarily, which has been corrected.
 * The code forgot to discard unnecessary in-core commit buffer data
   for commits that "git log --skip=<number>" traversed but omitted
   from the output, which has been corrected.
 * "git verify-pack" and "git index-pack" started dying outside a
   repository, which has been corrected.
 * A corner case bug in "git stash" was fixed.

(From OE-Core rev: 46298bda0ac17750d5a120be21feaef2407da7ee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee7e9866ad942a9682e54878f1e7fb06c68c8cf4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
1ef69a9a3d linux-yocto/6.10: update to v6.10.14
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    47c2f92131c4 Linux 6.10.14
    aa8086f899a7 perf python: Allow checking for the existence of warning options in clang
    df8d896f8f94 drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_link_enc before using it
    e34ddcce0066 perf report: Fix segfault when 'sym' sort key is not used
    8ba850ac0c32 drm/amd/display: Revert Avoid overflow assignment
    a97a22bb688c crypto: octeontx* - Select CRYPTO_AUTHENC
    41e7dd6fb6f8 ALSA: control: Fix leftover snd_power_unref()
    00fb5b23e1c9 vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()
    56e415202b8a rxrpc: Fix a race between socket set up and I/O thread creation
    4a5dac62c172 drm/sched: revert "Always increment correct scheduler score"
    a3ab4e7e10ae Revert "drm/amd/display: Skip Recompute DSC Params if no Stream on Link"
    45b13bbd89cf drm/rockchip: vop: enable VOP_FEATURE_INTERNAL_RGB on RK3066
    ca26e8eed9c1 ACPI: battery: Fix possible crash when unregistering a battery hook
    31ffdcb2b302 ACPI: battery: Simplify battery hook locking
    92bc8647b4d6 r8169: add tally counter fields added with RTL8125
    865310fc5b57 r8169: Fix spelling mistake: "tx_underun" -> "tx_underrun"
    9360b0f5dbcd iio: pressure: bmp280: Fix waiting time for BMP3xx configuration
    a257fd6b4112 iio: pressure: bmp280: Fix regmap for BMP280 device
    5e8419cb858b iio: pressure: bmp280: Use BME prefix for BME280 specifics
    68dc17268d02 iio: pressure: bmp280: Improve indentation and line wrapping
    de4d873a7932 remoteproc: k3-r5: Delay notification of wakeup event
    c1ea59b64cf7 remoteproc: k3-r5: Acquire mailbox handle during probe routine
    207f1c8c86e4 RDMA/mana_ib: use the correct page table index based on hardware page size
    76024ae302c6 net: mana: Add support for page sizes other than 4KB on ARM64
    b4e21431a0db NFSD: Limit the number of concurrent async COPY operations
    d0969746d33b NFSD: Async COPY result needs to return a write verifier
    17c0cbfd2274 sunrpc: change sp_nrthreads from atomic_t to unsigned int.
    49430bda7c68 sched: psi: fix bogus pressure spikes from aggregation race
    272b0e788745 drm/xe: fix UAF around queue destruction
    baa6301d8257 drm/xe: Delete unused GuC submission_state.suspend
    52372cc28bac lib/buildid: harden build ID parsing logic
    ec580d6742c7 build-id: require program headers to be right after ELF header
    1665af776b64 drm/amd/display: Allow backlight to go below `AMDGPU_DM_DEFAULT_MIN_BACKLIGHT`
    8a2f4f156ab4 mm: z3fold: deprecate CONFIG_Z3FOLD
    2aa45f43709b uprobes: fix kernel info leak via "[uprobes]" vma
    94f87d63613a arm64: errata: Expand speculative SSBS workaround once more
    03ddc3ec9600 arm64: cputype: Add Neoverse-N3 definitions
    830a573b87cf kconfig: qconf: fix buffer overflow in debug links
    c0bdc6c6a97c cpufreq: intel_pstate: Make hwp_notify_lock a raw spinlock
    73e441be033d drm/amd/display: Fix system hang while resume with TBT monitor
    945dc25eda88 drm/amd/display: update DML2 policy EnhancedPrefetchScheduleAccelerationFinal DCN35
    c28331512f4e drm/amd/display: Add HDR workaround for specific eDP
    c09c425d25a1 drm/sched: Always increment correct scheduler score
    d607eca401a7 drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job
    48e3cf7af76c drm/sched: Add locking to drm_sched_entity_modify_sched
    ac44fecf0a56 drm/sched: Fix dynamic job-flow control race
    9c8c396ba700 drm/panthor: Don't declare a queue blocked if deferred operations are pending
    ac2ca5e5148a drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()
    a3a1c41da56f drm/panthor: Don't add write fences to the shared BOs
    7f23b5fbcddd drm/i915/gem: fix bitwise and logical AND mixup
    c11b0737d0e0 close_range(): fix the logics in descriptor table trimming
    798130704be6 firmware/sysfb: Disable sysfb for firmware buffers with unknown parent
    f753ba8670f4 rtla: Fix the help text in osnoise and timerlat top tools
    3670051acbca tracing/timerlat: Fix duplicated kthread creation due to CPU online/offline
    a0d9c0cd5856 tracing/timerlat: Fix a race during cpuhp processing
    09cb44cc3d3d tracing/timerlat: Drop interface_lock in stop_kthread()
    0a675c6c7e33 tracing/hwlat: Fix a race during cpuhp processing
    1d9af0f544de ceph: fix cap ref leak via netfs init_request
    83fde8356b41 io_uring/net: harden multishot termination case for recv
    540138377b22 mac802154: Fix potential RCU dereference issue in mac802154_scan_worker
    ad7adfb95f64 Bluetooth: hci_event: Align BR/EDR JUST_WORKS paring with LE
    01feafd82a68 net: pcs: xpcs: fix the wrong register that was written back
    765f033f26a9 gpio: davinci: fix lazy disable
    77f88b17387a cpufreq: Avoid a bad reference count on CPU node
    bf0de0f9a054 btrfs: wait for fixup workers before stopping cleaner kthread during umount
    1053475c4af8 btrfs: send: fix invalid clone operation for file that got its size decreased
    4f255c6c3204 btrfs: drop the backref cache during relocation if we commit
    dc02c1440705 btrfs: fix a NULL pointer dereference when failed to start a new trasacntion
    b5885bedfa27 ACPI: resource: Add Asus ExpertBook B2502CVA to irq1_level_low_skip_override[]
    bd0568841b58 ACPI: resource: Add Asus Vivobook X1704VAP to irq1_level_low_skip_override[]
    c500dc3ef5c1 ACPI: resource: Loosen the Asus E1404GAB DMI match to also cover the E1404GA
    9eb7d786c80a ACPI: resource: Remove duplicate Asus E1504GAB IRQ override
    1589c4116810 ACPI: video: Add backlight=native quirk for Dell OptiPlex 5480 AIO
    e4a28489b310 cachefiles: fix dentry leak in cachefiles_open_file()
    2a9d0d2db804 Input: adp5589-keys - fix adp5589_gpio_get_value()
    9a38791ee79b Input: adp5589-keys - fix NULL pointer dereference
    0e774fb34d7b rtc: at91sam9: fix OF node leak in probe() error path
    e297a2bf56d1 net: stmmac: Fix zero-division error when disabling tc cbs
    e9cf96d3d036 tomoyo: fallback to realpath if symlink's pathname does not exist
    33e28acf42ee gso: fix udp gso fraglist segmentation after pull from frag_list
    3fdd8c83e83f net: gso: fix tcp fraglist segmentation after pull from frag_list
    8c9381b31382 vrf: revert "vrf: Remove unnecessary RCU-bh critical section"
    0072322c6fe2 iio: magnetometer: ak8975: Fix reading for ak099xx sensors
    23521aadc6e2 smb3: fix incorrect mode displayed for read-only files
    51cf4e5ad134 smb: client: use actual path when queryfs
    3dd3b564535c clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL
    0e2e46d4e5cb clk: qcom: gcc-sc8180x: Fix the sdcc2 and sdcc4 clocks freq table
    6ab44e53a67f media: qcom: camss: Fix ordering of pm_runtime_enable
    1081881be9b1 clk: qcom: gcc-sc8180x: Add GPLL9 support
    a975db8aea15 media: qcom: camss: Remove use_count guard in stop_streaming
    cefa27681fa6 clk: qcom: gcc-sm8250: Do not turn off PCIe GDSCs during gdsc_disable()
    d925e9f7fb5a media: venus: fix use after free bug in venus_remove due to race condition
    9fff37bc82b5 clk: qcom: gcc-sm8150: De-register gcc_cpuss_ahb_clk_src
    0e595d3f9927 clk: samsung: exynos7885: Update CLKS_NR_FSYS after bindings fix
    58cdc0e79ece clk: qcom: clk-rpmh: Fix overflow in BCM vote
    1127647741e4 dt-bindings: clock: qcom: Add GPLL9 support on gcc-sc8180x
    6e9086eba618 media: uapi/linux/cec.h: cec_msg_set_reply_to: zero flags
    a854c234d8f3 clk: qcom: gcc-sm8450: Do not turn off PCIe GDSCs during gdsc_disable()
    eae177533046 media: sun4i_csi: Implement link validate for sun4i_csi subdev
    1aec8446c734 clk: qcom: dispcc-sm8250: use CLK_SET_RATE_PARENT for branch clocks
    89c7fedd0e13 media: videobuf2: Drop minimum allocation requirement of 2 buffers
    afd102bde99d remoteproc: k3-r5: Fix error handling when power-up failed
    7a6c6ccab3d8 clk: rockchip: fix error for unknown clocks
    710fd3d1cdd0 media: ov5675: Fix power on/off delay timings
    617c1b60f3df media: imx335: Fix reset-gpio handling
    89d9a69ae0c6 aoe: fix the potential use-after-free problem in more places
    1b1ba6d62835 riscv: Fix kernel stack size when KASAN is enabled
    f70f801f90c0 drivers/perf: riscv: Align errno for unsupported perf event
    0b8e9f0e43f4 RDMA/mana_ib: use the correct page size for mapping user-mode doorbell page
    51d7f1049234 sysctl: avoid spurious permanent empty tables
    4318998892bf i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition
    e91d86e8537a NFSD: Fix NFSv4's PUTPUBFH operation
    c76005adfa93 nfsd: map the EBADMSG to nfserr_io to avoid warning
    c1bc9d523695 nfsd: fix delegation_blocked() to block correctly for at least 30 seconds
    d18bb644d6c6 perf hist: Update hist symbol when updating maps
    a2bb1edc4468 perf python: Disable -Wno-cast-function-type-mismatch if present on clang
    dca359db1eb3 exfat: fix memory leak in exfat_load_bitmap()
    c2e629efd6a6 riscv: define ILLEGAL_POINTER_VALUE for 64bit
    d6b7fb7e01f9 sched/core: Clear prev->dl_server in CFS pick fast path
    24dabf0b142c sched/core: Add clearing of ->dl_server in put_prev_task_balance()
    62ee1dae878d sched/deadline: Comment sched_dl_entity::dl_server variable
    2ea0e186c686 arm64: Subscribe Microsoft Azure Cobalt 100 to erratum 3194386
    16e7c0ac7bc3 arm64: fix selection of HAVE_DYNAMIC_FTRACE_WITH_ARGS
    a77fd5c22431 scripts/gdb: fix lx-mounts command error
    912edbfd31c6 scripts/gdb: add iteration function for rbtree
    8ad3ce94c971 scripts/gdb: fix timerlist parsing issue
    46b1edf0536a ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate
    f60e94a83db7 ocfs2: fix null-ptr-deref when journal load failed.
    df4f20fc3673 ocfs2: remove unreasonable unlock in ocfs2_read_blocks
    a4346c04d055 ocfs2: cancel dqi_sync_work before freeing oinfo
    9f9a8f3ac65b ocfs2: reserve space for inline xattr before attaching reflink tree
    5af5cd893818 ocfs2: fix uninit-value in ocfs2_get_block()
    ed789ef13079 ocfs2: fix the la space leak when unmounting an ocfs2 volume
    73388659ef0e mm: krealloc: consider spare memory for __GFP_ZERO
    e58e570a88f0 jbd2: correctly compare tids with tid_geq function in jbd2_fc_begin_commit
    3ced0fe6c0ef jbd2: stop waiting for space when jbd2_cleanup_journal_tail() returns error
    06ff97a20b8c resource: fix region_intersects() vs add_memory_driver_managed()
    0d71916694ac drm: omapdrm: Add missing check for alloc_ordered_workqueue
    0efd44eae47a of/irq: Support #msi-cells=<0> in of_msi_get_domain
    c5caf2527fe4 of: address: Report error on resource bounds overflow
    5961191edfc4 drm/rockchip: vop: clear DMA stop bit on RK3066
    1977bef83b70 parisc: Fix stack start for ADDR_NO_RANDOMIZE personality
    348f2b824a47 parisc: Allow mmap(MAP_STACK) memory to automatically expand upwards
    decde7c9fd1b parisc: Fix 64-bit userspace syscall path
    0d80d2b8bf61 ext4: fix off by one issue in alloc_flex_gd()
    e83d426186be ext4: mark fc as ineligible using an handle in ext4_xattr_set()
    b2b7dc103685 ext4: use handle to mark fc as ineligible in __track_dentry_update()
    04b32feef487 ext4: fix fast commit inode enqueueing during a full journal commit
    e0f8f7af8a69 ext4: fix incorrect tid assumption in jbd2_journal_shrink_checkpoint_list()
    33841ebb9f9f ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
    b63481b3a388 ext4: update orig_path in ext4_find_extent()
    d157fc20ca52 ext4: fix access to uninitialised lock in fc replay path
    fa78fb51d396 ext4: fix timer use-after-free on failed mount
    7633407ca4ab ext4: fix double brelse() the buffer of the extents path
    beb7b66fb489 ext4: aovid use-after-free in ext4_ext_insert_extent()
    3ff710662e8d ext4: drop ppath from ext4_ext_replay_update_ex() to avoid double-free
    40eae11eb476 ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
    a9f331f51515 ext4: dax: fix overflowing extents beyond inode size when partially writing
    7091e216e12c ext4: fix incorrect tid assumption in ext4_fc_mark_ineligible()
    870a959d1928 ext4: propagate errors from ext4_find_extent() in ext4_insert_range()
    5d949ea75bb5 ext4: fix slab-use-after-free in ext4_split_extent_at()
    8083a0bcdaea ext4: correct encrypted dentry name hash when not casefolded
    fe192515d293 ext4: no need to continue when the number of entries is 1
    6de827d2059d ALSA: hda/realtek: Add a quirk for HP Pavilion 15z-ec200
    1a87bb170d93 ALSA: hda/realtek: Add quirk for Huawei MateBook 13 KLV-WX9
    787c2b346120 ALSA: hda/realtek: fix mute/micmute LED for HP mt645 G8
    3eef9a4f5b7d ALSA: line6: add hw monitor volume control to POD HD500X
    3751064c3815 ALSA: usb-audio: Add native DSD support for Luxman D-08u
    2376dec1c21a ALSA: usb-audio: Add delay quirk for VIVO USB-C HEADSET
    2894ff782f10 ALSA: core: add isascii() check to card ID generator
    017915575037 ALSA: hda/tas2781: Add new quirk for Lenovo Y990 Laptop
    4a4d08b06901 drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
    8800db8d27e4 drm/mediatek: ovl_adaptor: Add missing of_node_put()
    288191fe9d66 parisc: Fix itlb miss handler for 64-bit programs
    3e50d72abe50 drm/v3d: Prevent out of bounds access in performance query extensions
    3b485889fb3f perf/core: Fix small negative period being ignored
    7a2e823a1974 mm, slub: avoid zeroing kmalloc redzone
    b883182a7eaa power: supply: hwmon: Fix missing temp1_max_alarm attribute
    7688586d0562 spi: bcm63xx: Fix missing pm_runtime_disable()
    bcbbd8b45de3 spi: bcm63xx: Fix module autoloading
    8ad8fff75692 dt-bindings: clock: exynos7885: Fix duplicated binding
    7cd1ce71227f memory: tegra186-emc: drop unused to_tegra186_emc()
    411ef1a96fbd firmware: tegra: bpmp: Drop unused mbox_client_to_bpmp()
    cea4f54ad411 ovl: fail if trusted xattrs are needed but caller lacks permission
    18e9c282472a rust: sync: require `T: Sync` for `LockedBy::access`
    315114f46207 i2c: synquacer: Deal with optional PCLK correctly
    fa5f0091b39e i2c: designware: fix controller is holding SCL low while ENABLE bit is disabled
    9d1fa01dd17e i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
    24781e20fcdf i2c: core: Lock address during client device instantiation
    2423b60a2d6d media: i2c: ar0521: Use cansleep version of gpiod_set_value()
    8ade08a9039a i2c: xiic: Wait for TX empty to avoid missed TX NAKs
    1e03cfffa5fd i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
    fac3c9f7784e i2c: stm32f7: Do not prepare/unprepare clock during runtime suspend/resume
    bbefa2376a5f KVM: arm64: Fix kvm_has_feat*() handling of negative features
    cebc705b097d platform/x86: ISST: Fix the KASAN report slab-out-of-bounds bug
    f08adc5177bd platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors
    6a1fe876e291 Revert "ALSA: hda: Conditionally use snooping for AMD HDMI"
    b72b40cd784f f2fs: forcibly migrate to secure space for zoned device file pinning
    6f483e0b7b45 f2fs: do FG_GC when GC boosting is required for zoned devices
    a9881ee31f82 f2fs: increase BG GC migration window granularity when boosted for zoned devices
    31a6f6f44c67 f2fs: introduce migration_window_granularity
    1219cbb0b3d1 f2fs: make BG GC more aggressive for zoned devices
    cc1c9708740f selftests: vDSO: fix vdso_config for s390
    1668c4efa7aa selftests: vDSO: fix ELF hash table entry size for s390x
    7270e5f957fa powerpc/vdso: Fix VDSO data access when running in a non-root time namespace
    9f6e7a0512a5 f2fs: fix to don't panic system for no free segment fault injection
    d26056f9f2b8 f2fs: add write priority option based on zone UFS
    f877cda18a28 nvme-tcp: fix link failure for TCP auth
    d729ba02b1de selftests/mm: fix charge_reserved_hugetlb.sh test
    59ff1b61070e selftests: vDSO: fix vDSO symbols lookup for powerpc64
    9189b421a395 selftests: vDSO: fix vdso_config for powerpc
    9d7926a7120b selftests: vDSO: fix vDSO name for powerpc
    6a1ab4a0745e drm/xe: Fix memory leak on xe_alloc_pf_queue failure
    ddf3e1ff1c2a drm/xe: fixup xe_alloc_pf_queue
    84a7fefc2b8c perf: Really fix event_function_call() locking
    8444283facf2 perf callchain: Fix stitch LBR memory leaks
    28f4ec89a9a4 ALSA: control: Fix power_ref lock order for compat code, too
    98ec87b3f90f spi: rpc-if: Add missing MODULE_DEVICE_TABLE
    3312f9c93174 accel/ivpu: Add missing MODULE_FIRMWARE metadata
    e8ecc1175860 selftests: breakpoints: use remaining time to check if suspend succeed
    d6713af2395e kselftest/devices/probe: Fix SyntaxWarning in regex strings for Python3
    b8f27f7c447a spi: s3c64xx: fix timeout counters in flush_fifo
    b0e689bf8727 selftest: hid: add missing run-hid-tools-tests.sh
    1753eaa877da spi: spi-cadence: Fix missing spi_controller_is_target() check
    954313740674 spi: spi-cadence: Fix pm_runtime_set_suspended() with runtime pm enabled
    9b61acfa6f75 spi: spi-imx: Fix pm_runtime_set_suspended() with runtime pm enabled
    c34d1aac8922 EINJ, CXL: Fix CXL device SBDF calculation
    4902a6a0dc59 bpf: Fix a sdiv overflow issue
    2e0f6f33f2aa bpftool: Fix undefined behavior in qsort(NULL, 0, ...)
    11292e2e1899 iomap: handle a post-direct I/O invalidate race in iomap_write_delalloc_release
    40d0abceb479 bpftool: Fix undefined behavior caused by shifting into the sign bit
    6252cb6bde7f ext4: fix i_data_sem unlock order in ext4_ind_migrate()
    8b114f2cc7dd ext4: avoid use-after-free in ext4_ext_show_leaf()
    3e3f232a0520 ext4: ext4_search_dir should return a proper error
    6e39a21ee2b8 bpf: Make the pointer returned by iter next method valid
    3e9c867f98d3 platform/x86: x86-android-tablets: Adjust Xiaomi Pad 2 bottom bezel touch buttons LED
    37ba0bcdc381 platform/mellanox: mlxbf-pmc: fix lockdep warning
    9fd3cde4628b ksmbd: add refcnt to ksmbd_conn struct
    8164e5fd1b23 HID: i2c-hid: ensure various commands do not interfere with each other
    957da521c66a tools/hv: Add memory allocation check in hv_fcopy_start
    c0032486b262 platform/x86: lenovo-ymc: Ignore the 0x0 state
    baf1632d595c drm/amdgpu/gfx10: use rlc safe mode for soft recovery
    bf817cb95e10 drm/amdgpu/gfx11: use rlc safe mode for soft recovery
    df590bff84b9 ovl: fsync after metadata copy-up
    0c3f429d6dea powerpc/pseries: Use correct data types from pseries_hp_errorlog struct
    f586dcfa9d64 of/irq: Refer to actual buffer size in of_irq_parse_one()
    7935f8204acc drm/xe: Drop warn on xe_guc_pc_gucrc_disable in guc pc fini
    13f83a0d5ac2 drm/amdkfd: Check int source id for utcl2 poison event
    8adf4408d482 drm/amd/pm: ensure the fw_info is not null before using it
    a67d874e7a04 drm/xe: Use topology to determine page fault queue size
    93a3f68a0f53 drm/amdgpu/gfx11: enter safe mode before touching CP_INT_CNTL
    2a82c59c8315 drm/amdgpu/gfx9: use rlc safe mode for soft recovery
    17a98c942cb1 drm/amdgpu: Block MMR_READ IOCTL in reset
    c26473000338 drm/radeon/r100: Handle unknown family in r100_cp_init_microcode()
    524e2b97298d scsi: NCR5380: Initialize buffer for MSG IN and STATUS transfers
    07f1dc009a93 perf: Fix event_function_call() locking
    5c990fc52893 drm/amdgpu: fix unchecked return value warning for amdgpu_atombios
    94d26a45d310 drm/amdgpu: fix unchecked return value warning for amdgpu_gfx
    4a98aa0cd5d7 scsi: lpfc: Update PRLO handling in direct attached topology
    e2e033a018d0 scsi: lpfc: Fix unsolicited FLOGI kref imbalance when in direct attached topology
    99a801e2fca3 scsi: lpfc: Validate hdwq pointers before dereferencing in reset/errata paths
    22a22f79a3e9 scsi: aacraid: Rearrange order of struct aac_srb_unit
    ef0487825734 perf,x86: avoid missing caller address in stack traces captured in uprobe
    1e0f4f9f8228 drm/printer: Allow NULL data in devcoredump printer
    bc00d211da4f drm/amd/display: Initialize get_bytes_per_element's default to 1
    26ced9d86240 drm/amd/display: Avoid overflow assignment in link_dp_cts
    677f6e91c667 drm/amdgpu/gfx9: properly handle error ints on all pipes
    578422ddae3d drm/amd/display: Fix index out of bounds in DCN30 color transformation
    2f5da549535b drm/amd/display: Fix index out of bounds in degamma hardware format translation
    f5c3d306de91 drm/amd/display: Fix index out of bounds in DCN30 degamma hardware format translation
    530e29452b95 drm/amd/display: Check link_res->hpo_dp_link_enc before using it
    5b4b13e678b1 drm/amd/display: Check stream before comparing them
    1decf695ce08 drm/amd/display: Check phantom_stream before it is used
    3fc70ae048fe drm/amd/display: Check null-initialized variables
    1f699de6f6e6 drm/stm: ltdc: reset plane transparency after plane disable
    3cb391adb345 platform/x86/amd: pmf: Add quirk for TUF Gaming A14
    1d91a9158e62 platform/x86: touchscreen_dmi: add nanote-next quirk
    7ec4ce28bcf9 HID: multitouch: Add support for Thinkpad X12 Gen 2 Kbd Portfolio
    81d083d693a8 drm/amdkfd: Fix resource leak in criu restore queue
    9270cf786959 drm/amdgpu: enable gfxoff quirk on HP 705G4
    fe19a7c6c03b drm/amdgpu: add raven1 gfxoff quirk
    7c244d5b4828 jfs: Fix uninit-value access of new_ea in ea_buffer
    9773737375b2 drm/msm/adreno: Assign msm_gpu->pdev earlier to avoid nullptrs
    14e5437010d2 scsi: smartpqi: add new controller PCI IDs
    b8ddd0d6f57e scsi: smartpqi: correct stream detection
    cb0eb1055880 jfs: check if leafidx greater than num leaves per dmap tree
    a9603a6f75df jfs: Fix uaf in dbFreeBits
    85dfc405938f jfs: UBSAN: shift-out-of-bounds in dbFindBits
    5ec731ef47f1 drm/amdgpu: add list empty check to avoid null pointer issue
    7af9e6fa63db drm/amd/display: fix double free issue during amdgpu module unload
    9132882eaae4 drm/amd/display: Add null check for 'afb' in amdgpu_dm_plane_handle_cursor_update (v2)
    3f7e533c10db drm/amd/display: Check null pointers before using dc->clk_mgr
    496486950c3d drm/amd/display: Add NULL check for function pointer in dcn32_set_output_transfer_func
    02411e935929 drm/amd/display: Add NULL check for function pointer in dcn20_set_output_transfer_func
    ec6c32b58e6c drm/amd/display: Handle null 'stream_status' in 'planes_changed_for_existing_stream'
    b68c60745482 HID: Ignore battery for all ELAN I2C-HID devices
    8d8c20739719 scsi: smartpqi: Add new controller PCI IDs
    28dda6748a7c ata: sata_sil: Rename sil_blacklist to sil_quirks
    2ab9edd82156 ata: pata_serverworks: Do not use the term blacklist
    54877301a755 drm/amd/display: Use gpuvm_min_page_size_kbytes for DML2 surfaces
    3929e382e475 drm/amd/display: Add null check for top_pipe_to_program in commit_planes_for_stream
    c940627857ee drm/xe/hdcp: Check GSC structure validity
    f0454b3cb058 drm/amd/display: Add NULL check for clk_mgr in dcn32_init_hw
    5443c83eb8fd drm/amd/display: Add NULL check for clk_mgr and clk_mgr->funcs in dcn30_init_hw
    4f47292f488f drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
    390d757621f5 drm/amd/display: Add null check for head_pipe in dcn201_acquire_free_pipe_for_layer
    71f3240f8298 drm/amdkfd: amdkfd_free_gtt_mem clear the correct pointer
    fcdfddaea93f drm/amdgpu: disallow multiple BO_HANDLES chunks in one submit
    65e1d2c29155 drm/amd/display: Check null pointers before using them
    85aa996ecfaa drm/amd/display: Pass non-null to dcn20_validate_apply_pipe_split_flags
    454e5d7e6719 drm/stm: Avoid use-after-free issues with crtc and plane
    c131ba318119 iommu/arm-smmu-v3: Do not use devm for the cd table allocations
    8ab6ef39095e iommu/vt-d: Unconditionally flush device TLB for pasid table updates
    07e4e92f84b7 iommu/vt-d: Fix potential lockup if qi_submit_sync called with 0 count
    1ac538d8a3bb iommu/vt-d: Always reserve a domain ID for identity setup
    92f67ef0d5c5 iommu/arm-smmu-v3: Match Stall behaviour for S2
    7324014b6c02 power: reset: brcmstb: Do not go into infinite loop if reset fails
    ee0824f09fc0 rcuscale: Provide clear error when async specified without primitives
    fdc38780b64a pmdomain: core: Don't hold the genpd-lock when calling dev_pm_domain_set()
    aaadc0cb05c9 fbdev: pxafb: Fix possible use after free in pxafb_task()
    872cd2d029d2 fbdev: efifb: Register sysfs groups through driver core
    3e2f2fec600a hwmon: (nct6775) add G15CF to ASUS WMI monitoring list
    3104bddc666f rcu-tasks: Fix access non-existent percpu rtpcp variable in rcu_tasks_need_gpcb()
    79108bef7f02 ASoC: Intel: boards: always check the result of acpi_dev_get_first_match_dev()
    b51db91a6dd0 x86/syscall: Avoid memcpy() for ia32 syscall_get_arguments()
    c07e212bb2ce selftests/nolibc: avoid passing NULL to printf("%s")
    69a70f5b4817 tools/nolibc: powerpc: limit stack-protector workaround to GCC
    5d07d380be51 ALSA: hdsp: Break infinite MIDI input flush loop
    ad7248a5e925 ALSA: asihpi: Fix potential OOB array access
    d80a99892f7a x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
    ce22c9746d05 x86/kexec: Add EFI config table identity mapping for kexec kernel
    b01ac4e2472e x86/pkeys: Restore altstack access in sigreturn()
    dbcd315824c2 x86/pkeys: Add PKRU as a parameter in signal handling functions
    6702ffb1cc03 tools/x86/kcpuid: Protect against faulty "max subleaf" values
    b7187a16d51c ALSA: control: Take power_ref lock primarily
    393b53d6ff49 ASoC: codecs: wsa883x: Handle reading version failure
    27986154c37a ALSA: usb-audio: Add logitech Audio profile quirk
    3089703ab714 ALSA: usb-audio: Add mixer quirk for RME Digiface USB
    5c3e5f909f05 ALSA: usb-audio: Add quirk for RME Digiface USB
    f27840d0d366 ALSA: usb-audio: Replace complex quirk lines with macros
    9666e593732b ALSA: usb-audio: Define macros for quirk table entries
    327830af6cb4 x86/apic: Remove logical destination mode for 64-bit
    649a5c2ffae7 x86/ioapic: Handle allocation failures gracefully
    f75ea831df52 ALSA: usb-audio: Add input value sanity checks for standard types
    4c7d4c0a8ab7 nfp: Use IRQF_NO_AUTOEN flag in request_irq()
    9c763f95f3be netfs: Cancel dirty folios that have no storage destination
    71267bd4e8c7 wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_cmd_802_11_scan_ext()
    3f1e70b5de01 wifi: mt76: mt7915: hold dev->mt76.mutex while disabling tx worker
    a6d1b64eedbf wifi: mt76: mt7915: add dummy HW offload of IEEE 802.11 fragmentation
    816ddacaac89 crypto: hisilicon - fix missed error branch
    d694ad8b7e50 net: napi: Prevent overflow of napi_defer_hard_irqs
    734916809472 x86/bugs: Fix handling when SRSO mitigation is disabled
    939fea13eddd x86/bugs: Add missing NO_SSB flag
    83c84cdb7557 wifi: rtw89: avoid reading out of bounds when loading TX power FW elements
    ef7ba79690cb net: phy: Check for read errors in SIOCGMIIREG
    0f538d452bbd arm64: trans_pgd: mark PTEs entries as valid to avoid dead kexec()
    0842ddd83939 block: fix integer overflow in BLKSECDISCARD
    f499fd39d41f netdev-genl: Set extack and fix error on napi-get
    27129511a0ee can: netlink: avoid call to do_set_data_bittiming callback with stale can_priv::ctrlmode
    95425df8814f drivers/perf: arm_spe: Use perf_allow_kernel() for permissions
    eb2589d294bb proc: add config & param to block forcing mem writes
    8a0ec84cf0da ACPICA: iasl: handle empty connection_node
    77c2be40bd20 wifi: mac80211: fix RCU list iterations
    cdbf51bfa4b0 wifi: iwlwifi: mvm: avoid NULL pointer dereference
    3807905165af wifi: iwlwifi: allow only CN mcc from WRDD
    14e56ad52d3d wifi: iwlwifi: mvm: use correct key iteration
    0c3445db49d4 tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process
    b491b54e7abc netpoll: Ensure clean state on setup failures
    0f5b3a38318a crypto: simd - Do not call crypto_alloc_tfm during registration
    7ab21518d1d2 net: atlantic: Avoid warning about potential string truncation
    4f625762f950 nvme-tcp: check for invalidated or revoked key
    b79fb663472c nvme-tcp: sanitize TLS key handling
    f05149cf9a68 nvme-keyring: restrict match length for version '1' identifiers
    b25ec1deb3bc ipv4: Mask upper DSCP bits and ECN bits in NETLINK_FIB_LOOKUP family
    8b46d65d122b wifi: rtw89: correct base HT rate mask for firmware
    b7ace411161f ipv4: Check !in_dev earlier for ioctl(SIOCSIFADDR).
    8d8c2fae5b8c bnxt_en: Extend maximum length of version string by 1 byte
    7260a3c9d311 net: mvpp2: Increase size of queue_name buffer
    2ed7f42dfd3e tipc: guard against string buffer overrun
    a907c113a8b6 ACPICA: check null return of ACPI_ALLOCATE_ZEROED() in acpi_db_convert_to_package()
    34ca57debd0b ACPI: EC: Do not release locks during operation region accesses
    8f496c99120b wifi: rtw88: select WANT_DEV_COREDUMP
    6045ef5b4b00 wifi: ath11k: fix array out-of-bound access in SoC stats
    a4aef827a41c wifi: ath12k: fix array out-of-bound access in SoC stats
    1b120f151871 blk_iocost: fix more out of bound shifts
    b646c4f68a88 ACPI: CPPC: Add support for setting EPP register in FFH
    99f8ee16963f ACPI: video: Add force_vendor quirk for Panasonic Toughbook CF-18
    931691df59bc Bluetooth: btrtl: Set msft ext address filter quirk for RTL8852B
    1a3b9cd3d9fb Bluetooth: btusb: Add Realtek RTL8852C support ID 0x0489:0xe122
    7aab724c602b net: sched: consistently use rcu_replace_pointer() in taprio_change()
    846d5bb4c1e7 wifi: mt76: mt7915: disable tx worker during tx BA session enable/disable
    8323c7766ed2 ACPI: resource: Skip IRQ override on Asus Vivobook Go E1404GAB
    cbcd3e17205a e1000e: avoid failing the system during pm_suspend
    f92b8829c6e7 fs/inode: Prevent dump_mapping() accessing invalid dentry.d_name.name
    ce1c6c03d3bd ACPICA: Fix memory leak if acpi_ps_get_next_field() fails
    964fe89018cf ACPICA: Fix memory leak if acpi_ps_get_next_namepath() fails
    03593dbb0b27 ACPI: PAD: fix crash in exit_round_robin()
    ed706f4b08bb net: hisilicon: hns_mdio: fix OF node leak in probe()
    6d35f9e07bd3 net: hisilicon: hns_dsaf_mac: fix OF node leak in hns_mac_get_info()
    c5688b8d842d net: hisilicon: hip04: fix OF node leak in probe()
    d408889d4b54 net/xen-netback: prevent UAF in xenvif_flush_hash()
    f4dbfda159e4 wifi: cfg80211: Set correct chandef when starting CAC
    09b4cc2990e3 wifi: iwlwifi: mvm: drop wrong STA selection in TX
    c60af8853803 wifi: iwlwifi: mvm: Fix a race in scan abort flow
    fac02a03836d ice: Adjust over allocation of memory in ice_sched_add_root_node() and ice_sched_add_node()
    c84a9a85105d crypto: octeontx2 - Fix authenc setkey
    9e81df799b91 crypto: octeontx - Fix authenc setkey
    da858c06f22f crypto: x86/sha256 - Add parentheses around macros' single arguments
    2c230210ec0a wifi: ath9k_htc: Use __skb_set_length() for resetting urb before resubmit
    37c319503023 wifi: rtw89: avoid to add interface to list twice when SER
    84552e94250d wifi: ath9k: fix possible integer overflow in ath9k_get_et_stats()
    265ccf1ccb48 ALSA: hda/conexant: Fix conflicting quirk for System76 Pangolin
    caecdc0d894a ALSA: gus: Fix some error handling paths related to get_bpos() usage
    2cc5210d8622 tools/rtla: Fix installation from out-of-tree build
    7609b0257cdd cifs: Do not convert delimiter when parsing NFS-style symlinks
    803b3a39cb09 cifs: Fix buffer overflow when parsing NFS reparse points
    16e0267db156 drm/xe: Prevent null pointer access in xe_migrate_copy
    99415b2bf783 drm/xe: Resume TDR after GT reset
    b824de245407 drm/xe: Restore pci state upon resume
    00bba0b9abc1 ASoC: imx-card: Set card.owner to avoid a warning calltrace if SND=m
    0b745827fe26 ALSA: hda/generic: Unconditionally prefer preferred_dacs pairs
    514fb348ad70 drm/panthor: Lock the VM resv before calling drm_gpuvm_bo_obtain_prealloc()
    4934df9e0add cifs: Remove intermediate object of failed create reparse call
    25897ba7875b ALSA: hda/realtek: Fix the push button function for the ALC257
    b042dfe697fa ALSA: mixer_oss: Remove some incorrect kfree_const() usages
    0b7eab6a5812 io_uring: fix memory leak when cache init fail
    ea65be140e27 ASoC: atmel: mchp-pdmc: Skip ALSA restoration if substream runtime is uninitialized
    8a585d553c11 drm/panthor: Fix race when converting group handle to group object
    9ffcca5d7cb8 loop: don't set QUEUE_FLAG_NOMERGES
    8812b6f98fbe i2c: xiic: Try re-initialization on bus busy timeout
    5dfeb9d2f58d i2c: xiic: improve error message when transfer fails to start
    e381b9dadd42 selftest mm/mseal: fix test_seal_mremap_move_dontunmap_anyaddr
    f032e1dac30b sctp: set sk_state back to CLOSED if autobind fails in sctp_listen_start
    fcb864586da6 dt-bindings: net: xlnx,axi-ethernet: Add missing reg minItems
    d973f1ec47f1 iomap: constrain the file range passed to iomap_file_unshare
    f6ca58696749 net/ncsi: Disable the ncsi work before freeing the associated structure
    3d7c7513605c bridge: mcast: Fail MDB get request on empty entry
    efe9cc0f7c02 ppp: do not assume bh is held in ppp_channel_bridge_input()
    4cc0648e9e32 net: test for not too small csum_start in virtio_net_hdr_to_skb()
    4e280a8e1de5 ipv4: ip_gre: Fix drops of small packets in ipgre_xmit
    ae5b144c79d7 net: stmmac: dwmac4: extend timeout for VLAN Tag register busy bit check
    ff1c3cadcf40 net: add more sanity checks to qdisc_pkt_len_init()
    f959cce8a2a0 net: avoid potential underflow in qdisc_pkt_len_init() with UFO
    5b88ee8318f1 net: fec: Reload PTP registers after link-state change
    cf53d7e76f1f net: fec: Restart PPS after link state change
    1097bf16501e net: ethernet: lantiq_etop: fix memory disclosure
    d2ba6bed913b net: Fix gso_features_check to check for both dev->gso_{ipv4_,}max_size
    eb9a7d90f2fd net: Add netif_get_gro_max_size helper for GRO
    ab5d3420a112 net: dsa: improve shutdown sequence
    3d51ab44123f afs: Fix the setting of the server responding flag
    7c53ed6e9d05 afs: Fix missing wire-up of afs_retry_request()
    5afd21347aac Bluetooth: btmrvl: Use IRQF_NO_AUTOEN flag in request_irq()
    78d30ce16fdf Bluetooth: L2CAP: Fix uaf in l2cap_connect
    0cc47233af35 Bluetooth: MGMT: Fix possible crash on mgmt_index_removed
    2bd86f6aed45 selftests: netfilter: Add missing return value
    f839c5cd3482 netfilter: nf_tables: prevent nf_skb_duplicated corruption
    c93cb0ccdc13 selftests: netfilter: Fix nft_audit.sh for newer nft binaries
    34d7525646da net: wwan: qcom_bam_dmux: Fix missing pm_runtime_disable()
    1e353947c853 net: ieee802154: mcr20a: Use IRQF_NO_AUTOEN flag in request_irq()
    740e8370b864 netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED
    0b1672834634 net/mlx5e: Fix crash caused by calling __xfrm_state_delete() twice
    1bcc86cc721b net/mlx5e: Fix NULL deref in mlx5e_tir_builder_alloc()
    8e1ee00910b5 net/mlx5: Added cond_resched() to crdump collection
    ecf310aaf256 net/mlx5: Fix error path in multi-packet WQE transmit
    b28bb7df6225 net: sparx5: Fix invalid timestamps
    785130296de2 ieee802154: Fix build error
    50c0ad1f8d41 drm/i915/dp: Fix colorimetry detection
    9d4f619153ba ceph: remove the incorrect Fw reference check when dirtying pages
    63104c3f527f ceph: fix a memory leak on cap_auths in MDS client
    e65a9af05a0b mailbox: bcm2835: Fix timeout during suspend mode
    227dddb56985 mailbox: rockchip: fix a typo in module autoloading
    64dad5a0597c mailbox: ARM_MHU_V3 should depend on ARM64
    007a7da5b802 drm/amd/display: handle nulled pipe context in DCE110's set_drr()
    8dc05d3f371e drm/amdgpu: Fix get each xcp macro
    3f55757ce2ff drm/i915/dp: Fix AUX IO power enabling for eDP PSR
    40d7d234f642 scsi: pm8001: Do not overwrite PCI queue mapping
    d175d98dfb3e scsi: st: Fix input/output error on empty drive reset
    fa7bc8d95944 jump_label: Fix static_key_slow_dec() yet again
    a248a028bff0 jump_label: Simplify and clarify static_key_fast_inc_cpus_locked()
    85a104aaef1f static_call: Replace pointless WARN_ON() in static_call_module_notify()
    2b494471797b static_call: Handle module init failure correctly in static_call_del_module()
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: f33397d9a3c6838036952f968856c35e9fb78c77)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8ebe7596fb8098b2a321758c5180d76aa2abd8f1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
ff0068eda2 linux-yocto/6.10: update to v6.10.13
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    0202c63cba31 Linux 6.10.13
    b332bcca5914 Revert: "dm-verity: restart or panic on an I/O error"
    ff055e9142d8 spi: atmel-quadspi: Fix wrong register value written to MR
    7c1d782e5afb bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
    a98fd7c6e7b2 Documentation: KVM: fix warning in "make htmldocs"
    119ffd4dc84d i2c: isch: Add missed 'else'
    7ae30ea153fa i2c: aspeed: Update the stop sw state when the bus recovery occurs
    402d8f715fb4 mm/damon/vaddr: protect vma traversal in __damon_va_thre_regions() with rcu read lock
    f6a0cee98082 mm: change vmf_anon_prepare() to __vmf_anon_prepare()
    721aa7c9984e mm/huge_memory: ensure huge_zero_folio won't have large_rmappable flag set
    e897d184a8dd mm/hugetlb.c: fix UAF of vma in hugetlb fault pathway
    d4ed0cf0eeaa tpm: export tpm2_sessions_init() to fix ibmvtpm building
    36b5955c3f68 fbdev: xen-fbfront: Assign fb_info->device
    33faba1cca52 module: Fix KCOV-ignored file name
    d1c8ed814b78 spi: fspi: add support for imx8ulp
    f48e4f4b86b5 mm: only enforce minimum stack gap size if it's sensible
    14a8bac5c98d s390/ftrace: Avoid calling unwinder in ftrace_return_address()
    7cc8ab687d6d mm/hugetlb_vmemmap: batch HVO work when demoting
    f9835aec4967 exfat: resolve memory leak from exfat_create_upcase_table()
    9b8d21246c5c lockdep: fix deadlock issue between lockdep and rcu
    f038423291f0 compiler.h: specify correct attribute for .rodata..c_jump_table
    4a7677a15469 dm-verity: restart or panic on an I/O error
    c98a910c64ef bpf: lsm: Set bpf_lsm_blob_sizes.lbs_task to 0
    fbec4ba70f78 lsm: infrastructure management of the sock security
    04a55dd3419d debugfs show actual source in /proc/mounts
    84f079349d55 debugfs: Convert to new uid/gid option parsing helpers
    df881ff32117 fs_parse: add uid & gid option option parsing helpers
    b249b7b1b134 idpf: fix netdev Tx queue stop/wake
    710e93ec5c3d idpf: merge singleq and splitq &net_device_ops
    90610752baf2 idpf: split &idpf_queue into 4 strictly-typed queue structures
    122d2f10b45c idpf: stop using macros for accessing queue descriptors
    33818ec99d6f serial: qcom-geni: fix console corruption
    7478f1219178 serial: qcom-geni: introduce qcom_geni_serial_poll_bitfield()
    077eeda6704c serial: qcom-geni: fix arg types for qcom_geni_serial_poll_bit()
    4e90db20e901 soc: qcom: geni-se: add GP_LENGTH/IRQ_EN_SET/IRQ_EN_CLEAR registers
    6e0e7e8558a6 usb: xhci: fix loss of data on Cadence xHC
    7688c5a74bf2 xhci: Add a quirk for writing ERST in high-low order
    18ecd5b74682 x86/tdx: Fix "in-kernel MMIO" check
    37263b5d4c18 x86/tdx: Convert shared memory back to private on kexec
    5b026890012d x86/mm: Add callbacks to prepare encrypted memory for kexec
    19b96b1fe195 x86/tdx: Account shared memory
    d6c641139c61 x86/mm: Make x86_platform.guest.enc_status_change_*() return an error
    2578f2637a59 KVM: x86: Re-split x2APIC ICR into ICR+ICR2 for AMD (x2AVIC)
    e99b21b794cb KVM: x86: Make x2APIC ID 100% readonly
    d9ac05ef9ec3 KVM: x86: Drop unused check_apicv_inhibit_reasons() callback definition
    a31e6d3207ce soc: versatile: realview: fix soc_dev leak during device remove
    15c0bd2062e3 soc: versatile: realview: fix memory leak during device remove
    d7e07c2e87d8 tools/nolibc: include arch.h from string.h
    8d80003cf38a ARM: dts: imx6ull-seeed-npi: fix fsl,pins property in tscgrp pinctrl
    e78b09351149 ARM: dts: imx6ul-geam: fix fsl,pins property in tscgrp pinctrl
    077694df5512 dt-bindings: spi: nxp-fspi: add imx8ulp support
    68f267a3372c spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
    71d1380da9f8 lsm: add the inode_free_security_rcu() LSM implementation hook
    9e279e6c1f01 padata: use integer wrap around to prevent deadlock on seq_nr overflow
    f7cdf73258cf cpuidle: riscv-sbi: Use scoped device node handling to fix missing of_node_put
    d19c5b21711c md: Don't flush sync_work in md_write_start()
    c7f9d442d1c4 eventpoll: Annotate data-race of busy_poll_usecs
    a7722921adb0 icmp: change the order of rate limits
    7679db85a814 EDAC/igen6: Fix conversion of system address to physical memory address
    68ee58f3a067 nfs: fix memory leak in error path of nfs4_do_reclaim
    4ee3665e0fbf fs: Fix file_set_fowner LSM hook inconsistencies
    603f95cefbee netfs: Delete subtree of 'fs/netfs' when netfs module exits
    0f8a5b6d0daf vfs: fix race between evice_inodes() and find_inode()&iput()
    84aa262013f3 arm64: dts: rockchip: Correct the Pinebook Pro battery design capacity
    5056c1476cf4 arm64: dts: qcom: sa8775p: Mark APPS and PCIe SMMUs as DMA coherent
    0d0d96f7f6b1 arm64: dts: rockchip: Raise Pinebook Pro's panel backlight PWM frequency
    67b4f0145e55 arm64: dts: mediatek: mt8186-corsola: Disable DPI display interface
    9dc7b42b9d0d arm64: errata: Enable the AC03_CPU_38 workaround for ampere1a
    14f310aeec55 arm64: esr: Define ESR_ELx_EC_* constants as UL
    1bf8e1d07de1 hwrng: cctrng - Add missing clk_disable_unprepare in cctrng_resume
    afdb6186369e hwrng: bcm2835 - Add missing clk_disable_unprepare in bcm2835_rng_init
    970fad1992bf hwrng: mtk - Use devm_pm_runtime_enable
    10569b682ebe f2fs: fix to check atomic_file in f2fs ioctl interfaces
    7bd7ce68ddad f2fs: check discard support for conventional zones
    f3bfac2cabf5 f2fs: Require FMODE_WRITE for atomic write ioctls
    7686e9c32ae9 f2fs: avoid potential int overflow in sanity_check_area_boundary()
    9e34807b75fe f2fs: prevent possible int overflow in dir_block_index()
    baff811ba631 f2fs: fix several potential integer overflows in file offsets
    592a57d3bead btrfs: always update fstrim_range on failure in FITRIM ioctl
    62964916da1b btrfs: tree-checker: fix the wrong output of data backref objectid
    a412ca489ac2 btrfs: fix race setting file private on concurrent lseek using same fd
    0b8d3972792c debugobjects: Fix conditions in fill_pool()
    e0b04c335b13 wifi: mt76: mt7615: check devm_kasprintf() returned value
    c128a1456df1 wifi: rtw88: 8703b: Fix reported RX band width
    556941ad3c4a wifi: rtw88: 8822c: Fix reported RX band width
    667394ab7065 wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c
    fb60020cb5b3 wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc
    174c803b4325 wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he
    1eaca38ad2f4 wifi: mt76: mt7915: check devm_kasprintf() returned value
    2b9f8545875a wifi: mt76: mt7921: Check devm_kasprintf() returned value
    1d3589834b00 btrfs: subpage: fix the bitmap dump which can cause bitmap corruption
    16d277b3e920 perf/x86/intel/pt: Fix sampling synchronization
    4a3c332100b0 perf/x86/intel: Allow to setup LBR for counting event for BPF
    b51acf3262dd x86/entry: Remove unwanted instrumentation in common_interrupt()
    38d9b07d99b7 efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption
    4af2e4221c3f ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    5d65d2411d83 ACPI: resource: Do IRQ override on MECHREV GM7XG0M
    f51e5a88f2e7 ACPI: sysfs: validate return type of _STR method
    54be41a85d8d drbd: Add NULL check for net_conf to prevent dereference in state validation
    ad96750f0622 drbd: Fix atomicity violation in drbd_uuid_set_bm()
    cd327e30a9a0 crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure
    86c15cab2785 crypto: qcom-rng - fix support for ACPI-based systems
    36761d1d700d serial: qcom-geni: fix false console tx restart
    25aff44936a5 serial: qcom-geni: fix fifo polling timeout
    e4c3ea5da394 xhci: Set quirky xHC PCI hosts to D3 _after_ stopping and freeing them.
    80cef0f1d06b serial: don't use uninitialized value in uart_poll_init()
    4e017898e9a8 pps: add an error check in parport_attach
    8ec7d8918fd6 tty: rp2: Fix reset with non forgiving PCIe host bridges
    28f1cd94d3f1 firmware_loader: Block path traversal
    0012b71a698c bus: mhi: host: pci_generic: Fix the name for the Telit FE990A
    6a33c79504ee bus: integrator-lm: fix OF node leak in probe()
    40eeefad32b1 usb: dwc2: drd: fix clock gating on USB role switch
    ad653877041b usb: gadget: dummy_hcd: execute hrtimer callback in softirq context
    e527d2ac5455 usb: xHCI: add XHCI_RESET_ON_RESUME quirk for Phytium xHCI host
    e326f29101c9 usb: cdnsp: Fix incorrect usb_request status
    9479f64b9992 USB: misc: yurex: fix race between read and write
    3f682752207d USB: class: CDC-ACM: fix race between get_serial and set_serial
    5f2c43335cc5 USB: misc: cypress_cy7c63: check for short transfer
    c92b7a265de5 USB: appledisplay: close race between probe and completion handler
    f9aa13449211 arm64: dts: mediatek: mt8395-nio-12l: Mark USB 3.0 on xhci1 as disabled
    31fc87cb4eca arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
    ca124236cd14 usbnet: fix cyclical race on disconnect with work queue
    5898a9879803 wifi: rtw88: Fix USB/SDIO devices not transmitting beacons
    36071d878699 can: esd_usb: Remove CAN_CTRLMODE_3_SAMPLES for CAN-USB/3-FD
    ca1e50206718 scsi: mac_scsi: Disallow bus errors during PDMA send
    a960eb7988b4 scsi: mac_scsi: Refactor polling loop
    ab7667ccef06 scsi: mac_scsi: Revise printk(KERN_DEBUG ...) messages
    e3189128e800 scsi: lpfc: Restrict support for 32 byte CDBs to specific HBAs
    0359228a4981 scsi: ufs: qcom: Update MODE_MAX cfg_bw value
    a77605037389 scsi: sd: Fix off-by-one error in sd_read_block_characteristics()
    a16ac25841ee ata: libata-scsi: Fix ata_msense_control() CDL page reporting
    d205cb1a13b3 ksmbd: handle caseless file creation
    e5b77e889cea ksmbd: allow write with FILE_APPEND_DATA
    8205b5d56d21 ksmbd: make __dir_empty() compatible with POSIX
    de6e34238a1b powerpc/atomic: Use YZ constraints for DS-form instructions
    13b5b401ead9 KEYS: prevent NULL pointer dereference in find_asymmetric_key()
    5292dc91a7eb objtool: Handle frame pointer related instructions
    51f87aa74da9 Revert "LoongArch: KVM: Invalidate guest steal time address on vCPU reset"
    1b77dd8520fc drm/amd/display: Skip to enable dsc if it has been off
    517f6e8a60c4 drm/amd/display: Enable DML2 override_det_buffer_size_kbytes
    d13a338fa80b drm/amd/display: Block dynamic IPS2 on DCN35 for incompatible FW versions
    47ab3a0c04e1 drm/amd/display: Disable SYMCLK32_LE root clock gating
    ce3ed9a959c9 drm/amd/display: Validate backlight caps are sane
    c9a3c3e2bffe drm/amd/display: Clean up dsc blocks in accelerated mode
    597f862f516a drm/amd/display: Round calculated vtotal
    fbf3cff7c058 drm/amd/display: Add HDMI DSC native YCbCr422 support
    d6c1abe4b26e drm/amdgpu/vcn: enable AV1 on both instances
    ac1500b229ed drm/amdgpu/mes11: reduce timeout
    6f9c39e81693 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    a2764afce521 KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock
    afd2d93644a0 KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode()
    5b0421ae5185 KVM: x86: Enforce x2APIC's must-be-zero reserved ICR bits
    46a40b3639c4 KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer
    547bce5c250b Input: i8042 - add another board name for TUXEDO Stellaris Gen5 AMD line
    ab770984fba5 Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
    af38c4cf0a32 Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table
    38f45f17a2a3 Input: adp5588-keys - fix check on return code
    a6e9f9fd1477 iommufd: Protect against overflow of ALIGN() during iova allocation
    92e53443dc63 iommu/amd: Fix argument order in amd_iommu_dev_flush_pasid_all()
    eab78824687c Revert "media: tuners: fix error return code of hybrid_tuner_request_state()"
    06cf4125fa92 soc: versatile: integrator: fix OF node leak in probe() error path
    2485d2d8ce63 soc: fsl: cpm1: tsa: Fix tsa_write8()
    531704571a7e soc: fsl: cpm1: qmc: Update TRNSYNC only in transparent mode
    bc4a33eb74f6 ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error
    832653dc7222 Revert "soc: qcom: smd-rpm: Match rpmsg channel instead of compatible"
    774c795aa795 PCI: dra7xx: Fix error handling when IRQ request fails in probe
    07a5794dc862 PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler
    2cbfcb6389c4 PCI: Use an error code with PCIe failed link retraining
    0f28502c2ae2 PCI: Correct error reporting with PCIe failed link retraining
    7826d9f1eb3d PCI: imx6: Fix i.MX8MP PCIe EP's occasional failure to trigger MSI
    1c59f627ac89 PCI: imx6: Fix establish link failure in EP mode for i.MX8MM and i.MX8MP
    06adf7509477 PCI: imx6: Fix missing call to phy_power_off() in error handling
    c04924915367 PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ
    478e554fe94b PCI: Clear the LBMS bit after a link retrain
    e315cf7f532b PCI: Revert to the original speed after PCIe failed link retraining
    e152508df743 Remove *.orig pattern from .gitignore
    4c3ce023e538 selftests/bpf: correctly move 'log' upon successful match
    bd93fe03abbe io_uring/sqpoll: do not put cpumask on stack
    6222abfa459f io_uring/sqpoll: retain test for whether the CPU is valid
    6c31c83178ce xen: allow mapping ACPI data using a different physical address
    5322ebfe9de3 xen: move checks for e820 conflicts further up
    a8a3ba3deb39 drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination
    3393fddbfa94 mm: call the security_mmap_file() LSM hook in remap_file_pages()
    1fea7fd0480b mm: migrate: annotate data-race in migrate_folio_unmap()
    fa4890bd8237 fuse: use exclusive lock when FUSE_I_CACHE_IO_MODE is set
    340f20fe8708 io_uring: check for presence of task_work rather than TIF_NOTIFY_SIGNAL
    daf062a2d7ed io_uring/rw: treat -EOPNOTSUPP for IOCB_NOWAIT like -EAGAIN
    a1dbcdfc2320 io_uring/sqpoll: do not allow pinning outside of cpuset
    cfd68a58fb68 selftests: netfilter: Avoid hanging ipvs.sh
    7f44a170ce3f netfilter: nf_tables: missing objects with no memcg accounting
    e6a31dc01d76 netfilter: nf_tables: use rcu chain hook list iterator from netlink dump path
    e80310d02ae9 netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
    d3169bf3e90b netfilter: nf_tables: Keep deleted flowtable hooks until after RCU
    188074ba3668 net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled
    d27ed6e76f47 virtio_net: Fix mismatched buf address when unmapping for small packets
    72e2c0825a48 bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave()
    997a908a3bf7 net: ravb: Fix R-Car RX frame size limit
    a8942a6bb6f1 net: qrtr: Update packets cloning when broadcasting
    81d18c152e3f tcp: check skb is non-NULL in tcp_rto_delta_us()
    0fe0258969a7 net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
    516dbc6d1663 net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
    7a7b5a27c53b netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
    4903d8d99476 net: xilinx: axienet: Fix packet counting
    0ecfaff3633d net: xilinx: axienet: Schedule NAPI in two steps
    328ea56813b2 Revert "dm: requeue IO if mapping table not yet available"
    27f493e14182 ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()
    fae9b1776f53 vhost_vdpa: assign irq bypass producer token correctly
    b6fbb1c7801f vdpa/mlx5: Fix invalid mr resource destroy
    e21de2b784dc cxl/pci: Fix to record only non-zero ranges
    c462e91f47b1 interconnect: qcom: sm8250: Enable sync_state
    706b7a43a351 interconnect: icc-clk: Add missed num_nodes initialization
    4d1bf0bd1b4b coresight: tmc: sg: Do not leak sg_table
    16e2d8eb7185 Coresight: Set correct cs_mode for dummy source to fix disable issue
    c23757a35d36 Coresight: Set correct cs_mode for TPDM to fix disable issue
    4a5ad1554051 serial: 8250: omap: Cleanup on error in request_irq
    4b5d48b7a29c driver core: Fix a potential null-ptr-deref in module_add_driver()
    21829e1a94f7 dt-bindings: iio: asahi-kasei,ak8975: drop incorrect AK09116 compatible
    6c0917cd3d6e iio: magnetometer: ak8975: drop incorrect AK09116 compatible
    6437a9d687b6 iio: chemical: bme680: Fix read/write ops to device by adding mutexes
    c60176b5556e ABI: testing: fix admv8818 attr description
    23f6b0bdeb42 driver core: Fix error handling in driver API device_rename()
    c8cb9b018fe0 iio: adc: ad7606: fix standby gpio state to match the documentation
    e56695c01682 iio: adc: ad7606: fix oversampling gpio array
    1fb2daf531e0 nvme-multipath: system fails to create generic nvme device
    78fac439da12 spi: atmel-quadspi: Avoid overwriting delay register settings
    3b0092907ccf spi: airoha: remove read cache in airoha_snand_dirmap_read()
    864df9264682 lib/sbitmap: define swap_lock as raw_spinlock_t
    81ed78937168 spi: spi-fsl-lpspi: Undo runtime PM changes at driver exit time
    308041f803d1 spi: atmel-quadspi: Undo runtime PM changes at driver exit time
    b75f01b2cb4c spi: airoha: fix airoha_snand_{write,read}_data data_len estimation
    d8e267c24cc4 spi: airoha: fix dirmap_{read,write} operations
    de43021c7299 f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error()
    8be95cd60747 f2fs: get rid of online repaire on corrupted directory
    058c1af469aa f2fs: prevent atomic file from being dirtied before commit
    0a4ff4e9d2dd f2fs: compress: don't redirty sparse cluster during {,de}compress
    7c339dee7eb0 f2fs: fix to avoid use-after-free in f2fs_stop_gc_thread()
    a7972f073477 f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation
    89ea17674588 f2fs: fix to wait page writeback before setting gcing flag
    af605d5099dc f2fs: Create COW inode from parent dentry for atomic write
    b21c3009a86f f2fs: fix to avoid racing in between read and OPU dio write
    fe56ed433971 f2fs: reduce expensive checkpoint trigger frequency
    e78299a4b376 f2fs: atomic: fix to avoid racing w/ GC
    e454a6482cd1 crypto: powerpc/p10-aes-gcm - Disable CRYPTO_AES_GCM_P10
    e52bab5f2b40 crypto: caam - Pad SG length when allocating hash edesc
    3a1bb47f2410 nfsd: fix initial getattr on write delegation
    3939b13fcbb9 nfsd: untangle code in nfsd4_deleg_getattr_conflict()
    766d5fbd78f7 nfsd: return -EINVAL when namelen is 0
    e32ee6a61041 nfsd: call cache_put if xdr_reserve_space returns NULL
    d1cb8394545b ntb: Force physically contiguous allocation of rx ring buffers
    9fda5a42e1bd ntb_perf: Fix printk format
    b66bf833e72a ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
    08e9de3a5619 RDMA/irdma: fix error message in irdma_modify_qp_roce()
    54aaa3ed4097 RDMA/cxgb4: Added NULL check for lookup_atid
    587db10c36de RDMA/hns: Fix ah error counter in sw stat not increasing
    09210bb3a0f4 riscv: Fix fp alignment bug in perf_callchain_user()
    09eee130151d PCI: qcom-ep: Enable controller resources like PHY only after refclk is available
    1621c437ec9d RDMA/mlx5: Obtain upper net device only when needed
    52f61811df43 RDMA/hns: Fix restricted __le16 degrades to integer issue
    e4724f92065d RDMA/hns: Optimize hem allocation performance
    27d7572bb947 RDMA/hns: Fix 1bit-ECC recovery address in non-4K OS
    94a020c0d576 RDMA/hns: Fix VF triggering PF reset in abnormal interrupt handler
    2656336a84fc RDMA/hns: Fix spin_unlock_irqrestore() called with IRQs enabled
    38c01f809e43 RDMA/hns: Fix the overflow risk of hem_list_calc_ba_range()
    dac2723d8bfa RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
    812f69426de3 RDMA/hns: Don't modify rq next block addr in HIP09 QPC
    93e568e95e9a watchdog: imx_sc_wdt: Don't disable WDT in suspend
    1fe05fbfab15 RDMA/mlx5: Fix MR cache temp entries cleanup
    bcaaa91005f8 RDMA/mlx5: Drop redundant work canceling from clean_keys()
    62d5ba1b8f87 RDMA/mlx5: Limit usage of over-sized mkeys from the MR cache
    efdaddb94ddb RDMA/mlx5: Fix counter update on MR cache mkey creation
    e6e69719c6f2 RDMA/erdma: Return QP state in erdma_query_qp
    6dcc5b49d660 PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port()
    8842412c2777 iommufd: Check the domain owner of the parent before creating a nesting domain
    f6b8766fa3f7 dt-bindings: PCI: layerscape-pci: Replace fsl,lx2160a-pcie with fsl,lx2160ar2-pcie
    af633fd9d9ff IB/core: Fix ib_cache_setup_one error flow cleanup
    7afb394b2e2a pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
    3f02356f7bbe nfsd: fix refcount leak when file is unhashed after being found
    f490e015aa7b nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire
    f1ceb401347b clk: rockchip: rk3588: Fix 32k clock name for pmu_24m_32k_100m_src_p
    650bde16cc55 clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    e8d6e92abc9d clk: ti: dra7-atl: Fix leak of of_nodes
    1c50e0265fa3 RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
    bfac76dda554 RDMA/rtrs: Reset hb_missed_cnt after receiving other traffic from peer
    18181b0c1c5b media: mediatek: vcodec: Fix H264 stateless decoder smatch warning
    35cc704622b3 media: mediatek: vcodec: Fix VP8 stateless decoder smatch warning
    47b3b9793091 media: mediatek: vcodec: Fix H264 multi stateless decoder smatch warning
    9a1f532bcde5 iommufd/selftest: Fix buffer read overrrun in the dirty test
    14b2c972b711 clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
    56856ccabb14 pinctrl: single: fix missing error code in pcs_probe()
    c8b18a75282c RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency
    a7180d2374c4 media: platform: rzg2l-cru: rzg2l-csi2: Add missing MODULE_DEVICE_TABLE
    c4b43e76e48e leds: gpio: Set num_leds after allocation
    1f6fd239c466 PCI: xilinx-nwl: Clean up clock on probe failure/removal
    e1e61c13ea07 PCI: xilinx-nwl: Fix register misspelling
    939053737edb nvdimm: Fix devs leaks in scan_labels()
    a6fb2bf1e747 x86/PCI: Check pcie_find_root_port() return for NULL
    660c4de1777e leds: pca995x: Fix device child node usage in pca995x_probe()
    382b9448557f leds: pca995x: Use device_for_each_child_node() to access device child nodes
    e8a0f9872ce4 leds: leds-pca995x: Add support for NXP PCA9956B
    baff5d92f571 clk: qcom: dispcc-sm8250: use special function for Lucid 5LPE PLL
    791f0dc95f75 clk: qcom: ipq5332: Register gcc_qdss_tsctr_clk_src
    da8db14447bf media: staging: media: starfive: camss: Drop obsolete return value documentation
    72210e52e19a PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
    1f72f6f6f591 firewire: core: correct range of block for case of switch statement
    fe5a1e8d80ad PCI: Wait for Link before restoring Downstream Buses
    7fd6aae7e53b drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
    66dbe0df6ecc drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
    a3a99af76d90 Input: ilitek_ts_i2c - add report id message validation
    de3f995bc491 Input: ilitek_ts_i2c - avoid wrong input subsystem sync
    f5567c5ca417 phy: phy-rockchip-samsung-hdptx: Explicitly include pm_runtime.h
    2eaf8ae7946a pinctrl: ti: ti-iodelay: Fix some error handling paths
    2913fbc0e3e7 pinctrl: ti: iodelay: Use scope based of_node_put() cleanups
    b0c4c139ac88 leds: bd2606mvv: Fix device child node usage in bd2606mvv_probe()
    f071073a5b2d clk: qcom: dispcc-sm8550: use rcg2_shared_ops for ESC RCGs
    3b5aa2adefd0 clk: qcom: dispcc-sm8650: Update the GDSC flags
    61627c13934e clk: qcom: dispcc-sm8550: use rcg2_ops for mdss_dptx1_aux_clk_src
    7d55b2a82bbd clk: qcom: dispcc-sm8550: fix several supposed typos
    fd7996cc3a96 clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228
    0674d041caa7 remoteproc: imx_rproc: Initialize workqueue earlier
    9b7b3530bf80 remoteproc: imx_rproc: Correct ddr alias for i.MX8M
    65df4be8b412 quota: avoid missing put_quota_format when DQUOT_SUSPENDED is passed
    6e31ccbb2651 clk: imx: imx8qxp: Parent should be initialized earlier than the clock
    d39e7535456b clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk
    a47b38eff28b clk: imx: imx8mp: fix clock tree update of TF-A managed clocks
    11fd64c352ea clk: imx: fracn-gppll: fix fractional part of PLL getting lost
    c5943ae892da clk: imx: composite-7ulp: Check the PCC present bit
    3bcaa9ce8c2e clk: imx: composite-93: keep root clock on when mcore enabled
    d8aa6d4e3788 clk: imx: composite-8m: Enable gate clk with mcore_booted
    61320f0557e0 clk: imx: imx6ul: fix default parent for enet*_ref_sel
    c92f5a5dbf88 clk: imx: clk-audiomix: Correct parent clock for earc_phy and audpll
    b42d09af5162 perf mem: Fix missed p-core mem events on ADL and RPL
    f0ca1e9bef74 perf mem: Check mem_events for all eligible PMUs
    e0595b40c13d perf time-utils: Fix 32-bit nsec parsing
    69272002abca perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time
    22f725544b26 perf dwarf-aux: Handle bitfield members from pointer access
    d39983c19c58 perf annotate-data: Fix off-by-one in location range check
    ccda4ec09a41 perf dwarf-aux: Check allowed location expressions when collecting variables
    8667eafb4bc8 perf stat: Display iostat headers correctly
    f1e51f63a125 perf sched timehist: Fix missing free of session in perf_sched__timehist()
    5120b9e90026 perf build: Fix up broken capstone feature detection fast path
    377fc923090d perf report: Fix --total-cycles --stdio output error
    5af0069973b8 perf inject: Fix leader sampling inserting additional samples
    20959954ea3a perf lock contention: Change stack_id type to s32
    276556d60a02 perf mem: Free the allocated sort string, fixing a leak
    65a6bc711147 perf scripts python cs-etm: Restore first sample log in verbose mode
    599d15b6d033 bpf: Zero former ARG_PTR_TO_{LONG,INT} args in case of error
    16423089d9fc bpf: Improve check_raw_mode_ok test for MEM_UNINIT-tagged types
    2ed98ee02d1e bpf: Fix helper writes to read-only maps
    db52f0accc12 bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit
    865d7e81b8ab sched/pelt: Use rq_clock_task() for hw_pressure
    a33e967b681e nilfs2: fix potential oob read in nilfs_btree_check_delete()
    141ba5b7f785 nilfs2: determine empty node blocks as corrupted
    db73500d3f0e nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
    ee88c6e3ea8b sched/numa: Fix the vma scan starving issue
    297615e992bb ext4: check stripe size compatibility on remount as well
    371d0bacecd5 ext4: avoid OOB when system.data xattr changes underneath the filesystem
    95a5e104d812 ext4: return error on ext4_find_inline_entry
    7eec4892020b ext4: avoid negative min_clusters in find_group_orlov()
    8b60c4fe9c3e ext4: avoid potential buffer_head leak in __ext4_new_inode()
    39c6e2e3bc44 ext4: avoid buffer_head leak in ext4_mark_inode_used()
    df480091e6f7 smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso
    841b1321e1d5 sched/deadline: Fix schedstats vs deadline servers
    a4f5cf015a19 ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard
    2f29d419fef7 kthread: fix task state in kthread worker if being frozen
    f35b5e081249 xz: cleanup CRC32 edits from 2018
    62d1ff1b9b1c s390/ap: Fix deadlock caused by recursive lock of the AP bus scan mutex
    8b315fbec65d libbpf: Fix bpf_object__open_skeleton()'s mishandling of options
    a700b2390bfa selftests/bpf: Fix incorrect parameters in NULL pointer checking
    584cd3ff792e bpf: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos
    b2ef8d59709f selftests/bpf: fix to avoid __msg tag de-duplication by clang
    ba5e6f515c81 selftests/bpf: __arch_* macro to limit test cases to specific archs
    04710faed344 selftests/bpf: allow checking xlated programs in verifier_* tests
    fd3f09cc7ca7 selftests/bpf: extract test_loader->expect_msgs as a data structure
    548b73919da9 selftests/bpf: no need to track next_match_pos in struct test_loader
    892d38159039 selftests/bpf: Support checks against a regular expression
    037df3cacfcf samples/bpf: Fix compilation errors with cf-protection option
    7c497677910a selftests/bpf: Fix error compiling tc_redirect.c with musl libc
    b58afb21e61b selftests/bpf: Fix compile if backtrace support missing in libc
    8c174358ceee selftests/bpf: Fix redefinition errors compiling lwt_reroute.c
    dff4f6d48bf3 selftests/bpf: Fix C++ compile error from missing _Bool type
    591f5af5d664 selftests/bpf: Fix error compiling test_lru_map.c
    8c7d216d4209 selftests/bpf: Fix arg parsing in veristat, test_progs
    ec9a805d01be libbpf: Don't take direct pointers into BTF data from st_ops
    0b0a37b18c64 selftests/bpf: Fix errors compiling cg_storage_multi.h with musl libc
    6c94b4bf7968 selftests/bpf: Fix errors compiling crypto_sanity.c with musl libc
    f1c66b7f13af selftests/bpf: Fix errors compiling decap_sanity.c with musl libc
    8e5b8bf023c7 selftests/bpf: Fix errors compiling lwt_redirect.c with musl libc
    4541fa0ebb6b selftests/bpf: Fix compiling core_reloc.c with musl-libc
    6c6e36ca1ad2 selftests/bpf: Fix compiling tcp_rtt.c with musl-libc
    b2583ed6fde0 selftests/bpf: Fix compiling flow_dissector.c with musl-libc
    c1716c2c8b77 selftests/bpf: Fix compiling kfree_skb.c with musl-libc
    371a0c22b81a selftests/bpf: Fix compiling parse_tcp_hdr_opt.c with musl-libc
    d5acd55bd258 selftests/bpf: Fix include of <sys/fcntl.h>
    396524540716 selftests/bpf: Fix missing BUILD_BUG_ON() declaration
    236f6aa1f1f7 selftests/bpf: Fix missing UINT_MAX definitions in benchmarks
    c5153c44af75 selftests/bpf: Fix missing ARRAY_SIZE() definition in bench.c
    76c0946c89d4 selftests/bpf: Drop unneeded error.h includes
    e6a574a4f9cc selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc
    7a7030041948 selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c
    9f2c500e4b3e selftests/bpf: Use pid_t consistently in test_progs.c
    f1620c93a1ec bpf: Fail verification for sign-extension of packet data/data_end/data_meta
    25ca515ab4ae tools/runqslower: Fix LDFLAGS and add LDLIBS support
    10c4a99ad7f5 selftests/bpf: Fix wrong binary in Makefile log output
    0054caa96389 selftests/bpf: Fix error linking uprobe_multi on mips
    dd7cf3b64eba selftests/bpf: Workaround strict bpf_lsm return value check.
    9d245b5ad81e bpf: Fix compare error in function retval_range_within
    1050727d83e7 bpf, lsm: Add check for BPF LSM return value
    e36f640f2955 bpf, arm64: Fix tailcall hierarchy
    1b7fd7f2a2d8 bpf, x64: Fix tailcall hierarchy
    80b23691b2c3 sched/fair: Make SCHED_IDLE entity be preempted in strict hierarchy
    adf4ce162561 tpm: Clean up TPM space after command failure
    86bc7bfca5ce xen/swiotlb: fix allocated size
    27475b169a70 xen/swiotlb: add alignment check for dma buffers
    e4522f88cffd xen: tolerate ACPI NVS memory overlapping with Xen allocated memory
    bd089573cf87 xen: add capability to remap non-RAM pages to different PFNs
    82729ec25602 xen: move max_pfn in xen_memory_setup() out of function scope
    dcedf22ce719 xen: introduce generic helper checking for memory map conflicts
    39ff27a4fbb1 minmax: avoid overly complex min()/max() macro arguments in xen
    a5f3cb4fead2 ata: libata: Clear DID_TIME_OUT for ATA PT commands with sense data
    4dc50d098af8 HID: wacom: Do not warn about dropped packets for first packet
    b2824da7639b HID: wacom: Support sequence numbers smaller than 16-bit
    aee96b588070 xen: use correct end address of kernel for conflict checking
    fe706fab95cc drm/amdgpu: fix invalid fence handling in amdgpu_vm_tlb_flush
    98d002ac83d5 drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind()
    b236e6b2477d kselftest: dt: Ignore nodes that have ancestors disabled
    1b7bb08ee19f platform/x86: ideapad-laptop: Make the scope_guard() clear of its scope
    97cfd8d67eb9 drm/msm: fix %s null argument error
    9a2709b57c5f drm/msm/dsi: correct programming sequence for SM8350 / SM8450
    36bf369fbdba drm/msm/dp: enable widebus on all relevant chipsets
    ccae3661969a ipmi: docs: don't advertise deprecated sysfs entries
    f9ed201cf081 drm/msm/a5xx: workaround early ring-buffer emptiness check
    efb2bffb5a21 drm/msm/a5xx: fix races in preemption evaluation stage
    74e25dd4d3dc drm/msm/a5xx: properly clear preemption records on resume
    fddadef45656 drm/msm/a5xx: disable preemption in submits by default
    3b7e5c1eb5bd drm/msm: Fix incorrect file name output in adreno_request_fw()
    eed32df5009f drm/msm: Fix CP_BV_DRAW_STATE_ADDR name
    79cc4b6f36f1 drm/msm: Dump correct dbgahb clusters on a750
    76b9d4823b6a drm/msm: Use a7xx family directly in gpu_state
    b001d0e023e1 powerpc/vdso: Inconditionally use CFUNC macro
    8135b983b8cb powerpc/8xx: Fix kernel vs user address comparison
    a386b732d529 powerpc/8xx: Fix initial memory mapping
    96bdf304f2f7 drm/mediatek: Use spin_lock_irqsave() for CRTC event lock
    4d7a703d8fc3 drm/mediatek: Fix missing configuration flags in mtk_crtc_ddp_config()
    128d5cfdcf84 jfs: fix out-of-bounds in dbNextAG() and diAlloc()
    7c2908985e4a scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()
    5da620c86545 drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get
    b944cad02f2c drm/bridge: lontium-lt8912b: Validate mode in drm_bridge_funcs::mode_valid()
    d98a4c149e44 drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
    e9703b758059 drm/rockchip: dw_hdmi: Fix reading EDID when using a forced mode
    6c0601ac83c0 drm/rockchip: vop: Allow 4096px width scaling
    b423b9fc0fe9 drm/amd/amdgpu: Properly tune the size of struct
    f2c6a3174c62 scsi: NCR5380: Check for phase match during PDMA fixup
    8fd157fb9fa6 scsi: smartpqi: revert propagate-the-multipath-failure-to-SML-quickly
    5dca6bec1284 drm/radeon: properly handle vbios fake edid sizing
    7c5a3318ca35 drm/amdgpu: properly handle vbios fake edid sizing
    84edd5a3f5fa drm/amd/display: Add null check for set_output_gamma in dcn30_set_output_transfer_func
    06783d9e5791 drm/stm: ltdc: check memory returned by devm_kzalloc()
    f89e5f17662e drm/stm: Fix an error handling path in stm_drm_platform_probe()
    33c9b9978798 pmdomain: core: Harden inter-column space in debug summary
    540757d9245b iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660
    977a5a3db7a2 iommu/arm-smmu-qcom: Work around SDM845 Adreno SMMU w/ 16K pages
    9e4d7aa135b0 iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux
    8d4b468a1741 mtd: rawnand: mtk: Fix init error path
    92603bf6b74e mtd: rawnand: mtk: Factorize out the logic cleaning mtk chips
    7c65bda0d7a6 mtd: rawnand: mtk: Use for_each_child_of_node_scoped()
    bbeaae6f79b2 rcu/nocb: Fix RT throttling hrtimer armed from offline CPU
    b51f8d7dd7af mtd: powernv: Add check devm_kasprintf() returned value
    61759ce298de iommu/amd: Do not set the D bit on AMD v2 table entries
    c4cdd0948126 iommu/amd: Set the pgsize_bitmap correctly
    8cab33c1b290 iommu/amd: Move allocation of the top table into v1_alloc_pgtable
    47b4cfe377f2 iommu/amd: Convert comma to semicolon
    40fe49ce6ad1 iommu/amd: Allocate the page table root using GFP_KERNEL
    747ff04ec850 iommu/amd: Handle error path in amd_iommu_probe_device()
    ea6af3b72af4 fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()
    eb501d4a77e3 power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense
    a8f13a983d79 power: supply: axp20x_battery: Remove design from min and max voltage
    f59516476915 hwmon: (ntc_thermistor) fix module autoloading
    726f63f71c13 mtd: slram: insert break after errors in parsing the map
    61f245910b44 hwmon: (max16065) Fix alarm attributes
    e3afe2425aa1 hwmon: (max16065) Remove use of i2c_match_id()
    16aba660a353 hwmon: (max16065) Fix overflows seen when writing limits
    25f435e9982f selftests:resctrl: Fix build failure on archs without __cpuid_count()
    9dfa29e81b11 selftests/ftrace: Fix eventfs ownership testcase to find mount point
    4cfa0c86dff8 ASoC: loongson: fix error release
    74dbe32f00c8 m68k: Fix kernel_clone_args.flags in m68k_clone()
    4b3ae12d46d7 x86/boot/64: Strip percpu address space when setting up GDT descriptors
    3d3af6aa7665 selftests/ftrace: Fix test to handle both old and new kernels
    a11a6c50d1bf ALSA: hda: cs35l41: fix module autoloading
    42763f6c1ef7 selftests/ftrace: Add required dependency for kprobe tests
    482423cbb547 ASoC: tas2781-i2c: Get the right GPIO line
    44f069577c8b ASoC: tas2781-i2c: Drop weird GPIO code
    709b56aed8f0 ASoC: tas2781: Use of_property_read_reg()
    4ff359f252b6 ASoC: rt5682s: Return devm_of_clk_add_hw_provider to transfer the error
    5d412d562035 x86/mm: Use IPIs to synchronize LAM enablement
    05ede22ac55d arm64: dts: mediatek: mt8195: Correct clock order for dp_intf*
    59c236c6aa28 clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()
    3331a38ded84 reset: k210: fix OF node leak in probe() error path
    a2a361fc2e00 reset: berlin: fix OF node leak in probe() error path
    8cd2af39e0b9 ARM: versatile: fix OF node leak in CPUs prepare
    67ce8aceb68c arm64: dts: ti: k3-am654-idk: Fix dtbs_check warning in ICSSG dmas
    0c4ec54cfbb0 ARM: dts: imx7d-zii-rmu2: fix Ethernet PHY pinctrl property
    5c17974691df ARM: dts: microchip: sama7g5: Fix RTT clock
    aad4c8273529 arm64: dts: qcom: x1e80100: Fix PHY for DP2
    1d138a636b05 spi: bcmbca-hsspi: Fix missing pm_runtime_disable()
    a927d0eb3dac arm64: dts: ti: k3-j721e-beagleboneai64: Fix reversed C6x carveout locations
    343f86970eed arm64: dts: ti: k3-j721e-sk: Fix reversed C6x carveout locations
    350bb951f2d9 arm64: dts: rockchip: Correct vendor prefix for Hardkernel ODROID-M1
    a1cf480271f1 arm64: tegra: Correct location of power-sensors for IGX Orin
    eff2483ce93e ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks
    d2fa44c83f76 arm64: dts: renesas: r9a07g044: Correct GICD and GICR sizes
    7dae92742a8e arm64: dts: renesas: r9a07g054: Correct GICD and GICR sizes
    ba033bbae9df arm64: dts: renesas: r9a07g043u: Correct GICD and GICR sizes
    f74020ed2de1 arm64: dts: renesas: r9a08g045: Correct GICD and GICR sizes
    92bdd6215a63 regulator: Return actual error in of_regulator_bulk_get_all()
    b1878b6839a8 firmware: qcom: scm: Disable SDI and write no dump to dump mode
    193246cb019a spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ
    dc9543a4f2a5 firmware: arm_scmi: Fix double free in OPTEE transport
    072f2e1457be arm64: dts: mediatek: mt8186: Fix supported-hw mask for GPU OPPs
    1df9c2eea6fe arm64: dts: exynos: exynos7885-jackpotlte: Correct RAM amount to 4GB
    1aa426194346 spi: ppc4xx: handle irq_of_parse_and_map() errors
    652039ba477c block: fix potential invalid pointer dereference in blk_add_partition
    8f28dd5c4303 io_uring/io-wq: inherit cpuset of cgroup in io worker
    dfe4ece44302 io_uring/io-wq: do not allow pinning outside of cpuset
    e148ae7b0869 block, bfq: fix procress reference leakage for bfqq in merge chain
    0b8bda0ff171 block, bfq: fix uaf for accessing waker_bfqq after splitting
    b9b30af0e86f erofs: handle overlapped pclusters out of crafted images properly
    eeb8e49ece73 erofs: tidy up `struct z_erofs_bvec`
    45a3d11ffd2b erofs: fix incorrect symlink detection in fast symlink
    c63df9845c4a nbd: correct the maximum value for discard sectors
    b54a3a8c0408 cachefiles: Fix non-taking of sb_writers around set/removexattr
    13b3d0e8cb12 block, bfq: don't break merge chain in bfq_split_bfqq()
    d5fe5d253596 block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator()
    880692ee233b block, bfq: fix possible UAF for bfqq->bic with merge chain
    5236ada8ebbd nbd: fix race between timeout and normal completion
    d35a31ee2064 ublk: move zone report data out of request pdu
    9a0ddc73be37 ipv6: avoid possible NULL deref in rt6_uncached_list_flush_dev()
    b896bab4366a net: tipc: avoid possible garbage value
    d2dd99827dfd net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input
    796d5d3b2779 r8169: disable ALDPS per default for RTL8125
    a42e9bac3432 xsk: fix batch alloc API on non-coherent systems
    fd69e1059822 crypto: n2 - Set err to EINVAL if snprintf fails for hmac
    40a27ef184ac net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
    a6346d74c75a bareudp: Pull inner IP header on xmit.
    e62be538eaff bareudp: Pull inner IP header in bareudp_udp_encap_recv().
    efeabcb8b846 Bluetooth: btusb: Fix not handling ZPL/short-transfer
    cf49c3096b41 can: m_can: m_can_close(): stop clocks after device has been shut down
    90557e799c0e can: m_can: enable NAPI before enabling interrupts
    770b46326442 can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
    e66ed8bef78b net: hsr: Use the seqnr lock for frames received via interlink port.
    ae8c1b3e7353 sock_map: Add a cond_resched() in sock_hash_free()
    6a1e4853dc6b Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
    a5897cb8e868 Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED
    2f944e6255c2 wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
    eab272972cff wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
    3d5ba51b53fe wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
    057ff7597e77 wifi: mt76: mt7996: fix uninitialized TLV data
    f35c96dbed5d wifi: mt76: mt7915: fix rx filter setting for bfee functionality
    cddfd18683bb wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan()
    83dbde9f0753 wifi: mt76: mt7603: fix mixed declarations and code
    2819d588157e wifi: mt76: connac: fix checksum offload fields of connac3 RXD
    aa4e17e36824 wifi: mt76: mt7996: fix handling mbss enable/disable
    f8024f12752e crypto: hisilicon/qm - inject error before stopping queue
    7c5f21d18b63 crypto: hisilicon/qm - reset device before enabling it
    285be321cf07 crypto: hisilicon/hpre - mask cluster timeout error
    b1e093671a71 crypto: ccp - do not request interrupt on cmd completion when irqs disabled
    d3a1f2d375bd pm:cpupower: Add missing powercap_set_enabled() stub function
    0f89fb4042c0 x86/sgx: Fix deadlock in SGX NUMA node search
    3eaadfaf1b05 wifi: mt76: mt7996: fix EHT beamforming capability check
    6ff98d6ee26d wifi: mt76: mt7996: fix HE and EHT beamforming capabilities
    5c1a21ade621 wifi: mt76: mt7996: fix wmm set of station interface to 3
    e4396d6995be wifi: mt76: mt7996: fix traffic delay when switching back to working channel
    8f51fc8a9e2f wifi: mt76: mt7996: use hweight16 to get correct tx antenna
    62385f7bf445 wifi: mt76: mt7921: fix wrong UNII-4 freq range check for the channel usage
    7c128f3ff0be wifi: mt76: mt7915: fix oops on non-dbdc mt7986
    43ebb3039527 thermal: gov_bang_bang: Adjust states of all uninitialized instances
    9d06c6b2aee7 cpufreq: ti-cpufreq: Introduce quirks to handle syscon fails appropriately
    83f51a77ce77 perf/arm-cmn: Ensure dtm_idx is big enough
    8fd3f1053970 perf/arm-cmn: Fix CCLA register offset
    f4c85bdd95e2 perf/arm-cmn: Refactor node ID handling. Again.
    41f9666a779f netfilter: nft_dynset: annotate data-races around set timeout
    40d08076c68e netfilter: nf_tables: remove annotation to access set timeout while holding lock
    84fd57fc09aa netfilter: nf_tables: reject expiration higher than timeout
    79d7f9a68bdf netfilter: nf_tables: reject element expiration with no timeout
    d7d6c0f939a4 netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
    82cee12ada68 ACPI: CPPC: Fix MASK_VAL() usage
    2ee32a3df7ba can: j1939: use correct function name in comment
    22df2f4cbd8e kselftest/arm64: Actually test SME vector length changes via sigreturn
    0f5ac508b18e drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
    4b5eddeac193 drivers/perf: hisi_pcie: Record hardware counts correctly
    72cc4e19fa8f padata: Honor the caller's alignment in case of chunk_size 0
    1f100e761f00 ACPICA: executer/exsystem: Don't nag user about every Stall() violating the spec
    d7ccc2663dbe ACPICA: Implement ACPI_WARNING_ONCE and ACPI_ERROR_ONCE
    67b538927f37 wifi: mac80211: Check for missing VHT elements only for 5 GHz
    602c36e8f8a6 wifi: iwlwifi: mvm: allow ESR when we the ROC expires
    2ee6f22a59c3 wifi: mac80211: fix the comeback long retry times
    6e7a928ec322 wifi: cfg80211: fix bug of mapping AF3x to incorrect User Priority
    7c975e4b442f wifi: iwlwifi: mvm: increase the time between ranging measurements
    d89781f68df7 wifi: iwlwifi: config: label 'gl' devices as discrete
    c3e60e5cbac1 wifi: iwlwifi: remove AX101, AX201 and AX203 support from LNL
    3565ef215101 wifi: mac80211: don't use rate mask for offchannel TX either
    2bee86e57407 ACPI: video: force native for Apple MacbookPro9,2
    84fee7bbbeda ACPI: video: force native for some T2 macbooks
    3759825b8cd3 crypto: qat - fix "Full Going True" macro definition
    b14bb4d77408 perf/dwc_pcie: Always register for PCIe bus notifier
    0a0b62259371 perf/dwc_pcie: Fix registration issue in multi PCIe controller instances
    062b7176e484 drivers/perf: Fix ali_drw_pmu driver interrupt status clearing
    c589d8c850f9 thermal: core: Fix rounding of delay jiffies
    6d4fd536708d thermal: core: Fold two functions into their respective callers
    e037604ca718 arm64: smp: smp_send_stop() and crash_smp_send_stop() should try non-NMI first
    f8d9902bc940 kselftest/arm64: signal: fix/refactor SVE vector length enumeration
    851e7f7f14a1 powercap: intel_rapl: Fix off by one in get_rpi()
    cd595d87e5fd ARM: 9410/1: vfp: Use asm volatile in fmrx/fmxr macros
    18d5c2f5bfdf autofs: fix missing fput for FSCONFIG_SET_FD
    5fcf9e0ae069 mount: handle OOM on mnt_warn_timestamp_expiry
    efc979234582 RISC-V: KVM: Fix to allow hpmcounter31 from the guest
    659cd6013527 RISC-V: KVM: Allow legacy PMU access from guest
    81aa95fd5bd1 RISC-V: KVM: Don't zero-out PMU snapshot area before freeing data
    d2b1dd777237 RISC-V: KVM: Fix sbiret init before forwarding to userspace
    4ab6b9c2e8e2 wifi: rtw88: remove CPT execution branch never used
    10463308b945 wifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading
    6d2110b4dbb4 arm64: signal: Fix some under-bracketed UAPI macros
    e3ea60496345 net: stmmac: dwmac-loongson: Init ref and PTP clocks rate
    c90e4a08a95a wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()
    ffc7069dbd93 wifi: ath12k: match WMI BSS chan info structure with firmware definition
    bbc6d4c5553b wifi: ath12k: fix BSS chan info request WMI command
    a584f1aded79 wifi: ath9k: Remove error checks when creating debugfs entries
    2404db8b39ac wifi: brcmfmac: introducing fwil query functions
    771e66f74285 ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()
    b5d534b473e2 crypto: iaa - Fix potential use after free bug
    3926cabcf335 crypto: qat - ensure correct order in VF restarting handler
    f39df661e9f6 crypto: qat - fix recovery flow for VFs
    ea4d47ffd39d crypto: qat - disable IOV in adf_dev_stop()
    df0086689c66 crypto: xor - fix template benchmarking
    9432185540ba wifi: rtw88: always wait for both firmware loading attempts
    7e8c4c7cbaed EDAC/synopsys: Fix error injection on Zynq UltraScale+
    dbd51da69dda wifi: ath11k: use work queue to process beacon tx event
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: f113431c53e5a5d6051478487e34edbba4f19e0c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2972338da9563e64d8953921efcedea361b2b4ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
cd4e43e639 linux-yocto/6.10: update to v6.10.12
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    e0081d1e9c57 Linux 6.10.12
    47e0c6b594de powercap: intel_rapl: Change an error pointer to NULL
    e872738e670d USB: usbtmc: prevent kernel-usb-infoleak
    3f24124ed89f USB: serial: pl2303: add device id for Macrosilicon MS3020
    59ea0c908ade can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop()
    3f08a4a456b1 can: mcp251xfd: properly indent labels
    d285ca605b66 nvme-pci: qdepth 1 quirk
    fa9e1c1b1f38 Bluetooth: btintel_pcie: Allocate memory for driver private data
    3f9d88fbc2eb netfilter: nft_socket: Fix a NULL vs IS_ERR() bug in nft_socket_cgroup_subtree_level()
    ecc5368315af netfilter: nft_socket: make cgroupsv2 matching work with namespaces
    f8a7fa068be0 powercap/intel_rapl: Fix the energy-pkg event for AMD CPUs
    e3203070a635 powercap/intel_rapl: Add support for AMD family 1Ah
    41db9aa05600 drm: Expand max DRM device number to full MINORBITS
    7742221a263f accel: Use XArray instead of IDR for minors
    8b0a86b45ae4 drm: Use XArray instead of IDR for minors
    e4ffea01adf3 ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
    8e7bef408261 ocfs2: add bounds checking to ocfs2_xattr_find_entry()
    b658d9d56a8f spi: spidev: Add missing spi_device_id for jg10309-01
    dd54b7ab069f drm/amd/pm: fix the pp_dpm_pcie issue on smu v14.0.2/3
    e7a76ab59372 tools: hv: rm .*.cmd when make clean
    4e512c442da8 x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency
    e13431de1dfd ice: check for XDP rings instead of bpf program when unconfiguring
    8d92ea5741e1 platform/x86/amd: pmf: Make ASUS GA403 quirk generic
    cb2936c24a7a smb: client: fix hang in wait_for_response() for negproto
    ecc8b3b6cc44 spi: bcm63xx: Enable module autoloading
    ed07a5988031 drm: komeda: Fix an issue related to normalized zpos
    d8635fbd44e9 ALSA: hda: add HDMI codec ID for Intel PTL
    69e4321192d7 clk: qcom: gcc-sm8650: Don't use shared clk_ops for QUPs
    6784da0b04dc ASoC: amd: yc: Add a quirk for MSI Bravo 17 (D7VEK)
    dc41e72e33b8 spi: spidev: Add an entry for elgin,jg10309-01
    9173a2003d8e ASoC: mediatek: mt8188-mt6359: Modify key
    feff318d6d2d ASoC: fix module autoloading
    09ab4b2b460d ASoC: tda7419: fix module autoloading
    ca50510bac3c ASoC: google: fix module autoloading
    7cd03e167735 ASoC: intel: fix module autoloading
    98865eac258a ASoC: Intel: soc-acpi-cht: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    62d0c6ce2cf0 can: mcp251xfd: mcp251xfd_ring_init(): check TX-coalescing configuration
    8809b849687a can: m_can: Limit coalescing to peripheral instances
    d154700d6280 wifi: iwlwifi: clear trans->state earlier upon error
    e31a0656848a wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
    7188b7a72320 wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead
    55086c97a55d wifi: iwlwifi: mvm: pause TCM when the firmware is stopped
    5116deb3ee26 wifi: iwlwifi: mvm: fix iwl_mvm_max_scan_ie_fw_cmd_room()
    05ccaedbd651 wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
    0c211da3fcb8 wifi: iwlwifi: lower message level for FW buffer destination
    05969a694471 LoongArch: KVM: Invalidate guest steal time address on vCPU reset
    ae2b89a2a164 LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE
    3520cf2e3cc3 net: ftgmac100: Ensure tx descriptor updates are visible
    66e05bb477da platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    6b65b4f1c4c0 platform/x86: asus-wmi: Fix spurious rfkill on UX8406MA
    32ee7b7e9d31 microblaze: don't treat zero reserved memory regions as error
    9afeb3d0c1fe hwmon: (asus-ec-sensors) remove VRM temp X570-E GAMING
    ddbb44b11292 pinctrl: at91: make it work with current gpiolib
    338425c8ba38 scsi: lpfc: Fix overflow build issue
    4b0d65561ee8 ALSA: hda/realtek - FIxed ALC285 headphone no sound
    478b57ec45bf ALSA: hda/realtek - Fixed ALC256 headphone no sound
    0aa8eca1d4dc ASoC: allow module autoloading for table board_ids
    486d4c4485fb ASoC: allow module autoloading for table db1200_pids
    4830fa8eb426 ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
    706ddb6363c0 ASoC: SOF: mediatek: Add missing board compatible
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 0807aac21aa77f7fae579be46373e17b6d3bdd67)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a8f53385d49ca7dddd68056e3bc0e5fefbeee034)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
5bd56d74a4 linux-yocto/6.10: update to v6.10.11
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    8a886bee7aa5 Linux 6.10.11
    729ae6e76187 usb: typec: ucsi: Only set number of plug altmodes after registration
    7d318166bf55 ASoC: meson: axg-card: fix 'use-after-free'
    080c3068715d pinctrl: meteorlake: Add Arrow Lake-H/U ACPI ID
    6c69458e2e32 cifs: Fix signature miscalculation
    7f7417d0ba92 drm/xe/display: fix compat IS_DISPLAY_STEP() range end
    d53503ca0449 ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
    bcf0e7f90ba8 drm/i915/guc: prevent a possible int overflow in wq offsets
    4e96ea328a80 spi: geni-qcom: Fix incorrect free_irq() sequence
    ff4767f00234 spi: geni-qcom: Undo runtime PM changes at driver exit time
    01281a9e8275 ASoC: Intel: soc-acpi-intel-mtl-match: add missing empty item
    8eb57389d8ad ASoC: Intel: soc-acpi-intel-lnl-match: add missing empty item
    ad78bcd111e3 tracing/kprobes: Fix build error when find_module() is not available
    abc8feacacf8 drm/xe/client: add missing bo locking in show_meminfo()
    9d3de463e23b drm/xe/client: fix deadlock in show_meminfo()
    fc108cbc7e7a drm/amd/amdgpu: apply command submission parser for JPEG v2+
    8403c350b44e drm/amd/amdgpu: apply command submission parser for JPEG v1
    42850927656a drm/amd/display: Avoid race between dcn35_set_drr() and dc_state_destruct()
    b6ce047a81f5 drm/amd/display: Avoid race between dcn10_set_drr() and dc_state_destruct()
    73e7a3b2f451 drm/amdgpu/atomfirmware: Silence UBSAN warning
    affbd12c5f76 drm/nouveau/fb: restore init() for ramgp102
    e79050882b85 dma-buf: heaps: Fix off-by-one in CMA heap fault handler
    73333816cf2a drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl
    87d3436e4c27 soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
    d1a1dfcec77c spi: nxp-fspi: fix the KASAN report out-of-bounds bug
    49ac6299f2a9 tracing/osnoise: Fix build when timerlat is not enabled
    abee73f96d9d netlink: specs: mptcp: fix port endianness
    ce8eabc912fe net: dpaa: Pad packets to ETH_ZLEN
    b4fe06be8eee net: dsa: felix: ignore pending status of TAS module when it's disabled
    8d0c3368478e net: hsr: prevent NULL pointer dereference in hsr_proxy_announce()
    1f68e097e20d netfilter: nft_socket: fix sk refcount leaks
    b5f2f7d1c526 riscv: Disable preemption while handling PR_RISCV_CTX_SW_FENCEI_OFF
    edcab8d5bce3 drivers: perf: Fix smp_processor_id() use in preemptible code
    176b6a0675c5 selftests: net: csum: Fix checksums for packets with non-zero padding
    67b61e2f4c9c net: phy: dp83822: Fix NULL pointer dereference on DP83825 devices
    e55c1df0016b net: ftgmac100: Enable TX interrupt to avoid TX timeout
    57db4764a88b octeontx2-af: Modify SMQ flush sequence to drop packets
    aca06c617c83 fou: fix initialization of grc
    505ae01f75f8 net/mlx5: Fix bridge mode operations when there are no VFs
    317b791922b8 net/mlx5: Verify support for scheduling element and TSAR type
    0865cf82edfc net/mlx5: Correct TASR typo into TSAR
    58491e7afe24 net/mlx5: Add missing masks and QoS bit masks for scheduling elements
    849bc9775242 net/mlx5: Explicitly set scheduling element and TSAR type
    478f00895f44 net/mlx5e: Add missing link mode to ptys2ext_ethtool_map
    2e1880fd618f net/mlx5e: Add missing link modes to ptys2ethtool_map
    20700e95b90a net/mlx5: Update the list of the PCI supported devices
    f422771750e4 igb: Always call igb_xdp_ring_update_tail() under Tx lock
    57b01a10ae14 ice: fix VSI lists confusion when adding VLANs
    4d6ad546156a ice: fix accounting for filters shared by multiple VSIs
    5f6c00ae7b33 ice: Fix lldp packets dropping after changing the number of channels
    a4b9c2fd80f2 hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2
    de239e8db564 net: hsr: Send supervisory frames to HSR network with ProxyNodeTable data
    506dd33be9fd selftests/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()
    3e8856209299 cxl: Restore XOR'd position bits during address translation
    b5bd350efae9 cxl/core: Fix incorrect vendor debug UUID define
    70b90f7843ec clk/sophgo: Using BUG() instead of unreachable() in mmux_get_parent_id()
    556c31259cdd eeprom: digsy_mtc: Fix 93xx46 driver probe failure
    c5702cc3cb1b drm/amd/display: Fix FEC_READY write on DP LT
    d36ad993d565 drm/amd/display: Disable error correction if it's not supported
    9c838257b95d riscv: dts: starfive: jh7110-common: Fix lower rate of CPUfreq by setting PLL0 rate to 1.5GHz
    8c6a5a1fc02a firmware: qcom: uefisecapp: Fix deadlock in qcuefi_acquire()
    36050b7cdb3a arm64: dts: rockchip: fix PMIC interrupt pin in pinctrl for ROCK Pi E
    77e4578148b8 bcachefs: Don't delete open files in online fsck
    efb335dc3664 bcachefs: Revert lockless buffered IO path
    0514b281f36b bcachefs: Fix bch2_extents_match() false positive
    954fd4c81f22 mm: avoid leaving partial pfn mappings around in error case
    d6f018a3b49d x86/hyperv: fix kexec crash due to VP assist page corruption
    1bb24288b625 clocksource: hyper-v: Use lapic timer in a TDX VM without paravisor
    5dfb716fdb7d dm-integrity: fix a race condition when accessing recalc_sector
    327f0792ca04 net: libwx: fix number of Rx and Tx descriptors
    8e1f7e51648e net: tighten bad gso csum offset check in virtio_net_hdr
    5a6faeb2815e minmax: reduce min/max macro expansion in atomisp driver
    70eb635cdbe9 arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma
    18c0ddc03703 arm64: dts: rockchip: fix eMMC/SPI corruption when audio has been used on RK3399 Puma
    e5ba8d381a3c selftests: mptcp: join: restrict fullmesh endp on 1st sf
    12134a652b0a mptcp: pm: Fix uaf in __timer_delete_sync
    f311968726d5 platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
    b38c19783286 platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    a23c1b9a76f8 NFS: Avoid unnecessary rescanning of the per-server delegation list
    f2331b87fdaf NFSv4: Fix clearing of layout segments in layoutreturn
    5c605d81e3d8 smb/server: fix return value of smb2_open()
    0b99d0e17d6a s390/mm: Pin identity mapping base to zero
    7a6e0b6fe3cf drm/xe: use devm instead of drmm for managed bo
    f3c6de0fa538 drm/xe: fix WA 14018094691
    3aa5397e333a drm/xe/xe2lpm: Extend Wa_16021639441
    f74e8bc5d71a Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
    b4ca1ead719c drm/msm/adreno: Fix error return if missing firmware-name
    ad0a22cb9047 spi: zynqmp-gqspi: Scale timeout by data size
    c27f780f4542 platform/surface: aggregator_registry: Add support for Surface Laptop 6
    d8d5fb769017 platform/surface: aggregator_registry: Add fan and thermal sensor support for Surface Laptop 5
    845eef138035 platform/surface: aggregator_registry: Add support for Surface Laptop Studio 2
    41c042722007 platform/surface: aggregator_registry: Add support for Surface Laptop Go 3
    db707dd766c9 platform/surface: aggregator_registry: Add Support for Surface Pro 10
    4111ff8f9a15 platform/x86: asus-wmi: Add quirk for ROG Ally X
    317159931f8f scripts: kconfig: merge_config: config files: add a trailing newline
    3dfab03b923c cgroup/cpuset: Eliminate unncessary sched domains rebuilds in hotplug
    f693397eb9a5 Input: edt-ft5x06 - add support for FocalTech FT8201
    d189e24a42b8 HID: multitouch: Add support for GT7868Q
    1fe7facedf6e hid-asus: add ROG Ally X prod ID to quirk list
    883e932bd416 Input: synaptics - enable SMBus for HP Elitebook 840 G2
    5720cd7313af Input: ads7846 - ratelimit the spi_sync error message
    a314bb665a2a btrfs: update target inode's ctime on unlink
    45ce59266a75 net: hns3: use correct release function during uninitialization
    57a606ca15de drm/amdgpu: Update kmd_fw_shared for VCN5
    8d92bafd4c67 wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change
    59c1b7916dba powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
    b7002518171d net: phy: vitesse: repair vsc73xx autonegotiation
    a43653ed1ef1 drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    df5a3a6d2020 drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
    a387bfd15305 net: ethernet: use ip_hdrlen() instead of bit shift
    ccc94e269281 usbnet: ipheth: fix carrier detection in modes 1 and 4
    08ca800b0cd5 usbnet: ipheth: do not stop RX on failing RX callback
    716b11132999 usbnet: ipheth: drop RX URBs with no payload
    5ad04d8e4207 usbnet: ipheth: remove extraneous rx URB length check
    02bc490c4590 ksmbd: override fsids for smb2_query_info()
    08f9f96d430e ksmbd: override fsids for share path check
    960be51f89cd drm/mediatek: Set sensible cursor width/height values to fix crash
    3e1840750c57 usb: typec: ucsi: Fix cable registration
    a67fc92568b8 usb: typec: ucsi: Always set number of alternate modes
    049be94099ea Linux 6.10.10
    60e01e9316a3 LoongArch: Use accessors to page table entries instead of direct dereference
    12bc88ca29de spi: spi-fsl-lpspi: Fix off-by-one in prescale max
    01681aa609b5 btrfs: fix race between direct IO write and fsync when using same fd
    6f574d015689 drm/i915/display: Increase Fast Wake Sync length as a quirk
    48cb63ce38b9 drm/i915/display: Add mechanism to use sink model when applying quirk
    b4e9331e9064 x86/mm: Fix PTI for i386 some more
    7c890ef60bf4 ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()
    5ac3d0a487d1 nvmet: Identify-Active Namespace ID List command should reject invalid nsid
    2443c10be369 nvme: rename CDR/MORE/DNR to NVME_STATUS_*
    d433e595f1ac nvme: fix status magic numbers
    1be0c309a33c nvme: rename nvme_sc_to_pr_err to nvme_status_to_pr_err
    39517a901b8f cifs: Fix SMB1 readv/writev callback in the same way as SMB2/3
    72a57a7b4f83 cifs: Fix zero_point init on inode initialisation
    82f134ddd4f5 riscv: Fix RISCV_ALTERNATIVE_EARLY
    bb63fe4f5f31 riscv: Improve sbi_ecall() code generation by reordering arguments
    3445b6ccc792 riscv: Add tracepoints for SBI calls and returns
    339b880e7ced riscv: Do not restrict memory size because of linear mapping on nommu
    775a2238aa98 riscv: Fix toolchain vector detection
    1a46c7f6546b smb: client: fix double put of @cfile in smb2_rename_path()
    d195d5fae9b8 gpio: modepin: Enable module autoloading
    fcb0ebed9345 gpio: rockchip: fix OF node leak in probe()
    c2017deb0330 drm/i915/fence: Mark debug_fence_free() with __maybe_unused
    e74af8de40b5 drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
    74182cc77497 nouveau: fix the fwsec sb verification register.
    709aba10e2fa clk: qcom: gcc-sm8550: Don't park the USB RCG at registration time
    0d1e7301225c clk: qcom: gcc-sm8550: Don't use parking clk_ops for QUPs
    527663015f23 ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode
    9bf1c67635b5 riscv: mm: Do not restrict mmap address based on hint
    62f6ca61bb88 riscv: selftests: Remove mmap hint address checks
    9795a6bd7172 ASoc: SOF: topology: Clear SOF link platform name upon unload
    68e6917f3d4e clk: qcom: gcc-x1e80100: Don't use parking clk_ops for QUPs
    cf7ce11385cc nvme-pci: allocate tagset on reset if necessary
    6c04d1e3ab22 nvmet-tcp: fix kernel crash if commands allocation fails
    67002edd6c6c ASoC: tegra: Fix CBB error during probe()
    55fe39810bea powerpc/vdso: Don't discard rela sections
    1e08132bc7c7 powerpc/64e: Define mmu_pte_psize static
    7ebaff701efe powerpc/64e: split out nohash Book3E 64-bit code
    4429f9807e63 powerpc/64e: remove unused IBM HTW code
    70eee39bbd05 clk: qcom: ipq9574: Update the alpha PLL type for GPLLs
    7b7a9dac3878 clk: qcom: gcc-x1e80100: Fix USB 0 and 1 PHY GDSC pwrsts flags
    101c62609886 drm/xe/xe2lpg: Extend workaround 14021402888
    2cb699051873 drm/xe/xe2: Add workaround 14021402888
    e70f6ac7b761 net/mlx5e: SHAMPO, Fix page leak
    c26243db74c1 net/mlx5e: SHAMPO, Use KSMs instead of KLMs
    f5ce0b408124 hid: bpf: add BPF_JIT dependency
    17c1e62c7ec2 crypto: starfive - Fix nent assignment in rsa dec
    0e3da92dbf6e crypto: starfive - Align rsa input data to 32-bit
    f9d0026c628c ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
    79f80316e6a9 ata: libata-scsi: Remove redundant sense_buffer memsets
    830bdd8a183d drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes
    4ba7c00d39f6 drm/amd: Add gfx12 swizzle mode defs
    d33a5bff7059 can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd
    91c389c7aa93 can: mcp251xfd: clarify the meaning of timestamp
    185c150a826e can: mcp251xfd: rx: prepare to workaround broken RX FIFO head index erratum
    018028d42bbc can: mcp251xfd: mcp251xfd_handle_rxif_ring_uinc(): factor out in separate function
    bc7fbb37e3d2 arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
    7c7d598974b5 arm64: acpi: Move get_cpu_for_acpi_id() to a header
    eea54a453c1d ACPI: processor: Fix memory leaks in error paths of processor_add()
    560eef75500d ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
    9be835e9fd63 fs: relax permissions for listmount()
    e895aef0485f fs: simplify error handling
    968d52c4dde2 path: add cleanup helper
    da5f374103a1 workqueue: Improve scalability of workqueue watchdog touch
    4b88865d8bf0 workqueue: wq_watchdog_touch is always called with valid CPU
    43568d917d93 mm/memcontrol: respect zswap.writeback setting from parent cg too
    b7d4dd381d3e mm: zswap: rename is_zswap_enabled() to zswap_is_enabled()
    b9b6882e243b perf/aux: Fix AUX buffer serialization
    13123ef14a94 uprobes: Use kzalloc to allocate xol area
    e47d7f80b4d7 clocksource/drivers/timer-of: Remove percpu irq related code
    9c09812e885a clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
    13145027070c clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
    00fe5292f081 VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
    a11874db04ea Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
    928e399e84f4 uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
    2241b78f2245 nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
    f78addda7afc nvmem: u-boot-env: error if NVMEM device is too small
    540ca4c902d9 dt-bindings: nvmem: Use soc-nvmem node name instead of nvmem
    109e845c1184 binder: fix UAF caused by offsets overwrite
    bfc1704d909d misc: fastrpc: Fix double free of 'buf' in error path
    31b793b08134 usb: typec: ucsi: Fix the partner PD revision
    c1e23cee9ce3 usb: dwc3: Avoid waking up gadget during startxfer
    2ba5ad41218a usb: cdns2: Fix controller reset issue
    0140b2b5b76a usb: dwc3: core: update LC timer as per USB Spec V3.2
    a334f875a886 iio: adc: ad7124: fix DT configuration parsing
    76a160c8e82a iio: adc: ad7124: fix chip ID mismatch
    6e4bf8e79966 iio: adc: ad_sigma_delta: fix irq_flags on irq request
    0e79ed236b4d iio: adc: ad7606: remove frstdata check for serial mode
    6c56053739ad iio: adc: ad7124: fix config comparison
    9de24f9ef0f1 iio: imu: inv_mpu6050: fix interrupt status read for old buggy chips
    b30d022f04a8 iio: fix scale application in iio_convert_raw_to_processed_unlocked
    3d752f729e35 iio: buffer-dmaengine: fix releasing dma channel on error
    8961b245e8f9 staging: iio: frequency: ad9834: Validate frequency parameter value
    84dc375c8350 tcp: process the 3rd ACK with sk_socket for TFO/MPTCP
    98d1b6b48628 fs: only copy to userspace on success in listmount()
    e30b013e24da drm/amdgpu: Fix amdgpu_device_reset_sriov retry logic
    3adb4ae45e42 drm/amdgpu: Add reset_context flag for host FLR
    1f490704c616 drm/amdgpu: Fix two reset triggered in a row
    f9f0b593baef NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
    3b692794b81f smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
    b8186f5cfa4f ata: pata_macio: Use WARN instead of BUG
    9cb25a390a41 spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register
    189d3ed3b25b MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
    d1207f07decc kunit/overflow: Fix UB in overflow_allocation_test
    c33a9806dc80 net: hns3: void array out of bound when loop tnl_num
    0f078f8ca93b lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
    bf68acd840b6 of/irq: Prevent device address out-of-bounds read in interrupt map walk
    ef4e249971eb Squashfs: sanity check symbolic link size
    51263e839929 usbnet: ipheth: race between ipheth_close and error handling
    d76fc0f0b18d Input: uinput - reject requests with unreasonable number of slots
    adb3e3c1ddb5 HID: amd_sfh: free driver_data after destroying hid device
    48b2108efa20 HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
    d21f3480b6db s390/vmlinux.lds.S: Move ro_after_init section behind rodata section
    55b046ec8a4f btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
    ee73a15d4a8c spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
    f743662ab629 kselftests: dmabuf-heaps: Ensure the driver name is null-terminated
    e2d14bfda9eb i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
    f62bf0cc6075 i3c: master: svc: resend target address when get NACK
    8d5863cb33aa vfs: Fix potential circular locking through setxattr() and removexattr()
    cec226f9b1fd cachefiles: Set the max subreq size for cache writes to MAX_RW_COUNT
    cae59dffe652 s390/boot: Do not assume the decompressor range is reserved
    66a490d7c5dd regmap: maple: work around gcc-14.1 false-positive warning
    4794579335ca LoongArch: Use correct API to map cmdline in relocate_kernel()
    52d9d4f33b85 drm/amdgpu: add mutex to protect ras shared memory
    42e6607d33c7 net: dpaa: avoid on-stack arrays of NR_CPUS elements
    056e0cd381d5 Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
    2d82277f6619 tcp: Don't drop SYN+ACK for simultaneous connect().
    81c68e218ab8 PCI: Add missing bridge lock to pci_bus_lock()
    6ffa0fb4f842 riscv: set trap vector earlier
    142ef3a1c98f cxl/region: Verify target positions using the ordered target list
    101737d8b88d ethtool: fail closed if we can't get max channel used in indirection tables
    ef9a8b73c8b6 btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info()
    f895db00c65e btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
    a7f16a7a7098 btrfs: handle errors from btrfs_dec_ref() properly
    03804641ec2d btrfs: clean up our handling of refs == 0 in snapshot delete
    a7dfb14798bc btrfs: replace BUG_ON with ASSERT in walk_down_proc()
    704c359b4093 btrfs: don't BUG_ON on ENOMEM from btrfs_lookup_extent_info() in walk_down_proc()
    ab6a217ac577 btrfs: slightly loosen the requirement for qgroup removal
    b5a531dd2f72 fs/ntfs3: Check more cases when directory is corrupted
    5e1a3e5ddf6a smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
    0d0d06fbc8f2 drm/amdgpu: reject gang submit on reserved VMIDs
    16c317f16e38 watchdog: imx7ulp_wdt: keep already running watchdog enabled
    9cd15511de7c bpf: Remove tst_run from lwt_seg6local_prog_ops.
    89827a4de802 iommufd: Require drivers to supply the cache_invalidate_user ops
    3913cea77d64 staging: vchiq_core: Bubble up wait_event_interruptible() return value
    bc89b8a2c6e2 PCI: qcom: Override NO_SNOOP attribute for SA8775P RC
    412db603a1d2 perf/x86/intel: Hide Topdown metrics events if the feature is not enumerated
    c16916dd6c16 wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
    a90abf931046 dma-mapping: benchmark: Don't starve others when doing the test
    926107e6e3f6 jbd2: avoid mount failed when commit block is partial submitted
    6dd40d964e67 ext4: fix possible tid_t sequence overflows
    bce2c507d99e drm/amdgpu: Set no_hw_access when VF request full GPU fails
    9feed1c5260c libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
    899eddc06e02 ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment
    26825b62bd1b hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
    996221b03099 hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
    16f42953231b hwmon: (lm95234) Fix underflows seen when writing limit attributes
    b0bdb43852bf hwmon: (adc128d818) Fix underflows seen when writing limit attributes
    e74ba5e3056f tracing/kprobes: Add symbol counting check when module loads
    8f2dabd2eef1 crypto: qat - fix unintentional re-enabling of error interrupts
    bba47fe3b038 scsi: lpfc: Handle mailbox timeouts in lpfc_get_sfp_info
    f14d3e1aa613 scsi: pm80xx: Set phy->enable_completion only when we wait for it
    3844586e9bd9 scsi: ufs: core: Remove SCSI host only if added
    25eaef533bf3 wifi: rtw88: usb: schedule rx work after everything is set up
    2745d99da131 virtio_ring: fix KMSAN error for premapped mode
    bfc44075b197 pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
    2962197b3e92 devres: Initialize an uninitialized struct member
    fc843d3837eb um: line: always fill *error_out in setup_one_line()
    1200485653a0 cgroup: Protect css->cgroup write under css_set_lock
    64149da0fddb block: don't call bio_uninit from bio_endio
    08205763198a iommu/vt-d: Remove control over Execute-Requested requests
    81f8c4381371 iommu/vt-d: Handle volatile descriptor status read
    15364a1ae180 cxl/region: Fix a race condition in memory hotplug notifier
    aa4e90ed8c5d dm init: Handle minors larger than 255
    85c9fdf75cd8 ASoC: topology: Properly initialize soc_enum values
    eb21d40a2189 phy: zynqmp: Take the phy mutex in xlate
    7f093820c084 firmware: cs_dsp: Don't allow writes to read-only controls
    112fd2f02b30 xen: privcmd: Fix possible access to a freed kirqfd instance
    982e057ee188 tools/net/ynl: fix cli.py --subscribe feature
    c61c4a64d246 selftests: net: enable bind tests
    553769473343 net: dsa: vsc73xx: fix possible subblocks range of CAPT block
    b4c56ed51390 net: xilinx: axienet: Fix race in axienet_stop
    7c1ac9e92797 net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
    7a8d3a25f6b4 r8152: fix the firmware doesn't work
    c46cd6aaca81 fou: Fix null-ptr-deref in GRO.
    58571ffb7843 bareudp: Fix device stats updates.
    c8ffe2d4d37a bpf: add check for invalid name in btf_name_valid_section()
    e454476c4452 bpf, net: Fix a potential race in do_sock_getsockopt()
    d860f25dee0e net: dqs: Do not use extern for unused dql_group
    720f1548fb13 usbnet: modern method to get random MAC
    fc110a08e83c ice: do not bring the VSI up, if it was down before the XDP setup
    041cbd1feb43 ice: remove ICE_CFG_BUSY locking from AF_XDP code
    6ea67b4790a0 ice: check ICE_VSI_DOWN under rtnl_lock when preparing for reset
    391f7dae3d83 ice: protect XDP configuration with a mutex
    2285c2faef19 ice: move netif_queue_set_napi to rtnl-protected sections
    ced032853080 ptp: ocp: adjust sysfs entries to expose tty information
    45e1755eedd6 ptp: ocp: convert serial ports to array
    d9c8dbbc236c net: phy: Fix missing of_node_put() for leds
    6a920f041aeb net: ethernet: ti: am65-cpsw: Fix RX statistics for XDP_TX and XDP_REDIRECT
    1b8719ac77cf perf lock contention: Fix spinlock and rwlock accounting
    4b19c83ba108 hwmon: (hp-wmi-sensors) Check if WMI event data exists
    0b7d7bca20c5 igc: Unlock on error in igc_io_resume()
    70e6473995a4 scripts: fix gfp-translate after ___GFP_*_BITS conversion to an enum
    671013001365 hwmon: ltc2991: fix register bits defines
    58afdc9b1887 Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT
    cae19117ac36 Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
    5d8a15c1138e Bluetooth: qca: If memdump doesn't work, re-enable IBS
    c4adc08b85f9 can: kvaser_pciefd: Use a single write when releasing RX buffers
    d1a40a5c2a4c can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
    330912c6f39d can: kvaser_pciefd: Rename board_irq to pci_irq
    662f25ae3401 can: kvaser_pciefd: Remove unnecessary comment
    fa2951deaea7 can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
    b15bfd9701c6 regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
    6e68abdc5d67 spi: intel: Add check devm_kasprintf() returned value
    7a9203f945fe platform/x86: dell-smbios: Fix error path in dell_smbios_init()
    36486c9e8e01 ice: Add netif_device_attach/detach into PF reset flow
    50161385e9d6 igb: Fix not clearing TimeSync interrupts for 82580
    7dfa4279c55f cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region
    55e78331e0ca cifs: Fix copy offload to flush destination region
    f3d8e8fde454 netfs, cifs: Fix handling of short DIO read
    2e1c24f7f5e5 cifs: Fix lack of credit renegotiation on read retry
    9cf20320a013 rust: kbuild: fix export of bss symbols
    c5a5feb1f84d can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
    9b6513daa5e2 can: m_can: Reset cached active_interrupts on start
    3fe629aa7d47 can: m_can: disable_all_interrupts, not clear active_interrupts
    281f32ea887e can: m_can: Do not cancel timer from within timer
    83e5c41d1ecd can: m_can: Remove m_can_rx_peripheral indirection
    79ae3475c9cf can: m_can: Remove coalesing disable in isr during suspend
    7eab2b893d5e can: m_can: Reset coalescing during suspend/resume
    abf296d242cd can: m_can: Release irq on error in m_can_open
    abb0a615569e can: bcm: Remove proc entry when dev is unregistered.
    79cc2b84ad24 drm/amdgpu/display: handle gfx12 in amdgpu_dm_plane_format_mod_supported
    14c9b54b28e0 drm/amdgpu: Correct register used to clear fault status
    9073d2cb8fdb drm/amdgpu: check for LINEAR_ALIGNED correctly in check_tiling_flags_gfx6
    ede06d233925 drm/amd/display: Check denominator crb_pipes before used
    11f997143c67 drm/amd/display: Check denominator pbn_div before used
    67c07958facc pcmcia: Use resource_size function on resource object
    b86c6b2ab1c7 media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
    4afc9cda8ade Input: ili210x - use kvmalloc() to allocate buffer for firmware update
    dd47051c76c8 PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
    9ae799838b29 ice: Check all ice_vsi_rebuild() errors in function
    90afe40da0a5 seccomp: release task filters when the task exits
    68d815648094 powerpc/rtas: Prevent Spectre v1 gadget construction in sys_rtas()
    dfd2e8eaa64b fs: relax permissions for statmount()
    15c770640bcb fs: don't copy to userspace under namespace semaphore
    e37e875e40b5 vfio/spapr: Always clear TCEs before unsetting the window
    4fd7a0513d67 media: vivid: don't set HDMI TX controls if there are no HDMI outputs
    9f216ceb125c crypto: qat - initialize user_input.lock for rate_limiting
    47d7b9a56deb drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts
    c2056c7a840f drm/amdgpu: Fix smatch static checker warning
    9738a1d834fb drm/amdgpu: add missing error handling in function amdgpu_gmc_flush_gpu_tlb_pasid
    5639a3048c70 drm/amd/display: Validate function returns
    47e637193f9a drm/amd/display: Check HDCP returned status
    adc74d25cdbb drm/amd/display: Run DC_LOG_DC after checking link->link_enc
    c1b85157d456 drm/amdgpu: Fix register access violation
    6fe9ca2ca389 usb: gadget: aspeed_udc: validate endpoint index for ast udc
    d66ec9855b21 usb: uas: set host status byte on data completion error
    08155329af59 wifi: rtw89: wow: prevent to send unexpected H2C during download Firmware
    d45b1c62d8af wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
    8aa2cd9f37d7 leds: spi-byte: Call of_node_put() on error path
    606cd754cad7 media: vivid: fix wrong sizeimage value for mplane
    f80c65d1e9a6 riscv: kprobes: Use patch_text_nosync() for insn slots
    90cc74552a73 fs/ntfs3: One more reason to mark inode bad
    925fd8ee80d5 udf: Avoid excessive partition lengths
    3cca098c9139 wifi: iwlwifi: mvm: use IWL_FW_CHECK for link ID check
    94dc8dc1c038 gve: Add adminq mutex lock
    39c3b595f3ef netfilter: nf_conncount: fix wrong variable type
    01579894637b iommu: sun50i: clear bypass register
    86e99aab7e18 x86/kmsan: Fix hook for unaligned accesses
    c8cb076f865f af_unix: Remove put_pid()/put_cred() in copy_peercred().
    845af9c8ce03 media: b2c2: flexcop-usb: fix flexcop_usb_memory_req
    34d1122674b8 irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
    01e43f1f651c irqchip/renesas-rzg2l: Reorder function calls in rzg2l_irqc_irq_disable()
    b69449b6c174 accel/habanalabs/gaudi2: unsecure edma max outstanding register
    1cf8cd809030 ELF: fix kernel.randomize_va_space double read
    af246e400789 bpf, verifier: Correct tail_call_reachable for bpf prog
    276872034888 virt: sev-guest: Mark driver struct with __refdata to prevent section mismatch
    941358a2c56e cgroup/cpuset: Delay setting of CS_CPU_EXCLUSIVE until valid partition
    4e2b49a85e79 drm/amd/display: Check UnboundedRequestEnabled's value
    73656d1f4a74 smack: unix sockets: fix accept()ed socket label
    25a15f80253a wifi: ath12k: fix firmware crash due to invalid peer nss
    3e0a29500282 wifi: ath12k: fix uninitialize symbol error on ath12k_peer_assoc_h_he()
    b0d13e92d927 ALSA: hda: Add input value sanity checks to HDMI channel map controls
    d4e65b669755 ALSA: control: Apply sanity check of input values for user elements
    1b55a0249ae2 ALSA: hda/realtek: extend quirks for Clevo V5[46]0
    db492b5a322c drm/amd/display: Lock DC and exit IPS when changing backlight
    d1e4d3df12e4 drm/i915: Do not attempt to load the GSC multiple times
    675d6d34fc1c drm/amdgpu: always allocate cleared VRAM for GEM allocations
    1cc695be8920 drm/imagination: Free pvr_vm_gpuva after unlink
    33eb0344e186 drm/panthor: Restrict high priorities on group_create
    a6b268fce7bf drm/panthor: flush FW AS caches in slow reset path
    966fe02a285d drm/xe/gsc: Do not attempt to load the GSC multiple times
    e91dab550dd1 btrfs: zoned: handle broken write pointer on zones
    c3ae6e7b970d btrfs: qgroup: don't use extent changeset when not needed
    74866c16ea21 nilfs2: fix state management in error path of log writing function
    962562d4c70c nilfs2: protect references to superblock parameters exposed in sysfs
    1cf1f7e8cd47 nilfs2: fix missing cleanup on rollforward recovery error
    d7c01c0714c0 sched: sch_cake: fix bulk flow accounting logic for host fairness
    47abd8adddbc ila: call nf_unregister_net_hooks() sooner
    126d72b726c4 tcp_bpf: fix return value of tcp_bpf_sendmsg()
    436dd444d8b2 Revert "wifi: ath11k: support hibernation"
    930840f19ec9 Revert "wifi: ath11k: restore country code during resume"
    3aa52bd43986 Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"
    82e3e968defb x86/apic: Make x2apic_disable() work correctly
    ce9e83a066f4 x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported
    ddee07e8ad90 net: mctp-serial: Fix missing escapes on transmit
    4982a47154f0 net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup
    f579d17a8644 eventfs: Use list_del_rcu() for SRCU protected list variable
    0a11262549ac fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF
    98cc18b1b71e userfaultfd: fix checks for huge PMDs
    db978287e908 userfaultfd: don't BUG_ON() if khugepaged yanks our page table
    4679272d5252 tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()
    aec14e97c866 tracing: Avoid possible softlockup in tracing_iter_reset()
    8a9d0d405159 tracing/timerlat: Only clear timer if a kthread exists
    27282d2505b4 tracing/osnoise: Use a cpumask to know what threads are kthreads
    0efbad8445fb spi: rockchip: Resolve unbalanced runtime PM / system PM handling
    e7eb8b9c8391 Revert "mm: skip CMA pages when they are not available"
    2d476c86ba47 mm/slub: add check for s->flags in the alloc_tagging_slab_free_hook
    6cf74e0e5e3a mm: vmalloc: ensure vmap_block is initialised before adding to queue
    55c39bb701ba kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y
    bd4c713e0652 maple_tree: remove rcu_read_lock() from mt_validate()
    16ad36c8e66a codetag: debug: mark codetags for poisoned page as empty
    77e240511603 alloc_tag: fix allocation tag reporting when CONFIG_MODULES=n
    1e96ae38257c mm: vmalloc: optimize vmap_lazy_nr arithmetic when purging each vmap_area
    e554113a1cd2 can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
    1e8a6948bdbd pinctrl: qcom: x1e80100: Bypass PDC wakeup parent for now
    be495259a08e clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API
    382ef041d60e clk: qcom: clk-alpha-pll: Fix the pll post div mask
    d81ef42faf96 clk: starfive: jh7110-sys: Add notifier for PLL0 clock
    c37c00cf3d03 parisc: Delay write-protection until mark_rodata_ro() call
    a3b6ff6c896a riscv: misaligned: Restrict user access to kernel memory
    85cda5b040bd ASoC: Intel: Boards: Fix NULL pointer deref in BYT/CHT boards harder
    2a5f32223e8f fuse: clear PG_uptodate when using a stolen page
    b39cea3a5a93 fuse: fix memory leak in fuse_create_open
    c5a56f3000a9 fuse: use unsigned type for getxattr/listxattr size truncation
    55c0b50148f7 fuse: check aborted connection before adding requests to pending list for resending
    58020fe88352 fuse: disable the combination of passthrough and writeback cache
    7a0b9c73ec42 fuse: update stats for pages in dropped aux writeback list
    73279b3c312f mmc: cqhci: Fix checking of CQHCI_HALT state
    0e8df0942de0 mmc: sdhci-of-aspeed: fix module autoloading
    5b1ef10f7d49 mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
    202c58db7a9c mmc: core: apply SD quirks earlier during probe
    129ba129f20b selftests: mm: fix build errors on armhf
    25256e790f9f Bluetooth: MGMT: Ignore keys being loaded with invalid type
    6f774a3a00ec Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
    70c76a9c55ed rust: macros: provide correct provenance when constructing THIS_MODULE
    bf958898d5f5 nvme-pci: Add sleep quirk for Samsung 990 Evo
    1863e1f098c5 irqchip/riscv-aplic: Fix an IS_ERR() vs NULL bug in probe()
    f13b5afc5c48 rtmutex: Drop rt_mutex::wait_lock before scheduling
    cfcd89ed9c57 x86/kaslr: Expose and use the end of the physical memory address space
    9319bfd74041 irqchip/sifive-plic: Probe plic driver early for Allwinner D1 platform
    028bd7b41f56 irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
    8717dc35c0e5 perf/x86/intel: Limit the period on Haswell
    b55ce742afcb x86/tdx: Fix data leak in mmio_read()
    81790a4dce06 ata: libata: Fix memory leak for error path in ata_host_alloc()
    28be82053460 ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
    4c8496f44f5b ksmbd: unset the binding mark of a reused connection
    762099898309 smb: client: fix double put of @cfile in smb2_set_path_size()
    f06af737e4be powerpc/qspinlock: Fix deadlock in MCS queue
    a6370f7196b6 ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx
    1a892e42d4cc ALSA: hda/realtek - Fix inactive headset mic jack for ASUS Vivobook 15 X1504VAP
    deb8e5a399e9 ALSA: hda/realtek: Enable Mute Led for HP Victus 15-fb1xxx
    e083e14b1344 ALSA: hda/realtek: add patch for internal mic in Lenovo V145
    54e3f7d0a17f ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
    85e5f2451853 KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing
    67766d01014e KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE
    ecdbe8ac86fb KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
    6a14fad8be17 ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
    396c88ab6dab net: ethernet: ti: am65-cpsw: fix XDP_DROP, XDP_TX and XDP_REDIRECT
    f7fe95f40c85 net: microchip: vcap: Fix use-after-free error in kunit test
    2e7189d2b1de net: ethernet: ti: am65-cpsw: Fix NULL dereference on XDP_TX
    590768e13ddd xfs: xfs_finobt_count_blocks() walks the wrong btree
    32008ab989dd sch/netem: fix use after free in netem_dequeue
    03e2a1209a83 libfs: fix get_stashed_dentry()
    1611860f184a Linux 6.10.9
    5c8dc61a17f4 i2c: Use IS_REACHABLE() for substituting empty ACPI functions
    b4fc7d011bc7 drm/amdgpu: remove redundant semicolons in RAS_EVENT_LOG
    9ce27841e0e1 mm: Fix filemap_invalidate_inode() to use invalidate_inode_pages2_range()
    ca32ee853a1e pinctrl: core: reset gpio_device in loop in pinctrl_pins_show()
    f45f8af567b6 media: uvcvideo: Enforce alignment of frame and interval
    b557ccd62c5c crypto: ecc - Fix off-by-one missing to clear most significant digit
    54834585e91c drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
    e46b70a7cfed drm/amd/display: Check BIOS images before it is used
    de449701ca07 drm/amdkfd: use mode1 reset for RAS poison consumption
    41c91c78eac0 drm/amdgpu: set RAS fed status for more cases
    30d1b783b6ee drm/amd/display: Avoid overflow from uint32_t to uint8_t
    31c254c9cd4b drm/amd/display: Disable DMCUB timeout for DCN35
    8dea33a86c26 drm/amd/display: use preferred link settings for dp signal only
    eba4b2a38ccd drm/amd/display: Remove register from DCN35 DMCUB diagnostic collection
    c592b6355b9b drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
    6bf920193ba1 drm/amd/display: added NULL check at start of dc_validate_stream
    80a984854ff0 drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay
    0b9696a9bd55 drm/amdgpu: fix overflowed constant warning in mmhub_set_clockgating()
    2fd24d2b99c8 drm/amdgpu: add lock in kfd_process_dequeue_from_device
    ba1123e2e864 drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb
    314883f6db87 drm/amdgpu: add skip_hw_access checks for sriov
    72de6c05742f block: remove the blk_flush_integrity call in blk_integrity_unregister
    dc537a72f648 driver: iio: add missing checks on iio_info's callback access
    af84813cfd29 drm/xe: Add GuC state asserts to deregister_exec_queue
    f909236671fe f2fs: fix to do sanity check on blocks for inline_data inode
    4540181f66cf wifi: cfg80211: make hash table duplicates more survivable
    82fff0aa4aff hwmon: (k10temp) Check return value of amd_smn_read()
    5fa5febeaf17 thermal: trip: Use READ_ONCE() for lockless access to trip properties
    db67686676c7 dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor
    cc8d9d36169d dmaengine: altera-msgdma: use irq variant of spin_lock/unlock while invoking callbacks
    d00f6aab2139 pinctrl: renesas: rzg2l: Validate power registers for SD and ETH
    e797ce6fd49f drm/xe: Check valid domain is passed in xe_force_wake_ref
    5e183e1c7ee2 drm/xe: Ensure caller uses sole domain for xe_force_wake_assert_held
    1fb136939537 drm/bridge: tc358767: Check if fully initialized before signalling HPD event via IRQ
    3e6ff8ca7faa net: tcp/dccp: prepare for tw_timer un-pinning
    b69aadeb26cb RAS/AMD/ATL: Validate address map when information is gathered
    af4dec239583 gfs2: Revert "Add quota_change type"
    5d734665cd5d crypto: stm32/cryp - call finalize with bh disabled
    f756e46704f1 drm/meson: plane: Add error handling
    c909ab41df2b net/mlx5e: SHAMPO, Fix incorrect page release
    1d2de6dd5902 platform/chrome: cros_ec_lpc: MEC access can use an AML mutex
    d3703fa94116 smack: tcp: ipv4, fix incorrect labeling
    61e5929d10b8 regmap: spi: Fix potential off-by-one when calculating reserved size
    bb706e92c87b drm/xe: Don't overmap identity VRAM mapping
    0080bdd9752a drm/amdgu: fix Unintentional integer overflow for mall size
    738cda07e5bb tcp: annotate data-races around tw->tw_ts_recent and tw->tw_ts_recent_stamp
    c64470787959 net: remove NULL-pointer net parameter in ip_metrics_convert
    7ef1d2e240c3 fsnotify: clear PARENT_WATCHED flags lazily
    4ff3d3d18d8f drm/xe: Use missing lock in relay_needs_worker
    99331fe68a8e usb: typec: ucsi: Fix null pointer dereference in trace
    ce16bd3a4a41 usbip: Don't submit special requests twice
    1eea6c49abf7 media: v4l2-cci: Always assign *val
    251f627e25c8 rcu/nocb: Remove buggy bypass lock contention mitigation
    514377ab902c pwm: xilinx: Fix u32 overflow issue in 32-bit width PWM mode.
    053f3b86631d ionic: fix potential irq name truncation
    6aa9ad7f4508 RDMA/efa: Properly handle unexpected AQ completions
    a197446759b3 remoteproc: qcom_q6v5_pas: Add hwspinlock bust on stop
    1e0ecab555b9 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
    145c38e5b540 hwspinlock: Introduce hwspin_lock_bust()
    38c775a1eb33 wifi: mac80211: check ieee80211_bss_info_change_notify() against MLD
    deffdebd9a5a wifi: iwlwifi: mvm: use only beacon BSS load for active links
    bb65c7b0d6c7 remoteproc: mediatek: Zero out only remaining bytes of IPI buffer
    e965c638f3be PCI: al: Check IORESOURCE_BUS existence during probe
    1223b3426e8e cpufreq: scmi: Avoid overflow of target_freq in fast switch
    0c7ac6867e92 wifi: cfg80211: restrict operation during radar detection
    564875db8e8b wifi: iwlwifi: remove fw_running op
    fb8e15ba808d drm/amdgpu: update type of buf size to u32 for eeprom functions
    179cc680f052 drm/amdgpu: Queue KFD reset workitem in VF FED
    79b0da10223b drm/amd/display: Fix pipe addition logic in calc_blocks_to_ungate DCN35
    63c195b4b89b drm/amdgpu: fix compiler 'side-effect' check issue for RAS_EVENT_LOG()
    3863350172a7 drm/kfd: Correct pinned buffer handling at kfd restore and validate process
    17881ea63b2f drm/xe: Fix the warning conditions
    02ed3fcf1d8f wifi: rtw89: ser: avoid multiple deinit on same CAM
    c5d3bf45dc43 drm/amd/pm: check negtive return for table entries
    7b56041e731d drm/amdgpu: fix the warning bad bit shift operation for aca_error_type type
    130c2dc75c8c drm/amdgpu: the warning dereferencing obj for nbio_v7_4
    0312bf150333 drm/amd/pm: check specific index for smu13
    f8e484c9e265 drm/amd/pm: check specific index for aldebaran
    d3f927ef0607 drm/amdgpu: fix the waring dereferencing hive
    00b9594d6310 drm/amdgpu: fix dereference after null check
    a01618adcba7 drm/amdgpu: Fix the warning division or modulo by zero
    aa92264ba6fd drm/amdgpu/vcn: remove irq disabling in vcn 5 suspend
    545f04215ca3 drm/amdgpu/pm: Check input value for power profile setting on smu11, smu13 and smu14
    76b24e94edab drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
    286b140b1f71 wifi: ath12k: initialize 'ret' in ath12k_dp_rxdma_ring_sel_config_wcn7850()
    60f098b07e43 wifi: ath11k: initialize 'ret' in ath11k_qmi_load_file_target_mem()
    0573d1701a26 wifi: ath12k: initialize 'ret' in ath12k_qmi_load_file_target_mem()
    c49bbe69ee15 apparmor: fix possible NULL pointer dereference
    2f4e36aaf5bd drm/xe/hwmon: Remove unwanted write permission for currN_label
    ee99ef9ebe02 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
    578ae965e8b9 drm/amdgpu: fix mc_data out-of-bounds read warning
    23fefef859c6 drm/amdgpu: fix ucode out-of-bounds read warning
    6a634dc4f3a3 drm/amdgpu: Fix uninitialized variable warning in amdgpu_info_ioctl
    db7a86676fd6 drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number
    a914c14ad2a2 drm/amdgpu: fix uninitialized variable warning for jpeg_v4
    d32081a430cd drm/amdgpu: fix uninitialized variable warning for amdgpu_xgmi
    820dcbd38a77 drm/amdkfd: Check debug trap enable before write dbg_ev_file
    130bee397b9c drm/amdgpu: Fix out-of-bounds write warning
    3b7b430f6ae2 drm/amdgpu: Fix the uninitialized variable warning
    0c28e581f6fc drm/amdgpu/pm: Fix uninitialized variable agc_btc_response
    e2c7da6fb5e5 drm/amdgpu/pm: Fix uninitialized variable warning for smu10
    734d5247ec3f drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt
    4bbfb0cd9bc4 drm/drm-bridge: Drop conditionals around of_node pointers
    362a93ad2df0 drm/xe: Demote CCS_MODE info to debug only
    e8765364d4f3 drm/amd/amdgpu: Check tbo resource pointer
    aba188d6f4eb drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
    783d50e8216e drm/amd/display: Fix writeback job lock evasion within dm_crtc_high_irq
    ee9d6df6d917 drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
    d705b5869f6b drm/amd/display: Ensure index calculation will not overflow
    e10b68e1c9f5 drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy
    05be70f34a6c drm/amd/display: Spinlock before reading event
    34108384e670 drm/amd/display: Release clck_src memory if clk_src_construct fails
    44def55f7554 drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create
    ff9730fafa55 drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info
    aad4d3d3d3b6 drm/amd/display: Add otg_master NULL check within resource_log_pipe_topology_update
    ac04759b4a00 drm/amd/display: Check link_index before accessing dc->links[]
    26cdb5ed36b9 drm/amd/display: Release state memory if amdgpu_dm_create_color_properties fail
    6590643c5de7 drm/amd/display: Check msg_id before processing transcation
    6a4a08e45e61 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
    a3b5ee22a9d3 drm/amd/display: Add array index check for hdcp ddc access
    ca0b0b0a2230 drm/amd/display: Add missing NULL pointer check within dpcd_extend_address_range
    6c588e9350dd drm/amd/display: Check index for aux_rd_interval before using
    712be65b3b37 drm/amd/display: Fix incorrect size calculation for loop
    36c39a8dcce2 drm/amd/display: Stop amdgpu_dm initialize when link nums greater than max_links
    d398c74c881d drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6
    3d4198ab612a drm/amd/display: Check gpio_id before used as array index
    a64284b9e199 drm/amd/display: Ensure array index tg_inst won't be -1
    55e07d7952ac drm/amdgpu: avoid reading vf2pf info size from FB
    152a0eed10e4 drm/xe/gt: Fix assert in L3 bank mask generation
    b137126d70ae drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr
    5dd675d51828 drm/amdgpu: fix uninitialized scalar variable warning
    d83fb9f9f63e drm/amd/pm: fix the Out-of-bounds read warning
    5551c1937904 drm/amd/pm: fix uninitialized variable warning for smu_v13
    06a3810010b5 drm/amd/pm: Fix negative array index read
    9c2c7ecae01c drm/amd/pm: fix warning using uninitialized value of max_vid_step
    a30173a087cf drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr
    113a28db008e drm/amd/pm: fix uninitialized variable warning
    1e310c74d91b drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc
    3e122ddec66f drm/amdgpu: fix overflowed array index read warning
    b946a27513fe drm/amdgpu: Handle sg size limit for contiguous allocation
    c44b568931d2 drm/amd/display: Assign linear_pitch_alignment even for VM
    5ba5b99ce3b6 drm/amd/display: Handle the case which quad_part is equal 0
    020d0b3acda4 Revert "drm/amd/display: Fix incorrect pointer assignment"
    c9c3366f52d9 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
    ee743f5f8624 selftests: mptcp: join: test for flush/re-add endpoints
    e8d360c9d666 selftests: mptcp: join: check re-re-adding ID 0 signal
    712a5148cfdc selftests: mptcp: join: validate event numbers
    bcad92c9188a selftests: mptcp: join: check re-adding init endp with != id
    2851cf6c57c5 selftests: mptcp: join: check re-using ID of unused ADD_ADDR
    16a71574da28 selftests: mptcp: add explicit test case for remove/readd
    451f7bf9cc61 arm64: dts: qcom: x1e80100-qcp: fix missing PCIe4 gpios
    40d5b7bf2794 arm64: dts: qcom: x1e80100-qcp: fix up PCIe6a pinctrl node
    33dc7e2039f1 arm64: dts: qcom: x1e80100-crd: fix missing PCIe4 gpios
    e6de9b376833 arm64: dts: qcom: x1e80100-crd: fix up PCIe6a pinctrl node
    9606bea70a67 arm64: dts: qcom: x1e80100: Describe the PCIe 6a resources
    b7265d217892 ASoC: codecs: ES8326: button detect issue
    97f9a8690faf ASoC: amd: yc: Support mic on Lenovo Thinkpad E14 Gen 6
    a680c59024b4 net: usb: qmi_wwan: add MeiG Smart SRM825L
    e1e49ba81a96 dma-debug: avoid deadlock between dma debug vs printk and netconsole
    93658715e6f1 virtio-net: check feature before configuring the vq coalescing command
    7ced32ce3a7a i2c: Fix conditional for substituting empty ACPI functions
    e42ef22bc10f btrfs: fix qgroup reserve leaks in cow_file_range
    a52397fc1e51 btrfs: scrub: update last_physical after scrubbing one stripe
    984bd0470143 btrfs: factor out stripe length calculation into a helper
    5f4a377f56e6 platform/x86/amd/pmf: Add new ACPI ID AMDI0107
    3d5c26b08bde platform/x86/amd: pmf: Add quirk for ROG Ally X
    2d118bb07fdd spi: hisi-kunpeng: Add validation for the minimum value of speed_hz
    7bfee532b6f5 ASoC: amd: yc: Support mic on HP 14-em0002la
    8f215abf7755 smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
    432afacede47 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule
    67b2cc15774c ALSA: seq: ump: Explicitly reset RPN with Null RPN
    e7e26824f5ca ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    a2e6dd2bbadd ALSA: seq: ump: Use the common RPN/bank conversion context
    d0e17d1676ca ALSA: ump: Explicitly reset RPN with Null RPN
    a894f0117ff1 ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    b348eac11cb3 x86/CPU/AMD: Add models 0x60-0x6f to the Zen5 range
    f0d4faa80023 ALSA: hda/conexant: Mute speakers at suspend / shutdown
    2ae9f8706a8d ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown
    fbaafe4c8f79 btrfs: tree-checker: validate dref root and objectid
    54b20f6ef361 scsi: ufs: core: Bypass quick recovery if force reset is needed
    fef611b98c32 scsi: ufs: core: Check LSDBS cap when !mcq
    26de03c2ddc4 drm: panel-orientation-quirks: Add quirk for OrangePi Neo
    63945b7948ef drm/fb-helper: Don't schedule_work() to flush frame buffer during panic()
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 8640017507a8e68cd7c89169e224ce684710f047)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa6e9888173ce4252c0f2ad8cdd94c8ff795cff2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Richard Purdie
0c29992ed6 efi-bootdisk.wks: Increase overhead-factor to avoid test failures
After commit d74bfb2d5c:
"linux-yocto: Enable l2tp drivers when ptest featuee is on"
was merged, oe-selftest efibootpartition.GenericEFITest.test_boot_efi
breaks due to space issues.

Increase the disk space available to avoid this and allow functional
automated testing again.

(From OE-Core rev: 76f91dba302330c89c4a742e4ef24ec1898d130f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eb76c15de881a56ead0a18f6428c5564291249c9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Khem Raj
735e7dcdd0 linux-yocto: Enable l2tp drivers when ptest featuee is on
openl2tp ptests from networking layer depend upon these

(From OE-Core rev: 7f8294456024772896072d4d6492c4d167c59613)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f25b0857a71656f4eaeb27beebd6b10bc3207d61)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
60eb74fb47 linux-yocto/6.6: update to v6.6.54
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    63a57420cf79 Linux 6.6.54
    cada2646b748 Revert: "dm-verity: restart or panic on an I/O error"
    646749b423c4 spi: atmel-quadspi: Fix wrong register value written to MR
    4c0c5dcb5471 x86/tdx: Fix "in-kernel MMIO" check
    440fba897c5a thunderbolt: Fix NULL pointer dereference in tb_port_update_credits()
    e2ab9fd64d4f thunderbolt: Fix minimum allocated USB 3.x and PCIe bandwidth
    3dc5525d59da thunderbolt: Send uevent after asymmetric/symmetric switch
    6b5630297e94 wifi: brcmfmac: add linefeed at end of file
    72a3aef9640e iio: magnetometer: ak8975: Fix 'Unexpected device' error
    18b5ee7bf700 perf/arm-cmn: Fail DTC counter allocation correctly
    e43caacf6110 usb: yurex: Fix inconsistent locking bug in yurex_read()
    790c630ab0e7 bpf: Fix use-after-free in bpf_uprobe_multi_link_attach()
    7390c461264c Documentation: KVM: fix warning in "make htmldocs"
    d669e7829007 i2c: isch: Add missed 'else'
    88dfb1dd17d6 i2c: aspeed: Update the stop sw state when the bus recovery occurs
    b35a42bdaf18 mm/damon/vaddr: protect vma traversal in __damon_va_thre_regions() with rcu read lock
    6ec62dba4a19 module: Fix KCOV-ignored file name
    236eb2f95ad0 spi: fspi: add support for imx8ulp
    934760569134 mm: only enforce minimum stack gap size if it's sensible
    e1e734c1a085 lockdep: fix deadlock issue between lockdep and rcu
    bd24f30f5068 dm-verity: restart or panic on an I/O error
    b3c10ac84c5a bpf: lsm: Set bpf_lsm_blob_sizes.lbs_task to 0
    722e9e5acccf mm/filemap: optimize filemap folio adding
    734594d41c8e lib/xarray: introduce a new helper xas_get_order
    ff3c557fa93e mm/filemap: return early if failed to allocate memory for split
    4d0261cea469 thunderbolt: Improve DisplayPort tunnel setup process to be more robust
    aed38a3eaf65 thunderbolt: Configure asymmetric link if needed and bandwidth allows
    9b6933e9bddc thunderbolt: Add support for asymmetric link
    8f053095e13e thunderbolt: Introduce tb_switch_depth()
    e07bc5858e3e thunderbolt: Introduce tb_for_each_upstream_port_on_path()
    18dcdadc9941 thunderbolt: Introduce tb_port_path_direction_downstream()
    5ac89bb0062e thunderbolt: Change bandwidth reservations to comply USB4 v2
    7b85d751081b thunderbolt: Make is_gen4_link() available to the rest of the driver
    22081f720764 thunderbolt: Use weight constants in tb_usb3_consumed_bandwidth()
    c014f37411d5 thunderbolt: Use constants for path weight and priority
    ae2d54f5e5e9 thunderbolt: Create multiple DisplayPort tunnels if there are more DP IN/OUT pairs
    6870e5b499f1 thunderbolt: Expose tb_tunnel_xxx() log macros to the rest of the driver
    95f53ccfe6ed thunderbolt: Use tb_tunnel_dbg() where possible to make logging more consistent
    90135c317d17 thunderbolt: Fix debug log when DisplayPort adapter not available for pairing
    159b1b45300c dt-bindings: spi: nxp-fspi: add imx8ulp support
    eb95bd96465c dt-bindings: spi: nxp-fspi: support i.MX93 and i.MX95
    f56a6d9c267e btrfs: fix race setting file private on concurrent lseek using same fd
    971d03cd457a btrfs: update comment for struct btrfs_inode::lock
    a0cc053ba1e2 btrfs: reorder btrfs_inode to fill gaps
    0131bf19a141 btrfs: subpage: fix the bitmap dump which can cause bitmap corruption
    459b724c3c31 lib/bitmap: add bitmap_{read,write}()
    32e93cae4dc4 x86/entry: Remove unwanted instrumentation in common_interrupt()
    d5c5afdb9e1e x86/idtentry: Incorporate definitions/declarations of the FRED entries
    1d8c1add5e36 serial: don't use uninitialized value in uart_poll_init()
    88e26a196aa4 tty: serial: kgdboc: Fix 8250_* kgdb over serial
    73c1928a0076 pps: add an error check in parport_attach
    8b48ea27185d pps: remove usage of the deprecated ida_simple_xx() API
    aafeabf2765f usb: xhci: fix loss of data on Cadence xHC
    eef5d6219a81 xhci: Add a quirk for writing ERST in high-low order
    225643310df7 USB: misc: yurex: fix race between read and write
    eff6dde4c3a0 usb: yurex: Replace snprintf() with the safer scnprintf() variant
    8526ca3bc8af soc: versatile: realview: fix soc_dev leak during device remove
    c48d5ad1c4b8 soc: versatile: realview: fix memory leak during device remove
    f6bda3f118e3 ARM: dts: imx6ul-geam: fix fsl,pins property in tscgrp pinctrl
    45f690fae473 spi: fspi: involve lut_num for struct nxp_fspi_devtype_data
    1b8cf11b3ca5 padata: use integer wrap around to prevent deadlock on seq_nr overflow
    62004f17039d cpuidle: riscv-sbi: Use scoped device node handling to fix missing of_node_put
    662ec52260cc icmp: change the order of rate limits
    e0be8f2d64d6 EDAC/igen6: Fix conversion of system address to physical memory address
    2a4a997adb36 nfs: fix memory leak in error path of nfs4_do_reclaim
    4d3d0869eccb fs: Fix file_set_fowner LSM hook inconsistencies
    0eed942bc65d vfs: fix race between evice_inodes() and find_inode()&iput()
    ca2a69fdd6af arm64: dts: rockchip: Correct the Pinebook Pro battery design capacity
    eea02200cb8c arm64: dts: qcom: sa8775p: Mark APPS and PCIe SMMUs as DMA coherent
    4fff20cff6e2 arm64: dts: rockchip: Raise Pinebook Pro's panel backlight PWM frequency
    0e6774ec012b arm64: errata: Enable the AC03_CPU_38 workaround for ampere1a
    93e1215f3fe0 arm64: esr: Define ESR_ELx_EC_* constants as UL
    1b4089d56778 hwrng: cctrng - Add missing clk_disable_unprepare in cctrng_resume
    3fd8e444e824 hwrng: bcm2835 - Add missing clk_disable_unprepare in bcm2835_rng_init
    5ad4d0b64820 hwrng: mtk - Use devm_pm_runtime_enable
    7cb51731f24b f2fs: fix to check atomic_file in f2fs ioctl interfaces
    5e0de753bfe8 f2fs: Require FMODE_WRITE for atomic write ioctls
    56d865167992 f2fs: avoid potential int overflow in sanity_check_area_boundary()
    0c598a021718 f2fs: prevent possible int overflow in dir_block_index()
    b18a5c8382c8 f2fs: fix several potential integer overflows in file offsets
    4adf6514949f btrfs: always update fstrim_range on failure in FITRIM ioctl
    6a6a5751c06a btrfs: tree-checker: fix the wrong output of data backref objectid
    534230eebae5 debugobjects: Fix conditions in fill_pool()
    c1ba1f2ca1b8 wifi: mt76: mt7615: check devm_kasprintf() returned value
    eed8db8203a8 wifi: rtw88: 8822c: Fix reported RX band width
    de0cb07dc2c3 wifi: rtw88: 8821cu: Remove VID/PID 0bda:c82c
    8e4b60ae8a04 wifi: mt76: mt7996: fix NULL pointer dereference in mt7996_mcu_sta_bfer_he
    cf23427dd75b wifi: mt76: mt7915: check devm_kasprintf() returned value
    0a74a9b148d3 wifi: mt76: mt7921: Check devm_kasprintf() returned value
    cb0125ec3d99 perf/x86/intel/pt: Fix sampling synchronization
    19fd2f2c5fb3 efistub/tpm: Use ACPI reclaim memory for event log to avoid corruption
    ca659f380469 ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    f0921ecd4ddc ACPI: sysfs: validate return type of _STR method
    df6a82a6b06e drbd: Add NULL check for net_conf to prevent dereference in state validation
    42ac42d79039 drbd: Fix atomicity violation in drbd_uuid_set_bm()
    a3028d70a563 crypto: ccp - Properly unregister /dev/sev on sev PLATFORM_STATUS failure
    633bd1d6be1a serial: qcom-geni: fix fifo polling timeout
    e29a1f8b74a9 xhci: Set quirky xHC PCI hosts to D3 _after_ stopping and freeing them.
    f7ba350f4e7d tty: rp2: Fix reset with non forgiving PCIe host bridges
    7420c1bf7fc7 firmware_loader: Block path traversal
    18ed6a331881 bus: mhi: host: pci_generic: Fix the name for the Telit FE990A
    3ae13d48686b bus: integrator-lm: fix OF node leak in probe()
    4f7908ebafd5 usb: dwc2: drd: fix clock gating on USB role switch
    19fb05d2e5c3 usb: cdnsp: Fix incorrect usb_request status
    a0b4cbeb0936 USB: class: CDC-ACM: fix race between get_serial and set_serial
    7bcd961dcb5a USB: misc: cypress_cy7c63: check for short transfer
    ef08eb1605f5 USB: appledisplay: close race between probe and completion handler
    090386dbedbc arm64: dts: mediatek: mt8195-cherry: Mark USB 3.0 on xhci1 as disabled
    1e44ee6cdd12 usbnet: fix cyclical race on disconnect with work queue
    d71300d07f39 wifi: rtw88: Fix USB/SDIO devices not transmitting beacons
    9ecd9d7ad7f0 can: esd_usb: Remove CAN_CTRLMODE_3_SAMPLES for CAN-USB/3-FD
    ccc87864b097 scsi: mac_scsi: Disallow bus errors during PDMA send
    0120c7762f25 scsi: mac_scsi: Refactor polling loop
    6e8dc2050a4a scsi: mac_scsi: Revise printk(KERN_DEBUG ...) messages
    09b06c2591fa scsi: ufs: qcom: Update MODE_MAX cfg_bw value
    568c7c4c77ee scsi: sd: Fix off-by-one error in sd_read_block_characteristics()
    facf1e49a04a ata: libata-scsi: Fix ata_msense_control() CDL page reporting
    6ab95e27b777 ksmbd: handle caseless file creation
    30fe2a885c28 ksmbd: allow write with FILE_APPEND_DATA
    3c1fd66a1914 ksmbd: make __dir_empty() compatible with POSIX
    ef83620438d7 fs: Create a generic is_dot_dotdot() utility
    ae619de5000b powerpc/atomic: Use YZ constraints for DS-form instructions
    a3765b497a4f KEYS: prevent NULL pointer dereference in find_asymmetric_key()
    c886061bbdd1 drm/amd/display: Validate backlight caps are sane
    9ce1ee22dc68 drm/amd/display: Round calculated vtotal
    55fcbe5f6086 drm/amd/display: Add HDMI DSC native YCbCr422 support
    a53841b074cc drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    4777225ec89f KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock
    beef3353c601 KVM: x86: Move x2APIC ICR helper above kvm_apic_write_nodecode()
    7eae461dc357 KVM: x86: Enforce x2APIC's must-be-zero reserved ICR bits
    d5d6489b9211 KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer
    0188ea5facba Input: i8042 - add another board name for TUXEDO Stellaris Gen5 AMD line
    09d94ac8b25f Input: i8042 - add TUXEDO Stellaris 15 Slim Gen6 AMD to i8042 quirk table
    c18dca92da2a Input: i8042 - add TUXEDO Stellaris 16 Gen5 AMD to i8042 quirk table
    2a26c3122d01 Input: adp5588-keys - fix check on return code
    cd6dd564ae7d iommufd: Protect against overflow of ALIGN() during iova allocation
    e48edd476291 Revert "media: tuners: fix error return code of hybrid_tuner_request_state()"
    a4c2fbed2037 soc: versatile: integrator: fix OF node leak in probe() error path
    c3533bf2ed1d soc: fsl: cpm1: tsa: Fix tsa_write8()
    543a3c7dbd5b ASoC: rt5682: Return devm_of_clk_add_hw_provider to transfer the error
    513d60f41945 Revert "soc: qcom: smd-rpm: Match rpmsg channel instead of compatible"
    02a370c4fc0f PCI: xilinx-nwl: Fix off-by-one in INTx IRQ handler
    3d8573abdc65 PCI: Use an error code with PCIe failed link retraining
    a200897dc704 PCI: Correct error reporting with PCIe failed link retraining
    f23785c6e7d3 PCI: imx6: Fix missing call to phy_power_off() in error handling
    b91d041e0756 PCI: dra7xx: Fix threaded IRQ request for "dra7xx-pcie-main" IRQ
    894f21117f63 PCI: Clear the LBMS bit after a link retrain
    fb1769573574 PCI: Revert to the original speed after PCIe failed link retraining
    38dee6edb700 Remove *.orig pattern from .gitignore
    01ad0576f092 io_uring/sqpoll: do not put cpumask on stack
    859f62a2f904 io_uring/sqpoll: retain test for whether the CPU is valid
    adbb44539b56 xen: allow mapping ACPI data using a different physical address
    161fd69123b0 xen: move checks for e820 conflicts further up
    79fec62d0f9b Revert "net: libwx: fix alloc msix vectors failed"
    0851b1ec650a drm/vmwgfx: Prevent unmapping active read buffers
    b5d38f1d4acb drm/amd/display: Fix Synaptics Cascaded Panamera DSC Determination
    49d3a4ad57c5 mm: call the security_mmap_file() LSM hook in remap_file_pages()
    4bdf75c2ef33 io_uring: check for presence of task_work rather than TIF_NOTIFY_SIGNAL
    358124ba2cea io_uring/sqpoll: do not allow pinning outside of cpuset
    da2bb8e177a4 netfilter: nf_tables: use rcu chain hook list iterator from netlink dump path
    b3f7607f2003 netfilter: ctnetlink: compile ctnetlink_label_size with CONFIG_NF_CONNTRACK_EVENTS
    668f4df6d6df netfilter: nf_tables: Keep deleted flowtable hooks until after RCU
    3e8ac2743d48 net: stmmac: set PP_FLAG_DMA_SYNC_DEV only if XDP is enabled
    e9e3424d6d4b virtio_net: Fix mismatched buf address when unmapping for small packets
    ccd3e6ff05e5 bonding: Fix unnecessary warnings and logs from bond_xdp_get_xmit_slave()
    00a0c2d49bb5 net: qrtr: Update packets cloning when broadcasting
    570f7d8c9bf1 tcp: check skb is non-NULL in tcp_rto_delta_us()
    88297d3c1a71 net: ipv6: select DST_CACHE from IPV6_RPL_LWTUNNEL
    d2abc3790718 net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition
    af4b8a704f26 netfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()
    89bab8310a0a net: xilinx: axienet: Fix packet counting
    bcce13930b2e net: xilinx: axienet: Schedule NAPI in two steps
    9360d077d319 Revert "dm: requeue IO if mapping table not yet available"
    66e78ade976d ep93xx: clock: Fix off by one in ep93xx_div_recalc_rate()
    ca64edd7ae93 vhost_vdpa: assign irq bypass producer token correctly
    70a180b8d84b cxl/pci: Fix to record only non-zero ranges
    c16fa6d5018b interconnect: icc-clk: Add missed num_nodes initialization
    257c7a39092e coresight: tmc: sg: Do not leak sg_table
    5060a1be9399 serial: 8250: omap: Cleanup on error in request_irq
    b8e45b910525 driver core: Fix a potential null-ptr-deref in module_add_driver()
    fdc637d4f5fb dt-bindings: iio: asahi-kasei,ak8975: drop incorrect AK09116 compatible
    7387270b6837 iio: magnetometer: ak8975: drop incorrect AK09116 compatible
    c5a4a27666e0 iio: magnetometer: ak8975: Convert enum->pointer for data in the match tables
    2bc96d4ea9e1 iio: chemical: bme680: Fix read/write ops to device by adding mutexes
    5d86a29db8a3 ABI: testing: fix admv8818 attr description
    dd69fb026c97 driver core: Fix error handling in driver API device_rename()
    0f115888eaa9 iio: adc: ad7606: fix standby gpio state to match the documentation
    48617707401e iio: adc: ad7606: fix oversampling gpio array
    30b9bf4b4107 nvme-multipath: system fails to create generic nvme device
    ecb8a79d21fb spi: atmel-quadspi: Avoid overwriting delay register settings
    54fd87259c85 lib/sbitmap: define swap_lock as raw_spinlock_t
    93773e446197 spi: spi-fsl-lpspi: Undo runtime PM changes at driver exit time
    2016d58567b6 spi: atmel-quadspi: Undo runtime PM changes at driver exit time
    649ec8b30df1 f2fs: fix to don't set SB_RDONLY in f2fs_handle_critical_error()
    f9ce2f550d53 f2fs: get rid of online repaire on corrupted directory
    66b1b8254d20 f2fs: clean up w/ dotdot_name
    364afd8aa824 f2fs: prevent atomic file from being dirtied before commit
    b6f186bd6aee f2fs: compress: don't redirty sparse cluster during {,de}compress
    4263b3ef81e4 f2fs: compress: do sanity check on cluster when CONFIG_F2FS_CHECK_FS is on
    fc18e655b62a f2fs: fix to avoid use-after-free in f2fs_stop_gc_thread()
    f2971778b2cb f2fs: support .shutdown in f2fs_sops
    783b6ca3428f f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation
    1bb0686a2e8a f2fs: fix to wait page writeback before setting gcing flag
    87f9d26fcc50 f2fs: Create COW inode from parent dentry for atomic write
    67c3c4638f22 f2fs: fix to avoid racing in between read and OPU dio write
    6c59f87e1eea f2fs: reduce expensive checkpoint trigger frequency
    d889928bbc69 f2fs: atomic: fix to avoid racing w/ GC
    8edf3a4038f4 crypto: powerpc/p10-aes-gcm - Disable CRYPTO_AES_GCM_P10
    21b4fa3bffc0 crypto: caam - Pad SG length when allocating hash edesc
    318f70857caa nfsd: return -EINVAL when namelen is 0
    a1afbbb5276f nfsd: call cache_put if xdr_reserve_space returns NULL
    b743922b5aad ntb: Force physically contiguous allocation of rx ring buffers
    fd8932cf6b76 ntb_perf: Fix printk format
    16e5bed6c188 ntb: intel: Fix the NULL vs IS_ERR() bug for debugfs_create_dir()
    b15dd2aa7987 RDMA/irdma: fix error message in irdma_modify_qp_roce()
    0d50ae281a17 RDMA/cxgb4: Added NULL check for lookup_atid
    21ada6915c45 riscv: Fix fp alignment bug in perf_callchain_user()
    6eff336b103f RDMA/mlx5: Obtain upper net device only when needed
    e8721e9ba113 RDMA/hns: Fix restricted __le16 degrades to integer issue
    b3b7ff07675c RDMA/hns: Optimize hem allocation performance
    288ecfd3e8aa RDMA/hns: Fix 1bit-ECC recovery address in non-4K OS
    3ab289914eab RDMA/hns: Fix VF triggering PF reset in abnormal interrupt handler
    094a1821903f RDMA/hns: Fix spin_unlock_irqrestore() called with IRQs enabled
    69d9566822af RDMA/hns: Fix the overflow risk of hem_list_calc_ba_range()
    d2d9c5127122 RDMA/hns: Fix Use-After-Free of rsv_qp on HIP08
    85e37ac13906 RDMA/hns: Don't modify rq next block addr in HIP09 QPC
    b972bade1578 watchdog: imx_sc_wdt: Don't disable WDT in suspend
    613a8d27d1e1 RDMA/mlx5: Limit usage of over-sized mkeys from the MR cache
    7838f6c8a64b RDMA/erdma: Return QP state in erdma_query_qp
    95248d7497bc PCI: kirin: Fix buffer overflow in kirin_pcie_parse_port()
    d08754be993f IB/core: Fix ib_cache_setup_one error flow cleanup
    4c49d34f87a2 pinctrl: mvebu: Fix devinit_dove_pinctrl_probe function
    a685bc3524f3 nfsd: fix refcount leak when file is unhashed after being found
    982dfdfd59b1 nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire
    6ba262477994 clk: rockchip: rk3588: Fix 32k clock name for pmu_24m_32k_100m_src_p
    521d101e9e8f clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
    8758691ea89a clk: ti: dra7-atl: Fix leak of of_nodes
    01b9be936ee8 RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds
    effc10f00cf8 RDMA/rtrs: Reset hb_missed_cnt after receiving other traffic from peer
    c6b9f971b439 media: mediatek: vcodec: Fix H264 stateless decoder smatch warning
    dbe5b7373801 media: mediatek: vcodec: Fix VP8 stateless decoder smatch warning
    588bcce9e64c media: mediatek: vcodec: Fix H264 multi stateless decoder smatch warning
    08d13bcb9cea clk: at91: sama7g5: Allocate only the needed amount of memory for PLLs
    b6edb3fd96bf pinctrl: single: fix missing error code in pcs_probe()
    8b7df76356d0 RDMA/iwcm: Fix WARNING:at_kernel/workqueue.c:#check_flush_dependency
    451249bb8d44 media: platform: rzg2l-cru: rzg2l-csi2: Add missing MODULE_DEVICE_TABLE
    4f201a94ac52 PCI: xilinx-nwl: Clean up clock on probe failure/removal
    f1058b0780b4 PCI: xilinx-nwl: Fix register misspelling
    18a672c62d73 nvdimm: Fix devs leaks in scan_labels()
    e39cc0c37d7c x86/PCI: Check pcie_find_root_port() return for NULL
    597c72f4d162 leds: pca995x: Fix device child node usage in pca995x_probe()
    d14451d91a11 leds: pca995x: Use device_for_each_child_node() to access device child nodes
    dbba3fce3e2f leds: leds-pca995x: Add support for NXP PCA9956B
    583314ebaae7 clk: qcom: dispcc-sm8250: use special function for Lucid 5LPE PLL
    4ddb580089e3 clk: qcom: ipq5332: Register gcc_qdss_tsctr_clk_src
    e85ab507882d PCI: keystone: Fix if-statement expression in ks_pcie_quirk()
    8e152448d0a0 firewire: core: correct range of block for case of switch statement
    390de4d01bc1 PCI: Wait for Link before restoring Downstream Buses
    58f31be7dfbc drivers: media: dvb-frontends/rtl2830: fix an out-of-bounds write error
    527ab3eb3b0b drivers: media: dvb-frontends/rtl2832: fix an out-of-bounds write error
    075a0ce1fa28 Input: ilitek_ts_i2c - add report id message validation
    831886bf1a5a Input: ilitek_ts_i2c - avoid wrong input subsystem sync
    a3552e2f7d30 pinctrl: ti: ti-iodelay: Fix some error handling paths
    85427d5109c2 pinctrl: ti: iodelay: Use scope based of_node_put() cleanups
    ccc7cdf49634 pinctrl: Use device_get_match_data()
    a12e8a92909e pinctrl: ti: ti-iodelay: Convert to platform remove callback returning void
    bbf297b4cdc1 leds: bd2606mvv: Fix device child node usage in bd2606mvv_probe()
    676bf8fcf387 clk: qcom: dispcc-sm8550: use rcg2_shared_ops for ESC RCGs
    ffb0ae195b28 clk: qcom: dispcc-sm8650: Update the GDSC flags
    65a25e42a491 clk: qcom: dispcc-sm8550: use rcg2_ops for mdss_dptx1_aux_clk_src
    59938d4f05f4 clk: qcom: dispcc-sm8550: fix several supposed typos
    77c859e8b8a9 clk: rockchip: Set parent rate for DCLK_VOP clock on RK3228
    d271e66f74b5 remoteproc: imx_rproc: Initialize workqueue earlier
    2941577c764b remoteproc: imx_rproc: Correct ddr alias for i.MX8M
    af70d9395d7c clk: imx: imx8qxp: Parent should be initialized earlier than the clock
    d64513b2dab1 clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk
    5b44298953f3 clk: imx: imx8mp: fix clock tree update of TF-A managed clocks
    908165b5d369 clk: imx: fracn-gppll: fix fractional part of PLL getting lost
    ed323659a011 clk: imx: composite-7ulp: Check the PCC present bit
    c1eb71fd985d clk: imx: composite-93: keep root clock on when mcore enabled
    73034d130b0a clk: imx: composite-8m: Enable gate clk with mcore_booted
    554c590d229d clk: imx: composite-8m: Less function calls in __imx8m_clk_hw_composite() after error detection
    c2ee6de22dac clk: imx: imx6ul: fix default parent for enet*_ref_sel
    bd553be1cfb2 clk: imx: clk-audiomix: Correct parent clock for earc_phy and audpll
    3ba5a2e91c70 perf time-utils: Fix 32-bit nsec parsing
    022f9328ef17 perf sched timehist: Fixed timestamp error when unable to confirm event sched_in time
    fa0720b32afa perf stat: Display iostat headers correctly
    505ec05002c7 perf sched timehist: Fix missing free of session in perf_sched__timehist()
    88c4b5dd2107 perf report: Fix --total-cycles --stdio output error
    297871cb5115 perf ui/browser/annotate: Use global annotation_options
    4c857dcf34a5 perf annotate: Move some source code related fields from 'struct annotation' to 'struct annotated_source'
    4ef032d89995 perf annotate: Split branch stack cycles info from 'struct annotation'
    ba18185bea37 perf inject: Fix leader sampling inserting additional samples
    1490a5dbd55f perf mem: Free the allocated sort string, fixing a leak
    a634fa8e480a bpf: Zero former ARG_PTR_TO_{LONG,INT} args in case of error
    abf7559b4ff6 bpf: Improve check_raw_mode_ok test for MEM_UNINIT-tagged types
    a2c8dc7e2180 bpf: Fix helper writes to read-only maps
    81197a9b4510 bpf: Fix bpf_strtol and bpf_strtoul helpers for 32bit
    257f9e5185eb nilfs2: fix potential oob read in nilfs_btree_check_delete()
    0f28b3b51fc1 nilfs2: determine empty node blocks as corrupted
    21839b6fbc3c nilfs2: fix potential null-ptr-deref in nilfs_btree_insert()
    66f3fc741177 sched/numa: Fix the vma scan starving issue
    e3a2d3f6c40e sched/numa: Complete scanning of inactive VMAs when there is no alternative
    cb7846df6b4f sched/numa: Complete scanning of partial VMAs regardless of PID activity
    7f01977665d7 sched/numa: Move up the access pid reset logic
    6654e54ae7e7 sched/numa: Trace decisions related to skipping VMAs
    707e9a6c880f sched/numa: Rename vma_numab_state::access_pids[] => ::pids_active[], ::next_pid_reset => ::pids_active_reset
    ba4eb7f25886 sched/numa: Document vma_numab_state fields
    faeff8b1ee2e ext4: check stripe size compatibility on remount as well
    2a6579ef5f25 ext4: avoid OOB when system.data xattr changes underneath the filesystem
    dd3f90e8c470 ext4: return error on ext4_find_inline_entry
    9f70768554ac ext4: avoid negative min_clusters in find_group_orlov()
    fae0793abdab ext4: avoid potential buffer_head leak in __ext4_new_inode()
    7a349feead81 ext4: avoid buffer_head leak in ext4_mark_inode_used()
    72eef5226fbe smackfs: Use rcu_assign_pointer() to ensure safe assignment in smk_set_cipso
    e4006410b0f5 ext4: clear EXT4_GROUP_INFO_WAS_TRIMMED_BIT even mount with discard
    cfd257f5e85b kthread: fix task state in kthread worker if being frozen
    b7d6e724e42a xz: cleanup CRC32 edits from 2018
    2288b54b96dc bpf: correctly handle malformed BPF_CORE_TYPE_ID_LOCAL relos
    fc2b89707e47 samples/bpf: Fix compilation errors with cf-protection option
    33ef0b25b022 selftests/bpf: Fix error compiling tc_redirect.c with musl libc
    8553067f1cae selftests/bpf: Fix compile if backtrace support missing in libc
    7824530b80ba selftests/bpf: Fix redefinition errors compiling lwt_reroute.c
    a7d322fd3be8 selftests/bpf: Fix flaky selftest lwt_redirect/lwt_reroute
    fb99b106ad38 selftests/bpf: Fix C++ compile error from missing _Bool type
    99c03869599c selftests/bpf: Fix error compiling test_lru_map.c
    564d1abf506b selftests/bpf: Fix arg parsing in veristat, test_progs
    d57f8de839e4 selftests/bpf: Fix errors compiling cg_storage_multi.h with musl libc
    96416a7e4884 selftests/bpf: Fix errors compiling decap_sanity.c with musl libc
    0bc023e2f600 selftests/bpf: Fix errors compiling lwt_redirect.c with musl libc
    397192f81476 selftests/bpf: Fix compiling core_reloc.c with musl-libc
    227b50fe66eb selftests/bpf: Fix compiling tcp_rtt.c with musl-libc
    fe81b3df3cf9 selftests/bpf: Fix compiling flow_dissector.c with musl-libc
    7d8d5840453a selftests/bpf: Fix compiling kfree_skb.c with musl-libc
    425d4934e4f8 selftests/bpf: Fix compiling parse_tcp_hdr_opt.c with musl-libc
    52f5ed9461f4 selftests/bpf: Fix include of <sys/fcntl.h>
    4730b07ef774 selftests/bpf: Add a cgroup prog bpf_get_ns_current_pid_tgid() test
    17536f3b7262 selftests/bpf: Refactor out some functions in ns_current_pid_tgid test
    d6e16c33e093 selftests/bpf: Replace CHECK with ASSERT_* in ns_current_pid_tgid test
    bedda119babc selftests/bpf: Fix missing BUILD_BUG_ON() declaration
    4bff8cc537ce selftests/bpf: Fix missing UINT_MAX definitions in benchmarks
    2388d181667a selftests/bpf: Fix missing ARRAY_SIZE() definition in bench.c
    103c0431c7fb selftests/bpf: Drop unneeded error.h includes
    c8c590f07ad7 selftests/bpf: Implement get_hw_ring_size function to retrieve current and max interface size
    7c877bad03fb selftests/bpf: Fix error compiling bpf_iter_setsockopt.c with musl libc
    db5cde7b4386 selftests/bpf: Fix compile error from rlim_t in sk_storage_map.c
    7572c32f8ef2 selftests/bpf: Use pid_t consistently in test_progs.c
    b0b99c1226ea tools/runqslower: Fix LDFLAGS and add LDLIBS support
    cd1b7f772f56 selftests/bpf: Fix wrong binary in Makefile log output
    97e4a3ba9de7 selftests/bpf: Add CFLAGS per source file and runner
    5d99839bfe1c bpf: Temporarily define BPF_NO_PRESEVE_ACCESS_INDEX for GCC
    01aa0d2861be bpf: Disable some `attribute ignored' warnings in GCC
    5de3bd34dd5b bpf: Use -Wno-error in certain tests when building with GCC
    b6529a310dfa selftests/bpf: Fix error linking uprobe_multi on mips
    e7d263b2947c selftests/bpf: Workaround strict bpf_lsm return value check.
    5a4f8de92dd7 sched/fair: Make SCHED_IDLE entity be preempted in strict hierarchy
    82478cb8a23b tpm: Clean up TPM space after command failure
    9c21cdae4b93 xen/swiotlb: fix allocated size
    d1691e977860 xen/swiotlb: add alignment check for dma buffers
    ac8ec1268e7a xen: tolerate ACPI NVS memory overlapping with Xen allocated memory
    149fbd6aecdb xen: add capability to remap non-RAM pages to different PFNs
    f12153eece97 xen: move max_pfn in xen_memory_setup() out of function scope
    242d0c3c40cc xen: introduce generic helper checking for memory map conflicts
    35a10211dec2 minmax: avoid overly complex min()/max() macro arguments in xen
    27f113dc120c ata: libata: Clear DID_TIME_OUT for ATA PT commands with sense data
    f7b4ba5f78f2 HID: wacom: Do not warn about dropped packets for first packet
    85572bf646e4 HID: wacom: Support sequence numbers smaller than 16-bit
    cafeba3c2a1f xen: use correct end address of kernel for conflict checking
    37c40c01cf1a drivers:drm:exynos_drm_gsc:Fix wrong assignment in gsc_bind()
    614773a4e536 drm/msm: fix %s null argument error
    476945372b1f drm/msm/dsi: correct programming sequence for SM8350 / SM8450
    52d571a21349 ipmi: docs: don't advertise deprecated sysfs entries
    cbd26fc9ec4c drm/msm/a5xx: workaround early ring-buffer emptiness check
    d9bef5ba5638 drm/msm/a5xx: fix races in preemption evaluation stage
    dfd012052bfb drm/msm/a5xx: properly clear preemption records on resume
    b9415145327c drm/msm/a5xx: disable preemption in submits by default
    7e34440a3d06 drm/msm: Fix incorrect file name output in adreno_request_fw()
    a02d92e8eb55 powerpc/vdso: Inconditionally use CFUNC macro
    efdf2af50b31 powerpc/8xx: Fix kernel vs user address comparison
    6b7a006ab003 powerpc/8xx: Fix initial memory mapping
    415a2c218370 drm/mediatek: Use spin_lock_irqsave() for CRTC event lock
    5b9b8cd28950 drm/mediatek: Fix missing configuration flags in mtk_crtc_ddp_config()
    c1ba4b8ca799 jfs: fix out-of-bounds in dbNextAG() and diAlloc()
    baeb8628ab7f scsi: elx: libefc: Fix potential use after free in efc_nport_vport_del()
    9263023a0b04 drm/vc4: hdmi: Handle error case of pm_runtime_resume_and_get
    087b88088015 drm/bridge: lontium-lt8912b: Validate mode in drm_bridge_funcs::mode_valid()
    fa94d60546d2 drm/radeon/evergreen_cs: fix int overflow errors in cs track offsets
    656803ab1ad2 drm/rockchip: dw_hdmi: Fix reading EDID when using a forced mode
    9ec05e0b4ac4 drm/rockchip: vop: Allow 4096px width scaling
    8e7760ed234f drm/amd/amdgpu: Properly tune the size of struct
    53c18f7baf0c scsi: NCR5380: Check for phase match during PDMA fixup
    464fd60a16d2 scsi: smartpqi: revert propagate-the-multipath-failure-to-SML-quickly
    de67850b4019 drm/radeon: properly handle vbios fake edid sizing
    78b9e10b3bd1 drm/amdgpu: properly handle vbios fake edid sizing
    ddf9ff244d70 drm/amd/display: Add null check for set_output_gamma in dcn30_set_output_transfer_func
    fc8b0b8dbdba drm/stm: ltdc: check memory returned by devm_kzalloc()
    6e513c2e9460 drm/stm: Fix an error handling path in stm_drm_platform_probe()
    8e6f4aa43b79 pmdomain: core: Harden inter-column space in debug summary
    c390a26db31a iommu/arm-smmu-qcom: apply num_context_bank fixes for SDM630 / SDM660
    7acaef4f28b6 iommu/arm-smmu-qcom: Work around SDM845 Adreno SMMU w/ 16K pages
    324e1ec46356 iommu/arm-smmu-qcom: hide last LPASS SMMU context bank from linux
    0f0222d5abe9 mtd: rawnand: mtk: Fix init error path
    e502a0db3422 mtd: rawnand: mtk: Factorize out the logic cleaning mtk chips
    ca63b1cbcd99 mtd: rawnand: mtk: Use for_each_child_of_node_scoped()
    9b52ee18f6d2 rcu/nocb: Fix RT throttling hrtimer armed from offline CPU
    4e31e504201f mtd: powernv: Add check devm_kasprintf() returned value
    e109a01f3d56 iommu/amd: Do not set the D bit on AMD v2 table entries
    9b97d6b08b7f fbdev: hpfb: Fix an error handling path in hpfb_dio_probe()
    508a550eec10 power: supply: max17042_battery: Fix SOC threshold calc w/ no current sense
    05dba1274e7d power: supply: axp20x_battery: Remove design from min and max voltage
    cbb2313e76d3 hwmon: (ntc_thermistor) fix module autoloading
    590960a5b3b3 mtd: slram: insert break after errors in parsing the map
    0a27e17475d4 hwmon: (max16065) Fix alarm attributes
    fc702f5c3d24 hwmon: (max16065) Remove use of i2c_match_id()
    0c7af15f64b6 hwmon: (max16065) Fix overflows seen when writing limits
    f606b9ac4abb ASoC: loongson: fix error release
    886ea81de41f m68k: Fix kernel_clone_args.flags in m68k_clone()
    cc08ac5f42c3 ALSA: hda: cs35l41: fix module autoloading
    c239cfa322ee selftests/ftrace: Add required dependency for kprobe tests
    7000e5f31ccf ASoC: tas2781-i2c: Get the right GPIO line
    92b53ece5d37 ASoC: tas2781-i2c: Drop weird GPIO code
    ac7976b67277 ASoC: tas2781: Use of_property_read_reg()
    c0f652180696 ASoC: tas2781: remove unused acpi_subysystem_id
    06a95f7184ab ASoC: rt5682s: Return devm_of_clk_add_hw_provider to transfer the error
    17c72808dbbd x86/mm: Use IPIs to synchronize LAM enablement
    ecd4adebb852 arm64: dts: mediatek: mt8195: Correct clock order for dp_intf*
    27106b0a292e clocksource/drivers/qcom: Add missing iounmap() on errors in msm_dt_timer_init()
    ee7e02e780f1 reset: k210: fix OF node leak in probe() error path
    cfbf049d1605 reset: berlin: fix OF node leak in probe() error path
    b2cce50abd4e ARM: versatile: fix OF node leak in CPUs prepare
    01f986dc6411 ARM: dts: imx7d-zii-rmu2: fix Ethernet PHY pinctrl property
    58bd96e5ec45 ARM: dts: microchip: sama7g5: Fix RTT clock
    e91e803da1e5 spi: bcmbca-hsspi: Fix missing pm_runtime_disable()
    7c84cb5a3990 arm64: dts: ti: k3-j721e-beagleboneai64: Fix reversed C6x carveout locations
    ff8444011fe5 arm64: dts: ti: k3-j721e-sk: Fix reversed C6x carveout locations
    6d91b3f570ab arm64: dts: rockchip: Correct vendor prefix for Hardkernel ODROID-M1
    c742692fad4a ARM: dts: microchip: sam9x60: Fix rtc/rtt clocks
    514265b1f154 arm64: dts: renesas: r9a07g044: Correct GICD and GICR sizes
    c2bae2675ca6 arm64: dts: renesas: r9a07g054: Correct GICD and GICR sizes
    7d0be3622399 arm64: dts: renesas: r9a07g043u: Correct GICD and GICR sizes
    1ccd886abf45 regulator: Return actual error in of_regulator_bulk_get_all()
    3bf127bc2695 spi: ppc4xx: Avoid returning 0 when failed to parse and map IRQ
    6699567b0bbb firmware: arm_scmi: Fix double free in OPTEE transport
    bd7fa63736c7 arm64: dts: mediatek: mt8186: Fix supported-hw mask for GPU OPPs
    8d81cd1a048a arm64: dts: exynos: exynos7885-jackpotlte: Correct RAM amount to 4GB
    1b08f7b5f56d spi: ppc4xx: handle irq_of_parse_and_map() errors
    80f5bfbb80ea block: fix potential invalid pointer dereference in blk_add_partition
    0d7ddfc89284 block: print symbolic error name instead of error code
    5740c0fa9367 io_uring/io-wq: inherit cpuset of cgroup in io worker
    7b3a35584db4 io_uring/io-wq: do not allow pinning outside of cpuset
    c3eba0a4e940 block, bfq: fix procress reference leakage for bfqq in merge chain
    0780451f03bf block, bfq: fix uaf for accessing waker_bfqq after splitting
    0c9b52bfee0e erofs: fix incorrect symlink detection in fast symlink
    81b048b9484b cachefiles: Fix non-taking of sb_writers around set/removexattr
    19f3bec2ac4b block, bfq: don't break merge chain in bfq_split_bfqq()
    e50c9a352676 block, bfq: choose the last bfqq from merge chain in bfq_setup_cooperator()
    7faed2896d78 block, bfq: fix possible UAF for bfqq->bic with merge chain
    6e73b946a379 nbd: fix race between timeout and normal completion
    75a5e5909b1f ublk: move zone report data out of request pdu
    0ceb2f2b5c81 ipv6: avoid possible NULL deref in rt6_uncached_list_flush_dev()
    2b5e904deabb net: tipc: avoid possible garbage value
    a46add42bd06 net: ipv6: rpl_iptunnel: Fix memory leak in rpl_input
    50d062b6cc90 r8169: disable ALDPS per default for RTL8125
    1e8fc4ffa955 net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()
    905e83c61bdc bareudp: Pull inner IP header on xmit.
    61761f08e361 bareudp: Pull inner IP header in bareudp_udp_encap_recv().
    a4a70cba57aa Bluetooth: btusb: Fix not handling ZPL/short-transfer
    d7572187bce6 can: m_can: m_can_close(): stop clocks after device has been shut down
    7fb4f5605c3e can: m_can: enable NAPI before enabling interrupts
    c3d941cc734e can: bcm: Clear bo->bcm_proc_read after remove_proc_entry().
    80bd490ac0a3 sock_map: Add a cond_resched() in sock_hash_free()
    7eebbdde4b94 Bluetooth: hci_sync: Ignore errors from HCI_OP_REMOTE_NAME_REQ_CANCEL
    ea8d90a5b04a Bluetooth: hci_core: Fix sending MGMT_EV_CONNECT_FAILED
    84398204c5df wifi: wilc1000: fix potential RCU dereference issue in wilc_parse_join_bss_param
    058c9026ad79 wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop()
    cacdc1189841 wifi: cfg80211: fix two more possible UBSAN-detected off-by-one errors
    2780657f7f53 wifi: mt76: mt7996: fix uninitialized TLV data
    2d9f3e56b9d5 wifi: mt76: mt7996: ensure 4-byte alignment for beacon commands
    15c1d606fa75 wifi: mt76: mt7915: fix rx filter setting for bfee functionality
    9f05824b35a4 wifi: cfg80211: fix UBSAN noise in cfg80211_wext_siwscan()
    0940196c3d62 wifi: mt76: mt7603: fix mixed declarations and code
    aa3e0db35a60 crypto: hisilicon/qm - inject error before stopping queue
    8b21a9b1d8f0 crypto: hisilicon/qm - reset device before enabling it
    7803e8cdaa84 crypto: hisilicon/hpre - mask cluster timeout error
    4589bb97e42f pm:cpupower: Add missing powercap_set_enabled() stub function
    fb2d057539ed x86/sgx: Fix deadlock in SGX NUMA node search
    6f68e1e9ade6 wifi: mt76: mt7996: fix EHT beamforming capability check
    c07082fa2421 wifi: mt76: mt7996: fix HE and EHT beamforming capabilities
    29516e5db9c6 wifi: mt76: mt7996: fix wmm set of station interface to 3
    7146e5aeff6d wifi: mt76: mt7996: fix traffic delay when switching back to working channel
    50d87e3b7098 wifi: mt76: mt7996: use hweight16 to get correct tx antenna
    818dd118f4a9 wifi: mt76: mt7915: fix oops on non-dbdc mt7986
    4d3608ae154b cpufreq: ti-cpufreq: Introduce quirks to handle syscon fails appropriately
    c902e515b6b4 perf/arm-cmn: Ensure dtm_idx is big enough
    5418a61e3207 perf/arm-cmn: Fix CCLA register offset
    a687d9d1fedd perf/arm-cmn: Refactor node ID handling. Again.
    a1b25661a04a perf/arm-cmn: Improve debugfs pretty-printing for large configs
    f5c4ec8d0e2f perf/arm-cmn: Rework DTC counters (again)
    814b8bc5cc0a netfilter: nf_tables: remove annotation to access set timeout while holding lock
    9431e5eddcc1 netfilter: nf_tables: reject expiration higher than timeout
    2a5e648a0cb6 netfilter: nf_tables: reject element expiration with no timeout
    08b25d59ffb0 netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
    8ad28208be7b ACPI: CPPC: Fix MASK_VAL() usage
    fa3ef5ea3ff4 can: j1939: use correct function name in comment
    37c5024e464c kselftest/arm64: Actually test SME vector length changes via sigreturn
    666a46a90f18 drivers/perf: hisi_pcie: Fix TLP headers bandwidth counting
    6206a0edb29b drivers/perf: hisi_pcie: Record hardware counts correctly
    39dd1f1f48d3 padata: Honor the caller's alignment in case of chunk_size 0
    1661f1352b55 wifi: iwlwifi: mvm: increase the time between ranging measurements
    2c4a7b501422 wifi: iwlwifi: config: label 'gl' devices as discrete
    305b7827cf5d wifi: iwlwifi: remove AX101, AX201 and AX203 support from LNL
    d54455a3a965 wifi: mac80211: don't use rate mask for offchannel TX either
    3b839d461904 drivers/perf: Fix ali_drw_pmu driver interrupt status clearing
    be158b7e6a46 kselftest/arm64: signal: fix/refactor SVE vector length enumeration
    288cbc505e20 powercap: intel_rapl: Fix off by one in get_rpi()
    9fc60f2bdd43 ARM: 9410/1: vfp: Use asm volatile in fmrx/fmxr macros
    c82ea72d96dd mount: handle OOM on mnt_warn_timestamp_expiry
    032ca566f589 RISC-V: KVM: Fix to allow hpmcounter31 from the guest
    3c39f253e2c9 RISC-V: KVM: Allow legacy PMU access from guest
    a72a99da7a8f RISC-V: KVM: Fix sbiret init before forwarding to userspace
    07b90bbfe9c9 wifi: rtw88: remove CPT execution branch never used
    32ba3160889e arm64: signal: Fix some under-bracketed UAPI macros
    f0525a641a4a net: stmmac: dwmac-loongson: Init ref and PTP clocks rate
    0a9445aa8e8f wifi: ath12k: fix invalid AMPDU factor calculation in ath12k_peer_assoc_h_he()
    aafd6ad1d9d6 wifi: ath12k: match WMI BSS chan info structure with firmware definition
    d45fe0115edf wifi: ath12k: fix BSS chan info request WMI command
    dda028a8aa3c wifi: ath9k: Remove error checks when creating debugfs entries
    fb1862ce2664 wifi: brcmfmac: introducing fwil query functions
    c3cfcf51b4e0 wifi: brcmfmac: export firmware interface functions
    9349283fc6b8 ACPI: PMIC: Remove unneeded check in tps68470_pmic_opregion_probe()
    e55fcc821db0 crypto: xor - fix template benchmarking
    1b8178a2ae27 wifi: rtw88: always wait for both firmware loading attempts
    b3e360e00d21 EDAC/synopsys: Fix error injection on Zynq UltraScale+
    23752ababd72 EDAC/synopsys: Fix ECC status and IRQ control race condition
    4ad9fa5c30ed Linux 6.6.53
    51297ef7ad78 USB: usbtmc: prevent kernel-usb-infoleak
    39d69238899a USB: serial: pl2303: add device id for Macrosilicon MS3020
    3a2532d88251 can: mcp251xfd: move mcp251xfd_timestamp_start()/stop() into mcp251xfd_chip_start/stop()
    fa45741f1e90 can: mcp251xfd: properly indent labels
    26b0a1cd9f22 x86/mm: Switch to new Intel CPU model defines
    ab51a98de8d5 nvme-pci: qdepth 1 quirk
    c4e98006092b gpiolib: cdev: Ignore reconfiguration without direction
    53dc61ae5cff Revert "wifi: cfg80211: check wiphy mutex is held for wdev mutex"
    424bd79517ce netfilter: nf_tables: missing iterator type in lookup walk
    f24d8abc2bb8 netfilter: nft_set_pipapo: walk over current view on netlink dump
    94d6fe6b6e6e netfilter: nft_socket: Fix a NULL vs IS_ERR() bug in nft_socket_cgroup_subtree_level()
    f07e28e4c623 netfilter: nft_socket: make cgroupsv2 matching work with namespaces
    ea71c39d4638 powercap/intel_rapl: Add support for AMD family 1Ah
    e615cd84dcf8 drm: Expand max DRM device number to full MINORBITS
    f6b589e36153 accel: Use XArray instead of IDR for minors
    d2e3d344e20e drm: Use XArray instead of IDR for minors
    c726dea9d0c8 ocfs2: strict bound check before memcmp in ocfs2_xattr_find_entry()
    1f6e167d6753 ocfs2: add bounds checking to ocfs2_xattr_find_entry()
    4c21bba38b94 spi: spidev: Add missing spi_device_id for jg10309-01
    c20e89c96f14 block: Fix where bio IO priority gets set
    532ba43dcef8 tools: hv: rm .*.cmd when make clean
    f0759b097377 x86/hyperv: Set X86_FEATURE_TSC_KNOWN_FREQ when Hyper-V provides frequency
    fabc4ed200f9 smb: client: fix hang in wait_for_response() for negproto
    e79896417c03 spi: bcm63xx: Enable module autoloading
    745fe9f19d04 drm: komeda: Fix an issue related to normalized zpos
    d7c126497de6 ALSA: hda: add HDMI codec ID for Intel PTL
    16fb61afffdb ASoC: amd: yc: Add a quirk for MSI Bravo 17 (D7VEK)
    a9affc6dd8b0 spi: spidev: Add an entry for elgin,jg10309-01
    5a8f8d49bcd7 ASoC: fix module autoloading
    b3cc98bd86e8 ASoC: tda7419: fix module autoloading
    1803f06c86b0 ASoC: google: fix module autoloading
    7675ab5900a8 ASoC: intel: fix module autoloading
    ec39e3104a77 ASoC: Intel: soc-acpi-cht: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    740253ebb552 can: mcp251xfd: mcp251xfd_ring_init(): check TX-coalescing configuration
    021cd8f0e479 wifi: iwlwifi: clear trans->state earlier upon error
    9902dacd5b0b wifi: mac80211: free skb on error path in ieee80211_beacon_get_ap()
    4d0a900ec470 wifi: iwlwifi: mvm: don't wait for tx queues if firmware is dead
    2c61b561baf9 wifi: iwlwifi: mvm: pause TCM when the firmware is stopped
    8587a0ed5f07 wifi: iwlwifi: mvm: fix iwl_mvm_max_scan_ie_fw_cmd_room()
    0d07f12e1f06 wifi: iwlwifi: mvm: fix iwl_mvm_scan_fits() calculation
    dfa94a93f7b7 wifi: iwlwifi: lower message level for FW buffer destination
    8a834f251f6c LoongArch: Define ARCH_IRQ_INIT_FLAGS as IRQ_NOPROBE
    d44cfa992b6b net: ftgmac100: Ensure tx descriptor updates are visible
    001eaeaac79d platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    1bab72a2b985 microblaze: don't treat zero reserved memory regions as error
    76f74a1c3d5d hwmon: (asus-ec-sensors) remove VRM temp X570-E GAMING
    af08f4506114 pinctrl: at91: make it work with current gpiolib
    013180bf2314 scsi: lpfc: Fix overflow build issue
    49a9fe95eb6f ALSA: hda/realtek - FIxed ALC285 headphone no sound
    4a31d48c096b ALSA: hda/realtek - Fixed ALC256 headphone no sound
    50dcf4b7b76c ASoC: allow module autoloading for table board_ids
    b7420317a90d ASoC: allow module autoloading for table db1200_pids
    0627ba94347b ASoC: mediatek: mt8188: Mark AFE_DAC_CON0 register as volatile
    aef267374152 ASoC: SOF: mediatek: Add missing board compatible
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: b9e6a9fe1aa9eab1f45ad1abbc14217feffb01a1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 533d46e8c01994a0c2d89d0758fc6b0e7f1174f5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Bruce Ashfield
15b68a9e74 linux-yocto/6.6: update to v6.6.52
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    561bbd55f91a Linux 6.6.52
    bd9c3c2d7e44 riscv: dts: starfive: add assigned-clock* to limit frquency
    e43364f578cd ASoC: meson: axg-card: fix 'use-after-free'
    2a01f3b7b19b pinctrl: meteorlake: Add Arrow Lake-H/U ACPI ID
    b9d510e08504 cifs: Fix signature miscalculation
    6ec7cbc7f578 ASoC: codecs: avoid possible garbage value in peb2466_reg_read()
    86238603c8f4 drm/i915/guc: prevent a possible int overflow in wq offsets
    f9e08c201705 spi: geni-qcom: Fix incorrect free_irq() sequence
    64cdc5d11442 spi: geni-qcom: Undo runtime PM changes at driver exit time
    ff65ae25d3cb drm/amd/amdgpu: apply command submission parser for JPEG v1
    54268468399e drm/amdgpu/atomfirmware: Silence UBSAN warning
    def80cdb2676 drm/nouveau/fb: restore init() for ramgp102
    eb7fc8b65cea dma-buf: heaps: Fix off-by-one in CMA heap fault handler
    8e1ffb257982 drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl
    28425a10a4fa soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
    af9ca9ca3e44 spi: nxp-fspi: fix the KASAN report out-of-bounds bug
    a8632ef4fc13 tracing/osnoise: Fix build when timerlat is not enabled
    34fcac26216c net: dpaa: Pad packets to ETH_ZLEN
    fc8c0cec1b48 net: dsa: felix: ignore pending status of TAS module when it's disabled
    83e6fb59040e netfilter: nft_socket: fix sk refcount leaks
    033a71efabac selftests: net: csum: Fix checksums for packets with non-zero padding
    38859fb5bdb6 net: ftgmac100: Enable TX interrupt to avoid TX timeout
    5bfbf2c18cf5 octeontx2-af: Modify SMQ flush sequence to drop packets
    7ae890ee1947 fou: fix initialization of grc
    65feee671e37 net/mlx5: Fix bridge mode operations when there are no VFs
    4bb9745cc3d3 net/mlx5: Verify support for scheduling element and TSAR type
    9f806d095955 net/mlx5: Correct TASR typo into TSAR
    fa2e98068d25 net/mlx5: Add missing masks and QoS bit masks for scheduling elements
    f015f63cc9c4 net/mlx5: Explicitly set scheduling element and TSAR type
    f7e7dbdfc093 net/mlx5e: Add missing link mode to ptys2ext_ethtool_map
    4ce59074d53c IB/mlx5: Rename 400G_8X speed to comply to naming convention
    93fd5e028b29 net/mlx5e: Add missing link modes to ptys2ethtool_map
    02518dc443cd net/mlx5: Update the list of the PCI supported devices
    e8db32a90248 igb: Always call igb_xdp_ring_update_tail() under Tx lock
    cbaed60c69f0 ice: fix VSI lists confusion when adding VLANs
    01a786ada184 ice: fix accounting for filters shared by multiple VSIs
    d21559e2037e ice: Fix lldp packets dropping after changing the number of channels
    1bc085e9977f hwmon: (pmbus) Conditionally clear individual status bits for pmbus rev >= 1.2
    14f6a11ea21e selftests/bpf: Support SOCK_STREAM in unix_inet_redir_to_connected()
    8295194a50eb cxl/core: Fix incorrect vendor debug UUID define
    cb735cf79aa1 eeprom: digsy_mtc: Fix 93xx46 driver probe failure
    7853c146f8b4 drm/amd/display: Fix FEC_READY write on DP LT
    27bbf0b1cac9 drm/amd/display: Disable error correction if it's not supported
    d72432755b12 arm64: dts: rockchip: fix PMIC interrupt pin in pinctrl for ROCK Pi E
    b1e1daf0125e net: xilinx: axienet: Fix race in axienet_stop
    a95a24fcaee1 mm: avoid leaving partial pfn mappings around in error case
    2ae1beb3ab4f x86/hyperv: fix kexec crash due to VP assist page corruption
    9b27991f3fb7 dm-integrity: fix a race condition when accessing recalc_sector
    4ec0d8dbd702 net: tighten bad gso csum offset check in virtio_net_hdr
    1705209b3e2a minmax: reduce min/max macro expansion in atomisp driver
    3844bc360e16 arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma
    d52643ced186 arm64: dts: rockchip: fix eMMC/SPI corruption when audio has been used on RK3399 Puma
    7e2e638c5909 selftests: mptcp: join: restrict fullmesh endp on 1st sf
    6452b162549c mptcp: pm: Fix uaf in __timer_delete_sync
    c54fc405a060 platform/x86: panasonic-laptop: Allocate 1 entry extra in the sinf array
    6821a82616f6 platform/x86: panasonic-laptop: Fix SINF array out of bounds accesses
    d07216aa30e8 NFS: Avoid unnecessary rescanning of the per-server delegation list
    d8a7055ffd39 NFSv4: Fix clearing of layout segments in layoutreturn
    75e6572ccb78 smb/server: fix return value of smb2_open()
    91043a573ca7 Input: i8042 - add Fujitsu Lifebook E756 to i8042 quirk table
    57ac3b43fb1f drm/msm/adreno: Fix error return if missing firmware-name
    c5331c6342fd platform/surface: aggregator_registry: Add support for Surface Laptop Go 3
    64f8ed257cec platform/surface: aggregator_registry: Add Support for Surface Pro 10
    86a1aaee7f44 scripts: kconfig: merge_config: config files: add a trailing newline
    1d5c7d0a49ec HID: multitouch: Add support for GT7868Q
    11eb4a8228f6 Input: synaptics - enable SMBus for HP Elitebook 840 G2
    3acb2392df34 Input: ads7846 - ratelimit the spi_sync error message
    5ee7efa629bf btrfs: update target inode's ctime on unlink
    ab8f0c4986c7 net: hns3: use correct release function during uninitialization
    4bfee9346d8c wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change
    4a9a1edd9c49 powerpc/mm: Fix boot warning with hugepages and CONFIG_DEBUG_VIRTUAL
    af252750bf3b net: phy: vitesse: repair vsc73xx autonegotiation
    31b9fc3d0c10 drm: panel-orientation-quirks: Add quirk for Ayn Loki Max
    7d42d19973cb drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
    9569e1fd06fa net: ethernet: use ip_hdrlen() instead of bit shift
    28123a54f887 usbnet: ipheth: fix carrier detection in modes 1 and 4
    4d1cfa3afb86 usbnet: ipheth: do not stop RX on failing RX callback
    9c8c230e2e15 usbnet: ipheth: drop RX URBs with no payload
    c2fb33a7fed5 usbnet: ipheth: remove extraneous rx URB length check
    78bce66914db ksmbd: override fsids for smb2_query_info()
    5a199eedfdc8 ksmbd: override fsids for share path check
    2278629c3ebb nvmem: u-boot-env: error if NVMEM device is too small
    368fa77b7945 nvmem: u-boot-env: improve coding style
    2eea394c31cb nvmem: u-boot-env: use nvmem device helpers
    ae91c9c7b67d nvmem: u-boot-env: use nvmem_add_one_cell() nvmem subsystem helper
    820b1b981aeb nvmem: core: add nvmem_dev_size() helper
    f7dc14df1bde iio: adc: ad7124: fix DT configuration parsing
    fbed74005829 iio: adc: ad7124: Switch from of specific to fwnode based property handling
    bfc8dab8c73a device property: Introduce device_for_each_child_node_scoped()
    fce8373d3153 device property: Add cleanup.h based fwnode_handle_put() scope based cleanup.
    6d1dc55b5bab Linux 6.6.51
    611e4281117a Bluetooth: hci_sync: Fix UAF on hci_abort_conn_sync
    4d6cf010d876 Bluetooth: hci_sync: Fix UAF on create_le_conn_complete
    78155f30beeb Bluetooth: hci_sync: Fix UAF in hci_acl_create_conn_sync
    50b6744c12fa spi: spi-fsl-lpspi: Fix off-by-one in prescale max
    7b5595f33c3c btrfs: fix race between direct IO write and fsync when using same fd
    8eeda5fb5938 x86/mm: Fix PTI for i386 some more
    a2977c0ca3e9 membarrier: riscv: Add full memory barrier in switch_mm()
    136a29d8112d ublk_drv: fix NULL pointer dereference in ublk_ctrl_start_recovery()
    bd29d8452079 riscv: Do not restrict memory size because of linear mapping on nommu
    8289dc916e9e riscv: Fix toolchain vector detection
    b27ea9c96efd smb: client: fix double put of @cfile in smb2_rename_path()
    52b688c8087b gpio: modepin: Enable module autoloading
    9ceae54e65a3 gpio: rockchip: fix OF node leak in probe()
    60d54a45dbbb drm/i915/fence: Mark debug_fence_free() with __maybe_unused
    a65ebba87337 drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
    7c391eaf2c63 clk: qcom: gcc-sm8550: Don't park the USB RCG at registration time
    a5e871d26ba1 clk: qcom: gcc-sm8550: Don't use parking clk_ops for QUPs
    b9bb9634368e ASoC: sunxi: sun4i-i2s: fix LRCLK polarity in i2s mode
    f39bde3f7825 ASoc: SOF: topology: Clear SOF link platform name upon unload
    05500a48d80d nvme-pci: allocate tagset on reset if necessary
    489f2913a63f nvmet-tcp: fix kernel crash if commands allocation fails
    585c598082e1 ASoC: tegra: Fix CBB error during probe()
    af4d5630d991 powerpc/vdso: Don't discard rela sections
    547acc20e567 powerpc/64e: Define mmu_pte_psize static
    8ea58996f539 powerpc/64e: split out nohash Book3E 64-bit code
    8ebe3bb3688a powerpc/64e: remove unused IBM HTW code
    eaccebe663b2 clk: qcom: ipq9574: Update the alpha PLL type for GPLLs
    37b65ea6c7ad crypto: starfive - Fix nent assignment in rsa dec
    02b3f8860963 crypto: starfive - Align rsa input data to 32-bit
    872f86e1757b ata: libata-scsi: Check ATA_QCFLAG_RTF_FILLED before using result_tf
    c8d4acb32530 ata: libata-scsi: Remove redundant sense_buffer memsets
    302ba299c31e drm/amdgpu: handle gfx12 in amdgpu_display_verify_sizes
    5f2a2bf25395 drm/amd: Add gfx12 swizzle mode defs
    5ea24ddc26a7 can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd
    6cdc3fc4fb2f can: mcp251xfd: clarify the meaning of timestamp
    bf501ab4cbfe can: mcp251xfd: rx: prepare to workaround broken RX FIFO head index erratum
    2370061f0707 can: mcp251xfd: mcp251xfd_handle_rxif_ring_uinc(): factor out in separate function
    62ca6d3a905b arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
    acf9ef8d1b1f arm64: acpi: Move get_cpu_for_acpi_id() to a header
    47c310fbaaf4 ACPI: processor: Fix memory leaks in error paths of processor_add()
    6bf77014db58 ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
    241bce1c757d workqueue: Improve scalability of workqueue watchdog touch
    5ff0a4414195 workqueue: wq_watchdog_touch is always called with valid CPU
    0eceaa9d0560 Revert "mm: skip CMA pages when they are not available"
    9a9974713de8 mm/vmscan: use folio_migratetype() instead of get_pageblock_migratetype()
    c4b69bee3f4e perf/aux: Fix AUX buffer serialization
    9faed52b98e1 uprobes: Use kzalloc to allocate xol area
    7eeb7189c4d4 clocksource/drivers/timer-of: Remove percpu irq related code
    444c3927a0c1 clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
    c4f27b17d384 clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
    39e7e593418c VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
    6ed45748c19b Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
    de6946be9c8b uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
    3d1baf322a3a nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
    1f33d9f1d9ac binder: fix UAF caused by offsets overwrite
    f77dc8a75859 misc: fastrpc: Fix double free of 'buf' in error path
    7d301dd2722f usb: dwc3: Avoid waking up gadget during startxfer
    f224f3729779 usb: cdns2: Fix controller reset issue
    6ef746b0b63f usb: dwc3: core: update LC timer as per USB Spec V3.2
    314125cbae48 iio: adc: ad7124: fix chip ID mismatch
    66d0d59afe55 iio: adc: ad7606: remove frstdata check for serial mode
    fb5d58f238c4 iio: adc: ad7124: fix config comparison
    ecc8e1bcac27 iio: fix scale application in iio_convert_raw_to_processed_unlocked
    cb0f3f0c102b iio: buffer-dmaengine: fix releasing dma channel on error
    dc12e49f970b staging: iio: frequency: ad9834: Validate frequency parameter value
    5c007a980450 intel: legacy: Partial revert of field get conversion
    4fe707a29789 tcp: process the 3rd ACK with sk_socket for TFO/MPTCP
    3b843046dbbe cpufreq: amd-pstate: fix the highest frequency issue which limits performance
    1ec40a175a48 cpufreq: amd-pstate: Enable amd-pstate preferred core support
    0b983c08ca81 ACPI: CPPC: Add helper to get the highest performance value
    e0316069fae7 riscv: Use accessors to page table entries instead of direct dereference
    59c9160a7ee3 riscv: mm: Only compile pgtable.c if MMU
    1a8b2391e06e mm: Introduce pudp/p4dp/pgdp_get() functions
    193b1fc1cbca riscv: Use WRITE_ONCE() when setting page table entries
    6c4a878e1cc8 NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
    07f384c5be1f smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()
    b777131d03be ata: pata_macio: Use WARN instead of BUG
    ff62110ec522 spi: spi-fsl-lpspi: limit PRESCALE bit in TCR register
    32ee0520159f MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
    d942e855324a lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
    7ead730af11e of/irq: Prevent device address out-of-bounds read in interrupt map walk
    c3af7e460a52 Squashfs: sanity check symbolic link size
    6604d76253e7 usbnet: ipheth: race between ipheth_close and error handling
    a4858b00a1ec Input: uinput - reject requests with unreasonable number of slots
    60dc4ee0428d HID: amd_sfh: free driver_data after destroying hid device
    30e9ce7cd559 HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
    fc9fabeee107 s390/vmlinux.lds.S: Move ro_after_init section behind rodata section
    f1eb69aa8562 btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
    16ccaf581da4 spi: hisi-kunpeng: Add verification for the max_frequency provided by the firmware
    d43fde5ebfe7 kselftests: dmabuf-heaps: Ensure the driver name is null-terminated
    5a022269abb2 i3c: mipi-i3c-hci: Error out instead on BUG_ON() in IBI DMA setup
    1f489656d506 i3c: master: svc: resend target address when get NACK
    c03185f4a23e vfs: Fix potential circular locking through setxattr() and removexattr()
    e42ea96d6d36 regmap: maple: work around gcc-14.1 false-positive warning
    fd8e14122374 LoongArch: Use correct API to map cmdline in relocate_kernel()
    938acd8e3aa0 net: dpaa: avoid on-stack arrays of NR_CPUS elements
    013dae4735d2 Bluetooth: btnxpuart: Fix Null pointer dereference in btnxpuart_flush()
    9fd29738377c tcp: Don't drop SYN+ACK for simultaneous connect().
    78c6e39fef5c PCI: Add missing bridge lock to pci_bus_lock()
    ce2e63804abf riscv: set trap vector earlier
    124451bbc2d3 cxl/region: Verify target positions using the ordered target list
    41a0f85e268d btrfs: replace BUG_ON() with error handling at update_ref_for_cow()
    7d1df13bf078 btrfs: clean up our handling of refs == 0 in snapshot delete
    e7469c65b3c5 btrfs: replace BUG_ON with ASSERT in walk_down_proc()
    951b696db188 fs/ntfs3: Check more cases when directory is corrupted
    6b1b0a86d9c1 smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
    6922ab293262 drm/amdgpu: reject gang submit on reserved VMIDs
    c2618dcb26c7 wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
    abc8b81b6fc7 dma-mapping: benchmark: Don't starve others when doing the test
    e16c4c245150 jbd2: avoid mount failed when commit block is partial submitted
    3236afd1a2fa ext4: fix possible tid_t sequence overflows
    077c7e5fee4b drm/amdgpu: Set no_hw_access when VF request full GPU fails
    030958c2d05e libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
    4b83b207f006 ASoc: TAS2781: replace beXX_to_cpup with get_unaligned_beXX for potentially broken alignment
    8fecb75bff1b hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
    2f695544084a hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
    46e4fd338d5b hwmon: (lm95234) Fix underflows seen when writing limit attributes
    6891b11a0c62 hwmon: (adc128d818) Fix underflows seen when writing limit attributes
    3a986d134402 crypto: qat - fix unintentional re-enabling of error interrupts
    7b1d779647af scsi: pm80xx: Set phy->enable_completion only when we wait for it
    2f49e05d6b58 scsi: ufs: core: Remove SCSI host only if added
    c83d464b82a8 wifi: rtw88: usb: schedule rx work after everything is set up
    c5b30148ef3b virtio_ring: fix KMSAN error for premapped mode
    b82d4d5c736f pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
    72377cee3f46 devres: Initialize an uninitialized struct member
    ec5b47a37017 um: line: always fill *error_out in setup_one_line()
    84a6b76b2859 cgroup: Protect css->cgroup write under css_set_lock
    7cfa7abb240c iommu/vt-d: Handle volatile descriptor status read
    8b3267428333 dm init: Handle minors larger than 255
    67786b291e77 ASoC: topology: Properly initialize soc_enum values
    8bdbc44c6d26 phy: zynqmp: Take the phy mutex in xlate
    441e6f5829be firmware: cs_dsp: Don't allow writes to read-only controls
    e997b357b13a xen: privcmd: Fix possible access to a freed kirqfd instance
    2b110cce19c8 selftests: net: enable bind tests
    97d627461504 net: dsa: vsc73xx: fix possible subblocks range of CAPT block
    c6c535a44469 net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
    565eb51b3d80 r8152: fix the firmware doesn't work
    1df42be305fe fou: Fix null-ptr-deref in GRO.
    40531583c5cd bareudp: Fix device stats updates.
    f8d6acb19f4a bpf, net: Fix a potential race in do_sock_getsockopt()
    2174a3c36899 net/socket: Break down __sys_getsockopt
    e88c16a4f07e net/socket: Break down __sys_setsockopt
    09fba0162ba0 bpf: Add sockptr support for setsockopt
    4a746fb253fa bpf: Add sockptr support for getsockopt
    07200e313cb5 usbnet: modern method to get random MAC
    81e5622c052b ice: do not bring the VSI up, if it was down before the XDP setup
    2f057db2fb29 ice: protect XDP configuration with a mutex
    26928c8f00f6 net: phy: Fix missing of_node_put() for leds
    217539e994e5 hwmon: (hp-wmi-sensors) Check if WMI event data exists
    ed60aab60641 igc: Unlock on error in igc_io_resume()
    249c88e7fb45 Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT
    d56412ee7cf9 Bluetooth: hci_sync: Introduce hci_cmd_sync_run/hci_cmd_sync_run_once
    d948e1ffa1d4 Bluetooth: hci_sync: Attempt to dequeue connection attempt
    1499f79995c7 Bluetooth: hci_sync: Add helper functions to manipulate cmd_sync queue
    98f66ea456d5 Bluetooth: hci_conn: Fix UAF Write in __hci_acl_create_connection_sync
    e78bd85af297 Bluetooth: Remove pending ACL connection attempts
    c57edb548276 Bluetooth: hci_conn: Only do ACL connections sequentially
    9cd7289bcc24 Bluetooth: hci_event: Use HCI error defines instead of magic values
    a22cbf1e085b Bluetooth: qca: If memdump doesn't work, re-enable IBS
    503901d3c9e5 can: kvaser_pciefd: Use a single write when releasing RX buffers
    6587b387cd54 can: kvaser_pciefd: Move reset of DMA RX buffers to the end of the ISR
    00e4c69422c0 can: kvaser_pciefd: Rename board_irq to pci_irq
    42408507362d can: kvaser_pciefd: Remove unnecessary comment
    c1fb6226795d can: kvaser_pciefd: Skip redundant NULL pointer check in ISR
    c5e236744db6 regulator: core: Stub devm_regulator_bulk_get_const() if !CONFIG_REGULATOR
    dc2694e474b7 platform/x86: dell-smbios: Fix error path in dell_smbios_init()
    efe8effe1380 ice: Add netif_device_attach/detach into PF reset flow
    4dde04370503 igb: Fix not clearing TimeSync interrupts for 82580
    0a9423f99ded cifs: Fix FALLOC_FL_ZERO_RANGE to preflush buffered part of target region
    b4b2115d1f50 rust: kbuild: fix export of bss symbols
    4de4e53bbd13 rust: Use awk instead of recent xargs
    0e52907493fd can: mcp251xfd: fix ring configuration when switching from CAN-CC to CAN-FD mode
    db5aca78e260 can: m_can: Release irq on error in m_can_open
    4377b79323df can: bcm: Remove proc entry when dev is unregistered.
    9a41def4c48f drm/amdgpu: check for LINEAR_ALIGNED correctly in check_tiling_flags_gfx6
    dfafee0a7b51 drm/amd/display: Check denominator pbn_div before used
    dd48992a8a90 pcmcia: Use resource_size function on resource object
    b4987d0236d5 media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
    6970213c7e7d Input: ili210x - use kvmalloc() to allocate buffer for firmware update
    576d0fb6f8d4 PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
    7b645e687086 ice: Check all ice_vsi_rebuild() errors in function
    4ef01846c686 vfio/spapr: Always clear TCEs before unsetting the window
    4676bacc6eaf media: vivid: don't set HDMI TX controls if there are no HDMI outputs
    2521ba3cfa1d drm/amdgpu: clear RB_OVERFLOW bit when enabling interrupts
    8bc7b3ce33e6 drm/amdgpu: Fix smatch static checker warning
    1bd1fe1109fc drm/amd/display: Check HDCP returned status
    874e3bb302f9 drm/amd/display: Run DC_LOG_DC after checking link->link_enc
    b2a50ffdd1a0 usb: gadget: aspeed_udc: validate endpoint index for ast udc
    4292441b87b8 usb: uas: set host status byte on data completion error
    d22d72e2bf9c wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
    56b7104b823b leds: spi-byte: Call of_node_put() on error path
    6ae2e315a388 media: vivid: fix wrong sizeimage value for mplane
    1741021fc120 riscv: kprobes: Use patch_text_nosync() for insn slots
    d670934d4fc9 fs/ntfs3: One more reason to mark inode bad
    a56330761950 udf: Avoid excessive partition lengths
    415f3634d53c wifi: iwlwifi: mvm: use IWL_FW_CHECK for link ID check
    54921e9a7a8e netfilter: nf_conncount: fix wrong variable type
    75758ca26cb5 iommu: sun50i: clear bypass register
    4ebd15ab4b85 x86/kmsan: Fix hook for unaligned accesses
    9c2450cf5d65 af_unix: Remove put_pid()/put_cred() in copy_peercred().
    29ac5a9b6e9c irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
    9a173212a318 accel/habanalabs/gaudi2: unsecure edma max outstanding register
    53f17409abf6 ELF: fix kernel.randomize_va_space double read
    3c9e7909df15 bpf, verifier: Correct tail_call_reachable for bpf prog
    b181e96e8043 smack: unix sockets: fix accept()ed socket label
    838c2cfdb6be wifi: ath12k: fix firmware crash due to invalid peer nss
    b366b1e1dda7 wifi: ath12k: fix uninitialize symbol error on ath12k_peer_assoc_h_he()
    fd05943b054b ALSA: hda: Add input value sanity checks to HDMI channel map controls
    4a67c7c03830 ALSA: control: Apply sanity check of input values for user elements
    337266ada863 drm/i915: Do not attempt to load the GSC multiple times
    0a1a961bde43 nilfs2: fix state management in error path of log writing function
    8c6e43b3d5f1 nilfs2: protect references to superblock parameters exposed in sysfs
    9d8c3a585d56 nilfs2: fix missing cleanup on rollforward recovery error
    d4a9039a7b3d sched: sch_cake: fix bulk flow accounting logic for host fairness
    18a5a1694046 ila: call nf_unregister_net_hooks() sooner
    c8219a27fa43 tcp_bpf: fix return value of tcp_bpf_sendmsg()
    94479011f4f5 Revert "drm/amdgpu: align pp_power_profile_mode with kernel docs"
    73d20d08d39e x86/apic: Make x2apic_disable() work correctly
    55c834bc9f82 x86/fpu: Avoid writing LBR bit to IA32_XSS unless supported
    ec36815215d7 net: mctp-serial: Fix missing escapes on transmit
    9e0bff4900b5 net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup
    05e08297c3c2 eventfs: Use list_del_rcu() for SRCU protected list variable
    e0d724932ad1 fscache: delete fscache_cookie_lru_timer when fscache exits to avoid UAF
    3c6b4bcf3784 userfaultfd: fix checks for huge PMDs
    4a594acc12d5 userfaultfd: don't BUG_ON() if khugepaged yanks our page table
    b4fdabffae14 tracing/timerlat: Add interface_lock around clearing of kthread in stop_kthread()
    993ecb4ec1f3 tracing: Avoid possible softlockup in tracing_iter_reset()
    8c72f0b2c45f tracing/timerlat: Only clear timer if a kthread exists
    7a5f01828edf tracing/osnoise: Use a cpumask to know what threads are kthreads
    d034bff62fae spi: rockchip: Resolve unbalanced runtime PM / system PM handling
    1b2770e27d6d mm: vmalloc: ensure vmap_block is initialised before adding to queue
    c318a4bb36f2 kexec_file: fix elfcorehdr digest exclusion when CONFIG_CRASH_HOTPLUG=y
    8fecde9c3f9a can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open
    f58f23328932 clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API
    229493828da0 clk: qcom: clk-alpha-pll: Fix the pll post div mask
    72f4fc5fb291 clk: starfive: jh7110-sys: Add notifier for PLL0 clock
    f36df5cc866f fuse: fix memory leak in fuse_create_open
    bfd55cd4295a fuse: use unsigned type for getxattr/listxattr size truncation
    ad6451ab31e1 fuse: update stats for pages in dropped aux writeback list
    a7fa220ebb41 mmc: cqhci: Fix checking of CQHCI_HALT state
    4c6520627bbe mmc: sdhci-of-aspeed: fix module autoloading
    5b4bf3948875 mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
    115a755bb38d mmc: core: apply SD quirks earlier during probe
    84996e92a184 Bluetooth: MGMT: Ignore keys being loaded with invalid type
    c4252955e1fb Revert "Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE"
    f9275893b07f rust: macros: provide correct provenance when constructing THIS_MODULE
    d6344cc86f31 rust: types: Make Opaque::get const
    77ee2eaee4d9 nvme-pci: Add sleep quirk for Samsung 990 Evo
    85f03ca98e07 rtmutex: Drop rt_mutex::wait_lock before scheduling
    0b46b4ac929f x86/kaslr: Expose and use the end of the physical memory address space
    2f4d7b702668 irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
    0eaf812aa150 perf/x86/intel: Limit the period on Haswell
    ef00818c50cf x86/tdx: Fix data leak in mmio_read()
    c0fbc9593b18 ata: libata: Fix memory leak for error path in ata_host_alloc()
    f75881f54c05 ksmbd: Unlock on in ksmbd_tcp_set_interfaces()
    41bc256da7e4 ksmbd: unset the binding mark of a reused connection
    5a72d1edb084 smb: client: fix double put of @cfile in smb2_set_path_size()
    d84ab6661e8d powerpc/qspinlock: Fix deadlock in MCS queue
    c1f23443da3f ALSA: hda/realtek: Support mute LED on HP Laptop 14-dq2xxx
    421c2701a9fe ALSA: hda/realtek: add patch for internal mic in Lenovo V145
    638e61b00208 ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
    6c7c519c4dc0 KVM: SVM: Don't advertise Bus Lock Detect to guest if SVM support is missing
    c98bb4f15e7f KVM: SVM: fix emulation of msr reads/writes of MSR_FS_BASE and MSR_GS_BASE
    939375737b5a KVM: x86: Acquire kvm->srcu when handling KVM_SET_VCPU_EVENTS
    5d13afd021eb ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
    b0804c286ccf net: microchip: vcap: Fix use-after-free error in kunit test
    dde33a9d0b80 sch/netem: fix use after free in netem_dequeue
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 157438f70137e00941456df97c978106175f4440)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b1a48c9a70d78082ecb23ba98fd833716077023)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Deepthi Hemraj
33dbbe8979 glibc: stable 2.40 branch updates
Below commits on glibc-2.40 stable branch are updated.
7073164add libio: Attempt wide backup free only for non-legacy code
adfb14e71f debug: Fix read error handling in pcprofiledump
f4a9b6e97b elf: Fix tst-dlopen-tlsreinit1.out test dependency
f496b750f1 elf: Avoid re-initializing already allocated TLS in dlopen (bug 31717)
b7edcfa0f4 elf: Clarify and invert second argument of _dl_allocate_tls_init
3414b17e9d nptl: Use <support/check.h> facilities in tst-setuid3
3b3350d7ba posix: Use <support/check.h> facilities in tst-truncate and tst-truncate64
e24902f409 ungetc: Fix backup buffer leak on program exit [BZ #27821]
dac7a0694b ungetc: Fix uninitialized read when putting into unused streams [BZ #27821]
2f749d2b15 Make tst-ungetc use libsupport
27fb563bfe stdio-common: Add test for vfscanf with matches longer than INT_MAX [BZ #27650]
bc240ba7c8 support: Add FAIL test failure helper
709319f9de string: strerror, strsignal cannot use buffer after dlmopen (bug 32026)
586e4cd8c6 Define __libc_initial for the static libc
c0af0c2ba0 x86: Fix bug in strchrnul-evex512 [BZ #32078]
898f25e0b1 x32/cet: Support shadow stack during startup for Linux 6.10
e3556937c2 x86-64: Remove sysdeps/x86_64/x32/dl-machine.h
39ee60a719 support: Add options list terminator to the test driver
5641780762 manual/stdio: Further clarify putc, putwc, getc, and getwc
6a97e2ba14 Fix name space violation in fortify wrappers (bug 32052)
aa533d58ff x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047)
928769737c resolv: Fix tst-resolv-short-response for older GCC (bug 32042)
ca53bc68ab Add mremap tests
2eb2d78ca7 mremap: Update manual entry
3433a35842 linux: Update the mremap C implementation [BZ #31968]
46f19b2342 Enhanced test coverage for strncmp, wcsncmp
509166c9a5 Enhance test coverage for strnlen, wcsnlen
132a72f93c manual: make setrlimit() description less ambiguous
65fbcfe589 manual/stdio: Clarify putc and putwc
5d2a931a81 malloc: add multi-threaded tests for aligned_alloc/calloc/malloc
2aebac5e15 malloc: avoid global locks in tst-aligned_alloc-lib.c
145b588637 Fix version number in NEWS file
b6aeba2de1 manual: Do not mention STATIC_TLS in dynamic linker hardening recommendations
ef14142663 resolv: Do not wait for non-existing second DNS response after error (bug 30081)
8bbb8d7b16 resolv: Allow short error responses to match any query (bug 31890)

(From OE-Core rev: 08d6477a47ff7819af2c24693c5dfbd0c59ac2ff)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5335a7b2852ce891a98eda18d59fc32e60f1c722)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Shunsuke Tokumoto
fa99b92b24 python3-setuptools: Add "python:setuptools" to CVE_PRODUCT
Since there are vulnerabilities that cannot be detected by the existing
CVE_PRODUCT, add "python:setuptools" to CVE_PRODUCT.

https://nvd.nist.gov/vuln/detail/CVE-2013-1633
https://nvd.nist.gov/vuln/detail/CVE-2022-40897

(From OE-Core rev: d06ce1ca98e5a192dd47af0fa243328aa6d87bff)

Signed-off-by: Shunsuke Tokumoto <s-tokumoto@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa1c8d97efc6640a1cffa2459d9b20ad1f7309b0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Peter Marko
1111dd3ba1 wpa-supplicant: Ignore CVE-2024-5290
NVD CVE report [1] links Ubuntu bug [2] which has a very good
description/discussion about this issue.
It applies only to distros patching wpa-supplicant to allow non-root
users (e.g. via netdev group) to load modules.
This is not the case of Yocto.

Quote:
So upstream isn't vulnerable as they only expose the dbus interface to
root. Downstreams like Ubuntu and Chromium added a patch that grants
access to the netdev group. The patch is the problem, not the upstream
code IMHO.

There is also a commit [3] associated with this CVE, however that only
provides build-time configuration to limit paths which can be accessed
but it acts only as a mitigation for distros which allow non-root users
to load crafted modules.

The patch is included in version 2.11, however NVD has this CVE
version-less, so explicit ignore is necessary.

[1] https://nvd.nist.gov/vuln/detail/CVE-2024-5290
[2] https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/2067613
[3] https://w1.fi/cgit/hostap/commit/?id=c84388ee4c66bcd310db57489eac4a75fc600747

(From OE-Core rev: 617cf25b0f49b732f961f1fa4d1390e8e883f12b)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6cb794d44a8624784ec0f76dca764616d81ffbf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-10-29 05:51:03 -07:00
Antonin Godard
86bc5dca18 release-notes-5.1: update release note for styhead
Finalize the release note for the 5.1 release (styhead).

Add enhancements, changes, removals, license changes, and migration
notes for this release by going over the git commit log of
openembedded-core, bitbake and meta-yocto.

(From yocto-docs rev: 65618b0588053d2c4325d995482957b660f5e104)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Lee Chee Yang
e21d9bcda7 release-notes-5.1: update for several section
update for these changes:
 - license
 - recipe enable for ptests
 - new class, recipe and variable.
 - PACKAGECONFIG
 - some utility script, class and include file.
 - bitbake.
 - qemu/runqemu.
 - Contributors.

removed wic as no significant change or improvement.

Antonin Godard: amend and fix some typos.

(From yocto-docs rev: afbcc16cd5244d8bb6bb79796aa064156f99e3d3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
1a0e884473 ref-manual: add mission pep517-backend sanity check
New sanity check to check for PEP517-backend compliance.

(From yocto-docs rev: 24e5bbeefe989e22ecdf5e86f48432e437330cc2)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
875498aa82 ref-manual: merge patch-status-* to patch-status
These are not distinct anymore and check for any patches in any layer.

(From yocto-docs rev: 300c585909743754e0e6662d48d43834c031b835)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
fb481d9ea4 ref-manual: add missing variable PRSERV_UPSTREAM
(From yocto-docs rev: 94a590aad8d503c5d5528bff4d8ec07746ca9805)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
2d2cc822ce ref-manual: add missing OPKGBUILDCMD variable
(From yocto-docs rev: a6a2c8e48995200c9c3be7096f34d912427de145)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
d2f0e50f30 ref-manual: drop TCLIBCAPPEND variable
No longer required as TMPDIR can be shared for multiple lib providers
nowadays.

(From yocto-docs rev: 6690c0aee9e7f0dcc63ccbe19657b78963240610)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
2f96b4eb92 ref-manual: add missing EXTERNAL_KERNEL_DEVICETREE variable
This variable can be used to specify one or more compiled device tree or
device tree overlays to use in addition to the one compiled by the
kernel.

(From yocto-docs rev: 6566ffceab3780dc5ecbfe26f786ebe6ff17e693)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
14186b29fb ref-manual: add missing image manifest variables
New variables that control the output of the image task manifests.

(From yocto-docs rev: e46af38733ae581c4aa180efc226d8a34ea4e590)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
3cf1818e08 ref-manual: add missing TESTIMAGE_FAILED_QA_ARTIFACTS
This variable lists space-separated paths on the target to retrieve onto
the host, when inheriting testimage.

(From yocto-docs rev: 2537642d2cdf844dc5f6027fb3097aac52162c1f)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
3ed853713e ref-manual: drop siteconfig class
Removed as it was only used by ncurses and zlib and adding minimal
added-value for a considerable amount of added runtime.

(From yocto-docs rev: c35688a0f4cb115c63387cc15fd15ec57cb386fb)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
7564fe65d7 ref-manual: add new RECIPE_UPGRADE_EXTRA_TASKS variable
(From yocto-docs rev: c80bc42afa40fd9eb5acaba24da3ad3b5915a254)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
50a9d8220c ref-manual: add missing nospdx class
(From yocto-docs rev: ec41a5bf1a49e5d83bb93a3438ba1cd01f613088)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
eb17e06e8b ref-manual: add new retain class and variables
Document the new `retain` class with its configuration variables in the
variable index.

(From yocto-docs rev: b62f1be5dada0fb760ff7e0806b16225f7261560)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:54 +01:00
Antonin Godard
a91f06c3a6 ref-manual: add new vex class
Add a brief description on the new vex.bbclass that is used to generate
metadata needed by external tools to check for vulnerabilities.

(From yocto-docs rev: 32cf3414f5ed127f59119e38639bc8dbd57b7891)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:53 +01:00
Antonin Godard
b3a7565465 ref-manual: add missing CVE_CHECK manifest variables
Variables that can be used for toggling creation of manifest and
specifying the path to the output in the deploy directory.

(From yocto-docs rev: 14131a42a7ea8bbae2165c1b8dbcabd5f28b2b22)

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-11 17:04:53 +01:00
Yoann Congal
d278c5ddb1 release-notes-5.1: document spirv-tools reproducibility
This covers Poky's commits
47ed8ac83a (spirv-tools: Fix git-describe related reproducibility, 2024-08-03)
a19bb8c1d5 (spirv-tools: Update merged patch to backport status, 2024-09-05)

(From yocto-docs rev: 98e7f378bc5670d23a6c2bdfcd3b7af965f7c450)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-09 14:04:26 +01:00
Yoann Congal
aa8f9838d4 release-notes-5.1: document fixed _test_devtool_add_git_url test
This covers Poky's commits:
3c05286fa1 (oeqa/selftest/devtool: fix _test_devtool_add_git_url, 2024-04-26)
268dfbd949 (Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2", 2024-04-26)

(From yocto-docs rev: 8c4efab8f9baf1e8b11232dc8438ab7c103a9a40)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-09 14:04:26 +01:00
Yoann Congal
79e444e880 release-notes-5.1: document added python3-libarchive-c ptest
This covers Poky's commit
c01e633ab9 (python3-libarchive-c: add ptest, 2024-08-02)

(From yocto-docs rev: 94126f6f5526b460ebd5ce548ad0aa83dbc1eeaa)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-09 14:04:26 +01:00
Yoann Congal
315a4aa17c migration/release-notes-5.1: document oeqa/selftest envvars change
This covers the Poky commit:
61186bc98a (oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir, 2024-09-10)

(From yocto-docs rev: 59bfb63af0913ad69ae36691436af96d63dd657b)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-09 14:04:26 +01:00
Lee Chee Yang
d3160e2d2d migration-guide: add release notes for 4.0.21
(From yocto-docs rev: bbe2ae02d01ffd962e0a7086c9e08a0e205c1728)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-09 14:04:26 +01:00
Richard Purdie
6ffecc8083 bitbake: fetch2/git: Use quote from shlex, not pipes
The pipes module is removed in python 3.13. It was already using the
quote function from shlex so use that directly instead.

The module already imports shlex too so it is an easy substitution.

(Bitbake rev: 9ef4f2a30127455562e38e869793a723eed6c07c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-01 14:54:16 +01:00
Ross Burton
9347bef90b bitbake: fetch2: don't try to preserve all attributes when unpacking files
When copying files as part of the unpack we currently use cp -p, which
is a shortcut for --preserve=mode,ownership,timestamps.

We do want to preserve timestamps, because some fetchers set these
explicitly.

We don't care about ownership. If the files are owned by us then they
ill remain owned by us, and if they're not then the attempt to change
ownership will be silently ignored.  In a shared DL_DIR where files have
group ownership this group access isn't relevant in the single-user build
tree.

We do want to preserve executable bits in the mode, but cp always does
this.  The difference between --preserve=mode and no --preserve is that
the mode isn't preserved exactly (no sticky bits, no suid, umask is
applied) but this also isn't a relevant difference in a build tree.

Also expand the arguments to be clearer about what options are being
passed.

The impetus for this is that coreutils 9.4 includes a change in gnulib[1]
and will now try to preserve permission-based xattrs if asked to preserve
the mode.  This can result in cp failing when copying a file from a
NFSv4 server with ACLs stored in xattrs to a non-NFS directory where
those xattrs cannot be written:

cp: preserving permissions for ‘./jquery-3.7.1.js’: Operation not supported

The error comes from the kernel refusing to write a system.nfs4_acl
xattr to a file on ext4.

This situation doesn't appear on all systems with coreutils 9.4, at the
time of writing it fails on Ubuntu 24.04 onwards but not Fedora 40. This
is because /etc/xattr.conf is used to determine which xattrs describe
permissions, and Fedora 40 has removed the NFSv4 attributes[2].

Also, use long-form options to make the cp command clearer.

[1] https://github.com/coreutils/gnulib/commit/eb6a8a4dfb
[2] https://src.fedoraproject.org/rpms/attr/blob/rawhide/f/0003-attr-2.4.48-xattr-conf-nfs4-acls.patch

[ YOCTO #15596 ]

(Bitbake rev: 2f35dac0c821ab231459922ed98e1b2cc599ca9a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-01 14:54:16 +01:00
Christian Lindeberg
38e998ded5 bitbake: tests/fetch: Update GoModTest and GoModGitTest
Add test cases for a module path consisting of only a hostname and add
checksum verification of the unpacked go.mod files.

(Bitbake rev: 9380859b59923dee17469348f472a22e11be1779)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-10-01 14:54:16 +01:00
Mathieu Dubois-Briand
a5eb89bdc9 oeqa/postactions: Fix archive retrieval from target
A previous patch broke archive retrieval because of an undeclared
variable. Declare the archive_name variable as expected.

(From OE-Core rev: 0d0f3541552b073f3536176e2caf847bec24548d)

Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Reported-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CC: Alexis Lothoré <alexis.lothore@bootlin.com>
CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 16:00:27 +01:00
Jörg Sommer
f8907dc10c doc/features: describe distribution feature pni-name
(From yocto-docs rev: c32b55b3403dcfd76a4694ff407d4b513e14c8f4)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 10:39:40 +01:00
Jörg Sommer
8149e74258 doc/features: remove duplicate word in distribution feature ext2
(From yocto-docs rev: 20a5986ec3395f83e8469b08dd79f019e2051626)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-20 10:39:40 +01:00
Richard Purdie
8f01ae5c7c build-appliance-image: Update to master head revision
(From OE-Core rev: 161c5b311f1aeb8f254dca96331b31d5b67fc92d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:31:46 +01:00
Richard Purdie
7cc8bf7af7 poky.conf: Bump version for 5.1 styhead release
Also update sanity tested distros to list distros on the typhoon and
valkyrie clusters which are known to work.

(From meta-yocto rev: d2ff1a0780456681ca0747cdf7aa79d6002cf70a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:31:40 +01:00
Richard Purdie
3fe0accdd1 build-appliance-image: Update to master head revision
(From OE-Core rev: 4d27344f0cd414dee71bded529536616cef277c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:26:17 +01:00
Richard Purdie
7c5d68f27a scripts/install-buildtools: Update to 5.0.3
Update to the 5.0.3 release of the 5.0 series for buildtools.

(From OE-Core rev: c922ca720a0c3b7b4d3d3187539e7cf77d93d457)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:25:21 +01:00
Richard Purdie
4647c1a7f4 bitbake: toaster: Update fixtures for styhead
Add styhead. Also fix a typo in the usage instructions.

(Bitbake rev: d3c84198771b7f79aa84dc73061d8ca071fe18f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:23:00 +01:00
Peter Kjellerstedt
f290651279 bitbake: fetch2/gomod: Support URIs with only a hostname
When calculating the module name for a gomod URI with only a hostname,
e.g.:

  gomod://go.opencensus.io;version=v0.24.0;sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c

the non-existing path would actually be treated as "/", which resulted
in a trailing slash being added to the module name preventing the unpack
method from correctly locating the go.mod file.

(Bitbake rev: f0e02e1de4d649e647e4ab61341042dd38d0eeb0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:17:28 +01:00
Jon Mason
d141a3f1ef wpa-supplicant: add patch to check for kernel header version when compiling macsec
When using Arm binary toolchain, version 2.11 of wpa-supplicant is
failing to compile with the following error:

| ../src/drivers/driver_macsec_linux.c:81:29: error: field ‘offload’ has incomplete type
|    81 |         enum macsec_offload offload;
|       |

Backport a recent patch that corrects the issue by adding a check for
the version of kernel headers being used in compilation and disabling
that enum if too old a version is being used (or is used by the
binary toolchain).

(From OE-Core rev: 373d8d4f5316416d70eb2c0733d9838e57419ac3)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:01 +01:00
Guðni Már Gilbert
5f2557e8ed bluez5: remove redundant patch for MAX_INPUT
The solution to the problem upstream was fixed by the following commit:
ca6546fe52

Now MAX_INPUT is defined for non-glibc systems such as musl.
This fix was added in BlueZ 5.67.

(From OE-Core rev: fea1bb917ebb1f99c83dbbc87a6f0ffc3627879a)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:01 +01:00
Louis Rannou
48a898fdfb image_qa: fix error handling
Make ImageQAFailed inherit BBHandledException so exceptions raised in tests are
catched when the actual test function is executed by bb.utils.better_exec.

Change the do_image_qa tasks so errors are handled with oe.qa.handle_error. Add
some comment to explain this requires to list the test in ERROR_QA or WARN_QA.

[YOCTO #14807]
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14807

(From OE-Core rev: 905e224849fbbed1719e0add231b00e2d570b3b4)

Signed-off-by: Louis Rannou <louis.rannou@non.se.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:01 +01:00
Ross Burton
099c09be3c bitbake.conf: mark TCLIBCAPPEND as deprecated
In oe-core ebcd355 TCLIBCAPPEND (a string that is appended to TMPDIR) was
removed entirely.  Warn if this is being set by the distro as it will no
longer have any effect.

(From OE-Core rev: 992ba784c168710328749fd61a0e2869df519dea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:00 +01:00
Sabeeh Khan
609e0719e3 linux-firmware: add new package for cc33xx firmware
Add the firmware package for the TI CC33xx firmware.
The TI CC33xx family are combo WLAN and BLE devices
supporting 802.11ax and BLE 5.4.

(From OE-Core rev: b618504e496a5df84cfc8d6b90ba295f8f0497e4)

Signed-off-by: Sabeeh Khan <sabeeh-khan@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:00 +01:00
Khem Raj
35effdba27 libpcre2: Update base uri PhilipHazel -> PCRE2Project
(From OE-Core rev: bd6d18228835773163a085070651e13ed961d66d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:00 +01:00
Richard Purdie
e5ba148656 libsdl2: Fix non-deterministic configure option for libsamplerate
The libsamplerate option was floating and being enabled on some systems
and not others. Fix this to be deterministic.

(From OE-Core rev: 61455a839e568a3ae7e059ea95c02a1c88d39e1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 12:16:00 +01:00
Richard Purdie
f910324663 poky-tiny: Drop TCLIBCAPPEND
This is no longer needed/supported. That solves the FIXME I guess!

(From meta-yocto rev: 9ea01f67bb15c78cd7ba0efe1dfc8861f21f9825)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-17 08:18:44 +01:00
Martin Jansa
1e6e8cb896 bitbake: Revert "fetch2/gitsm: use configparser to parse .gitmodules"
This reverts commit a4f42e396e2942fde94b8b4944487c1c45f7a295.

Unfortunately configparser is a bit more strict and fails to parse e.g.:
e104dd7f27/.gitmodules

[submodule "components/bt/controller/lib_esp32"]
	path = components/bt/controller/lib_esp32
        url = ../../espressif/esp32-bt-lib.git

The url is using 8 spaces while path 1 tab causing:
Exception: configparser.NoOptionError: No option 'url' in section: 'submodule "components/bt/controller/lib_esp32"'

It was fixed in:
62ca8e2fb4 (diff-fe7afb5c9c916e521401d3fcfb4277d5071798c3baf83baf11d6071742823584)

but mcuboot is using a bit older esp-idf revision in:
https://github.com/ATmobica/mcuboot/blame/main/.gitmodules

and mcuboot is then used as submodule in:
https://github.com/project-chip/connectedhomeip/blob/master/.gitmodules

so it might take a while for the fix to be propagated everywhere.

Not sure how common these issues are, but configparser parses
"url = ../../espressif/esp32-bt-lib.git" as 2nd line of "path"
value (because it's indented differently) while git submodule
and old gitsm implementation parses it as separate path and
url keys.

(Bitbake rev: d9eb2650256292a524a0c0bb1c0562d87bedcbc4)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-16 13:52:27 +01:00
Ross Burton
7004840f3d sanity: check for working user namespaces
If user namespaces are not available (typically because AppArmor is
blocking them), alert the user.

We consider network isolation sufficiently important that this is a fatal
error, and the user will need to configure AppArmor to allow bitbake to
create a user namespace.

[ YOCTO #15592 ]

(From OE-Core rev: b6af956fe6e876957a49d4abf425e8c789bf0459)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 10:28:10 +01:00
Divya Chellam
0249d9c893 python3: Upgrade 3.12.5 -> 3.12.6
Includes security fixes for CVE-2024-7592, CVE-2024-8088, CVE-2024-6232
and other bug fixes.

Removed below patches, as the fix is included in 3.12.6 upgrade:
1. CVE-2024-7592.patch

Release Notes:
https://www.python.org/downloads/release/python-3126/

(From OE-Core rev: aa492b1fd5973c37b8fa2cd17d28199eba46afcc)

Signed-off-by: Divya Chellam <divya.chellam@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Bruce Ashfield
1410b67bec linux-yocto/6.10: cfg: arm64 configuration updates
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: features/security: fix Meltdown/Spectre configurations
    Date: Thu, 12 Sep 2024 16:42:50 +0100

    These are both specific to x86 so move them into the x86 file, and were
    renamed to have a MITIGATION_ prefix in 6.9.

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp/genericarm64: update for 6.10 kconfig symbol renames
    Date: Thu, 12 Sep 2024 16:42:51 +0100

    Signed-off-by: Ross Burton <ross.burton@arm.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: dcf2879bb3ac663509743c760042e93cbc5d447e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Bruce Ashfield
f0e17a8f5e linux-yocto/6.6: update to v6.6.50
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    ad07a29023ce Linux 6.6.50
    9d24eaa21731 i2c: Use IS_REACHABLE() for substituting empty ACPI functions
    f5e9a22d19bb virtio_net: Fix napi_skb_cache_put warning
    d8915d271630 media: uvcvideo: Enforce alignment of frame and interval
    e3a95f29647a drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
    e50bec62acae drm/amd/display: Check BIOS images before it is used
    67cf14c04ff0 drm/amd/display: use preferred link settings for dp signal only
    800a5ab673c4 drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
    154a50bf4221 drm/amd/display: added NULL check at start of dc_validate_stream
    da696cbb4794 drm/amd/display: Don't use fsleep for PSR exit waits on dmub replay
    381113ef01e2 drm/amdgpu: add lock in kfd_process_dequeue_from_device
    ddfe95f2e1fc drm/amdgpu: add lock in amdgpu_gart_invalidate_tlb
    494b42f35fc2 drm/amdgpu: add skip_hw_access checks for sriov
    2e91ea29622c block: remove the blk_flush_integrity call in blk_integrity_unregister
    72f022ebb9de driver: iio: add missing checks on iio_info's callback access
    6290d3f5883d f2fs: fix to do sanity check on blocks for inline_data inode
    862b19f0b1c2 wifi: cfg80211: make hash table duplicates more survivable
    63ca5b467011 hwmon: (k10temp) Check return value of amd_smn_read()
    20bf2920a869 dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor
    cd3851ef3f7d dmaengine: altera-msgdma: use irq variant of spin_lock/unlock while invoking callbacks
    9d567126474e drm/bridge: tc358767: Check if fully initialized before signalling HPD event via IRQ
    d9612c66af36 gfs2: Revert "Add quota_change type"
    d93a2f86b0a9 crypto: stm32/cryp - call finalize with bh disabled
    68957f511ba4 drm/meson: plane: Add error handling
    ae9018e3f61b net/mlx5e: SHAMPO, Fix incorrect page release
    0b722b813c7d platform/chrome: cros_ec_lpc: MEC access can use an AML mutex
    4be9fd15c3c8 smack: tcp: ipv4, fix incorrect labeling
    4c1145144c94 regmap: spi: Fix potential off-by-one when calculating reserved size
    54a11ce4ff2a drm/amdgu: fix Unintentional integer overflow for mall size
    69f397e60c3b net: remove NULL-pointer net parameter in ip_metrics_convert
    fc1b1e135c3f fsnotify: clear PARENT_WATCHED flags lazily
    3b9f2d9301ae usb: typec: ucsi: Fix null pointer dereference in trace
    73ec94aac593 usbip: Don't submit special requests twice
    f576acf75227 media: v4l2-cci: Always assign *val
    37d9fd31347e rcu/nocb: Remove buggy bypass lock contention mitigation
    f9a9cf96c3d4 pwm: xilinx: Fix u32 overflow issue in 32-bit width PWM mode.
    04e787f836e2 ionic: fix potential irq name truncation
    fd867e74fa4d RDMA/efa: Properly handle unexpected AQ completions
    220725de5aa5 soc: qcom: smem: Add qcom_smem_bust_hwspin_lock_by_host()
    a6978d1b7bb8 hwspinlock: Introduce hwspin_lock_bust()
    e51077ad1bf4 wifi: mac80211: check ieee80211_bss_info_change_notify() against MLD
    7cdb51585589 PCI: al: Check IORESOURCE_BUS existence during probe
    ea37096a6a92 cpufreq: scmi: Avoid overflow of target_freq in fast switch
    0bd1be7e84f5 wifi: iwlwifi: remove fw_running op
    0798e4330b54 drm/amdgpu: update type of buf size to u32 for eeprom functions
    cdc65b5f9998 drm/kfd: Correct pinned buffer handling at kfd restore and validate process
    1107129305c1 wifi: rtw89: ser: avoid multiple deinit on same CAM
    7e8d106ca98a drm/amd/pm: check negtive return for table entries
    7d265772e44d drm/amdgpu: the warning dereferencing obj for nbio_v7_4
    025798f44b8d drm/amd/pm: check specific index for smu13
    d0230b372068 drm/amd/pm: check specific index for aldebaran
    4ab720b6aa1e drm/amdgpu: fix the waring dereferencing hive
    0aad97bf6d0b drm/amdgpu: fix dereference after null check
    d116bb921e8b drm/amdgpu: Fix the warning division or modulo by zero
    58350786dbbd drm/amdgpu/pm: Check input value for CUSTOM profile mode setting on legacy SOCs
    eba7c58b7a83 wifi: ath11k: initialize 'ret' in ath11k_qmi_load_file_target_mem()
    17d89c79181e wifi: ath12k: initialize 'ret' in ath12k_qmi_load_file_target_mem()
    59f742e55a46 apparmor: fix possible NULL pointer dereference
    f163ba83e607 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
    d0a43bf367ed drm/amdgpu: fix mc_data out-of-bounds read warning
    f2b7a9f3839e drm/amdgpu: fix ucode out-of-bounds read warning
    f9267972490f drm/amdgpu: Fix out-of-bounds read of df_v1_7_channel_number
    e6ea3b8fe398 drm/amdkfd: Check debug trap enable before write dbg_ev_file
    a60d1f7ff62e drm/amdgpu: Fix out-of-bounds write warning
    f71ef2bb69dd drm/amdgpu: Fix the uninitialized variable warning
    3ad44174a576 drm/amdgpu/pm: Fix uninitialized variable agc_btc_response
    3e04fa97077d drm/amdgpu/pm: Fix uninitialized variable warning for smu10
    97667de35ba7 drm/amd/pm: fix uninitialized variable warnings for vangogh_ppt
    4dfec5f5501a drm/amd/amdgpu: Check tbo resource pointer
    4003bac78438 drm/amd/display: Fix index may exceed array range within fpu_update_bw_bounding_box
    8406158a5464 drm/amd/display: Skip inactive planes within ModeSupportAndSystemConfiguration
    3dc6bb57dab3 drm/amd/display: Ensure index calculation will not overflow
    94b0689984dd drm/amd/display: Fix Coverity INTEGER_OVERFLOW within decide_fallback_link_setting_max_bw_policy
    af43ed726fa5 drm/amd/display: Spinlock before reading event
    313d3dd4ca0e drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create
    13faa9d401a5 drm/amd/display: Fix Coverity INTERGER_OVERFLOW within construct_integrated_info
    cb63090a17d3 drm/amd/display: Check msg_id before processing transcation
    21f9cb44f8c6 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
    8b5ccf3d0119 drm/amd/display: Add array index check for hdcp ddc access
    48e0b68e2360 drm/amd/display: Check index for aux_rd_interval before using
    94cb77700fa4 drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6
    08e7755f754e drm/amd/display: Check gpio_id before used as array index
    30e60db4296c drm/amdgpu: avoid reading vf2pf info size from FB
    1a2c89396ddc drm/amd/pm: fix uninitialized variable warnings for vega10_hwmgr
    f1e261ced9bc drm/amd/pm: fix the Out-of-bounds read warning
    4711b1347cb9 drm/amd/pm: Fix negative array index read
    59dd0d4b3326 drm/amd/pm: fix warning using uninitialized value of max_vid_step
    1dbce92f3250 drm/amd/pm: fix uninitialized variable warning for smu8_hwmgr
    fc0cb02efdfb drm/amd/pm: fix uninitialized variable warning
    a2f2beaba783 drm/amdgpu/pm: Check the return value of smum_send_msg_to_smc
    da22d1b98d9d drm/amdgpu: fix overflowed array index read warning
    d2fe7ac613a1 drm/amd/display: Assign linear_pitch_alignment even for VM
    761964b756c6 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
    3d2e1b82558b mptcp: pr_debug: add missing \n at the end
    a088190f3fbf mptcp: avoid duplicated SUB_CLOSED events
    1f4ca105abb5 selftests: mptcp: join: stop transfer when check is done (part 2.2)
    5803af655fd5 selftests: mptcp: join: disable get and dump addr checks
    81f2e73e73fb selftests: mptcp: join: test for flush/re-add endpoints
    f9ca09beedda selftests: mptcp: join: check re-re-adding ID 0 signal
    a417ef47a665 selftests: mptcp: join: validate event numbers
    b66609e9aa7c selftests: mptcp: add mptcp_lib_events helper
    0a37a0ec0d7d selftests: mptcp: join: check re-adding init endp with != id
    43ca9a10d052 selftests: mptcp: join: check re-using ID of unused ADD_ADDR
    a95e3e702ce4 selftests: mptcp: add explicit test case for remove/readd
    8863e430e6dc selftests: mptcp: join: cannot rm sf if closed
    a17d1419126b selftests: mptcp: declare event macros in mptcp_lib
    485bb1981a2e selftests: mptcp: userspace pm get addr tests
    1b8af4ba00b2 selftests: mptcp: dump userspace addrs list
    05867195c96f selftests: mptcp: userspace pm create id 0 subflow
    2a72ceb86359 mptcp: pm: fix RM_ADDR ID for the initial subflow
    0229074a5170 mptcp: make pm_remove_addrs_and_subflows static
    489f245e00f0 ASoC: codecs: ES8326: button detect issue
    2eb143e0962c ASoC: amd: yc: Support mic on Lenovo Thinkpad E14 Gen 6
    cc300463aa06 net: usb: qmi_wwan: add MeiG Smart SRM825L
    2ea1fab2df6c dma-debug: avoid deadlock between dma debug vs printk and netconsole
    b1322bc32a34 i2c: Fix conditional for substituting empty ACPI functions
    8b28f8c5d124 spi: hisi-kunpeng: Add validation for the minimum value of speed_hz
    533e175c82ad ASoC: amd: yc: Support mic on HP 14-em0002la
    77e5d743a8cf smb: client: fix FSCTL_GET_REPARSE_POINT against NetApp
    ad3bc43e7296 net/mlx5: DR, Fix 'stack guard page was hit' error in dr_rule
    f8b39e2da7d9 ALSA: seq: ump: Explicitly reset RPN with Null RPN
    9062e98473a9 ALSA: seq: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    7c34c6894779 ALSA: seq: ump: Use the common RPN/bank conversion context
    4ed4e84939ac ALSA: ump: Explicitly reset RPN with Null RPN
    5a494fdbfc63 ALSA: ump: Transmit RPN/NRPN message at each MSB/LSB data reception
    bd819563d5c3 ALSA: hda/conexant: Mute speakers at suspend / shutdown
    8f11fbe1199b ALSA: hda/generic: Add a helper to mute speakers at suspend/shutdown
    9b090ccd80cc btrfs: tree-checker: validate dref root and objectid
    02c19d769d2b scsi: ufs: core: Bypass quick recovery if force reset is needed
    8d1af5c6af5c scsi: ufs: core: Check LSDBS cap when !mcq
    512bd0cd535b drm: panel-orientation-quirks: Add quirk for OrangePi Neo
    d5618eaea886 drm/fb-helper: Don't schedule_work() to flush frame buffer during panic()
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 6687a404a7b3c9d3b28832204b1d9ce575f12e13)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Daniil Batalov
18fce365a5 spdx30_tasks.py: fix typo in call of is_file method
Method is_file() was wrongly called as isfile()

(From OE-Core rev: 356c52a45db139bf1fdfcf5b6e0903ece7d1dd46)

Signed-off-by: Daniil Batalov <dbatalov@deltard.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Ross Burton
64a1a07f03 systemd: add missing dependency on libkmod to udev
As of systemd 256, libsystemd-shared.so doesn't directly link to a number
of libraries but instead dlopen()'s them as needed to reduce the size of
the attack surface.

Instead the .so has a .note.dlopen segment that lists the libraries that
may be opened, with the intention that these are transformed into package
recommendation fields.

We don't yet have support for these (see #15595) so explicit dependencies
have been added to the systemd package itself. However, in an initramfs
with udev but without systemd and no recommendations you end up without
libkmod, so module loading is impossible.

Add an explicit hard dependency on libkmod to udev, because modules are
critical functionality.

(From OE-Core rev: 12fadefe11ed9f09171087608c3c4b83c7302b3f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Rasmus Villemoes
462b0c114a systemd: include sysvinit in default PACKAGECONFIG only if in DISTRO_FEATURES
The sysvinit PACKAGECONFIG knob enables various legacy/compatibility
code that may not be needed or even desired. If DISTRO_FEATURES
includes systemd (as it must for this recipe to build) but not
sysvinit, there is no point building and installing that legacy
support.

As most other changes, this can cause breakage, but given that
sysvinit not being in DISTRO_FEATURES requires explicit opt-out (due
to backfill), I think the risk is low. Moreover, it is generally
easier to add to than to remove from PACKAGECONFIG.

(From OE-Core rev: 3668235fd60a9027608f37251c4b453ed21b3687)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-13 07:15:49 +01:00
Dan McGregor
de29354e84 bitbake: prserv: increment 9 to 10 correctly
Previously, incrementing "0.9" would result in "0.1.0", which
generally gets recognised as a lower version number. Even more
surprising, incrementing "0.99" returned "0.1.0.0".

This is due to the behaviour of the list function on a string
object; it adds each character as an element in a new list,
causing the new string '10' to become the list [ '1', '0' ].

Instead of converting a string to a list, add the string to a
new list, and concatenate it with the existing list slice. And
provide test cases for "0.9" -> "0.10" and related edge cases.

(Bitbake rev: 96ddeefa88ff4c37e9ea096726a7cdca5b5b4572)

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:17:20 +01:00
Ross Burton
d016d18a9f bitbake: fetch2/gitsm: use configparser to parse .gitmodules
.gitmodules is basically ini-style, so use configparser instead of manually
parsing by hand.

(Bitbake rev: a4f42e396e2942fde94b8b4944487c1c45f7a295)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:17:20 +01:00
Dmitry Baryshkov
4d1697fb87 linux-firmware: split ath10k package
A lot of Qualcomm-based devices incorporate WCN3990 WiFi/BT chips. The
ath10k firmware package provides two small files for such boards, the
rest of ath10k firmware isn't applicable. Split the WCN3990 firmware
package to simplify using of the WiFI in the resource-constrained
environments (e.g. from the initramfs).

(From OE-Core rev: 40d2fbece1c2f6ecf62bffa44ad37850e90268cb)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Vivek Puar
63beda0e10 linux-firmware: upgrade 20240811 -> 20240909
License-Update: additional firmwares

The commit [1] adds the venus.mdt symlink in WHENCE file
as a patch, we can remove the patch now as linux-firmware
20240909 already contains this fix as part of WHENCE file.

[1] 91f955b730

(From OE-Core rev: 7a29ddc98de315a9ff5d7a5f6c7c6aa0d410e2aa)

Signed-off-by: Vivek Puar <quic_vpuar@quicinc.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Deepesh Varatharajan
9c7dee6c76 rust: Rust Oe-Selftest Reduce the testcases in exclude list
We had previously excluded certain test cases due to failures in earlier versions.
However, with the latest version of Rust, many of these test cases are passing.
As a result, we have removed them from the exclude list and added them back into the test suite for execution.

The rust-1.79 has been successfully tested with the current test inclusions.

(From OE-Core rev: e8dae0ee5ea958bb84af33d9b9a29ab357d96e31)

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Alban Bedel
3a3bcf0e05 bind: Fix build with the httpstats package config enabled
------C65ED3E1A5DE826CA595746785F6AF6F
To: openembedded-core@lists.openembedded.org
CC: Alban Bedel <alban.bedel@aerq.com>
Subject: [PATCH] bind: Fix build with the `httpstats` package config enabled
Date: Wed, 11 Sep 2024 08:26:47 +0200
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain
MIME-Version: 1.0

When the `httpstats` package config is enabled configure fails with
the error:

> configure: error: Specifying libxml2 installation path is not
> supported, adjust PKG_CONFIG_PATH instead

Drop the explicit path from `--with-libxml2` to solve this issue.

(From OE-Core rev: 9b076fa51f5e6fd685066fb817c47239960778e6)

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Yoann Congal
61186bc98a oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir
When building the new selftest builddir, paths in environment variables
are rewritten to point to the new buildir, but users can have
environment variables that point outside of the build dir using
relative paths from builddir. We must not rewrite those.

Check this by verifying that the absolute path still contains the
builddir.

Fixes [YOCTO #15241]

(From OE-Core rev: c5e70500caffcd0518899cc6eba23a38bc3be108)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Ryan Eatmon
40052a34c6 oe-setup-build: Change how we get the SHELL value
There are times that a user might not have SHELL set for some reason.
We should default back to a known shell in the event that SHELL is not
set.

(From OE-Core rev: 9f3099b7eddccf2b7328c0fdd6423269d17138ce)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Paul Barker
313afc99ed meta-ide-support: Mark recipe as MACHINE-specific
meta-ide-support:do_write_test_data dumps the bitbake data dictionary to
a file using export2json(). As this obviously includes the value of
MACHINE, and other MACHINE-specific variables, the recipe needs to be
marked as MACHINE-specific.

RP: Note that this patch does change the name of the environment script
since it is no longer package arch specific but machine arch specific.

[RP: Fix selftest to reference new environment file]
(From OE-Core rev: 3be2bc8a9b0c9d6a178329c8b451a6bedf255d6c)

Signed-off-by: Paul Barker <paul.barker.ct@bp.renesas.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-12 16:15:09 +01:00
Ross Burton
9545aaa806 vulkan-samples: limit to aarch64/x86-64
This package is only tested upstream for aarch64 and x86-64 targets,
for example there are int/long cast issues on 32-bit platforms and ATSC
is only ported to aarch64/x86-64.

Instead of listing the machines where we know it doesn't work, limit the
recipe to machines where it is known to work.

(From OE-Core rev: 05aeab99dedd2a9ccde5bf22942fcbb2d88a311c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 21:06:47 +01:00
Richard Purdie
a14e58799e libedit: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Stop
the code from looking at host paths outside HOSTTOOLS and hence cause the
doc type to be deterministic and reproducible.

(From OE-Core rev: 918e2b266eba6779f19f65349f85caa880ba45e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 11:56:37 +01:00
Richard Purdie
ec9fb6eaa5 ruby: Make docs generation deterministic
The presence or lack of nroff on the host was changing the doc type. Set it
explicitly to be deterministic and reproducible.

(From OE-Core rev: f5053abb8957acf358b518ee3c76146dc5f4eb6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 11:56:37 +01:00
Guðni Már Gilbert
0c87811b71 bluez5: upgrade 5.77 -> 5.78
* Fix issue with handling notification of scanned BISes to BASS
 * Fix issue with handling checking BIS caps against peer caps.
 * Fix issue with handling MGMT Set Device Flags overwrites.
 * Fix issue with handling ASE notification order.
 * Fix issue with handling BIG Info report events.
 * Fix issue with handling PACS Server role.
 * Fix issue with registering UHID_START multiple times.
 * Fix issue with pairing method not setting auto-connect.

(From OE-Core rev: 77aa3ecaf6ad7fe777a10655542349a1489b7ad3)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-11 11:56:37 +01:00
Yi Zhao
66390a274b libsdl2: upgrade 2.30.6 -> 2.30.7
ChangeLog:
https://github.com/libsdl-org/SDL/releases/tag/release-2.30.7

* Added support for the Retro-bit Controller in PS3 mode
* Fixed the cursor becoming visible when using relative mode under
  XWayland
* Fixed DRM initialization failure on some Linux systems
* Fixed a crash when the current mouse capture window is destroyed

(From OE-Core rev: 9ad32cec8e045d580563631ac59f49dff4cae274)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Konrad Weihmann
eb016e9758 runqemu: remove unused uid variable
(From OE-Core rev: 2521f67f19cb0eea0a2d6c5e8c39fa5edd60330a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Konrad Weihmann
c9a9999400 runqemu: keep generating tap devices
in case there is no tap device the script tries to
generate a new one.
The new device is then unguarded for a moment, so
the newly generated device could be acquired
by a different instance or user, before it is locked to
the instance with acquire_taplock.
To fix that keep generating new tap devices in case
the lock can't be acquired up to 5 times.
If no tap device can be locked it fails in the existing
error handling

(From OE-Core rev: 23876576d054ebbab9b02c0012782aa56feda123)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Markus Volk
4854fc5dbb gtk4: update 4.14.4 -> 4.14.5
Overview of Changes in 4.14.5, 16-08-2024
=========================================

* GtkSpinner:
 - Only set :checked state when mapped to avoid animation overhead

* GtkFileChooserWidget:
 - Plug memory leaks

* GtkProgressBar, GtkRange:
 - Fix hightlight clipping

* GtkSpinButton:
 - Set number input hint for numeric spin buttons

* GtkPopover:
 - Recompute the sampe more often
 - Handle allocation corner cases better

* GtkIconTheme:
 - Fix an argument order mishap that could lead to wrong icon selection

* Accessibility:
 - Use text instead of label for GtkLabesl accessible name
 - Improve the role mapping for containers
 - Realize the AT context when needed to fix AdwToast
 - Fix handling or relations in GtkExpander

* GDK:
 - Don't leak EGLSurfaces

* GSK:
 - Speed up mask nodes with cairo

* Vulkan:
 - Recreate the swapchain when necessary or beneficial

* Wayland:
 - Support the xdg-dialog protocol

* macOS:
 - Make Dock>Quit invoke the "app.quit" action
 - Take shadows into account when positioning popups
 - Propagate create-folder to Open panels

* Windows:
 - Backport build and runtime fixes for 32bit Windows
 - Ensure the dnd-move cursor exists

* Translation updates
 Catalan
 Chinese (Taiwan)
 Galician
 Hindi
 Hungarian
 Kabyle
 Nepali
 Persian
 Portuguese
 Romanian
 Serbian

(From OE-Core rev: 10947ec977daa8029c83e5f5e48dfa05af5a94ef)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Richard Purdie
23763df006 Revert "python3-setuptools: upgrade 72.1.0 -> 72.2.0"
This reverts commit 8fccef7a731f44e5d27653e06becb54cf770e5e5.

The patch causes problems for systems using ccache. Revert until this is fixed.

"Inherit ccache, build anything which uses python3-setuptools (e.g. python3-icu)."

(From OE-Core rev: a7dafda0303e52965010fc428d950e10ff1bb940)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Colin McAllister
e164749139 busybox: Fix cut with "-s" flag
This fixes and issue that allows blank lines to be incorrectly output
when the "-s" flag is included. This issue propogates into the
populate-volatile.sh script in initscripts. If a volatiles drop file
contains blank lines, a blank line will be included in combined users,
which will incorrectly result in a difference in the number of combined
users versus defined users. If this happens, the volatiles file will not
be executed.

(From OE-Core rev: dfbcf0581ab3dd47037726a7b8aa06f777792473)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Colin McAllister
8c820896b8 udev-extraconf: Add collect flag to mount
Adds extra "--collect" flag to the mount command within
automount_systemd. This is intended to fix an observed deadlock after
rapidly inserting and removing external media. This is because if the
mount command fails, the transient mount will enter a failed state. The
next time the media is inserted, automount_systemd bails because the
first consition finds that the file path for the failed transient mount
still exists. This leaves the external media unmounted and cannot be
mounted until the mount is fixed via systemctl or the device is
rebooted.

Adding "--collect" ensures that the transient mount is cleaned up after
entering a failed state, which ensures that the media can still be
mounted when it's re-inserted.

(From OE-Core rev: f0cda74d73eb8c14cd6f695f514108f1e94984a6)

Signed-off-by: Colin McAllister <colinmca242@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Christian Lindeberg
87c29b5a94 bitbake: fetch2: Add gomodgit fetcher
Add a go module fetcher for downloading module dependencies to the
module cache directly from a git repository. The fetcher can be used
with the go-mod class in OE-Core.

A module dependency can be specified with:

  SRC_URI += "gomodgit://golang.org/x/net;version=v0.9.0;srcrev=..."

(Bitbake rev: 29ff38ccf0d5389a5bee81e252a78548361a9d7c)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Christian Lindeberg
dd7631426c bitbake: fetch2: Add gomod fetcher
Add a go module fetcher for downloading module dependencies to the
module cache from a module proxy. The fetcher can be used with the
go-mod class in OE-Core.

A module dependency can be specified with:

  SRC_URI += "gomod://golang.org/x/net;version=v0.9.0;sha256sum=..."

(Bitbake rev: 5ff4694bf305e266ebf0abab5d9745c6b6d07d67)

Signed-off-by: Christian Lindeberg <christian.lindeberg@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-10 13:05:00 +01:00
Etienne Cordonnier
4fc8427a6c systemd: make home directory readable by systemd-coredump
In 924453c225
ProtectHome was set to true for systemd-coredump in order to reduce risk, since an attacker could craft a malicious binary in order to compromise systemd-coredump.
At that point the object analysis was done in the main systemd-coredump process.
Because of this systemd-coredump is unable to product symbolicated call-stacks for binaries running under /home ("n/a" is shown instead of function names).

However, later in 61aea456c1 systemd-coredump was changed to do the object analysis in a forked process,
covering those security concerns.

Let's set ProtectHome to read-only so that systemd-coredump produces symbolicated call-stacks for processes running under /home.

Note: it still does not work in /tmp (because of PrivateTmp=yes) and in /root (for unknown reasons).

Before the change (with minidebuginfo enabled):

    root@qemux86-64:~# /home/sleep 1000 &
    [1] 426
    root@qemux86-64:~# kill -11 $(pidof sleep)
    root@qemux86-64:~# coredumpctl info
               PID: 426 (sleep)
               UID: 0 (root)
               GID: 0 (root)
            Signal: 11 (SEGV)
         Timestamp: Fri 2024-09-06 17:25:18 UTC (3s ago)
      Command Line: /home/sleep 1000
        Executable: /home/sleep
     Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service
              Unit: serial-getty@ttyS0.service
             Slice: system-serial\x2dgetty.slice
           Boot ID: 44ef4ddfaad249ceaa29d1e9f330d3b5
        Machine ID: fb279f18f2c849c59768754c7a274ee3
          Hostname: qemux86-64
           Storage: /var/lib/systemd/coredump/core.sleep.0.44ef4ddfaad249ceaa29d1e9f330d3b5.426.1725643518000000.zst (present)
      Size on Disk: 16.5K
           Message: Process 426 (sleep) of user 0 dumped core.

                    Stack trace of thread 426:
                    #0  0x00007f365f3849a7 clock_nanosleep (libc.so.6 + 0xd49a7)
                    #1  0x00007f365f38f667 __nanosleep (libc.so.6 + 0xdf667)
                    #2  0x0000561fee703737 n/a (/home/sleep + 0x7737)
                    #3  0x000000003a6227c5 n/a (n/a + 0x0)
                    ELF object binary architecture: AMD x86-64
    [1]+  Segmentation fault      (core dumped) /home/sleep 1000

After the change (with minidebuginfo enabled):

    root@qemux86-64:~# /home/sleep 1000 &
    [1] 450
    root@qemux86-64:~# kill -11 $(pidof sleep)
    root@qemux86-64:~# coredumpctl info
               PID: 450 (sleep)
               UID: 0 (root)
               GID: 0 (root)
            Signal: 11 (SEGV)
         Timestamp: Fri 2024-09-06 17:30:12 UTC (4s ago)
      Command Line: /home/sleep 1000
        Executable: /home/sleep
     Control Group: /system.slice/system-serial\x2dgetty.slice/serial-getty@ttyS0.service
              Unit: serial-getty@ttyS0.service
             Slice: system-serial\x2dgetty.slice
           Boot ID: 44ef4ddfaad249ceaa29d1e9f330d3b5
        Machine ID: fb279f18f2c849c59768754c7a274ee3
          Hostname: qemux86-64
           Storage: /var/lib/systemd/coredump/core.sleep.0.44ef4ddfaad249ceaa29d1e9f330d3b5.450.1725643812000000.zst (present)
      Size on Disk: 16.5K
           Message: Process 450 (sleep) of user 0 dumped core.

                    Stack trace of thread 450:
                    #0  0x00007f795dd689a7 clock_nanosleep (libc.so.6 + 0xd49a7)
                    #1  0x00007f795dd73667 __nanosleep (libc.so.6 + 0xdf667)
                    #2  0x0000561965c9d737 rpl_nanosleep (sleep + 0x7737)
                    #3  0x0000561965c9d0c1 xnanosleep (sleep + 0x70c1)
                    #4  0x0000561965c985c8 main (sleep + 0x25c8)
                    #5  0x00007f795dcba01b __libc_start_call_main (libc.so.6 + 0x2601b)
                    #6  0x00007f795dcba0d9 __libc_start_main (libc.so.6 + 0x260d9)
                    #7  0x0000561965c98685 _start (sleep + 0x2685)
                    ELF object binary architecture: AMD x86-64
    [1]+  Segmentation fault      (core dumped) /home/sleep 1000

(From OE-Core rev: b8c1f999038b7cd6fc2e80ed215541c8a4d9e19f)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 17:04:15 +01:00
Bruce Ashfield
5f97513f8c linux-yocto/6.6: update to v6.6.49
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    df1a7cc5e00f Linux 6.6.49
    d60839a73a26 apparmor: fix policy_unpack_test on big endian systems
    8a3995a3ffec scsi: aacraid: Fix double-free on probe failure
    790a8d36f96b arm64: dts: freescale: imx93-tqma9352-mba93xxla: fix typo
    7cf7de0f3572 arm64: dts: freescale: imx93-tqma9352: fix CMA alloc-ranges
    f8fb2cd48653 arm64: dts: imx93: update default value for snps,clk-csr
    d0c54c294926 arm64: dts: imx93: add nvmem property for eqos
    1e59301fcc30 arm64: dts: imx93: add nvmem property for fec1
    228d69f93898 arm64: dts: imx8mp-beacon-kit: Fix Stereo Audio on WM8962
    8aaca1c9fb9a ARM: dts: omap3-n900: correct the accelerometer orientation
    d54696813cf4 usb: cdnsp: fix for Link TRB with TC
    72be846dc76e usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function
    8fc7c9dcfe38 usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()
    70b43c33669e usb: dwc3: st: add missing depopulate in probe error path
    e1e5e8ea2731 usb: dwc3: st: fix probed platform device ref count on probe error path
    7bb11a75dd4d usb: dwc3: core: Prevent USB core invalid event buffer address access
    df2daed52923 usb: dwc3: omap: add missing depopulate in probe error path
    b3e8696e0374 ARM: dts: imx6dl-yapp43: Increase LED current to match the yapp4 HW design
    6d9f4783868b USB: serial: option: add MeiG Smart SRM825L
    03e3156ea7e5 scsi: sd: Ignore command SYNCHRONIZE CACHE error if format in progress
    cdf7efe4b02a firmware: qcom: scm: Mark get_wq_ctx() as atomic call
    ea3b6ec38bed cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller
    1efdbf5323c9 soc: qcom: pmic_glink: Fix race during initialization
    c704091b5911 soc: qcom: pmic_glink: Actually communicate when remote goes down
    ef80520be0ff soc: qcom: cmd-db: Map shared memory as WC, not WB
    56ad559cf6d8 nfc: pn533: Add poll mod list filling check
    55526afdbb52 net: busy-poll: use ktime_get_ns() instead of local_clock()
    f6f5e39a3fe7 drm/amd/display: avoid using null object of framebuffer
    b65116bee7b5 sctp: fix association labeling in the duplicate COOKIE-ECHO case
    28c67f0f84f8 gtp: fix a potential NULL pointer dereference
    6b598069164a bonding: change ipsec_lock from spin lock to mutex
    19792758339b bonding: extract the use of real_device into local variable
    124a688ed36c bonding: implement xdo_dev_state_free and call it after deletion
    7aa9f978c2b6 selftests: forwarding: local_termination: Down ports on cleanup
    7e7d0bd538d5 selftests: forwarding: no_forwarding: Down ports on cleanup
    84f17718a0b8 netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation
    94ab317024ba ethtool: check device is present when getting link settings
    1a525d99dc93 wifi: iwlwifi: fw: fix wgds rev 3 exact size
    8e51088d9123 netfilter: nf_tables: restore IP sanity checks for netdev/egress
    99912d85fa89 iommu: Do not return 0 from map_pages if it doesn't do anything
    c8525821ecb1 Bluetooth: hci_core: Fix not handling hibernation actions
    662a55986b88 Bluetooth: btnxpuart: Fix random crash seen while removing driver
    9aa6e15c0108 Bluetooth: btnxpuart: Handle FW Download Abort scenario
    9d5df94ce0e2 Bluetooth: btnxpuart: Resolve TX timeout error in power save stress test
    7df36cceb934 dmaengine: dw: Add memory bus width verification
    e1b63d054ee0 dmaengine: dw: Add peripheral bus width verification
    24775bfdf435 phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume
    ffd2e852dc54 dmaengine: dw-edma: Do not enable watermark interrupts for HDMA
    d3c9a2a6caa8 dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA
    b47ff45c4a87 soundwire: stream: fix programming slave ports for non-continous port maps
    954e1893fe85 phy: fsl-imx8mq-usb: fix tuning parameter name
    b547cab1ebdb iommufd: Do not allow creating areas without READ or WRITE
    459584258d47 selinux,smack: don't bypass permissions check in inode_setsecctx hook
    05d2e16a9e3a Revert "change alloc_pages name in dma_map_ops to avoid name conflicts"
    288d398df80c cifs: Fix FALLOC_FL_PUNCH_HOLE support
    881aee27ce7d mm: Fix missing folio invalidation calls during truncation
    9de10f5b7ba9 ovl: ovl_parse_param_lowerdir: Add missed '\n' for pr_err
    dce7cbeaa10f ovl: fix wrong lowerdir number check for parameter Opt_lowerdir
    0e1c9709d70b ovl: pass string to ovl_parse_layer()
    c15123bbe379 pinctrl: starfive: jh7110: Correct the level trigger configuration of iev register
    2ebdb6e98705 pinctrl: mediatek: common-v2: Fix broken bias-disable for PULL_PU_PD_RSEL_TYPE
    805cb277fbc0 ASoC: SOF: amd: Fix for acp init sequence
    30464c3174e1 ASoC: amd: acp: fix module autoloading
    2dfbf8991e49 thermal: of: Fix OF node leak in of_thermal_zone_find() error paths
    31019a2ab4a0 thermal: of: Fix OF node leak in thermal_of_trips_init() error path
    0199a29ec6e9 of: Introduce for_each_*_child_of_node_scoped() to automate of_node_put() handling
    d967f6ae3149 usb: typec: fix up incorrectly backported "usb: typec: tcpm: unregister existing source caps before re-registration"
    4ed03758ddf0 tracing: Have format file honor EVENT_FILE_FL_FREED
    9a9716bbbf3d drm/vmwgfx: Fix prime with external buffers
    39defab0ebf0 drm/amdgpu/swsmu: always force a state reprogram on init
    11182b33faf3 drm/amdgpu: align pp_power_profile_mode with kernel docs
    09c423d6fcd5 selftests: mptcp: join: check re-re-adding ID 0 endp
    99c17b3be7e3 selftests: mptcp: join: no extra msg if no counter
    a81c87ac6080 selftests: mptcp: join: check removing ID 0 endpoint
    dc14d542e683 mptcp: pm: ADD_ADDR 0 is not a new address
    53e2173172d2 mptcp: pm: fix ID 0 endp usage after multiple re-creations
    78b04149868d mptcp: pm: do not remove already closed subflows
    edfbc14a4beb mptcp: pm: send ACK on an active subflow
    26e0f27405db mptcp: pm: reset MPC endp ID when re-added
    6d6c14563347 mptcp: pm: skip connecting to already established sf
    1448d9a34ce4 mptcp: pm: reuse ID 0 after delete and re-add
    9e40cd795900 mptcp: sched: check both backup in retrans
    255bc4fc4f6a mptcp: close subflow when receiving TCP+FIN
    c04cac9a59c4 net: mana: Fix race of mana_hwc_post_rx_wqe and new hwc response
    8e4084ed2bd6 wifi: mwifiex: duplicate static structs used in driver instances
    9d5e5908f063 wifi: wfx: repair open network AP mode
    cb739d3ce51c of: Add cleanup.h based auto release via __free(device_node) markings
    4ed45fe99ec9 pinctrl: single: fix potential NULL dereference in pcs_get_function()
    d80bdfaa48c1 pinctrl: rockchip: correct RK3328 iomux width flag for GPIO2-B pins
    a01859dd6aeb smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req()
    44013260666f btrfs: run delayed iputs when flushing delalloc
    51722b99f41f btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk()
    f6758eb7928e LoongArch: Remove the unused dma-direct.h
    b1922c3102f1 ALSA: seq: Skip event type filtering for UMP events
    c77dee530e77 Linux 6.6.48
    a2081b8cabbe tools: move alignment-related macros to new <linux/align.h>
    8f04edd554d1 Input: MT - limit max slots
    3d68d1076040 Revert "s390/dasd: Establish DMA alignment"
    b8d7b897e1e5 net: ngbe: Fix phy mode set to external phy
    118fd997612d ksmbd: fix race condition between destroy_previous_session() and smb2 operations()
    c6372cbd919b drm/amdgpu/vcn: not pause dpg for unified queue
    44bb8f18a63b drm/amdgpu/vcn: identify unified queue in sw init
    e0aeb26b04ec NFSD: simplify error paths in nfsd_svc()
    b12caa8f0888 selftests/bpf: Add a test to verify previous stacksafe() fix
    7cad3174cc79 bpf: Fix a kernel verifier crash in stacksafe()
    19b4397c4a15 mm/numa: no task_numa_fault() call if PTE is changed
    c789a78151c1 mm/numa: no task_numa_fault() call if PMD is changed
    bb121128fd58 ALSA: timer: Relax start tick time check for slave timer elements
    1f3b52c0fdc8 igc: Fix qbv tx latency by setting gtxoffset
    ad569ac6055f drm/panel: nt36523: Set 120Hz fps for xiaomi,elish panels
    ab7554fb515b drm/msm/mdss: specify cfg bandwidth for SDM670
    cc9006d00da4 hwmon: (ltc2992) Fix memory leak in ltc2992_parse_dt()
    f0974e6bc385 tcp: do not export tcp_twsk_purge()
    3d3a8654a53b platform/x86/intel/ifs: Call release_firmware() when handling errors.
    50fe8565a9be Revert "drm/amd/display: Validate hw_points_num before using it"
    8e1f64d44664 Revert "usb: gadget: uvc: cleanup request when not in correct state"
    ce2f28a549f1 selftests: mptcp: join: check re-using ID of closed subflow
    f845af67e79e selftests: mptcp: join: validate fullmesh endp on 1st sf
    9a9afbbc3fbf mptcp: pm: avoid possible UaF when selecting endp
    b762e1e301bd mptcp: pm: fullmesh: select the right ID later
    a7a692b79104 mptcp: pm: only in-kernel cannot have entries with ID 0
    9907af6a28a6 mptcp: pm: check add_addr_accept_max before accepting new ADD_ADDR
    d20bf2c96d7f mptcp: pm: only decrement add_addr_accepted for MPJ req
    43cf912b0b0f mptcp: pm: only mark 'subflow' endp as available
    01db51846874 mptcp: pm: remove mptcp_pm_remove_subflow()
    257d56fbfff9 mptcp: pm: re-using ID of unused flushed subflows
    7b64bdbfcf6f mptcp: pm: re-using ID of unused removed subflows
    cb24bdcdecba mptcp: pm: re-using ID of unused removed ADD_ADDR
    cc29c5546c6a nouveau/firmware: use dma non-coherent allocator
    d25fd6eb26a7 pmdomain: imx: wait SSAR when i.MX93 power domain on
    e6d49dd41e14 pmdomain: imx: scu-pd: Remove duplicated clocks
    7bbf8f8b8861 mmc: dw_mmc: allow biu and ciu clocks to defer
    c1b17191abc5 mmc: mtk-sd: receive cmd8 data when hs400 tuning fail
    9d7629bec5c3 KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3
    2d7cb80bfff3 cxgb4: add forgotten u64 ivlan cast before shift
    11343059daf8 Input: i8042 - use new forcenorestore quirk to replace old buggy quirk combination
    fdda14aba729 Input: i8042 - add forcenorestore quirk to leave controller untouched even on s3
    2b5f22ea55ca HID: wacom: Defer calculation of resolution until resolution_code is known
    ac5d3baf141a MIPS: Loongson64: Set timer mode in cpu-probe
    242665bd914a net: dsa: microchip: fix PTP config failure when using multiple ports
    50553ea7cbd3 drm/amdgpu: Validate TA binary size
    09982d418ac6 ksmbd: the buffer of smb2 query dir response has at least 1 byte
    76df3a1970dd scsi: core: Fix the return value of scsi_logical_block_count()
    064dd929c765 Bluetooth: MGMT: Add error handling to pair_device()
    0fa4b4aadb2b smb: client: ignore unhandled reparse tags
    cac2815f49d3 mmc: mmc_test: Fix NULL dereference on allocation failure
    88c232fd0629 drm/msm: fix the highest_bank_bit for sc7180
    aba75693331e drm/msm/mdss: Handle the reg bus ICC path
    707601fcf652 drm/msm/mdss: Rename path references to mdp_path
    9611899f42e3 drm/msm/mdss: switch mdss to use devm_of_icc_get()
    8b93b3e1589e drm/msm/dpu: take plane rotation into account for wide planes
    1af8f3db50c2 drm/msm/dpu: try multirect based on mdp clock limits
    a3c5815b07f4 drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails
    6f3aea37aac4 drm/msm/dp: reset the link phy params before link training
    3fb61718bcbe drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
    8e7ef27e4e8f drm/msm/dpu: capture snapshot on the first commit_done timeout
    801f49c83bac drm/msm/dpu: split dpu_encoder_wait_for_event into two functions
    da7243e52264 drm/msm/dpu: drop MSM_ENC_VBLANK support
    e86721b0d02c drm/msm/dpu: use drmm-managed allocation for dpu_encoder_phys
    4a2798cc24ba drm/msm/dp: fix the max supported bpp logic
    69da87fb0dd4 drm/msm/dpu: don't play tricks with debug macros
    6be50c8991d7 net: ovs: fix ovs_drop_reasons error
    4bf322e5af8e net: xilinx: axienet: Fix dangling multicast addresses
    14ebcb4a67dc net: xilinx: axienet: Always disable promiscuous mode
    7a8c74df7c97 octeontx2-af: Fix CPT AF register offset calculation
    0279c35d242d netfilter: flowtable: validate vlan header
    fa4e6ae38574 bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
    124b428fe280 ipv6: prevent possible UAF in ip6_xmit()
    6ab6bf731354 ipv6: fix possible UAF in ip6_finish_output2()
    af1dde074ee2 ipv6: prevent UAF in ip6_send_skb()
    cfa692e7e71b udp: fix receiving fraglist GSO packets
    577d6c061946 netem: fix return value if duplicate enqueue fails
    f7d8c2fabd39 net: dsa: mv88e6xxx: Fix out-of-bound access
    8ea80ff5d829 igb: cope with large MAX_SKB_FRAGS
    da7d3fddced7 dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
    c864bf016692 ice: fix truesize operations for PAGE_SIZE >= 8192
    e9a1df12d530 ice: fix ICE_LAST_OFFSET formula
    5898525275b2 ice: fix page reuse when PAGE_SIZE is over 8k
    996ba2f0d755 bonding: fix xfrm state handling when clearing active slave
    4582d4ff413a bonding: fix xfrm real_dev null pointer dereference
    0707260a1831 bonding: fix null pointer deref in bond_ipsec_offload_ok
    f2b3d38d7986 bonding: fix bond_ipsec_offload_ok return type
    467ee0d4c567 ip6_tunnel: Fix broken GRO
    9a131a509935 netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
    b1ac83483e8a netfilter: nft_counter: Disable BH in nft_counter_offload_stats().
    00425508f30b kcm: Serialise kcm_sendmsg() for the same socket.
    ed37ac430c70 net: mctp: test: Use correct skb for route input check
    99580ae890ec tcp: prevent concurrent execution of tcp_sk_exit_batch
    7348061662c7 tcp/dccp: do not care about families in inet_twsk_purge()
    9624febd6968 tcp/dccp: bypass empty buckets in inet_twsk_purge()
    03225025384d selftests: udpgro: report error when receive failed
    440efd86cda2 tc-testing: don't access non-existent variable on exception
    e83b49ecb569 net: mscc: ocelot: serialize access to the injection/extraction groups
    ff7f554bbd75 net: mscc: ocelot: fix QoS class for injected packets with "ocelot-8021q"
    dd17e1e68255 net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and register injection
    4177f2b0a348 Bluetooth: SMP: Fix assumption of Central always being Initiator
    50ce49116477 Bluetooth: hci_core: Fix LE quote calculation
    9b707444bebc drm/amdkfd: reserve the BO before validating it
    15e3bbd83bf5 ALSA: hda/tas2781: Use correct endian conversion
    9dcb933a161e platform/surface: aggregator: Fix warning when controller is destroyed in probe
    114858d71382 drm/amd/amdgpu: command submission parser for JPEG
    a50a25dc0ce0 drm/amd/display: fix cursor offset on rotation 180
    6490f063d54b drm/amd/display: Enable otg synchronization logic for DCN321
    d15fc910b618 drm/amd/display: Adjust cursor position
    f0e8658790b1 btrfs: send: allow cloning non-aligned extent if it ends at i_size
    1bca9776ed27 btrfs: replace sb::s_blocksize by fs_info::sectorsize
    de7bad86345c mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
    983e6b2636f0 change alloc_pages name in dma_map_ops to avoid name conflicts
    f2ce57463dd3 selftests: memfd_secret: don't build memfd_secret test on unsupported arches
    7b0e822d6546 selftests/mm: log run_vmtests.sh results in TAP format
    b4426da8c17c tools/testing/selftests/mm/run_vmtests.sh: lower the ptrace permissions
    b77471c6760a mm: fix endless reclaim on machines with unaccepted memory
    00b395e95a01 dm suspend: return -ERESTARTSYS instead of -EINTR
    84557cd61182 riscv: entry: always initialize regs->a0 to -ENOSYS
    e84f4400bf8c i2c: stm32f7: Add atomic_xfer method to driver
    2ff51719ec61 jfs: define xtree root and page independently
    34ba4f29f3d9 gtp: pull network headers in gtp_dev_xmit()
    9c375a95669e nvme: fix namespace removal list
    6019283e1e35 EDAC/skx_common: Allow decoding of SGX addresses
    81bd4b07a4f3 ionic: check cmd_regs before copying in or out
    1ae3ff27c6f2 ionic: use pci_is_enabled not open code
    a855d1297985 hrtimer: Prevent queuing of hrtimer without a function callback
    3cc03d1dbdcf drm/amdgpu: fix dereference null return value for the function amdgpu_vm_pt_parent
    82f20194bf46 nvme: use srcu for iterating namespace list
    913c30f827e1 Revert "bpf, sockmap: Prevent lock inversion deadlock in map delete elem"
    1b2631dd54fb selftests/bpf: Fix a few tests for GCC related warnings.
    73c50bd10478 nvmet-rdma: fix possible bad dereference when freeing rsps
    e9c0aa6c3dfd ext4: set the type of max_zeroout to unsigned int to avoid overflow
    4ca547488de8 irqchip/gic-v3-its: Remove BUG_ON in its_vpe_irq_domain_alloc
    def4422ff0eb usb: dwc3: core: Skip setting event buffers for host only controllers
    c0076d2c8d45 platform/x86: lg-laptop: fix %s null argument warning
    14bd62d58018 clocksource: Make watchdog and suspend-timing multiplication overflow safe
    831420f210a3 irqchip/renesas-rzg2l: Do not set TIEN and TINT source at the same time
    d8d4da5c689d s390/iucv: fix receive buffer virtual vs physical address confusion
    7ad21517c397 openrisc: Call setup_memory() earlier in the init sequence
    fbc63fb16544 NFS: avoid infinite loop in pnfs_update_layout.
    4ff710fdf72f nvmet-tcp: do not continue for invalid icreq
    be285b8dd29b net: hns3: add checking for vf id of mailbox
    454ba1740cb5 rtc: nct3018y: fix possible NULL dereference
    664ad87c36c8 firmware: cirrus: cs_dsp: Initialize debugfs_root to invalid
    7ff15407c404 Bluetooth: bnep: Fix out-of-bound access
    5469f609be9f nvme: clear caller pointer on identify failure
    5419f3001e9e usb: gadget: fsl: Increase size of name buffer for endpoints
    428fb40bd951 f2fs: fix to do sanity check in update_sit_entry
    b9b019acfb72 btrfs: delete pointless BUG_ON check on quota root in btrfs_qgroup_account_extent()
    c7e0e8acc59a btrfs: change BUG_ON to assertion in tree_move_down()
    48256173f200 btrfs: send: handle unexpected inode in header process_recorded_refs()
    4eb8be942efc btrfs: send: handle unexpected data in header buffer in begin_cmd()
    46ca3ec9b8b1 btrfs: handle invalid root reference found in may_destroy_subvol()
    6be930556d28 btrfs: push errors up from add_async_extent()
    981a749cef8e btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()
    f379c3f49e95 btrfs: change BUG_ON to assertion when checking for delayed_node root
    315471004b84 btrfs: defrag: change BUG_ON to assertion in btrfs_defrag_leaves()
    a7fec145b086 btrfs: delayed-inode: drop pointless BUG_ON in __btrfs_remove_delayed_item()
    97db7b598766 powerpc/boot: Only free if realloc() succeeds
    9c96b5b05648 powerpc/boot: Handle allocation failure in simple_realloc()
    881613a97540 f2fs: stop checkpoint when get a out-of-bounds segment
    23494bccd256 rxrpc: Don't pick values out of the wire header when setting up security
    cbdac8249fc9 parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367
    0f7acd8cefdb memory: stm32-fmc2-ebi: check regmap_read return value
    1a45994fb218 x86: Increase brk randomness entropy for 64-bit systems
    60563755c93c md: clean up invalid BUG_ON in md_ioctl
    9cf3b89b4f84 netlink: hold nlk->cb_mutex longer in __netlink_dump_start()
    0e07c0c84afe tick: Move got_idle_tick away from common flags
    6d4fbad0efbf clocksource/drivers/arm_global_timer: Guard against division by zero
    533893c2e033 accel/habanalabs: fix debugfs files permissions
    0b9f748da2ae virtiofs: forbid newlines in tags
    a48d12797eef hrtimer: Select housekeeping CPU during migration
    53b2f3539958 gpio: sysfs: extend the critical section for unregistering sysfs devices
    932490268c44 drm/lima: set gp bus_stop bit before hard reset
    aeecb08b6420 net/sun3_82586: Avoid reading past buffer in debug output
    6d3ff0437e1a wifi: iwlwifi: mvm: avoid garbage iPN
    2f50c1ea7fde media: drivers/media/dvb-core: copy user arrays safely
    12b5b959080a scsi: lpfc: Initialize status local variable in lpfc_sli4_repost_sgl_list()
    342352caf06f fs: binfmt_elf_efpic: don't use missing interpreter's properties
    b1397fb4a779 media: pci: cx23885: check cx23885_vdev_init() return
    1fb112cefadb kernfs: fix false-positive WARN(nr_mmapped) in kernfs_drain_open_files
    d5a9588cc389 riscv: blacklist assembly symbols for kprobe
    18b9264a1389 quota: Remove BUG_ON from dqget()
    30bbdff9e19d wifi: ath12k: Add missing qmi_txn_cancel() calls
    535e9bd0e8f8 fuse: fix UAF in rcu pathwalks
    e968edf6ecba afs: fix __afs_break_callback() / afs_drop_open_mmap() race
    56a1bf2b8357 btrfs: zlib: fix and simplify the inline extent decompression
    0a56dcce6b82 ext4: do not trim the group with corrupted block bitmap
    5b7766ab913b nvmet-trace: avoid dereferencing pointer too early
    9b139b16b58e EDAC/skx_common: Filter out the invalid address
    73567149beaf gfs2: Refcounting fix in gfs2_thaw_super
    3cde81f8ad3e Bluetooth: hci_conn: Check non NULL function before calling for HFP offload
    7a3e7f1ed601 evm: don't copy up 'security.evm' xattr
    e9c902dd3695 drm/rockchip: vop2: clear afbc en and transform bit for cluster window at linear mode
    9324cbc465a6 ionic: no fw read when PCI reset failed
    b41d5ce6b210 ionic: prevent pci disable of already disabled device
    fb768e05712d powerpc/pseries/papr-sysparm: Validate buffer object lengths
    cbd7ab7d7ef7 hwmon: (pc87360) Bounds check data->innr usage
    61db7910e8c2 ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data
    9badede60704 powerpc/xics: Check return value of kasprintf in icp_native_map_one_cpu
    dff1afeaeaf6 memory: tegra: Skip SID programming if SID registers aren't set
    9064a70eee97 drm/msm: Reduce fallout of fence signaling vs reclaim hangs
    edb39f621bad block: Fix lockdep warning in blk_mq_mark_tag_wait
    c58f7770456b arm64: Fix KASAN random tag seed initialization
    855538373007 powerpc/topology: Check if a core is online
    f17c3a37b22a cpu/SMT: Enable SMT only if a core is online
    881eb2fae123 rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    b4dad0cab687 rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    34e1335905f2 rust: work around `bindgen` 0.69.0 issue
    7d805d925529 hwmon: (ltc2992) Avoid division by zero
    67288cbb7ac2 IB/hfi1: Fix potential deadlock on &irq_src_lock and &dd->uctxt_lock
    c357e4cf5830 clk: visconti: Add bounds-checking coverage for struct visconti_pll_provider
    30819471054a wifi: iwlwifi: check for kmemdup() return value in iwl_parse_tlv_firmware()
    0a1a3c11fc33 wifi: iwlwifi: fw: Fix debugfs command sending
    1cbdaf141a5d wifi: iwlwifi: abort scan when rfkill on but device enabled
    355aec2ed84d gfs2: setattr_chown: Add missing initialization
    1a327862eb13 wifi: mac80211: flush STA queues on unauthorization
    e9f610050369 scsi: spi: Fix sshdr use
    3b2f36068c28 ASoC: SOF: Intel: hda-dsp: Make sure that no irq handler is pending before suspend
    66ddb97699b2 iommu/arm-smmu-qcom: Add SDM670 MDSS compatible
    9649d26dc9ad media: qcom: venus: fix incorrect return value
    abbba0768c8c drm/tegra: Zero-initialize iosys_map
    5ee7df8143c1 binfmt_misc: cleanup on filesystem umount
    ebf6f517d3f3 md/raid5-cache: use READ_ONCE/WRITE_ONCE for 'conf->log'
    03be3489b165 accel/habanalabs: fix bug in timestamp interrupt handling
    db5ba2c1ed16 accel/habanalabs: export dma-buf only if size/offset multiples of PAGE_SIZE
    fa8cb3102fe4 accel/habanalabs/gaudi2: unsecure tpc count registers
    e6571cff84da media: s5p-mfc: Fix potential deadlock on condlock
    14dde93c3136 platform/x86/intel/ifs: Validate image size
    8464e99e3808 staging: ks7010: disable bh on tx_dev_lock
    a8b30d53a1e9 drm/amd/display: Validate hw_points_num before using it
    1b60d354a4de usb: gadget: uvc: cleanup request when not in correct state
    d2defcddfe90 wifi: mt76: fix race condition related to checking tx queue fill status
    b87691d733cf staging: iio: resolver: ad2s1210: fix use before initialization
    84d617388059 wifi: ath11k: fix ath11k_mac_op_remain_on_channel() stack usage
    55e9057c8a95 media: radio-isa: use dev_name to fill in bus_info
    14fafdfdadf9 drm/amdkfd: Move dma unmapping after TLB flush
    7620f9c3bdc5 i3c: mipi-i3c-hci: Do not unmap region not mapped for transfer
    6c85c7c9a8cd i3c: mipi-i3c-hci: Remove BUG() when Ring Abort request times out
    98ed3f40f22d wifi: ath12k: fix WARN_ON during ath12k_mac_update_vif_chan
    10b1f8525415 drm/bridge: tc358768: Attempt to fix DSI horizontal timings
    8653d7bddf81 s390/smp,mcck: fix early IPI handling
    0b9c00d9fae7 RDMA/rtrs: Fix the problem of variable not initialized fully
    75a92689e36b i2c: riic: avoid potential division by zero
    a2225b7af5d6 cgroup: Avoid extra dereference in css_populate_dir()
    a4dc7424561c wifi: cw1200: Avoid processing an invalid TIM IE
    97f381703914 sched/topology: Handle NUMA_NO_NODE in sched_numa_find_nth_cpu()
    7ede6ef04c9f net: ethernet: mtk_wed: check update_wo_rx_stats in mtk_wed_update_rx_stats()
    81ba4dd37a28 rcu: Eliminate rcu_gp_slow_unregister() false positive
    e160de344f52 rcu: Dump memory object info if callback function is invalid
    4a2f09460141 mm: Remove kmem_valid_obj()
    ee6669b463ca wifi: iwlwifi: mvm: fix recovery flow in CSA
    86f22e7cce02 wifi: mac80211: fix BA session teardown race
    268f84a82753 wifi: cfg80211: check wiphy mutex is held for wdev mutex
    f34056c3050e wifi: mac80211: lock wiphy in IP address notifier
    5a002f41ebff ASoC: cs35l45: Checks index of cs35l45_irqs[]
    8574cdabb526 ssb: Fix division by zero issue in ssb_calc_clock_rate
    ec71cc24b0d4 drm/amdgpu: access RLC_SPM_MC_CNTL through MMIO in SRIOV runtime
    695f692bcd72 drm/amd/amdgpu/imu_v11_0: Increase buffer size to ensure all possible values can be stored
    51e4630ef0d1 drm/amd/pm: fix error flow in sensor fetching
    c3254bc09f46 ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7
    a8544dec14a7 gpio: mlxbf3: Support shutdown() function
    fa1d4de7265c net: hns3: fix a deadlock problem when config TC during resetting
    1d2f4a731613 net: hns3: use the user's cfg after reset
    a6c0178c81a1 net: hns3: fix wrong use of semaphore up
    d4b8c4bb7714 selftests: net: lib: kill PIDs before del netns
    fc9cae2199b8 selftests: net: lib: ignore possible errors
    921f1acf0c3c vsock: fix recursive ->recvmsg calls
    f123293db16d netfilter: nf_tables: Add locking for NFT_MSG_GETOBJ_RESET requests
    4340de3e659c netfilter: nf_tables: Introduce nf_tables_getobj_single
    cf4ebf779739 netfilter: nf_tables: Carry reset boolean in nft_obj_dump_ctx
    f3b7dc8b6c9a netfilter: nf_tables: nft_obj_filter fits into cb->ctx
    959c9bf85fe2 netfilter: nf_tables: Carry s_idx in nft_obj_dump_ctx
    2c6a79b94e39 netfilter: nf_tables: A better name for nft_obj_filter
    ba9b99d909e1 netfilter: nf_tables: Unconditionally allocate nft_obj_filter
    83d37714c151 netfilter: nf_tables: Drop pointless memset in nf_tables_dump_obj
    bb6231e53361 netfilter: nf_tables: Audit log dump reset after the fact
    74e6eb7fd27e netfilter: nf_queue: drop packets with cloned unconfirmed conntracks
    c7b760499f77 netfilter: flowtable: initialise extack before use
    7b825f91a071 netfilter: allow ipv6 fragments to arrive on different devices
    227355ad4e4a tcp: Update window clamping condition
    ff8292bb10ec mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
    c920ab13d713 mlxbf_gige: disable RX filters until RX path initialized
    326a89321f9d net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()
    b3917d8a4e01 net: dsa: vsc73xx: check busy flag in MDIO operations
    cec515531e4f net: dsa: vsc73xx: use read_poll_timeout instead delay loop
    e077f5192811 net: dsa: vsc73xx: pass value in phy_write operation
    948ee178f46e net: axienet: Fix register defines comment description
    ef23c18ab88e atm: idt77252: prevent use after free in dequeue_rx()
    6c88d53bcf8e net/mlx5e: Correctly report errors for ethtool rx flows
    b3b9a87adee9 net/mlx5e: Take state lock during tx timeout reporter
    920dff7f4369 igc: Fix reset adapter logics when tx mode change
    01ad5058b826 igc: Fix qbv_config_change_errors logics
    3fa593db4592 igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer
    944f2d4db9ce bpf: Fix updating attached freplace prog in prog_array map
    730f7a5e44d8 s390/uv: Panic for set and remove shared access UVC errors
    09717678737b drm/amdgpu/jpeg4: properly set atomics vmid field
    0e93fa4027cf drm/amdgpu/jpeg2: properly set atomics vmid field
    f1aa7c509aa7 memcg_write_event_control(): fix a user-triggerable oops
    2685a2b9e55d drm/amdgpu: Actually check flags for all context ops.
    d3ba98ce5c18 btrfs: tree-checker: add dev extent item checks
    9baca56eb073 btrfs: zoned: properly take lock to read/update block group's zoned variables
    251508b933f6 btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type
    f7668d033940 mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu
    5295951b53bd selinux: add the processing of the failure of avc_add_xperms_decision()
    01a6b34b602a selinux: fix potential counting error in avc_add_xperms_decision()
    dfaa39b05a6c fs/netfs/fscache_cookie: add missing "n_accesses" check
    4291f94f8c6b wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
    221cf8321757 net: mana: Fix doorbell out of order violation and avoid unnecessary doorbell rings
    65f20b174ec0 net: mana: Fix RX buf alloc_size alignment and atomic op panic
    753f1745146e rtla/osnoise: Prevent NULL dereference in error handling
    67d1d8cc5904 i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    dd72ae8b0fce fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
    97a532c3ac4f bitmap: introduce generic optimized bitmap_size()
    ef725854f898 btrfs: rename bitmap_set_bits() -> btrfs_bitmap_set_bits()
    9805a8811781 s390/cio: rename bitmap_size() -> idset_bitmap_size()
    706cc80260d3 fs/ntfs3: add prefix to bitmap_size() and use BITS_TO_U64()
    b9bda5f6012d vfs: Don't evict inode under the inode lru traversing context
    a6bba25f15e7 dm persistent data: fix memory allocation failure
    00df2f486838 dm resume: don't return EINVAL when signalled
    0237b5517ccb arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
    d2c7680250ef ACPI: EC: Evaluate _REG outside the EC scope more carefully
    03fd525dfefe ACPICA: Add a depth argument to acpi_execute_reg_methods()
    6861faf4232e i2c: tegra: Do not mark ACPI devices as irq safe
    36ebafda35f8 riscv: change XIP's kernel_map.size to be size of the entire kernel
    051c0a558154 KVM: s390: fix validity interception issue when gisa is switched off
    93a7e2856951 s390/dasd: fix error recovery leading to data corruption on ESE devices
    31ba13202c74 ALSA: hda/tas2781: fix wrong calibrated data order
    18b3ad2a3cc8 thunderbolt: Mark XDomain as unplugged when router is removed
    6b99de301d78 xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
    9dd9078485eb ALSA: usb-audio: Support Yamaha P-125 quirk entry
    82d06b816332 ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
    5cff754692ad char: xillybus: Check USB endpoints when probing device
    435fc9cae23d char: xillybus: Refine workqueue handling
    a7ad105b1225 char: xillybus: Don't destroy workqueue from work item running on it
    ac42e0f0eb66 fuse: Initialize beyond-EOF page contents before setting uptodate
    61eb7aae8b16 selinux: revert our use of vma_is_initial_heap()
    c2a3b181f08f Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
    ea13bd807f1c Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"
    7adc8a3d5da8 Revert "ACPI: EC: Evaluate orphan _REG under EC device"
    63e80efa6341 tty: atmel_serial: use the correct RTS flag.
    8eb92cfca6c2 tty: serial: fsl_lpuart: mark last busy before uart_add_one_port
    18abb2787b53 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    2879d995e569 pnmtologo: sync with 6.6
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 4dbd9650040a5e9b839b4d508953a05d008a0bcc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 14:34:12 +01:00
Bruce Ashfield
8f28a7ef6b linux-yocto/6.10: update to v6.10.8
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    560ed1386571 Linux 6.10.8
    1b46a871e980 nfsd: fix nfsd4_deleg_getattr_conflict in presence of third party lease
    dbec7640c80c apparmor: fix policy_unpack_test on big endian systems
    4b540ec7c004 scsi: aacraid: Fix double-free on probe failure
    c9bcc056ec11 firmware: microchip: fix incorrect error report of programming:timeout on success
    ac36a8178b6b arm64: dts: freescale: imx93-tqma9352-mba93xxla: fix typo
    823c2fe4bc31 arm64: dts: freescale: imx93-tqma9352: fix CMA alloc-ranges
    518581361fbb arm64: dts: imx93: update default value for snps,clk-csr
    ee0eb25a344e arm64: dts: imx8mp-beacon-kit: Fix Stereo Audio on WM8962
    954534c39b77 ARM: dts: omap3-n900: correct the accelerometer orientation
    610466d175c5 arm64: dts: qcom: ipq5332: Fix interrupt trigger type for usb
    095b0001aefd usb: typec: ucsi: Move unregister out of atomic section
    7b17e37345e8 usb: cdnsp: fix for Link TRB with TC
    c26d0f772cdb usb: cdnsp: fix incorrect index in cdnsp_get_hw_deq function
    f6ce7ffadd74 usb: core: sysfs: Unmerge @usb3_hardware_lpm_attr_group in remove_power_attributes()
    9b7fc7da7fac usb: dwc3: st: add missing depopulate in probe error path
    1de989668708 usb: dwc3: st: fix probed platform device ref count on probe error path
    e23f6ad8d110 usb: dwc3: core: Prevent USB core invalid event buffer address access
    839ab67f60e4 usb: dwc3: omap: add missing depopulate in probe error path
    e49fae2bfda2 usb: dwc3: xilinx: add missing depopulate in probe error path
    87670ba8d4ca usb: dwc3: ep0: Don't reset resource alloc flag (including ep0)
    8c92b0a18f8d ARM: dts: imx6dl-yapp43: Increase LED current to match the yapp4 HW design
    bed5a508bc89 arm64: dts: qcom: x1e80100: fix PCIe domain numbers
    f2b87c34d241 arm64: dts: qcom: x1e80100: add missing PCIe minimum OPP
    1d45e82ebc42 arm64: dts: qcom: x1e80100-qcp: fix PCIe4 PHY supply
    49e8a69a666d arm64: dts: qcom: x1e80100-crd: fix PCIe4 PHY supply
    01129c2107ab usb: gadget: uvc: queue pump work in uvcg_video_enable()
    e0d580002310 USB: serial: option: add MeiG Smart SRM825L
    699ff210c23b dt-bindings: usb: microchip,usb2514: Fix reference USB device schema
    80eca665ca50 scsi: sd: Ignore command SYNCHRONIZE CACHE error if format in progress
    e40115c33c0d firmware: qcom: scm: Mark get_wq_ctx() as atomic call
    dcc5a83af7bb usb: typec: fsa4480: Relax CHIP_ID check
    695c0e840b79 cdc-acm: Add DISABLE_ECHO quirk for GE HealthCare UI Controller
    943b0e7cc646 soc: qcom: pmic_glink: Fix race during initialization
    bd8f8e7b2bce soc: qcom: pmic_glink: Actually communicate when remote goes down
    62c2d63605ca soc: qcom: cmd-db: Map shared memory as WC, not WB
    6bd8144e8f0f io_uring/kbuf: return correct iovec count from classic buffer peek
    7efb76914940 drm/xe/hwmon: Fix WRITE_I1 param from u32 to u16
    64513d0e546a nfc: pn533: Add poll mod list filling check
    12a366a5d14b net: busy-poll: use ktime_get_ns() instead of local_clock()
    49e1b214f323 drm/amd/display: avoid using null object of framebuffer
    1fa854f65aaf sctp: fix association labeling in the duplicate COOKIE-ECHO case
    1c2ea2326afa tcp: fix forever orphan socket caused by tcp_abort
    612edd35f2a3 gtp: fix a potential NULL pointer dereference
    56354b0a2c24 bonding: change ipsec_lock from spin lock to mutex
    59405f89f799 bonding: extract the use of real_device into local variable
    638dc40ddf0b bonding: implement xdo_dev_state_free and call it after deletion
    ffe237f5bab9 selftests: forwarding: local_termination: Down ports on cleanup
    a42343c88148 selftests: forwarding: no_forwarding: Down ports on cleanup
    2138d574c0a2 netfilter: nf_tables_ipv6: consider network offset in netdev/egress validation
    f0f1ee469399 net_sched: sch_fq: fix incorrect behavior for small weights
    1e9f22cd56a4 hwmon: (pt5161l) Fix invalid temperature reading
    1d6d9b5b1b95 ethtool: check device is present when getting link settings
    3c2f4db462df wifi: iwlwifi: mvm: allow 6 GHz channels in MLO scan
    654297925d0c wifi: iwlwifi: fw: fix wgds rev 3 exact size
    68a7894b00ca wifi: iwlwifi: mvm: take the mutex before running link selection
    ac746de60867 netfilter: nf_tables: restore IP sanity checks for netdev/egress
    fc94b79af387 iommu: Do not return 0 from map_pages if it doesn't do anything
    77812d9283fe Bluetooth: hci_core: Fix not handling hibernation actions
    29a1d9971e38 Bluetooth: btnxpuart: Fix random crash seen while removing driver
    fbdfeeb71fa9 Bluetooth: btnxpuart: Handle FW Download Abort scenario
    14abb139a6e5 cpufreq/amd-pstate-ut: Don't check for highest perf matching on prefcore
    5f5f7366dda8 pktgen: use cpus_read_lock() in pg_net_init()
    0d1064dc06be dmaengine: ti: omap-dma: Initialize sglen after allocation
    be76aa923195 dmaengine: dw: Add memory bus width verification
    93fafe96eaec dmaengine: dw: Add peripheral bus width verification
    b6c833cf1493 phy: xilinx: phy-zynqmp: Fix SGMII linkup failure on resume
    1ece4d9b98bb phy: qcom: qmp-pcie: Fix X1E80100 PCIe Gen4 PHY initialisation
    58fe9445704a dmaengine: dw-edma: Do not enable watermark interrupts for HDMA
    388abe4a1677 dmaengine: dw-edma: Fix unmasking STOP and ABORT interrupts for HDMA
    6fa78e9c4147 soundwire: stream: fix programming slave ports for non-continous port maps
    462678742842 phy: fsl-imx8mq-usb: fix tuning parameter name
    5a8ac1accf72 iommufd: Do not allow creating areas without READ or WRITE
    db8443078a8a cpufreq/amd-pstate: Use topology_logical_package_id() instead of logical_die_id()
    f71ec019257b selinux,smack: don't bypass permissions check in inode_setsecctx hook
    f12424ca2061 fs/nfsd: fix update of inode attrs in CB_GETATTR
    e0b66698a5ae nfsd: fix potential UAF in nfsd4_cb_getattr_release
    1ca0cfdec394 nfsd: hold reference to delegation when updating it for cb_getattr
    45eb9b1e91de cifs: Fix FALLOC_FL_PUNCH_HOLE support
    12a2d1a3dbe7 smb/client: remove unused rq_iter_size from struct smb_rqst
    adbaf41621f7 netfs: Fix interaction of streaming writes with zero-point tracker
    4931ce82f0a6 netfs: Fix missing iterator reset on retry of short read
    e2814004138a netfs: Fix trimming of streaming-write folios in netfs_inval_folio()
    c7c90666e43e netfs: Fix netfs_release_folio() to say no if folio dirty
    875458893425 afs: Fix post-setattr file edit to do truncation correctly
    f4ad910c4431 mm: Fix missing folio invalidation calls during truncation
    ba0b697de298 nfsd: prevent panic for nfsv4.0 closed files in nfs4_show_open
    3205c181b99e pinctrl: starfive: jh7110: Correct the level trigger configuration of iev register
    0197bf772f65 pinctrl: qcom: x1e80100: Fix special pin offsets
    5443bf58bb56 pinctrl: mediatek: common-v2: Fix broken bias-disable for PULL_PU_PD_RSEL_TYPE
    0790732a7482 backing-file: convert to using fops->splice_write
    dd65b324174a nfsd: ensure that nfsd4_fattr_args.context is zeroed out
    2aadeb966cda ASoC: cs-amp-lib: Ignore empty UEFI calibration entries
    7c9d049ba64d ASoC: cs-amp-lib-test: Force test calibration blob entries to be valid
    294e6490bf3a ALSA: hda: cs35l56: Don't use the device index as a calibration index
    40ef8748b68e ASoC: SOF: amd: Fix for acp init sequence
    a241d8ab8a4c ASoC: amd: acp: fix module autoloading
    833dc4e241a5 ASoC: SOF: amd: Fix for incorrect acp error register offsets
    cbcac50af040 ASoC: SOF: amd: move iram-dram fence register programming sequence
    60dec92867d8 pinctrl: qcom: x1e80100: Update PDC hwirq map
    e3e5fed7a3c6 drm/amdgpu: fix eGPU hotplug regression
    f7207c5961a0 drm/amdgpu: Do not wait for MP0_C2PMSG_33 IFWI init in SRIOV
    10081b0b0ed2 drm/xe: prevent UAF around preempt fence
    8831dcab3b6a drm/xe/exec_queue: Rename xe_exec_queue::compute to xe_exec_queue::lr
    97f519fdd70b drm/xe/vm: Simplify if condition
    c25458927f7d drm/xe/display: Make display suspend/resume work on discrete
    fcc9d8e21952 drm/xe: Prepare display for D3Cold
    17e78f43de0c video/aperture: optionally match the device in sysfb_disable()
    c45558414b8f drm/vmwgfx: Disable coherent dumb buffers without 3d
    5c12391ee1ab drm/vmwgfx: Fix prime with external buffers
    d5228d158e4c drm/vmwgfx: Prevent unmapping active read buffers
    e10d26003c16 drm/amdgpu/swsmu: always force a state reprogram on init
    306cf40125c7 drm/amdgpu: align pp_power_profile_mode with kernel docs
    c04665e707bb drm/i915/dp_mst: Fix MST state after a sink reset
    ad3840fc9679 drm/i915/dsi: Make Lenovo Yoga Tab 3 X90F DMI match less strict
    1e93467ef203 drm/v3d: Disable preemption while updating GPU stats
    c507da85e4f8 binfmt_elf_fdpic: fix AUXV size calculation when ELF_HWCAP2 is defined
    6297c575fbad selftests: mptcp: join: check re-re-adding ID 0 endp
    6d631530f49f selftests: mptcp: join: no extra msg if no counter
    71263ce6abfa selftests: mptcp: join: check removing ID 0 endpoint
    a1545eb4ead0 selftests: mptcp: join: cannot rm sf if closed
    a8496ca157fa mptcp: pm: ADD_ADDR 0 is not a new address
    e38f07c38375 mptcp: avoid duplicated SUB_CLOSED events
    119806ae4e46 mptcp: pm: fix ID 0 endp usage after multiple re-creations
    dc2af94eca4a mptcp: pm: do not remove already closed subflows
    7f73d3092354 mptcp: pm: fix RM_ADDR ID for the initial subflow
    42e7e0a752a3 mptcp: pm: send ACK on an active subflow
    3415a1a67a6a mptcp: pm: reset MPC endp ID when re-added
    8f71366795b8 mptcp: pm: skip connecting to already established sf
    69911409d203 mptcp: pm: reuse ID 0 after delete and re-add
    78de3c5ffaf2 mptcp: pr_debug: add missing \n at the end
    8ca5c96a007e mptcp: sched: check both backup in retrans
    2f3efdc9593f mptcp: close subflow when receiving TCP+FIN
    bdef76aab9f3 net: mana: Fix race of mana_hwc_post_rx_wqe and new hwc response
    5432afe3a59f wifi: mwifiex: duplicate static structs used in driver instances
    a177a7accaab wifi: wfx: repair open network AP mode
    4bf612bc3c63 netfs, ceph: Partially revert "netfs: Replace PG_fscache by setting folio->private and marking dirty"
    292151af6add pinctrl: single: fix potential NULL dereference in pcs_get_function()
    c3b47777c3ca pinctrl: rockchip: correct RK3328 iomux width flag for GPIO2-B pins
    b902fb78ab21 smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req()
    ccedb44fc800 btrfs: run delayed iputs when flushing delalloc
    4a3b9e1a8e6c btrfs: fix a use-after-free when hitting errors inside btrfs_submit_chunk()
    408ed08408e7 tpm: ibmvtpm: Call tpm2_sessions_init() to initialize session support
    dd0533b7e151 LoongArch: Add ifdefs to fix LSX and LASX related warnings
    d844655a8210 LoongArch: Remove the unused dma-direct.h
    abcc6503bb4e ALSA: hda/realtek: support HP Pavilion Aero 13-bg0xxx Mute LED
    a914183edea0 ALSA: hda/realtek: Enable mute/micmute LEDs on HP Laptop 14-ey0xxx
    9b87ef20e4fc ALSA: seq: Skip event type filtering for UMP events
    49c0e0819980 erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails
    ed37550d7c51 drm/amdgpu/mes: fix mes ring buffer overflow
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 48ac41fdc02c549242faf240bef63de96e2d7492)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 14:34:12 +01:00
Bruce Ashfield
d6daff72ea linux-yocto/6.10: update to v6.10.7
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    24873d2e5fe3 Linux 6.10.7
    cd19f1799c32 Input: MT - limit max slots
    c1e55020534c ksmbd: fix race condition between destroy_previous_session() and smb2 operations()
    91bd3b27fcbc selftests/bpf: Add a test to verify previous stacksafe() fix
    5032f940b366 drm/amdgpu/vcn: not pause dpg for unified queue
    66e126d678fb drm/amdgpu/vcn: identify unified queue in sw init
    1f4153dc7cfd Revert "pidfd: prevent creation of pidfds for kthreads"
    a3211a4c6141 drm/xe: Do not dereference NULL job->fence in trace points
    fbacee4ab66c selftests: mptcp: join: check re-using ID of closed subflow
    766915152862 selftests: mptcp: join: validate fullmesh endp on 1st sf
    0201d65d9806 mptcp: pm: avoid possible UaF when selecting endp
    9e0223e3fdf7 mptcp: pm: fullmesh: select the right ID later
    2673adb0f080 mptcp: pm: only in-kernel cannot have entries with ID 0
    152944a723d9 mptcp: pm: check add_addr_accept_max before accepting new ADD_ADDR
    2060f1efab37 mptcp: pm: only decrement add_addr_accepted for MPJ req
    9849cfc67383 mptcp: pm: only mark 'subflow' endp as available
    3b82c15db71e mptcp: pm: remove mptcp_pm_remove_subflow()
    ef7a65b6b0d4 mptcp: pm: re-using ID of unused flushed subflows
    0273b55f2575 mptcp: pm: re-using ID of unused removed subflows
    47a049b38f56 mptcp: pm: re-using ID of unused removed ADD_ADDR
    f771ed563cf1 thermal: of: Fix OF node leak in of_thermal_zone_find() error paths
    b6b864eee2a8 thermal: of: Fix OF node leak in thermal_of_zone_register()
    c856f30607e8 thermal: of: Fix OF node leak in thermal_of_trips_init() error path
    57ca481fca97 nouveau/firmware: use dma non-coherent allocator
    3f01867a3b9e pmdomain: imx: wait SSAR when i.MX93 power domain on
    d11d730b2467 pmdomain: imx: scu-pd: Remove duplicated clocks
    536457762933 smb3: fix broken cached reads when posix locks
    89523523298a mmc: dw_mmc: allow biu and ciu clocks to defer
    7adac5aee802 mmc: mtk-sd: receive cmd8 data when hs400 tuning fail
    f03ea012a3c0 cgroup/cpuset: Clear effective_xcpus on cpus_allowed clearing only if cpus.exclusive not set
    73d6c6cf8ef6 cgroup/cpuset: fix panic caused by partcmd_update
    2073132f6ed3 KVM: arm64: Make ICC_*SGI*_EL1 undef in the absence of a vGICv3
    7cb972e52bf6 KVM: arm64: vgic-debug: Don't put unmarked LPIs
    43427f98ca06 cxgb4: add forgotten u64 ivlan cast before shift
    709e4c8f78e1 ata: pata_macio: Fix DMA table overflow
    5aa77e5e86b9 Input: i8042 - use new forcenorestore quirk to replace old buggy quirk combination
    361e2b1abe42 Input: i8042 - add forcenorestore quirk to leave controller untouched even on s3
    e2f549443804 iommufd/device: Fix hwpt at err_unresv in iommufd_device_do_replace()
    8a5af26bcbb4 HID: wacom: Defer calculation of resolution until resolution_code is known
    8cbcb6d03d68 MIPS: Loongson64: Set timer mode in cpu-probe
    6c323c3b8089 net: dsa: microchip: fix PTP config failure when using multiple ports
    f1e767fe46d8 net: ngbe: Fix phy mode set to external phy
    976b77dd3d94 s390/ap: Refine AP bus bindings complete processing
    402eb19d09ed platform/x86: ISST: Fix return value on last invalid resource
    4f7a1d0869a8 platform/x86: dell-uart-backlight: Use acpi_video_get_backlight_type()
    5a04cc4450f4 ACPI: video: Add backlight=native quirk for Dell OptiPlex 7760 AIO
    69e3826f3dbf ACPI: video: Add Dell UART backlight controller detection
    9d2b75e27660 drm/amdgpu/sdma5.2: limit wptr workaround to sdma 5.2.1
    e562415248f4 drm/amdgpu: Validate TA binary size
    bfbf265172d7 ksmbd: the buffer of smb2 query dir response has at least 1 byte
    75abfcf641d8 scsi: core: Fix the return value of scsi_logical_block_count()
    ee0799103b1a Bluetooth: MGMT: Add error handling to pair_device()
    4101af98ab57 nvme: move stopping keep-alive into nvme_uninit_ctrl()
    cda2ad784ffc smb: client: ignore unhandled reparse tags
    f80bfaddd6fe s390/boot: Fix KASLR base offset off by __START_KERNEL bytes
    a944cba5d576 s390/boot: Avoid possible physmem_info segment corruption
    c380c4525258 thermal/debugfs: Fix the NULL vs IS_ERR() confusion in debugfs_create_dir()
    98aa0330f200 drm/xe: Free job before xe_exec_queue_put
    8ea8f445626b drm/xe: Don't initialize fences at xe_sched_job_create()
    c2e9566230bc drm/xe: Split lrc seqno fence creation up
    317459a6ef20 drm/xe: Decouple job seqno and lrc seqno
    a126cd463b11 drm/xe: Relax runtime pm protection during execution
    b09ef3b762a7 drm/xe: Fix missing workqueue destroy in xe_gt_pagefault
    52a5c47ae9c0 io_uring/kbuf: sanitize peek buffer setup
    ecb15b8ca12c mmc: mmc_test: Fix NULL dereference on allocation failure
    619402552558 drm/xe: Fix tile fini sequence
    b1c9fbed3884 drm/xe: reset mmio mappings with devm
    73da27bf4604 drm/xe/mmio: move mmio_fini over to devm
    f7ecdd9853dd drm/xe: Fix opregion leak
    0ab76ba3e784 drm/xe/display: stop calling domains_driver_remove twice
    32720bad49bd drm/i915/hdcp: Use correct cp_irq_count
    83b24c55373a spi: spi-cadence-quadspi: Fix OSPI NOR failures during system resume
    a13c0863b853 drm/msm: fix the highest_bank_bit for sc7180
    91d09642127a workqueue: Fix spruious data race in __flush_work()
    90a6a844b2d9 workqueue: Fix UBSAN 'subtraction overflow' error in shift_and_mask()
    c45960049676 drm/msm/dpu: take plane rotation into account for wide planes
    1498f752d039 drm/msm/dpu: relax YUV requirements
    8a849648cea6 drm/msm/dpu: limit QCM2290 to RGB formats only
    02193c707231 drm/msm/dpu: cleanup FB if dpu_format_populate_layout fails
    3adb8ed9362f drm/msm/dp: reset the link phy params before link training
    3bacf814b6a6 drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
    86d7701fe8d3 drm/msm/dp: fix the max supported bpp logic
    91e9e01dde79 drm/msm/dpu: don't play tricks with debug macros
    c096aba0eb87 s390/iucv: Fix vargs handling in iucv_alloc_device()
    55bdfa45dda3 net: ovs: fix ovs_drop_reasons error
    322803c1f5b0 net: xilinx: axienet: Fix dangling multicast addresses
    e952f7a70fc6 net: xilinx: axienet: Always disable promiscuous mode
    4934f341a647 octeontx2-af: Fix CPT AF register offset calculation
    043a18bb6cf1 netfilter: flowtable: validate vlan header
    95a305ba259b bnxt_en: Fix double DMA unmapping for XDP_REDIRECT
    fc88d6c1f289 ipv6: prevent possible UAF in ip6_xmit()
    56efc2531967 ipv6: fix possible UAF in ip6_finish_output2()
    e44bd76dd072 ipv6: prevent UAF in ip6_send_skb()
    a9a84daa5837 selftests: mlxsw: ethtool_lanes: Source ethtool lib from correct path
    e9d567f92123 udp: fix receiving fraglist GSO packets
    e5bb2988a310 netem: fix return value if duplicate enqueue fails
    f87ce03c652d net: dsa: mv88e6xxx: Fix out-of-bound access
    b52bd8bcb9e8 igb: cope with large MAX_SKB_FRAGS
    0def33090ab3 dpaa2-switch: Fix error checking in dpaa2_switch_seed_bp()
    81c1d306cef9 ice: use internal pf id instead of function number
    41ae0571f174 ice: fix truesize operations for PAGE_SIZE >= 8192
    8ea33d92efcf ice: fix ICE_LAST_OFFSET formula
    d6e5aa2b6038 ice: fix page reuse when PAGE_SIZE is over 8k
    0ecdf86e6158 bonding: fix xfrm state handling when clearing active slave
    89fc1dca79db bonding: fix xfrm real_dev null pointer dereference
    b70b0ddfed31 bonding: fix null pointer deref in bond_ipsec_offload_ok
    8cdd74c48f92 bonding: fix bond_ipsec_offload_ok return type
    0f9b9d280f91 ip6_tunnel: Fix broken GRO
    5bf9e37bdb77 netfilter: nft_counter: Synchronize nft_counter_reset() against reader.
    0cafb0245c34 netfilter: nft_counter: Disable BH in nft_counter_offload_stats().
    9c8d544ed619 kcm: Serialise kcm_sendmsg() for the same socket.
    47e40e5de163 net: mctp: test: Use correct skb for route input check
    f6fd2dbf584a tcp: prevent concurrent execution of tcp_sk_exit_batch
    830ac8d41e79 selftests: udpgro: no need to load xdp for gro
    021c2c0cd5ea selftests: udpgro: report error when receive failed
    dc172f63ff83 tc-testing: don't access non-existent variable on exception
    2ae52a65a850 net/mlx5: Fix IPsec RoCE MPV trace call
    0c12cd4da98e net/mlx5e: XPS, Fix oversight of Multi-PF Netdev changes
    609cd73bf38b net: mscc: ocelot: serialize access to the injection/extraction groups
    be3a532167dd net: mscc: ocelot: fix QoS class for injected packets with "ocelot-8021q"
    2c3fcaaa8d1b net: mscc: ocelot: use ocelot_xmit_get_vlan_info() also for FDMA and register injection
    db83115a0c26 Bluetooth: SMP: Fix assumption of Central always being Initiator
    20cc4139bd93 Bluetooth: hci_core: Fix LE quote calculation
    2179b1c66c08 Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in
    7adc1123d285 kbuild: avoid scripts/kallsyms parsing /dev/null
    024d4a7ce52b kbuild: merge temporary vmlinux for BTF and kallsyms
    f6c020392fd9 Makefile: add $(srctree) to dependency of compile_commands.json target
    b0eccfc2b422 ALSA: hda/tas2781: Use correct endian conversion
    d4e24c82bbdf platform/surface: aggregator: Fix warning when controller is destroyed in probe
    59670ab6f667 wifi: ath12k: use 128 bytes aligned iova in transmit path for WCN7850
    525b6f47d2a0 dm suspend: return -ERESTARTSYS instead of -EINTR
    fead60a6d5f8 smb/client: avoid possible NULL dereference in cifs_free_subrequest()
    4be6542bdf11 cifs: Add a tracepoint to track credits involved in R/W requests
    a24321b6a31f thermal: gov_bang_bang: Use governor_data to reduce overhead
    bc0e4253b0e9 thermal: gov_bang_bang: Add .manage() callback
    9fc685401004 thermal: gov_bang_bang: Split bang_bang_control()
    faf271f85d16 thermal: gov_bang_bang: Drop unnecessary cooling device target state checks
    8d457d3c6c93 drm/amd/display: Don't register panel_power_savings on OLED panels
    787359c66e1f block: Fix lockdep warning in blk_mq_mark_tag_wait
    807539011292 arm64: Fix KASAN random tag seed initialization
    01b97431191a printk/panic: Allow cpu backtraces to be written into ringbuffer during panic
    18db7e44ef0b powerpc/topology: Check if a core is online
    f915a014d9dd cpu/SMT: Enable SMT only if a core is online
    00df458f8143 io_uring/napi: check napi_enabled in io_napi_add() before proceeding
    b8a04f39453a io_uring/napi: use ktime in busy polling
    487e7454e21c io_uring/napi: Remove unnecessary s64 cast
    fec0f964a985 s390/dasd: Remove DMA alignment
    4d6ac2efa0c7 rust: fix the default format for CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    4f687213e2cb rust: suppress error messages from CONFIG_{RUSTC,BINDGEN}_VERSION_TEXT
    623880540747 rust: work around `bindgen` 0.69.0 issue
    d656b82c4b30 drm/v3d: Fix out-of-bounds read in `v3d_csd_job_run()`
    8361791ec241 ALSA: hda/realtek: Fix noise from speakers on Lenovo IdeaPad 3 15IAU7
    cb0b74040593 gpio: mlxbf3: Support shutdown() function
    cc6bc2ab1663 iommu: Restore lost return in iommu_report_device_fault()
    e9f6b76a284e kallsyms: Match symbols exactly with CONFIG_LTO_CLANG
    8bab11313b17 kallsyms: Do not cleanup .llvm.<hash> suffix before sorting symbols
    c3ce2e8a568f kallsyms: get rid of code for absolute kallsyms
    76274d10bec8 kbuild: remove PROVIDE() for kallsyms symbols
    9c7a4eace752 kbuild: refactor variables in scripts/link-vmlinux.sh
    de37408d5c26 net: hns3: fix a deadlock problem when config TC during resetting
    9c73b15118f7 net: hns3: use the user's cfg after reset
    9504b5a56ac6 net: hns3: fix wrong use of semaphore up
    f28e75e7646a selftests: net: lib: kill PIDs before del netns
    e09e4c125f2b selftests: net: lib: ignore possible errors
    b4ee8cf1acc5 vsock: fix recursive ->recvmsg calls
    a99423878925 selftest: af_unix: Fix kselftest compilation warnings
    eb83dfb68cf1 netfilter: nf_tables: Add locking for NFT_MSG_GETOBJ_RESET requests
    bf031525a8b9 netfilter: nf_tables: Introduce nf_tables_getobj_single
    044462242abc netfilter: nf_tables: Audit log dump reset after the fact
    025b3326c5c4 netfilter: nf_queue: drop packets with cloned unconfirmed conntracks
    119be227bc04 netfilter: flowtable: initialise extack before use
    3e03b536d945 netfilter: nfnetlink: Initialise extack before use in ACKs
    ba328989d2fa netfilter: allow ipv6 fragments to arrive on different devices
    36e762c99e25 tcp: Update window clamping condition
    76eec7975525 mptcp: correct MPTCP_SUBFLOW_ATTR_SSN_OFFSET reserved size
    5719831ede21 mlxbf_gige: disable RX filters until RX path initialized
    b453a4bbda03 net: ethernet: mtk_wed: fix use-after-free panic in mtk_wed_setup_tc_block_cb()
    e1a0cdd5d898 net: dsa: vsc73xx: check busy flag in MDIO operations
    bc07539a21ac net: dsa: vsc73xx: pass value in phy_write operation
    fde3be436197 net: dsa: vsc73xx: fix port MAC configuration in full duplex mode
    6f642c3bf515 net: axienet: Fix register defines comment description
    91b4850e7165 atm: idt77252: prevent use after free in dequeue_rx()
    0ffaaccb041a net/mlx5e: Correctly report errors for ethtool rx flows
    8e57e66ecbdd net/mlx5e: Take state lock during tx timeout reporter
    23e64933b70c net/mlx5: SD, Do not query MPIR register if no sd_group
    3939d787139e gtp: pull network headers in gtp_dev_xmit()
    afe478f24df5 igc: Fix qbv tx latency by setting gtxoffset
    46b3b56ed2e8 igc: Fix reset adapter logics when tx mode change
    d3822bc81981 igc: Fix qbv_config_change_errors logics
    51424cf6891e igc: Fix packet still tx after gate close by reducing i226 MAC retry buffer
    f49b5d10c87c btrfs: fix invalid mapping of extent xarray state
    6e3987ac310c bpf: Fix a kernel verifier crash in stacksafe()
    9227ee25b564 bpf: Fix updating attached freplace prog in prog_array map
    308b4fc2403b libfs: fix infinite directory reads for offset dir
    b87479dee870 filelock: fix name of file_lease slab cache
    2b97d4573d27 netfs: Fault in smaller chunks for non-large folio mappings
    4c412661ef1d s390/uv: Panic for set and remove shared access UVC errors
    884bf2e60007 pidfd: prevent creation of pidfds for kthreads
    88bf2af33bbf drm/amd/amdgpu: command submission parser for JPEG
    a4e4c93b3f3c drm/amdgpu/jpeg4: properly set atomics vmid field
    b825a42f94e4 drm/amdgpu/jpeg2: properly set atomics vmid field
    72a54e12baf0 drm/amd/display: fix cursor offset on rotation 180
    27d50c733742 drm/amd/display: Enable otg synchronization logic for DCN321
    20d3d99a3b69 drm/amd/display: fix s2idle entry for DCN3.5+
    90b50807067a drm/amd/display: Adjust cursor position
    21b578f1d599 memcg_write_event_control(): fix a user-triggerable oops
    924aabb58ca6 drm/amdgpu: Actually check flags for all context ops.
    e5d0b299147b btrfs: only enable extent map shrinker for DEBUG builds
    6e6cf14fb66a btrfs: tree-checker: add dev extent item checks
    0e40841983f9 btrfs: zoned: properly take lock to read/update block group's zoned variables
    f6b733a34b15 btrfs: only run the extent map shrinker from kswapd tasks
    2115138e2167 btrfs: check delayed refs when we're checking if a ref exists
    1dc4c9631c29 btrfs: send: allow cloning non-aligned extent if it ends at i_size
    e1a885bff557 btrfs: tree-checker: reject BTRFS_FT_UNKNOWN dir type
    f63a724cbabd mm/numa: no task_numa_fault() call if PTE is changed
    c91618816f4d mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
    99d95c312bf7 mm/numa: no task_numa_fault() call if PMD is changed
    71f44df3ec6b alloc_tag: introduce clear_page_tag_ref() helper function
    411afd869462 selftests: memfd_secret: don't build memfd_secret test on unsupported arches
    824dd2e253fb mm/memory-failure: use raw_spinlock_t in struct memory_failure_cpu
    f347118732e0 alloc_tag: mark pages reserved during CMA activation as not tagged
    3f21150c1557 selinux: add the processing of the failure of avc_add_xperms_decision()
    e812b8c210a7 selinux: fix potential counting error in avc_add_xperms_decision()
    0a4d41fa14b2 fs/netfs/fscache_cookie: add missing "n_accesses" check
    1f566eb912d1 wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
    462ff7dd86b4 net: mana: Fix doorbell out of order violation and avoid unnecessary doorbell rings
    0c87420f3ac9 media: atomisp: Fix streaming no longer working on BYT / ISP2400 devices
    e6bea6a45f8a net: mana: Fix RX buf alloc_size alignment and atomic op panic
    2febf5fdbf5d md/raid1: Fix data corruption for degraded array with slow disk
    7300dadba49e mm/hugetlb: fix hugetlb vs. core-mm PT locking
    6edb8c9eb98a mm: fix endless reclaim on machines with unaccepted memory
    abdb9ddaaab4 rtla/osnoise: Prevent NULL dereference in error handling
    5fc922bef4ef mseal: fix is_madv_discard()
    6b980b0ab5c8 perf/bpf: Don't call bpf_overflow_handler() for tracing events
    eb961c5a0539 tracing: Return from tracing_buffers_read() if the file has been closed
    500f32bb78c0 i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    c69d18f0ac70 fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
    9063ab49c11e vfs: Don't evict inode under the inode lru traversing context
    5362312ad97e dm persistent data: fix memory allocation failure
    b6c130059fc5 dm resume: don't return EINVAL when signalled
    2a949267f181 arm64: ACPI: NUMA: initialize all values of acpi_early_node_map to NUMA_NO_NODE
    514207d3a591 ACPI: EC: Evaluate _REG outside the EC scope more carefully
    e91d5b47585a ACPICA: Add a depth argument to acpi_execute_reg_methods()
    2853e1376d81 i2c: tegra: Do not mark ACPI devices as irq safe
    5460d1268f58 smb3: fix lock breakage for cached writes
    1e1670cadfad riscv: entry: always initialize regs->a0 to -ENOSYS
    b0a43efe59de riscv: change XIP's kernel_map.size to be size of the entire kernel
    9e3b266afcfe KEYS: trusted: dcp: fix leak of blob encryption key
    652563a7294b KEYS: trusted: fix DCP blob payload length assignment
    505c65de8987 thermal: gov_bang_bang: Call __thermal_cdev_update() directly
    027ac3c50925 KVM: s390: fix validity interception issue when gisa is switched off
    5d4a304338da s390/dasd: fix error recovery leading to data corruption on ESE devices
    1484e013bfd0 ALSA: timer: Relax start tick time check for slave timer elements
    bbd157e20933 ALSA: hda/tas2781: fix wrong calibrated data order
    7ca24cf9163c thunderbolt: Mark XDomain as unplugged when router is removed
    8fb9d412ebe2 xhci: Fix Panther point NULL pointer deref at full-speed re-enumeration
    770cacc75b00 usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
    a40cad994de4 usb: misc: ljca: Add Lunar Lake ljca GPIO HID to ljca_gpio_hids[]
    695ef133e750 ALSA: usb-audio: Support Yamaha P-125 quirk entry
    3157994e2405 ALSA: usb-audio: Add delay quirk for VIVO USB-C-XE710 HEADSET
    1371d32b9597 char: xillybus: Check USB endpoints when probing device
    ca9c30ac2e15 char: xillybus: Refine workqueue handling
    aa1a19724fa2 char: xillybus: Don't destroy workqueue from work item running on it
    18a067240817 fuse: Initialize beyond-EOF page contents before setting uptodate
    b7e42e7904d9 netfs, ceph: Revert "netfs: Remove deprecated use of PG_private_2 as a second writeback flag"
    23aabbc68ab8 selinux: revert our use of vma_is_initial_heap()
    6bc7b628343e Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
    321aecb079e9 Revert "serial: 8250_omap: Set the console genpd always on if no console suspend"
    2eb973ee4770 Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"
    22736ba2ebc6 Revert "ACPI: EC: Evaluate orphan _REG under EC device"
    a394bca0020d tty: atmel_serial: use the correct RTS flag.
    3ecf625d4acb tty: serial: fsl_lpuart: mark last busy before uart_add_one_port
    78b4c71f55a1 tty: vt: conmakehash: remove non-portable code printing comment header
    7ba498d9d1bb Linux 6.10.6
    4676556ae4a1 Revert "drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()"
    64cd57692a29 Revert "ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"
    bebe9a9c9c02 media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"
    1cb249cf1c9b drm/amdgpu/display: Fix null pointer dereference in dc_stream_program_cursor_position
    2c1dcfccf988 drm/amd/display: Solve mst monitors blank out problem after resume
    9350ba06ee61 binfmt_flat: Fix corruption when not offsetting data start
    d38574ff500b platform/x86: ideapad-laptop: add a mutex to synchronize VPC commands
    fc6c6bb34f5d platform/x86: ideapad-laptop: move ymc_trigger_ec from lenovo-ymc
    c0d39578c35e platform/x86: ideapad-laptop: introduce a generic notification chain
    d5f8a9623920 platform/x86/amd/pmf: Fix to Update HPD Data When ALS is Disabled
    bbc521aac2b3 ALSA: usb: Fix UBSAN warning in parse_audio_unit()
    e8473e125aad fs/ntfs3: Do copy_to_user out of run_lock
    234e6ea0855c jfs: Fix shift-out-of-bounds in dbDiscardAG
    9c2ac38530d1 jfs: fix null ptr deref in dtInsertEntry
    440ab7f97261 fou: remove warn in gue_gro_receive on unsupported protocol
    323ef20b5558 f2fs: fix to cover read extent cache access with lock
    26c07775fb5d f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC
    380ea255e9c1 bpf, net: Use DEV_STAT_INC()
    6781b091331d ASoC: cs35l56: Patch CS35L56_IRQ1_MASK_18 to the default value
    15b5b0a069b1 nvme/pci: Add APST quirk for Lenovo N60z laptop
    268a625399c6 LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h
    f52ca32e1dba drm/amd/display: Prevent IPX From Link Detect and Set Mode
    ac5134f66433 drm/amd/display: Separate setting and programming of cursor
    87443b3c9a31 drm/amd/display: Defer handling mst up request in resume
    90dfbba89ad4 exec: Fix ToCToU between perm check and set-uid/gid usage
    4ead4c82a6d6 Linux 6.10.5
    d924a0be2f21 btrfs: fix double inode unlock for direct IO sync writes
    ec87dd608453 selftests: mptcp: join: test both signal & subflow
    aedbd140d72f selftests: mptcp: join: ability to invert ADD_ADDR check
    0f21cc29bc13 mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set
    f706e2928082 mptcp: pm: don't try to create sf if alloc failed
    a94f269274a5 mptcp: pm: reduce indentation blocks
    9417df61e5e7 drm/amd/display: Change ASSR disable sequence
    c36e922a36bd drm/amd/display: Add null check in resource_log_pipe_topology_update
    7f71acdb075e idpf: fix memleak in vport interrupt configuration
    3831170f7406 btrfs: fix corruption after buffer fault in during direct IO append write
    31a679a88010 Revert "drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update"
    d8d16fc1efb9 Revert "drm/amd/display: Handle HPD_IRQ for internal link"
    3118c43a563d block: use the right type for stub rq_integrity_vec()
    1694a24c3e32 mptcp: pm: deny endp with signal + subflow + port
    88ef794ae683 mptcp: fully established after ADD_ADDR echo on MPJ
    325609c355df drm/radeon: Remove __counted_by from StateArray.states[]
    9d96b91e03cb drm/mgag200: Bind I2C lifetime to DRM device
    667f01bde401 drm/mgag200: Set DDC timeout in milliseconds
    ab023247c809 drm/lima: Mark simple_ondemand governor as softdep
    dc0027ff578d drm/dp_mst: Skip CSN if topology probing is not done yet
    e8857af3944b drm/bridge: analogix_dp: properly handle zero sized AUX transactions
    f70942b5eedf sched/core: Fix unbalance set_rq_online/offline() in sched_cpu_deactivate()
    5a1263d95358 sched/core: Introduce sched_set_rq_on/offline() helper
    d0c87a3c6be1 sched/smt: Fix unbalance sched_smt_present dec/inc
    3cb359667358 sched/smt: Introduce sched_smt_present_inc/dec() helper
    388f1c954019 x86/mtrr: Check if fixed MTRRs exist before saving them
    718ea0de5c9d x86/paravirt: Fix incorrect virt spinlock setting on bare metal
    b909124d3b90 btrfs: avoid using fixed char array size for tree names
    954d55a59b25 net/tcp: Disable TCP-AO static key after RCU grace period
    4589f77c18dd mm: list_lru: fix UAF for memory cgroup
    a6ce683090e5 selftests: mm: add s390 to ARCH check
    384f383c5aa7 eventfs: Use SRCU for freeing eventfs_inodes
    06238772f50f eventfs: Don't return NULL in eventfs_create_dir()
    0e55b31fb9d4 smb3: fix setting SecurityFlags when encryption is required
    da0ffe84fcc1 padata: Fix possible divide-by-0 panic in padata_mt_helper()
    236bb4690773 tracing: Fix overflow in get_free_elt()
    531dc6780d94 tracing: Have format file honor EVENT_FILE_FL_FREED
    230ebcdfb3fa power: supply: axp288_charger: Round constant_charge_voltage writes down
    ad969d3fa335 power: supply: axp288_charger: Fix constant_charge_voltage writes
    2e9ec2e681bf power: supply: qcom_battmgr: return EAGAIN when firmware service is not up
    0a993247a997 LoongArch: Enable general EFI poweroff method
    b4542a5de28c genirq/irqdesc: Honor caller provided affinity in alloc_desc()
    55e54e950813 irqchip/riscv-aplic: Retrigger MSI interrupt on source configuration
    08b2670a8d06 irqchip/xilinx: Fix shift out of bounds
    267d1ae667cf kcov: properly check for softirq context
    df6a03499e1a spmi: pmic-arb: Pass the correct of_node to irq_domain_add_tree
    0e05c806a258 ASoC: amd: yc: Add quirk entry for OMEN by HP Gaming Laptop 16-n0xxx
    533de2f470ba parisc: fix a possible DMA corruption
    858414233941 parisc: fix unaligned accesses in BPF
    51c0b1bb7541 memcg: protect concurrent access to mem_cgroup_idr
    26a02ac723de tty: vt: conmakehash: cope with abs_srctree no longer in env
    6a6730812220 serial: sc16is7xx: fix invalid FIFO access with special register set
    09cfe05e9907 serial: sc16is7xx: fix TX fifo corruption
    68dc02f319b9 serial: core: check uartclk for zero to avoid divide by zero
    e689fcf08f3e timekeeping: Fix bogus clock_was_set() invocation in do_adjtimex()
    61a050c54d7f ntp: Safeguard against time_constant overflow
    061da60716ce tracefs: Use generic inode RCU for synchronizing freeing
    21e694df0e3e tracefs: Fix inode allocation
    aa6b80ac2f39 arm64: dts: ti: k3-am62-verdin-dahlia: Keep CTRL_SLEEP_MOCI# regulator on
    cd490a247ddf driver core: Fix uevent_show() vs driver detach race
    35671ea90c68 ntp: Clamp maxerror and esterror to operating range
    0801d021cdd7 spmi: pmic-arb: add missing newline in dev_err format strings
    98f26387c84d vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler
    312286d281b0 media: v4l: Fix missing tabular column hint for Y14P format
    7dd12f85f150 tick/broadcast: Move per CPU pointer access into the atomic section
    c07a91935136 scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
    9c9e0d495beb scsi: ufs: core: Do not set link to OFF state while waking up from hibernation
    f13f1858a28c scsi: ufs: core: Fix deadlock during RTC update
    35bd464ee8e9 scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES
    998a01a7f333 usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
    0dbdb5ead3f4 usb: gadget: f_fs: restore ffs_func_disable() functionality
    3abba6e6f62f usb: gadget: u_serial: Set start_delayed during suspend
    9f865526d725 usb: gadget: midi2: Fix the response for FB info with block 0xff
    716cba46f73a usb: gadget: core: Check for unset descriptor
    eaf01a990645 usb: typec: fsa4480: Check if the chip is really there
    9db7aabbcf94 USB: serial: debug: do not echo input by default
    c3d0857b7fc2 usb: vhci-hcd: Do not drop references before new references are gained
    33c1f0b2e707 ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4
    8fb88d9b40ad ALSA: hda/realtek: Add Framework Laptop 13 (Intel Core Ultra) to quirks
    88e45a2ec16f ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list
    51d87f11dd19 ALSA: line6: Fix racy access to midibuf
    1ae918806c22 io_uring/net: don't pick multiple buffers for non-bundle send
    006cf6583310 io_uring/net: ensure expanded bundle send gets marked for cleanup
    1f16fdd1fdc8 io_uring/net: ensure expanded bundle recv gets marked for cleanup
    f3ba31ee4c85 drm/test: fix the gem shmem test to map the sg table.
    3599648ea1d9 drm/i915/display: correct dual pps handling for MTL_PCH+
    612cae53e99c drm/client: fix null pointer dereference in drm_client_modeset_probe
    93faaddaeea2 drm/i915/gem: Adjust vma offset for framebuffer mmap offset
    c28d207edfc5 drm/amdgpu: Forward soft recovery errors to userspace
    70275bb960c7 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    ead9289a51ea drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
    87d601cdc6c5 module: make waiting for a concurrent module loader interruptible
    89f51d7c2cf7 module: warn about excessively long module waits
    bc7467911d66 cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath
    f1c03386567c ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT
    399618a25c04 drm/xe: Take ref to VM in delayed snapshot
    cebc39a7b725 drm/xe: Minor cleanup in LRC handling
    578d9752cb52 drm/xe/hwmon: Fix PL1 disable flow in xe_hwmon_power_max_write
    c802eff84c85 drm/xe: Use dma_fence_chain_free in chain fence unused as a sync
    d5a918255bbe drm/xe/rtp: Fix off-by-one when processing rules
    b19482f0239a ALSA: usb-audio: Re-add ScratchAmp quirk entries
    5caa28f90335 spi: spi-fsl-lpspi: Fix scldiv calculation
    1e99ea46e180 drm/amd/display: Replace dm_execute_dmub_cmd with dc_wake_and_execute_dmub_cmd
    81507ec40e6e drm/i915: Attempt to get pages without eviction first
    d302c0bba4f7 drm/i915: Allow evicting to use the requested placement
    457482a0a8ae i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    d0e357e15b82 drm/atomic: allow no-op FB_ID updates for async flips
    8237f7e43604 ASoC: cs35l56: Handle OTP read latency over SoundWire
    e5421a8b407b ASoC: cs35l56: Revert support for dual-ownership of ASP registers
    d4227e19002a i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume
    5b6baaa7cbd7 ASoC: cs-amp-lib: Fix NULL pointer crash if efi.get_variable is NULL
    0fcc4a5b5b48 kprobes: Fix to check symbol prefixes correctly
    8c7eab0e8abc bpf: kprobe: remove unused declaring of bpf_kprobe_override
    8c8352f492c6 i2c: smbus: Send alert notifications to all devices if source not found
    de831a578f11 ASoC: SOF: Remove libraries from topology lookups
    153773fed3e7 spi: spidev: Add missing spi_device_id for bh2228fv
    1adf51ab4292 ASoC: sti: add missing probe entry for player and reader
    6c3edc4dd32e ASoC: codecs: wsa884x: Correct Soundwire ports mask
    9cddf33a1c25 ASoC: codecs: wsa884x: parse port-mapping information
    e0dfca620796 ASoC: codecs: wsa883x: Correct Soundwire ports mask
    d0b794ea35e6 ASoC: codecs: wsa883x: parse port-mapping information
    1f05464ae0c8 ASoC: codecs: wsa881x: Correct Soundwire ports mask
    ee40a8d92621 ASoC: codecs: wcd939x-sdw: Correct Soundwire ports mask
    784d7c42ed65 ASoC: codecs: wcd938x-sdw: Correct Soundwire ports mask
    819964b42b8b i2c: smbus: Improve handling of stuck alerts
    04c2c4d836ff nfsd: don't set SVC_SOCK_ANONYMOUS when creating nfsd sockets
    8fc52b4ea61c arm64: errata: Expand speculative SSBS workaround (again)
    754af8d64a20 arm64: cputype: Add Cortex-A725 definitions
    b60768a082c4 arm64: cputype: Add Cortex-X1C definitions
    6f2e3bdbf15d arm64: errata: Expand speculative SSBS workaround
    fc22c58b9517 arm64: errata: Unify speculative SSBS errata logic
    a7f5093b246d arm64: cputype: Add Cortex-X925 definitions
    61ebc5439c31 arm64: cputype: Add Cortex-A720 definitions
    9667fa6bf96c arm64: cputype: Add Cortex-X3 definitions
    2edbb3e8838c net: drop bad gso csum_start and offset in virtio_net_hdr
    f35d394293ed sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime
    7ed155d1176e irqchip/loongarch-cpu: Fix return value of lpic_gsi_to_irq()
    79f72e9ea3cf irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'
    6a6d54ef81a4 media: intel/ipu6: select AUXILIARY_BUS in Kconfig
    154395895d71 media: ipu-bridge: fix ipu6 Kconfig dependencies
    ac6bd13dabf3 scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
    5ffed5a6a26a scsi: Revert "scsi: sd: Do not repeat the starting disk message"
    76bb99e80671 clocksource: Fix brown-bag boolean thinko in cs_watchdog_read()
    69b801f303df profiling: remove profile=sleep support
    b35cd7f1e969 mm, slub: do not call do_slab_free for kfence object
    2aafcd20c74b SUNRPC: Fix a race to wake a sync task
    f619876ccbfd ext4: sanity check for NULL pointer after ext4_force_shutdown
    2429ea3b4330 s390/sclp: Prevent release of buffer in I/O
    974fccd61758 drm/amd/display: Fix null pointer deref in dcn20_resource.c
    1c047adeaae1 jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
    04fd4f17966c ext4: fix uninitialized variable in ext4_inlinedir_to_tree
    208deb6d8c3c media: xc2028: avoid use-after-free in load_firmware_cb()
    1e68b7ce6bc6 drm/amd/display: Fix NULL pointer dereference for DTN log in DCN401
    d99d79869cdc media: uvcvideo: Fix the bandwdith quirk on USB 3.x
    785c56c9c165 media: uvcvideo: Ignore empty TS packets
    04674c406020 media: i2c: ov5647: replacing of_node_put with __free(device_node)
    1686675405d0 drm/amd/display: Add null checker before passing variables
    3ab61af2901c drm/amd/display: remove dpp pipes on failure to update pipe params
    39b217193729 drm/amd/display: Don't refer to dc_sink in is_dsc_need_re_compute
    150f56fffe2c drm/amd/display: reduce ODM slice count to initial new dc state only when needed
    37834c8cacd7 drm/amd/display: Wake DMCUB before sending a command for replay feature
    604ea7e92f21 drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
    6fd9b044bde5 media: amphion: Remove lock in s_ctrl callback
    16a8a2a839d1 drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing
    69a441473fec drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
    e1ab38e99d16 drm/amdgpu: Add lock around VF RLCG interface
    4fd52f7c2c11 drm/admgpu: fix dereferencing null pointer context
    13937a40aae4 drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
    033187a70ba9 drm/amdgpu: Fix the null pointer dereference to ras_manager
    7f56f050f02c drm/amdgpu/pm: Fix the null pointer dereference for smu7
    4d4604ebf8ac drm/xe/xe_guc_submit: Fix exec queue stop race condition
    4c59fc86bf28 drm/amd/amdkfd: Fix a resource leak in svm_range_validate_and_map()
    05c1df9e893d drm/amdgpu/pm: Fix the param type of set_power_profile_mode
    0ee7cfafcc22 drm/amdgpu: fix potential resource leak warning
    4f125f894e5a drm/amd/display: Add delay to improve LTTPR UHBR interop
    3922a520bf3e drm/amd/display: Handle HPD_IRQ for internal link
    458bb83119df drm/xe/preempt_fence: enlarge the fence critical section
    28bbb5011a97 Bluetooth: btnxpuart: Shutdown timer and prevent rearming when driver unloading
    1a5a14707aac btrfs: fix bitmap leak when loading free space cache on duplicate entry
    4879d7294588 btrfs: fix data race when accessing the last_trans field of a root
    9e556d540b9d btrfs: reduce nesting for extent processing at btrfs_lookup_extent_info()
    98251cd60b4d btrfs: do not BUG_ON() when freeing tree block after error
    d3b403209f76 btrfs: do not clear page dirty inside extent_write_locked_range()
    ff012dd4b5ae mlxsw: pci: Lock configuration space of upstream bridge during reset
    e7279593a1e2 net: stmmac: qcom-ethqos: enable SGMII loopback during DMA reset on sa8775p-ride-r3
    2406fa2adfc7 can: mcp251xfd: tef: update workaround for erratum DS80000789E 6 of mcp2518fd
    7bb632e8f820 can: mcp251xfd: tef: prepare to workaround broken TEF FIFO tail index erratum
    9ae2ed6f26c8 wifi: nl80211: don't give key data to userspace
    13663a7c644b bpf: add missing check_func_arg_reg_off() to prevent out-of-bounds memory accesses
    05fb2bf477d3 udf: prevent integer overflow in udf_bitmap_free_blocks()
    a5594c1e03b0 wifi: mac80211: fix NULL dereference at band check in starting tx ba session
    91191059d927 PCI: Add Edimax Vendor ID to pci_ids.h
    67e8a89ffcd3 af_unix: Don't retry after unix_state_lock_nested() in unix_stream_connect().
    33e320ec6cdc wifi: rtw89: pci: fix RX tag race condition resulting in wrong RX length
    a7f41c0179f6 selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
    50d8009a0ac0 net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink
    fc70ac360855 wifi: ath12k: fix memory leak in ath12k_dp_rx_peer_frag_setup()
    ede08585b16d wifi: rtlwifi: handle return value of usb init TX/RX
    bad85b5d9c6a wifi: ath12k: fix race due to setting ATH12K_FLAG_EXT_IRQ_ENABLED too early
    ac3bf6e47fd8 wifi: nl80211: disallow setting special AP channel widths
    9337c3e5a911 thermal: intel: hfi: Give HFI instances package scope
    fe704c7d88cc ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MJ
    f4d388559ca6 ACPI: resource: Skip IRQ override on Asus Vivobook Pro N6506MU
    49f2a5da6785 xen: privcmd: Switch from mutex to spinlock for irqfds
    4ededa02c6f5 soc: qcom: icc-bwmon: Allow for interrupts to be shared across instances
    809d5e839811 cpufreq: amd-pstate: auto-load pstate driver by default
    5da2633513b5 cpufreq: amd-pstate: Allow users to write 'default' EPP string
    25d53aad9173 ACPI: SBS: manage alarm sysfs attribute through psy core
    7953227c3c0e ACPI: battery: create alarm sysfs attribute atomically
    417a820de025 clocksource/drivers/sh_cmt: Address race condition for clock events
    aa162aa4aa38 rcu: Fix rcu_barrier() VS post CPUHP_TEARDOWN_CPU invocation
    c31a8f14eadf block: change rq_integrity_vec to respect the iterator
    d59c4d0eb6ad nvme: apple: fix device reference counting
    04fb17e9f95b debugobjects: Annotate racy debug variables
    4811d6e5d9f4 md/raid5: avoid BUG_ON() while continue reshape after reassembling
    e0fa1325d50d md: change the return value type of md_write_start to void
    e6a81438b2df md: do not delete safemode_timer in mddev_suspend
    1e67ea9f7058 rcutorture: Fix rcu_torture_fwd_cb_cr() data race
    5da3af03c9fe platform/chrome: cros_ec_lpc: Add a new quirk for ACPI id
    866c820aee2b Revert "rcu-tasks: Fix synchronize_rcu_tasks() VS zap_pid_ns_processes()"
    72d74d053d18 hwmon: corsair-psu: add USB id of HX1200i Series 2023 psu
    d776c0486b03 gpio: prevent potential speculation leaks in gpio_device_get_desc()
    9a3f1490f9b2 regmap: kunit: Fix memory leaks in gen_regmap() and gen_raw_regmap()
    9bd6911af522 net: dsa: microchip: disable EEE for KSZ8567/KSZ9567/KSZ9896/KSZ9897.
    d9dbfcacc8d7 net: pse-pd: tps23881: include missing bitfield.h header
    3c3a575046d2 net: fec: Stop PPS on driver remove
    16d6cd28f706 net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
    977de64fa2f5 l2tp: fix lockdep splat
    3cde714b0e77 idpf: fix UAFs when destroying the queues
    6b289f8d9153 idpf: fix memory leaks and crashes while performing a soft reset
    abd573e9ad2b bnxt_en : Fix memory out-of-bounds in bnxt_fill_hw_rss_tbl()
    f3d5efe18a11 net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()
    a5cf11cb51cf net/smc: add the max value of fallback reason count
    09e309f3962e Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor
    699ca84febb9 Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
    dea5daecca8a ice: Fix reset handler
    f3535cfd8c93 net: dsa: microchip: Fix Wake-on-LAN check to not return an error
    9b60320d991d net: linkwatch: use system_unbound_wq
    b2f794b168cf net: bridge: mcast: wait for previous gc cycles when removing port
    c6c5b91424fa net: usb: qmi_wwan: fix memory leak for not ip packets
    87629b6bb46c virtio-net: unbreak vq resizing when coalescing is not negotiated
    f39bdb5f0e13 gve: Fix use of netif_carrier_ok()
    709f88426d88 net: pse-pd: tps23881: Fix the device ID check
    e809a84c8023 sctp: Fix null-ptr-deref in reuseport_add_sock().
    3c5d0871b0af power: supply: rt5033: Bring back i2c_set_clientdata
    3e82abbb5539 smb: client: handle lack of FSCTL_GET_REPARSE_POINT support
    9acf64448adb x86/mm: Fix pti_clone_entry_text() for i386
    df3eecb5496f x86/mm: Fix pti_clone_pgtable() alignment assumption
    6eefe92f2ed0 selftests: ksft: Fix finished() helper exit code on skipped tests
    0c7c3dc54683 perf/x86: Fix smp_processor_id()-in-preemptible warnings
    a9d6d466bcf0 perf/x86: Support counter mask
    ed6a9349ef84 perf/x86/intel: Support the PEBS event mask
    7904a62c5332 perf/x86/amd: Use try_cmpxchg() in events/amd/{un,}core.c
    08118810a987 jump_label: Fix the fix, brown paper bags galore
    862bdc8d30a8 platform/x86/intel/ifs: Initialize union ifs_status to zero
    12663246c4a1 irqchip/mbigen: Fix mbigen node address layout
    5c9618a3b6ea platform/x86: intel-vbtn: Protect ACPI notify handler against recursion
    56a295701bb5 perf/x86/intel/cstate: Add pkg C2 residency counter for Sierra Forest
    0f4ed1ca93f6 perf/x86/intel/cstate: Add Lunarlake support
    16923df3feaf perf/x86/intel/cstate: Add Arrowlake support
    bf846b5a92fd locking/pvqspinlock: Correct the type of "old" variable in pv_kick_node()
    6b2fb1728532 drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()
    33420ab58bea Linux 6.10.4
    9b49bb5faf40 selftests: mptcp: join: check backup support in signal endp
    f2f239aebe60 selftests: mptcp: join: validate backup in MPJ
    fe2f8f5b2d70 selftests: mptcp: always close input's FD if opened
    9f7492e3b38d selftests: mptcp: fix error path
    00749436d614 mptcp: fix duplicate data handling
    5d756f8865fe mptcp: pm: only set request_bkup flag when sending MP_PRIO
    8586723dd96b mptcp: pm: fix backup support in signal endpoints
    01403733de2d mptcp: fix bad RCVPRUNED mib accounting
    2b471bf003a7 mptcp: mib: count MPJ with backup flag
    adfaef947854 mptcp: fix NL PM announced address accounting
    73e2baa301ee mptcp: distinguish rcv vs sent backup flag in requests
    a702415f3a16 mptcp: fix user-space PM announced address accounting
    752eed6675d2 r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
    2c9d235defd2 net: wan: fsl_qmc_hdlc: Discard received CRC
    f223d2b4acb7 net: wan: fsl_qmc_hdlc: Convert carrier_lock spinlock to a mutex
    1e9fefa405d4 net: usb: sr9700: fix uninitialized variable use in sr_mdio_read
    63f10d9a2525 io_uring: keep multishot request NAPI timeout current
    976a76a307e2 wifi: mac80211: use monitor sdata with driver only if desired
    6629fb104038 wifi: ath12k: fix soft lockup on suspend
    d872903661c8 nouveau: set placement to original placement on uvmm validate.
    13e485ab4a7c Bluetooth: hci_event: Fix setting DISCOVERY_FINDING for passive scanning
    5d4aa25f47cd drm/v3d: Validate passed in drm syncobj handles in the performance extension
    5c56f104edd0 drm/v3d: Validate passed in drm syncobj handles in the timestamp extension
    ad5fdc48f7a6 drm/v3d: Fix potential memory leak in the performance extension
    9b5033ee2c5a drm/v3d: Fix potential memory leak in the timestamp extension
    73ad583bd493 drm/v3d: Prevent out of bounds access in performance query extensions
    e951cc1c6f80 drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()
    2e9e3399caa6 drm/virtio: Fix type of dma-fence context variable
    c85694c4a744 drm/amdgpu: fix contiguous handling for IB parsing v2
    226128518a84 drm/ast: Fix black screen after resume
    b5b011587c83 drm/ast: astdp: Wake up during connector status detection
    af6441e6f3d4 drm/vmwgfx: Fix handling of dumb buffers
    c98ab18b9f31 drm/vmwgfx: Fix a deadlock in dma buf fence polling
    619186e7964e PCI: pciehp: Retain Power Indicator bits for userspace indicators
    36c255db5a25 Revert "ALSA: firewire-lib: operate for period elapse event in process context"
    bf48015786a8 Revert "ALSA: firewire-lib: obsolete workqueue for period update"
    5692e90af3df ALSA: seq: ump: Optimize conversions from SysEx to UMP
    ece30d03d281 ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
    c624c592506a ALSA: usb-audio: Correct surround channels in UAC1 channel map
    aaba54c78f10 mptcp: sched: check both directions for backup
    1171ceccabfd protect the fetch of ->fd[fd] in do_dup2() from mispredictions
    061e41581606 btrfs: make cow_file_range_inline() honor locked_page on error
    8c1847ee3b81 btrfs: do not subtract delalloc from avail bytes
    1467321cd716 btrfs: zoned: fix zone_unusable accounting on making block group read-write again
    6eb1d257986f HID: wacom: Modify pen IDs
    ed66c582d8f2 platform/chrome: cros_ec_proto: Lock device when updating MKBP version
    494b14138201 s390/fpu: Re-add exception handling in load_fpu_state()
    c3f1d4f61d06 ceph: force sending a cap update msg back to MDS for revoke op
    e3144eccc49a rust: SHADOW_CALL_STACK is incompatible with Rust
    bea081b0d453 arm64: jump_label: Ensure patched jump_labels are visible to all CPUs
    2119cf5e5d75 riscv: Fix linear mapping checks for non-contiguous memory regions
    fd7df98c2a76 RISC-V: Enable the IPI before workqueue_online_cpu()
    d4e7db757e2d riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
    f080c6fc86b5 perf: riscv: Fix selecting counters in legacy mode
    d4d3d34a2c6b perf arch events: Fix duplicate RISC-V SBI firmware event name
    5d4aaf16a825 riscv/purgatory: align riscv_kernel_entry
    4041f8c6b582 ipv6: fix ndisc_is_useropt() handling for PIO
    adbb901c848f igc: Fix double reset adapter triggered from a single taprio cmd
    6eac2b62975f net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
    89064d09c56b net/mlx5e: Fix CT entry update leaks of modify header context
    9f1323148493 net/mlx5e: Require mlx5 tc classifier action support for IPsec prio capability
    091268f3c27a net/mlx5: Fix missing lock on sync reset reload
    1fe4ad66e41d net/mlx5: Lag, don't use the hardcoded value of the first port
    ffd9f0a385b8 net/mlx5: Fix error handling in irq_pool_request_irq
    6048dec75455 net/mlx5: Always drain health in shutdown callback
    87dba44e9471 netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
    08ed888b69a2 netfilter: iptables: Fix null-ptr-deref in iptable_nat_table_init().
    0faa80c71ea2 drm/atomic: Allow userspace to use damage clips with async flips
    dee804047d7b drm/atomic: Allow userspace to use explicit sync with atomic async flips
    2873144891d3 ALSA: hda: Conditionally use snooping for AMD HDMI
    40efbeede8e4 s390/mm/ptdump: Fix handling of identity mapping area
    b4f4cf72a15e net: phy: micrel: Fix the KSZ9131 MDI-X status issue
    3d61be3e5b5d net: mvpp2: Don't re-use loop iterator
    b0edc32edcb9 drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
    69620522c48c net/iucv: fix use after free in iucv_sock_close()
    fbe74e7ec62a ice: xsk: fix txq interrupt mapping
    41fe958255e1 ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
    448040a01738 ice: improve updating ice_{t,r}x_ring::xsk_pool
    064235851a38 ice: toggle netif_carrier when setting up XSK pool
    cc35d9e09db8 ice: modify error handling when setting XSK pool in ndo_bpf
    ec58ff3e1661 ice: replace synchronize_rcu with synchronize_net
    db088e42aa22 ice: don't busy wait for Rx queue disable in ice_qp_dis()
    a29b4548fed5 ice: respect netif readiness in AF_XDP ZC related ndo's
    1dcb9554062e i915/perf: Remove code to update PWR_CLK_STATE for gen12
    37f69a1c3a4f rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in rtnl_dellink().
    310cb7168650 net: axienet: start napi before enabling Rx/Tx
    3f4fa2fb7b08 tcp: Adjust clamping window for applications specifying SO_RCVBUF
    4e3fcca489f0 ethtool: fix setting key and resetting indir at once
    c0f412961653 drm/client: Fix error code in drm_client_buffer_vmap_local()
    99e194a4804c Bluetooth: hci_sync: Fix suspending with wrong filter policy
    0a5899d8a4c6 Bluetooth: btintel: Fail setup on error
    feacd3a96467 ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
    0fb5ef1884be net: phy: realtek: add support for RTL8366S Gigabit PHY
    8bc93b1d6de9 wifi: cfg80211: correct S1G beacon length calculation
    d37dac0dc59a wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done
    3a5b68869dbe sched: act_ct: take care of padding in struct zones_ht_key
    20dc9c50e7af drm/vmwgfx: Trigger a modeset when the screen moves
    b4e635472139 ethtool: rss: echo the context number back
    554bc917615a netlink: specs: correct the spec of ethtool
    bc57f879a420 bnxt_en: Fix RSS logic in __bnxt_reserve_rings()
    865cc600e1bb drm/vmwgfx: Fix overlay when using Screen Targets
    9b35b1ea2602 drm/vmwgfx: Make sure the screen surface is ref counted
    2a1b327d57a8 drm/nouveau: prime: fix refcount underflow
    b501f612fe89 drm/gpuvm: fix missing dependency to DRM_EXEC
    99bdfbb86892 perf tool: fix dereferencing NULL al->maps
    bafa1a95dd21 HID: amd_sfh: Move sensor discovery before HID device initialization
    cc4b131a8665 ARM: 9408/1: mm: CFI: Fix some erroneous reset prototypes
    825da6965666 ARM: 9406/1: Fix callchain_trace() return value
    7893355a0d61 MIPS: dts: loongson: Fix ls2k1000-rtc interrupt
    94c05c544ac2 MIPS: dts: loongson: Fix liointc IRQ polarity
    a178ce8f64b9 MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a
    9562e9aa0926 perf/x86/intel: Add a distinct name for Granite Rapids
    6c0793bf8a98 perf/x86/intel: Switch to new Intel CPU model defines
    fef1a538afaa perf: imx_perf: fix counter start and config sequence
    0cd106612396 f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
    23b865a8f3fb f2fs: fix to avoid use SSR allocate when do defragment
    49dba573ef7c ext4: check the extent status again before inserting delalloc block
    9c1d07d3cffe ext4: factor out a common helper to query extent map
    5a7c40674bb4 mm/migrate: putback split folios when numa hint migration fails
    d14b3b0e3082 mm/migrate: move NUMA hinting fault folio isolation + checks under PTL
    e820fb0e4385 mm/migrate: make migrate_misplaced_folio() return 0 on success
    cd0e079e2752 mm: fix khugepaged activation policy
    82dd589d3009 mm/huge_memory: mark racy access onhuge_anon_orders_always
    c4386c5293aa drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cff qemux86: add configuration symbol to select values
    62df91b21626 sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbf clear_warn_once: bind a timer to written reset value
    89a5c70f2000 clear_warn_once: expand debugfs to include read support
    8014704c527d tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936 libbpf: Fix build warning on ref_ctr_off
    32fe8c972c36 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798d perf: x86-32: explicitly include <errno.h>
    a5cb41682777 perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae perf: fix bench numa compilation
    6dbb2915e8a7 perf: add SLANG_INC for slang.h
    57f78dddfd93 perf: add sgidefs.h to for mips builds
    130f0306cfba perf: change --root to --prefix for python install
    2520efe95341 perf: add 'libperl not found' warning
    45731b6ae676 perf: force include of <stdbool.h>
    ace10f8dec53 fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e fat: don't use obsolete random32 call in namei_vfat
    2442bae1a645 FAT: Added FAT_NO_83NAME
    7561126bce00 FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab959876 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c9 aufs6: match exports to functions
    e125467cf228 aufs: adjust for v6.9+
    eebcdc6635bf aufs6: correct do_splice_from prototype
    4c5829036c45 aufs: update remove_page to remove_folio
    e8d889d0f434 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de17 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe2 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed aufs6: adapt to v6.6
    d3e4ede69603 aufs6: core
    49ec9271f41d aufs6: standalone
    dcc0978da2dd aufs6: mmap
    80e1609b37e7 aufs6: base
    0dbb3f062420 aufs6: kbuild
    ad51078c5ebf yaffs: fix mtime/itime field access
    e5f1d35d6188 yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7 yaffs2: v6.5 fixups
    f5908785d88d yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdf yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54f yaffs2: replace bdevname call with sprintf
    92d30df4eb56 yaffs2: convert read_page -> readfolio
    6c895bffdf72 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046 yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16e yaffs: include blkdev.h
    fe7d745aac94 yaffs: fix misplaced variable declaration
    bee147b2e533 yaffs2: v5.6 build fixups
    22998f589ec2 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a976 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda95 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4d yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a8147 yaffs2: fix memory leak in mount/umount
    6c7827a16aaa yaffs: Avoid setting any ACL releated xattr
    fa3482815542 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531 yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0 yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8 initramfs: allow an optional wrapper script around initramfs generation
    b619a8d54336 vt/conmakehash: improve reproducibility
    c786186aeef3 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aa defconfigs: drop obselete options
    946e5b78ab94 linux-yocto: Handle /bin/awk issues
    9daee1dba585 uvesafb: provide option to specify timeout for task completion
    f68b8683441a uvesafb: print error message when task timeout occurs
    a1595c6b6017 compiler.h: Undef before redefining __attribute_const__
    8086839613c6 vmware: include jiffies.h
    32e79eb3c169 Resolve jiffies wrapping about arp
    f6fabf91b6f2 nfs: Allow default io size to be configured.
    ad2b29f801e9 check console device file on fs when booting
    5194785d545b mount_root: clarify error messages for when no rootfs found
    78b3498cb59a mconf: fix output of cflags and libraries
    9cc6870708d5 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c93 modpost: mask trivial warnings
    4784584582f5 kbuild: exclude meta directory from distclean processing
    73072b5fe25a powerpc: serialize image targets
    a120eb200320 arm: serialize build targets
    51d5719ac05b mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0 cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586 x86_64_defconfig: Fix warnings
    1359db75df0c mips: make current_cpu_data preempt safe
    385edf6090c3 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319 mips: Kconfig: add QEMUMIPS64 option
    389ce854fde3 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa8 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e arm64: defconfig: cleanup config options
    c5fb425762ed vexpress: Pass LOADADDR to Makefile
    07a8b544d4e9 arm: ARM EABI socketcall
    574f3ae3d2ca ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 1a1cc353e772a65431f73704d2e925780398bf5e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 14:34:12 +01:00
Bruce Ashfield
6a5ee4cb58 linux-yocto/6.10: fix CONFIG_PWM_SYSFS config warning
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Yogesh Tyagi
    Email: yogesh.tyagi@intel.com
    Subject: bsp : remove sysfs configs for pwm class
    Date: Fri, 23 Aug 2024 12:54:56 +0530

    Following commit removed the CONFIG_PWM_SYSFS from linux kernel:

    e9cc807f87

    Having these configs is causing below warning during linux-yocto-6.10 kernel build:

    WARNING: linux-yocto-6.10.3+git-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings:

    [INFO]: the following symbols were not found in the active configuration:
         - CONFIG_PWM_SYSFS

    This changes is needed in 6.10 as well as master branch

    Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 40aaef7d87c0b845019a269deebf7b101ffddf7e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 14:34:12 +01:00
Bruce Ashfield
63c26bcb45 linux-yocto/6.6: update to v6.6.47
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    4c1a2d4cd9a5 Linux 6.6.47
    88042e41534b Revert "ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error"
    fb6f56244af3 media: Revert "media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()"
    60d90e158261 KVM: arm64: Don't pass a TLBI level hint when zapping table entries
    2c770086e079 KVM: arm64: Don't defer TLB invalidation when zapping table entries
    f3c60ab676bb cgroup: Move rcu_head up near the top of cgroup_root
    6419341b6b2b mm/debug_vm_pgtable: drop RANDOM_ORVALUE trick
    e2bf9ba1d3d7 Revert "Input: bcm5974 - check endpoint type before starting traffic"
    6fb93eeb25e5 Revert "jfs: fix shift-out-of-bounds in dbJoin"
    49df34d2b7da binfmt_flat: Fix corruption when not offsetting data start
    f95d175a9e5f ALSA: usb: Fix UBSAN warning in parse_audio_unit()
    5472b587cf71 fs/ntfs3: Do copy_to_user out of run_lock
    f650148b4394 jfs: Fix shift-out-of-bounds in dbDiscardAG
    6ea10dbb1e6c jfs: fix null ptr deref in dtInsertEntry
    3db4395332e7 fou: remove warn in gue_gro_receive on unsupported protocol
    263df78166d3 f2fs: fix to cover read extent cache access with lock
    ae00e6536a2d f2fs: fix to do sanity check on F2FS_INLINE_DATA flag in inode during GC
    bd104cbb9d3f bpf, net: Use DEV_STAT_INC()
    3f6bbe6e07e5 ext4: sanity check for NULL pointer after ext4_force_shutdown
    3a2c70baf62b ext4: convert ext4_da_do_write_end() to take a folio
    8a3ac7fb3696 wifi: cfg80211: restrict NL80211_ATTR_TXQ_QUANTUM values
    5b485efcb6a6 mm/page_table_check: support userfault wr-protect entries
    737fb7853acd ext4: do not create EA inode under buffer lock
    f2a77188a396 ext4: fold quota accounting into ext4_xattr_inode_lookup_create()
    4ea65e2095e9 Bluetooth: RFCOMM: Fix not validating setsockopt user input
    0f1061332030 nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies
    ae7f73e64e9b net: add copy_safe_from_sockptr() helper
    bae45e9b78e8 mISDN: fix MISDN_TIME_STAMP handling
    107449cfb217 fs: Annotate struct file_handle with __counted_by() and use struct_size()
    63f13eb5d627 bpf: Avoid kfree_rcu() under lock in bpf_lpm_trie.
    ef33f0296893 bpf: Replace bpf_lpm_trie_key 0-length array with flexible array
    5fbbd952e7c3 pppoe: Fix memory leak in pppoe_sendmsg()
    84c176fbecd1 net: sctp: fix skb leak in sctp_inq_free()
    6cee13d8d4e0 net:rds: Fix possible deadlock in rds_message_put
    a2f2e5a4c907 quota: Detect loops in quota tree
    0252e359afa5 Input: bcm5974 - check endpoint type before starting traffic
    2cea502f58d6 net: tls, add test to capture error on large splice
    2fdcf3c4ad74 erofs: avoid debugging output for (de)compressed data
    ca9b877a2e2c reiserfs: fix uninit-value in comp_keys
    984ed0567f5d Squashfs: fix variable overflow triggered by sysbot
    2dbaa75748ac squashfs: squashfs_read_data need to check if the length is 0
    0b24b7941086 jfs: fix shift-out-of-bounds in dbJoin
    3999d26986be net: don't dump stack on queue timeout
    e4a4435787dd jfs: fix log->bdev_handle null ptr deref in lbmStartIO
    9641706cbbc2 jfs: Convert to bdev_open_by_dev()
    4365d0d660ac fs: Convert to bdev_open_by_dev()
    e58695f6c556 wifi: mac80211: fix change_address deadlock during unregister
    be31c9be8764 wifi: mac80211: take wiphy lock for MAC addr change
    77100f2e8412 tcp_metrics: optimize tcp_metrics_flush_all()
    dd9542ae7c7c cgroup: Make operations on the cgroup root_list RCU safe
    bcd514804394 genirq/cpuhotplug: Retry with cpu_online_mask when migration fails
    20dbad7525c6 genirq/cpuhotplug: Skip suspended interrupts when restoring affinity
    a47b54846ac7 nvme/pci: Add APST quirk for Lenovo N60z laptop
    26273f5f4cf6 mm: gup: stop abusing try_grab_folio
    9eae19001439 nfsd: make svc_stat per-network namespace instead of global
    9ae63aab0df8 nfsd: remove nfsd_stats, make th_cnt a global counter
    b670a59817ec nfsd: make all of the nfsd stats per-network namespace
    6f8d6ed3426a nfsd: expose /proc/net/sunrpc/nfsd in net namespaces
    5b3a1ecf0790 nfsd: rename NFSD_NET_* to NFSD_STATS_*
    2e8076df20f3 sunrpc: use the struct net as the svc proc private
    791be93cf182 sunrpc: remove ->pg_stats from svc_program
    465bb0f1f48b sunrpc: pass in the sv_stats struct through svc_create_pooled
    032ed4c630cd nfsd: stop setting ->pg_stats for unused stats
    1257fe22e14e sunrpc: don't change ->sv_stats if it doesn't exist
    9b31d561f475 NFSD: Fix frame size warning in svc_export_parse()
    5bc2b8f225e9 NFSD: Rewrite synopsis of nfsd_percpu_counters_init()
    9d91b004df9a LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h
    7c3e55d8b463 ASoC: topology: Fix route memory corruption
    bd865c769002 ASoC: topology: Clean up route loading
    d2a2a4714d80 exec: Fix ToCToU between perm check and set-uid/gid usage
    2879d995e569 pnmtologo: sync with 6.6
    99fd042016c7 Linux 6.6.46
    7ba27f14161f btrfs: fix double inode unlock for direct IO sync writes
    1c3b01b519e5 Revert "selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky"
    9d97114f2fd0 selftests: mptcp: join: test both signal & subflow
    e80cf3fc4ee1 selftests: mptcp: join: ability to invert ADD_ADDR check
    64815ba15880 mptcp: pm: do not ignore 'subflow' if 'signal' flag is also set
    9a4a4c0b8eeb mptcp: pm: don't try to create sf if alloc failed
    432535f52e7c mptcp: pm: reduce indentation blocks
    c2389c074973 xfs: fix log recovery buffer allocation for the legacy h_size fixup
    37e79836d6a4 nouveau: set placement to original placement on uvmm validate.
    2ae4d5821852 mm/hugetlb: fix potential race in __update_and_free_hugetlb_folio()
    d43ff9428954 tools headers arm64: Sync arm64's cputype.h with the kernel sources
    e7f3e5fb20c5 ipv6: fix source address selection with route leak
    717c91c6ed73 netfilter: nf_tables: prefer nft_chain_validate
    0a108bde616a btrfs: fix corruption after buffer fault in during direct IO append write
    a5c399fe433a mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
    6ea9aa8d97e6 mm: huge_memory: don't force huge page alignment on 32 bit
    94220b35aeba Revert "drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update"
    163f7dd80237 block: use the right type for stub rq_integrity_vec()
    d4c67071f481 mptcp: pm: deny endp with signal + subflow + port
    8165c84431b3 selftests: mptcp: fix error path
    fff9b9208c1d mptcp: pm: fix backup support in signal endpoints
    07bb418cb0b4 mptcp: fully established after ADD_ADDR echo on MPJ
    ea12dbf570ef drm/radeon: Remove __counted_by from StateArray.states[]
    81d34df84362 drm/mgag200: Bind I2C lifetime to DRM device
    6946b7b00531 drm/mgag200: Set DDC timeout in milliseconds
    b3aa563f2135 drm/lima: Mark simple_ondemand governor as softdep
    28c060cd370d drm/dp_mst: Skip CSN if topology probing is not done yet
    6f8765a70670 drm/bridge: analogix_dp: properly handle zero sized AUX transactions
    78f1990b6bf8 sched/core: Fix unbalance set_rq_online/offline() in sched_cpu_deactivate()
    4c15b20c26a4 sched/core: Introduce sched_set_rq_on/offline() helper
    65727331b601 sched/smt: Fix unbalance sched_smt_present dec/inc
    41d856565d64 sched/smt: Introduce sched_smt_present_inc/dec() helper
    8a90d3fc7c24 x86/mtrr: Check if fixed MTRRs exist before saving them
    8728e3fc7208 x86/paravirt: Fix incorrect virt spinlock setting on bare metal
    866992f0d452 btrfs: avoid using fixed char array size for tree names
    772f83194278 selftests: mm: add s390 to ARCH check
    2ef3d120d19f eventfs: Use SRCU for freeing eventfs_inodes
    b59603a114fa eventfs: Don't return NULL in eventfs_create_dir()
    c7cd840b8e2b smb3: fix setting SecurityFlags when encryption is required
    924f788c906d padata: Fix possible divide-by-0 panic in padata_mt_helper()
    a172c7b22bc2 tracing: Fix overflow in get_free_elt()
    f31fe63838e9 power: supply: axp288_charger: Round constant_charge_voltage writes down
    e1ab8ca8034f power: supply: axp288_charger: Fix constant_charge_voltage writes
    da5e1ee0eb12 power: supply: qcom_battmgr: return EAGAIN when firmware service is not up
    e32f7c84438f LoongArch: Enable general EFI poweroff method
    0688cacd0e93 genirq/irqdesc: Honor caller provided affinity in alloc_desc()
    2ce998fabc63 irqchip/xilinx: Fix shift out of bounds
    d0137ce03fe5 kcov: properly check for softirq context
    6f48f45c7bde ASoC: amd: yc: Add quirk entry for OMEN by HP Gaming Laptop 16-n0xxx
    642a0b7453da parisc: fix a possible DMA corruption
    8d26093f8124 parisc: fix unaligned accesses in BPF
    37a060b64ae8 memcg: protect concurrent access to mem_cgroup_idr
    e3ad50387628 serial: core: check uartclk for zero to avoid divide by zero
    65d76c0aa2b7 timekeeping: Fix bogus clock_was_set() invocation in do_adjtimex()
    ae5848cb5b28 ntp: Safeguard against time_constant overflow
    726f4c241e17 tracefs: Use generic inode RCU for synchronizing freeing
    a49f7de9b8e9 tracefs: Fix inode allocation
    4d035c743c3e driver core: Fix uevent_show() vs driver detach race
    9d6193fd9108 clocksource: Fix brown-bag boolean thinko in cs_watchdog_read()
    03c3855528ab clocksource: Scale the watchdog read retries automatically
    b5cf99eb7a7c ntp: Clamp maxerror and esterror to operating range
    2ac6deb9998b vhost-vdpa: switch to use vmf_insert_pfn() in the fault handler
    b9d604933d5f tick/broadcast: Move per CPU pointer access into the atomic section
    8bf58028d58c scsi: ufs: core: Fix hba->last_dme_cmd_tstamp timestamp updating logic
    74eda70a56be scsi: ufs: core: Do not set link to OFF state while waking up from hibernation
    80d0624d0a8f scsi: mpi3mr: Avoid IOMMU page faults on REPORT ZONES
    d67546814d14 usb: gadget: u_audio: Check return codes from usb_ep_enable and config_ep_by_speed.
    54b7f68025a0 usb: gadget: u_serial: Set start_delayed during suspend
    a4f0d0a0139c usb: gadget: midi2: Fix the response for FB info with block 0xff
    1a9df57d5745 usb: gadget: core: Check for unset descriptor
    0761ba080a0d USB: serial: debug: do not echo input by default
    128e82e41cf7 usb: vhci-hcd: Do not drop references before new references are gained
    22628010c596 ALSA: hda/hdmi: Yet more pin fix for HP EliteDesk 800 G4
    a70ed69f9b35 ALSA: hda/realtek: Add Framework Laptop 13 (Intel Core Ultra) to quirks
    09c0f5f9db33 ALSA: hda: Add HP MP9 G4 Retail System AMS to force connect list
    535df7f896a5 ALSA: line6: Fix racy access to midibuf
    d64fc94f7bb2 drm/client: fix null pointer dereference in drm_client_modeset_probe
    d73de3c64476 drm/i915/gem: Adjust vma offset for framebuffer mmap offset
    0da0b06165d8 drm/amdgpu: Forward soft recovery errors to userspace
    718d83f66fb0 drm/amd/display: Skip Recompute DSC Params if no Stream on Link
    4b09513ce93b drm/i915/gem: Fix Virtual Memory mapping boundaries calculation
    81ac1e888460 module: make waiting for a concurrent module loader interruptible
    bdb3679cf318 module: warn about excessively long module waits
    c0f767dea583 cifs: cifs_inval_name_dfs_link_error: correct the check for fullpath
    885283269275 ASoC: meson: axg-fifo: fix irq scheduling issue with PREEMPT_RT
    a59ee7038912 ALSA: usb-audio: Re-add ScratchAmp quirk entries
    a2c0f5df8b6b spi: spi-fsl-lpspi: Fix scldiv calculation
    c25b8a3f016a i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
    233419a329d1 i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume
    a4155dec0199 kprobes: Fix to check symbol prefixes correctly
    25ad6909c86e bpf: kprobe: remove unused declaring of bpf_kprobe_override
    ae68eee1af4f i2c: smbus: Send alert notifications to all devices if source not found
    b66c92b7d17e ASoC: SOF: Remove libraries from topology lookups
    b15602915957 spi: spidev: Add missing spi_device_id for bh2228fv
    641de16bb3b0 ASoC: sti: add missing probe entry for player and reader
    8485d324aa03 ASoC: codecs: wsa884x: Correct Soundwire ports mask
    192af3ce5747 ASoC: codecs: wsa884x: parse port-mapping information
    e79e2d8f7a25 ASoC: codecs: wsa883x: Correct Soundwire ports mask
    986141e384dc ASoC: codecs: wsa883x: parse port-mapping information
    f4bbf2f2f5f1 ASoC: codecs: wsa881x: Correct Soundwire ports mask
    733677fc391e ASoC: codecs: wcd938x-sdw: Correct Soundwire ports mask
    1534b11275b7 i2c: smbus: Improve handling of stuck alerts
    745eec68a307 arm64: errata: Expand speculative SSBS workaround (again)
    8defe5195138 arm64: cputype: Add Cortex-A725 definitions
    44094ae235cd arm64: cputype: Add Cortex-X1C definitions
    b9bf53354e98 arm64: errata: Expand speculative SSBS workaround
    771746afa0b8 arm64: errata: Unify speculative SSBS errata logic
    88ef8dd94f8b arm64: cputype: Add Cortex-X925 definitions
    ef6e6d1062c8 arm64: cputype: Add Cortex-A720 definitions
    fc4675620ac8 arm64: cputype: Add Cortex-X3 definitions
    93696d8f96a9 arm64: errata: Add workaround for Arm errata 3194386 and 3312417
    527e7e72c9ac arm64: cputype: Add Neoverse-V3 definitions
    e5b9593843b7 arm64: cputype: Add Cortex-X4 definitions
    1ae80faeccfe arm64: barrier: Restore spec_bar() macro
    4167bf778008 arm64: Add Neoverse-V2 part
    6772c4868a8e net: drop bad gso csum_start and offset in virtio_net_hdr
    12f98cc6fb07 sched/cputime: Fix mul_u64_u64_div_u64() precision for cputime
    b56dee6c9b08 irqchip/loongarch-cpu: Fix return value of lpic_gsi_to_irq()
    57ab379d781c irqchip/meson-gpio: Convert meson_gpio_irq_controller::lock to 'raw_spinlock_t'
    b547433efa79 scsi: mpt3sas: Avoid IOMMU page faults on REPORT ZONES
    2d451ec01e66 profiling: remove profile=sleep support
    c26524044485 SUNRPC: Fix a race to wake a sync task
    1e8b7fb427af s390/sclp: Prevent release of buffer in I/O
    6dacca9fbe52 jbd2: avoid memleak in jbd2_journal_write_metadata_buffer
    e7abdad660ed ext4: fix uninitialized variable in ext4_inlinedir_to_tree
    850304152d36 media: xc2028: avoid use-after-free in load_firmware_cb()
    7f855b668137 media: uvcvideo: Fix the bandwdith quirk on USB 3.x
    5b835d12cfb9 media: uvcvideo: Ignore empty TS packets
    4cc2a94d96ca drm/amd/display: Add null checker before passing variables
    a59941605a2e drm/amd/display: Add NULL check for 'afb' before dereferencing in amdgpu_dm_plane_handle_cursor_update
    a29c1e51ef3a media: amphion: Remove lock in s_ctrl callback
    2e538944996d drm/amd/pm: Fix the null pointer dereference for vega10_hwmgr
    1adb5ebe205e drm/amdgpu: Add lock around VF RLCG interface
    641dac64178c drm/admgpu: fix dereferencing null pointer context
    3a01bf2ca9f8 drm/amdgpu/pm: Fix the null pointer dereference in apply_state_adjust_rules
    b89616333979 drm/amdgpu: Fix the null pointer dereference to ras_manager
    09544cd95c68 drm/amdgpu/pm: Fix the null pointer dereference for smu7
    837ab17ceef9 drm/amdgpu/pm: Fix the param type of set_power_profile_mode
    bc93cfde69b7 drm/amdgpu: fix potential resource leak warning
    479ccc213217 drm/amd/display: Add delay to improve LTTPR UHBR interop
    4d9adcb94d55 Bluetooth: btnxpuart: Shutdown timer and prevent rearming when driver unloading
    d9e846072fcd btrfs: fix bitmap leak when loading free space cache on duplicate entry
    ba4dedb71356 btrfs: do not clear page dirty inside extent_write_locked_range()
    a006e6c4a8a0 net: stmmac: qcom-ethqos: enable SGMII loopback during DMA reset on sa8775p-ride-r3
    759822a3300c can: mcp251xfd: tef: update workaround for erratum DS80000789E 6 of mcp2518fd
    1333fd55d12e can: mcp251xfd: tef: prepare to workaround broken TEF FIFO tail index erratum
    81f086d913be wifi: nl80211: don't give key data to userspace
    5cc9745e2ea1 udf: prevent integer overflow in udf_bitmap_free_blocks()
    9be0805597b3 PCI: Add Edimax Vendor ID to pci_ids.h
    412f97f36062 af_unix: Don't retry after unix_state_lock_nested() in unix_stream_connect().
    5ce414edb383 selftests/bpf: Fix send_signal test with nested CONFIG_PARAVIRT
    650e24748e1e net/mlx5e: SHAMPO, Fix invalid WQ linked list unlink
    9b034650f369 wifi: ath12k: fix memory leak in ath12k_dp_rx_peer_frag_setup()
    c6ea738e3feb wifi: nl80211: disallow setting special AP channel widths
    c2775ae4d922 xen: privcmd: Switch from mutex to spinlock for irqfds
    9747b722125c ACPI: SBS: manage alarm sysfs attribute through psy core
    e1f6d71b42bf ACPI: battery: create alarm sysfs attribute atomically
    9e1923b395ba clocksource/drivers/sh_cmt: Address race condition for clock events
    4991cb2d434c rcu: Fix rcu_barrier() VS post CPUHP_TEARDOWN_CPU invocation
    c63b44fb33dd block: change rq_integrity_vec to respect the iterator
    775a9ba16c9f md/raid5: avoid BUG_ON() while continue reshape after reassembling
    3fd53466dbff md: do not delete safemode_timer in mddev_suspend
    7adbf9b5c826 rcutorture: Fix rcu_torture_fwd_cb_cr() data race
    95cf80c93432 hwmon: corsair-psu: add USB id of HX1200i Series 2023 psu
    1b955f786a4b gpio: prevent potential speculation leaks in gpio_device_get_desc()
    c0780672805e net: fec: Stop PPS on driver remove
    73780807c67c net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities
    207e88155410 l2tp: fix lockdep splat
    a7d2808d6757 net: dsa: bcm_sf2: Fix a possible memory leak in bcm_sf2_mdio_register()
    f7dc578abe4f net/smc: add the max value of fallback reason count
    1a7a06e90e53 Bluetooth: hci_sync: avoid dup filtering when passive scanning with adv monitor
    b4af69d51dfd Bluetooth: l2cap: always unlock channel in l2cap_conless_channel()
    3e94132335cd ice: Fix reset handler
    3b1fae78bebe net: linkwatch: use system_unbound_wq
    e3145ca904fa net: bridge: mcast: wait for previous gc cycles when removing port
    f2c353227de1 net: usb: qmi_wwan: fix memory leak for not ip packets
    1407be30fc17 sctp: Fix null-ptr-deref in reuseport_add_sock().
    6a78a2903875 wifi: ath12k: fix soft lockup on suspend
    7091b094dd68 wifi: ath12k: add CE and ext IRQ flag to indicate irq_handler
    5c18b150e4cb wifi: ath12k: rename the sc naming convention to ab
    0397a48c4bd6 smb: client: handle lack of FSCTL_GET_REPARSE_POINT support
    fbb384e3f000 x86/mm: Fix pti_clone_entry_text() for i386
    ca07aab70dd3 x86/mm: Fix pti_clone_pgtable() alignment assumption
    c7b46f69d132 jump_label: Fix the fix, brown paper bags galore
    79b316264f57 platform/x86/intel/ifs: Initialize union ifs_status to zero
    3d0d7713dd3f platform/x86/intel/ifs: Gen2 Scan test support
    b399e6a23359 platform/x86/intel/ifs: Store IFS generation number
    69508cc9a9a8 irqchip/mbigen: Fix mbigen node address layout
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 475c48dae4fcc316ecbb12d32a7a57377af1da85)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-09 14:34:12 +01:00
Teresa Remmet
185fd2b28c recipes-bsp: usbutils: Fix usb-devices command using busybox
Unknown find parameter -printf makes usb-devices script unusable with
busybox. Replace the parameter to fix this issue.

(From OE-Core rev: c7c9f827e914b7c27856d995da553a2e41372321)

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-07 07:31:22 +01:00
Dmitry Baryshkov
da5db24b7c linux-firmware: add packages for Qualcomm XElite GPU firmware
Add two packages to handle Qualcomm XElite firmware, one for the
board-specific signed blob and one for the unsigned (generic) GPU
firmware files.

(From OE-Core rev: 9a9c87dafb789aca768aa3a26bd717b2dc80f237)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-07 07:31:22 +01:00
Yoann Congal
a19bb8c1d5 spirv-tools: Update merged patch to backport status
Patch 0001-update_build_version.py-support-an-envvar-to-force-t.patch
was merged here: bc4060ed27

(From OE-Core rev: 0aa494559b0e84aadb564efa126b6d29f6a46f69)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-07 07:31:22 +01:00
Richard Purdie
4186e83ffb layer.conf: Update to styhead
(From meta-yocto rev: 223cc7f13391fddb94e873ea71171e293370d609)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-06 18:39:44 +01:00
Richard Purdie
fa3cfb3a6b layer.conf: Drop scarthgap namespace from LAYERSERIES
As we move to release, drop the scarthgap namespace and prepare for
styhead.

(From OE-Core rev: b4cf6d5236a3eacaf56ca2f805b006efac65b26c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-06 16:20:57 +01:00
Richard Purdie
17ec4431c3 poky.conf: Drop TCLIBCAPPEND
OE-Core is removing TCLIBCAPPEND so we no longer need to clear this.

(From meta-yocto rev: 562828c74a1fa7ce51c55da829ca0e9ad2703bdd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:50:10 +01:00
Richard Purdie
bd102d1275 conf/defaultsetup.conf: Drop TCLIBCAPPEND
We've been able to run musl and glibc builds in the same TMPDIR for
many years and a separate directory is not required. Most distros disable
this value for that reason.

Drop support for the variable to make it clear and easy for distros
to be able to set multiconfigs which behave consistently for distros
which do and don't clear it by dropping it entirely.

(From OE-Core rev: ebcd355a32e2711263e22d9b45b502696ecbb4d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:50:10 +01:00
Richard Purdie
1948bdf639 insane: Remove dependency on TCLIBC from QA test
The TCLIBC value is already encoded into build paths through the triplet
so no need to encode it here where it can cause problems for allarch output
that span multiple libcs.

(From OE-Core rev: ea8c7a457a79589c35ca80b2f265799164855674)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:50:10 +01:00
Richard Purdie
c6b883106b bitbake: siggen: Fix rare file-checksum hash issue
There is a subtle issue with full pathnames being included in the
file checksums since the sorting might be different depending upon
how layers are being setup causing hash mismatches for recipes appeneded
from other layers with differing directory layouts.

Avoid this by filtering out to the path basename which is what is written
into the sig data anyway later in the code.

(Bitbake rev: 83acc21cdfdb410082c0871ac7693d29a7c5627d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:49:17 +01:00
Richard Purdie
27eeb5e70b sstate: Make do_recipe_qa and do_populate_lic non-arch specific
The sstate functions currently pull in STAMP and SSTATE_PKG which
end up pulling in DEFAULTTUNE and other variables. The location on
disk encodes all the "architecture" information we need so clean up
the dependencies of these tasks and make them non-architecture specific.

(From OE-Core rev: 65df61ccff6781906449bfea386a8dd13112a51c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Richard Purdie
6cc2a3649a license: Fix directory layout issues
There are several issues:

a) pointless empty directories were being created as a path wasn't
   fixed in a previous commit
b) SSTATE_PKGARCH wasn't being captured into the task signature
   since it is in the ignore list by default. We want to capture
   the absolute value, not the dependencies
c) with those issues fixed, cross/native issues became apparent so
   those need to be fixed too.

(From OE-Core rev: f68aed302a0e4b86fb8c16a6ef4e7295bed48b86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Niko Mauno
63055fc4d0 python3-maturin: Fix cross compilation issue for armv7l, mips64, ppc
When bitbaking python3-rpds-py it built extension module as:

  site-packages/rpds/rpds.cpython-312-armv7l-linux-gnueabihf.so

Which caused error on target:

  root@qemuarm:~# python3 -c "from rpds import HashTrieMap, HashTrieSet, List"
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/lib/python3.12/site-packages/rpds/__init__.py", line 1, in <module>
      from .rpds import *
  ModuleNotFoundError: No module named 'rpds.rpds'

Where as it should have been:

  site-packages/rpds/rpds.cpython-312-arm-linux-gnueabihf.so

Associated upstream bug report:
https://github.com/PyO3/maturin/issues/2203

Associated upstream pull request:
https://github.com/PyO3/maturin/pull/2204

Note - mitigation has not been tested with musl:
https://github.com/PyO3/maturin/pull/2204#issuecomment-2323952320

(From OE-Core rev: 32a8a7379008cc6e367b7664c5b10b29f0bb8136)

Signed-off-by: Vesa Jääskeläinen <vesa.jaaskelainen@vaisala.com>
Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Martin Jansa
3d029dff3e bitbake.conf: DEBUG_PREFIX_MAP: add -fmacro-prefix-map for STAGING_DIR_NATIVE
* the default STAGING_DIR_NATIVE starts with STAGING_DIR_HOST and the
  only difference is '-native' suffix at the end

* this can lead into replacing STAGING_DIR_NATIVE path with just "-native"
  in FILE macros

* I've noticed this by accident in python3-matplotlib where buildpaths
  QA warning was triggered only for lib32-python3-matplotlib and it was
  because pybind11 path to STAGING_DIR_NATIVE was mapped to only
  '-native/<path>' in python3-matplotlib build (which doesn't trigger
  buildpaths QA and lib32-python3-matplotlib the macro path wasn't
  replaced at all, because of 'lib32-' prefix in:
  -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/lib32-recipe-sysroot= \
  -fmacro-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/lib32-recipe-sysroot= \
  -fdebug-prefix-map=/OE/build/oe-core/tmp-glibc/work/i586-oemllib32-linux/lib32-python3-matplotlib/3.7.2/recipe-sysroot-native= \

* more details in meta-python fix for lib32-python3-matplotlib:
  https://lists.openembedded.org/g/openembedded-devel/message/112074

* the order of *-prefix-map options still seems to be that the last
  one matching wins and this works with gcc and clang, see:
  https://reviews.llvm.org/D148975?id=516863
  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109591

* some components might sometimes be built with -coverage and could use
  -fcoverage-prefix-map:
  https://reviews.llvm.org/D148757
  or -fprofile-prefix-map:
  https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html#index-fprofile-prefix-map
  but will leave that to recipes which actually use -coverage for now

(From OE-Core rev: 90dea34cb624af744a7d5deabdd5cbfb3c10db87)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Peter Kjellerstedt
4e2aa7e4a1 systemd: Remove a leftover reference to ${datadir}/mime
${MIMEDIR} (aka ${datadir}/mime) is packaged in ${PN}-mime and the
reference to ${datadir}/mime/packages/io.systemd.xml for FILES:${PN}
should have been removed in commit
5560243137f772683e53b614f134dd632b62be8b.

(From OE-Core rev: 3dba1443ef123714a4b1c77ade1ea3b2d0ad3f21)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Richard Purdie
1231f5d34f expat: 2.6.2 -> 2.6.3
Includes fixes for CVE-2024-45490, CVE-2024-45491 and CVE-2024-45492.

https://blog.hartwork.org/posts/expat-2-6-3-released/

(From OE-Core rev: cc96903d915db0dfde382a26bb7ec57d0d37e62e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Niko Mauno
c22b1c9f68 gcr: Fix LICENSE
The contents of the COPYING file included in the current source code
package match those of LGPL-2.0 license, which seems to have been the
case since 2011 commit
c6691faa03

(From OE-Core rev: f3ae58b741e4e6e3a5196ff75fcc4da6ee89d0b9)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Niko Mauno
47ed595ca1 tiff: Fix LICENSE
The contents of the LICENSE.md file included in the current source
code package match those of libtiff license, which seems to have been
the case since 1999 commit
0ef31e1f62
where it was added with filename COPYRIGHT and was then changed to
LICENSE.md in 2022 commit
fa1d6d787f

(From OE-Core rev: 71d8e8b03349ab18dca558055c2b3a3687785ddf)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Adrian Freihofer
64eb8c9c26 cml1: add do_savedefconfig
Move the do_savedefconfig task definition from u-boot and kernel to
cml1.bbclass. There are more recipes which use the kbuild framework and
benefit from a do_savedefconfig task.

(From OE-Core rev: 2b2ed48903e09196ee20da7f66b1d3689e4a4473)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Khem Raj
4a3990485f gcc: Fix spurious '/' in GLIBC_DYNAMIC_LINKER on microblaze
(From OE-Core rev: f0eac82b9a1e4549b7d918df768c369ed7ab5183)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Khem Raj
b897daf8b7 glibc: Fix the arm/arm64 worsize.h uniificationb patch
The symlink got mangled during the 2.40 upgrade

(From OE-Core rev: f4d9a708e8c61d147e8b06d94f13ae57b6f879e7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Maohui Lei <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:48:47 +01:00
Ryan Eatmon
f0e84fa257 oe-setup-build: Fix typo
A variable was mistyped in an error message resulting in this error:

NameError: name 'tempalte_name' is not defined. Did you mean: 'template_name'?

(From OE-Core rev: 275a3c015d37729c3b0c9cc4395d50ea2f210f02)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-05 21:47:22 +01:00
Adrian Freihofer
6e0dc47ce4 devtool: remove obsolete SRCTREECOVEREDTASKS handling
devtool modify generates a bbappend for kernel recipes which contains:
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_unpack \
    do_validate_branches \
  "
  do_patch[noexec] = "1"

If the linux-yocto kernel is used, this is redundant. The
linux-yocto.bbclass already does the same:

linux-yocto sets SRCTREECOVEREDTASKS to
  SRCTREECOVEREDTASKS="\
    do_fetch \
    do_kernel_checkout \
    do_kernel_configcheck \
    do_patch \
    do_unpack \
    do_validate_branches \
  "

Also the do_patch[noexec] is redundant because the purpose of
SRCTREECOVEREDTASKS is to delete these tasks if the externalsrc.bbclass
is used.

The default value of SRCTREECOVEREDTASKS initialized in
externalsrc.bbclass is:
  SRCTREECOVEREDTASKS ?= "do_patch do_unpack do_fetch"
This is fine for kernels which do not inherit the linux-yocto.bbclass.

The code in devtool modify is redundant and therefore removed.

(From OE-Core rev: 94ff1be36a1eeef7ddceb4fcf20425a03cd052de)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Adrian Freihofer
b161ca0008 devtool: modify kernel adds append twice
Drop the redundant generation of the do_configure:append section for the
kernel. The same append is generated twice:

if bb.data.inherits_class('kernel', rd):
    f.write('\ndo_configure:append() {\n'
    '    cp ${B}/.config ${S}/.config.baseline\n'
    '    ln -sfT ${B}/.config ${S}/.config.new\n'
    '}\n')

KCONFIG_CONFIG_ENABLE_MENUCONFIG ??= "true"
KCONFIG_CONFIG_ROOTDIR ??= "${B}"
if rd.getVarFlag('do_menuconfig', 'task'):
    f.write('\ndo_configure:append() {\n'
    '    if [ ${@oe.types.boolean(d.getVar("KCONFIG_CONFIG_ENABLE_MENUCONFIG"))} = True ]; then\n'
    '        cp ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.baseline\n'
    '        ln -sfT ${KCONFIG_CONFIG_ROOTDIR}/.config ${S}/.config.new\n'
    '    fi\n'
    '}\n')

In contradiction to the first code block the second code block considers
the variables which is correct.

(From OE-Core rev: b0733c440e861ed7bf70efdd9b7a73afb4701218)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Adrian Freihofer
19931344ad uboot-config: fix devtool modify with kernel-fitimage
How to reproduce:
- UBOOT_CONFIG must be used. With UBOOT_MACHINE it works fine.
  A simple example based on oe-core is to modify the
  beaglebone-yocto.conf file like this:
  -UBOOT_MACHINE = "am335x_evm_defconfig"
  +UBOOT_CONFIG = "foo"
  +UBOOT_CONFIG[foo] = "am335x_evm_defconfig"
- A build configuration which inherits the kernel-fitimage.bbclass is
  needed. For example:
  MACHINE = "beaglebone-yocto"
  KERNEL_IMAGETYPE = "Image"
  KERNEL_IMAGETYPES += " fitImage "
  KERNEL_CLASSES = " kernel-fitimage "

devtool modify linux-yocto
devtool build linux-yocto
...
| cp: cannot stat '.../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config':
  No such file or directory
| WARNING: .../linux-yocto/6.6.21+git/temp/run.do_configure.2081673:172 exit 1
  from 'cp .../linux-yocto-6.6.21+git/am335x_evm_defconfig/.config
  .../build/workspace/sources/linux-yocto/.config.baseline'

The reason for this problem is that the uboot-config.bbclass sets the
variable KCONFIG_CONFIG_ROOTDIR to a path that makes sense for u-boot,
but not for other recipes. However, the kernel-fitimage.bbclasse, for
example, inherits the uboot-config.bbclass, which brings the
u-boot-specific path into the kernel build context.

This change removes the uboot-specific KCONFIG_CONFIG_ROOTDIR path from
recipes other than u-boot itself.

(From OE-Core rev: b23581a22619c52724c8e078f29e871e2ee74259)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Joshua Watt
b182a015b0 lib/oe/sbom30.py: Fix build parameters
The property to specify the build parameters is `build_parameters` not
just `parameters`

(From OE-Core rev: 61afc6322c9b8664de4f32b629c6e6ade775aeba)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Joshua Watt
819ee3eff3 lib/spdx30_tasks: Report all missing providers
Instead of failing on the first missing provider, collect all of them
and report them all as it is more convenient for end users trying to fix
problems

(From OE-Core rev: fc96244f424c8b4fbace39dc4af8a4e97f1a104e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Joshua Watt
5f1d7da2c4 classes/create-spdx-image-3.0: Fix SSTATE_SKIP_CREATION
Fixes SSTATE_SKIP_CREATION for do_create_image_spdx

(From OE-Core rev: 97cb97c0948db0d46b92fd13ce0a4d5907e22b33)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
d75b116aab elfutils: Drop obsolete ptest conditional in do_install
The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

(From OE-Core rev: 48af648d9855fec70a1b4baba0970876a0b3163d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
a57341d6ea gettext: Drop obsolete ptest conditional in do_install
The PTEST_ENABLED conditional is no longer needed since the task is deleted
if ptest isn't enabled.

(From OE-Core rev: 6037ad74d88ff23821120422f2f0d0366daa8ec7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Khem Raj
dbd4b2c583 webkitgtk: Fix build issues with clang-19
(From OE-Core rev: dcceba10865094e16129a489f323ff101e0e8429)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Khem Raj
29d5a56655 kea: Replace Name::NameString with vector of uint8_t
This will fix build with libc++ from llvm 19.x

(From OE-Core rev: e3f74aaf3e8bdc6566c6b881e71cfdd3e4eb2c3f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Khem Raj
d4f765cb16 ffmpeg: Fix build on musl linux systems
Improved detection of ioctl API makes it easier to use the right
implementation rather than bunch of ifdef condition checks.

(From OE-Core rev: a81fa08cada35a1b1163a56b80fa72110dcf1e7f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
03264307a9 wayland: upgrade 1.23.0 -> 1.23.1
Changelog:
============
- meson: Fix use of install_data() without specifying install_dir
- Put WL_DEPRECATED in front of the function declarations
- client: Handle proxies with no queue
- tests: add enum bitfield test
- scanner: fix validator for bitfields
- scanner: extract validator function emission to helper function

(From OE-Core rev: d929508fe77f1dc158cd5656721bcfbf105c07d7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
05b305d947 wayland-protocols: upgrade 1.36 -> 1.37
Changelog:
============
- xdg-toplevel-icon: add error for destroyed wl_buffer
- pointer-gestures: Add punctuation to clarify gesture cycles
- tablet-v2: Fix feedback description in mode_switch
- ext-image-copy-capture-v1: new protocol
- ext-image-capture-source-v1: new protocol
- governance: document review requirements
- members: trim trailing comma
- readme: recommend using "Draft:" prefix for RFC protocols
- readme: use references for links
- staging: Add xdg-toplevel-icon protocol for dedicated toplevel icons
- readme: s/Makefile.am/meson.build/
- staging/tearing-control: clarify what happens after wl_surface destruction
- ci: don't run pipelines in forks
- various: Fix definition of double-buffered state
- Fix some trivial typos

(From OE-Core rev: 18501db4b4ebf9a19b2c2ff33c7719b828c893b7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
959030fc61 taglib: upgrade 2.0.1 -> 2.0.2
Changelog:
===========
 * Fix parsing of ID3v2.2 frames.
 * Tolerate MP4 files with unknown atom types as generated by Android tools.
 * Support setting properties with arbitrary names in MP4 tags.
 * Windows: Fix "-p" option in tagwriter example.
 * Support building with older utfcpp versions.

(From OE-Core rev: 0a442926436ac98c164242b983ead73a6c195169)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
d307c65b86 python3-zipp: upgrade 3.20.0 -> 3.20.1
Bugfix:
- Replaced SanitizedNames with a more surgical fix for infinite loops, restoring
  support for names with special characters in the archive.

(From OE-Core rev: 1c71b6b401bad423448d9edb4db4371e7bf605b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
1f4def61db python3-websockets: upgrade 12.0 -> 13.0.1
Changelog:
 https://github.com/python-websockets/websockets/blob/main/docs/project/changelog.rst

(From OE-Core rev: a5a9eb1f27790d6f9997378955ef6f09eedab406)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
0c9b4819b6 python3-pbr: upgrade 6.0.0 -> 6.1.0
0001-change-shebang-to-python3.patch
refreshed for 6.1.0

(From OE-Core rev: 14e7455069137ec8ef2866fa3160e92f86fc71d8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
79b4e699c3 python3-maturin: upgrade 1.7.0 -> 1.7.1
Changelog
=========
- Update clap_complete_command to v0.6.1
- Fix platform tags when cross-compiling universal2
- Fix Typo in Migration Guide
- Fix rust 1.80 clippy errors
- Don't check .gitignore files in parent directories
- Replace --skip-auditwheel with --auditwheel option
- Remove install_requires and setup_requires from setup.py
- Use modern stripping option
- Move project metadata from setup.py to pyproject.toml
- Update manylinux/musllinux policies to the latest main
- use just licenses as the license directory in a wheel
- Forward cargo package --list warnings
- Add current package context to source dist error
- Place source dist readmes next to Cargo.toml

(From OE-Core rev: 48e00b925648dc394bf3ba08324b333b44a5ec0b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
5a7fb59b09 python3-idna: upgrade 3.7 -> 3.8
Changelog:
==========
- Fix regression where IDNAError exception was not being produced for certain inputs.
- Add support for Python 3.13, drop support for Python 3.5 as it is no longer testable.
- Documentation improvements
- Updates to package testing using Github actions

(From OE-Core rev: 23075f8fd3144338cac1e3ad0b6b81d2376d2d4b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
1a39a1cd3d python3-certifi: upgrade 2024.7.4 -> 2024.8.30
(From OE-Core rev: 864b7b4affae0bf6a57cbdd2f2e4a07c1468705b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
b8d276f235 ofono: upgrade 2.9 -> 2.10
Changelog:
==========
- Fix issue with SMS and user data length checks.
- Add support for QMI and Dual-Stack context activation.

(From OE-Core rev: 004572fc7782f1c27a41e9a91b4ed14eee7d1695)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
e95c2e58d1 nghttp2: upgrade 1.62.1 -> 1.63.0
(From OE-Core rev: 41671d39d54e4225e16ee39b25e64f6935534dba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
b0caa4ef85 mc: upgrade 4.8.31 -> 4.8.32
(From OE-Core rev: 9f1d056d89a1892ab3deb6dd6635821442e4ffd4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
8277dae629 liburcu: upgrade 0.14.0 -> 0.14.1
Changelog:
===========
* Fix: missing typename in URCU_FORCE_CAST
* Allow building with GCC >= 13.3 on RISC-V
* pointer.h: Fix the rcu_cmpxchg_pointer documentation
* Adjust shell script to allow Bash in other locations
* fix: handle EINTR correctly in get_cpu_mask_from_sysfs
* Relicense src/compat-smp.h to MIT
* ppc.h: use mftb on ppc
* Fix: allow clang to build liburcu on RISC-V
* Fix -Walloc-size
* urcu/uatomic/riscv: Mark RISC-V as broken
* Fix: urcu-bp: misaligned reader accesses
* LoongArch: Document that byte and short atomics are implemented with LL/SC
* Add LoongArch support
* tests/regression/rcutorture: Add wait state
* urcu-wait: Initialize node in URCU_WAIT_NODE_INIT
* Fix: urcu-wait: add missing futex.h include
* Adjust shell scripts to allow Bash in other locations
* Add support for OpenBSD
* Revert "compiler.h: Introduce caa_unqual_scalar_typeof"
* rculfhash: Use caa_container_of_check_null in cds_lfht_entry
* compiler.h: Introduce caa_container_of_check_null
* compiler.h: Introduce caa_unqual_scalar_typeof
* Avoid calling caa_container_of on NULL pointer in cds_lfht macros
* Fix: revise urcu_read_lock_update() comment
* Fix: uatomic powerpc comment about lwsync
* fix: aarch64: allow RHEL7 gcc 4.8.5-11
* fix: warning 'noreturn' function does return on ppc
* Fix: use __noreturn__ for C11-compatibility

(From OE-Core rev: 1800756f155975071d14021f3329a87b5f91c4cb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
524f0d5b57 libsoup: upgrade 3.4.4 -> 3.6.0
Changelog:
==========
* Allow HTTP/2 to be used with non-HTTP proxies
* Strictly forbid NUL bytes in headers
* Fix minor leaks
* Add 'SOUP_METHOD_PATCH'
* websocket: Add 'SoupWebsocketConnection:keepalive-pong-timeout' property
* Increase maxmimum size of HTTP headers
* Fix 'soup_uri_copy()' in Vala
* Fix leak in 'soup_message_new_from_encoded_form()'
* multipart: Improve handling of messages missing termination
* logger: Fix request filter function being called with response user data
* logger: Fix response bodies never being logged if request bodies aren't
* logger: Add Soup-Host to logged headers for when Host is missing
* cookies: Fix incorrect logic in determining same-site cookies
* cookie-jar-db: Explicitly handle old databases lacking same-site column
* cookies: Limit the Max-Age to 1 year

(From OE-Core rev: f879d942d4b980a59b1000c1b0710282e08991f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
5b55206fc8 libdrm: upgrade 2.4.122 -> 2.4.123
(From OE-Core rev: b00aa96c700e8d6a9cc3232bc956934563534110)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
deddcc0ee7 ell: upgrade 0.67 -> 0.68
Changelog:
==========
- Fix issue with string allocation growth strategy.
- Add support for netlink helper functions.

(From OE-Core rev: 5a60e56785e30aba43741daea19e1f742a294c4d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
b83adce978 diffoscope: upgrade 276 -> 277
Changelog:
===========
- Don't crash when attempting to hashing symlinks with targets that point to
  a directory.

(From OE-Core rev: 6f21fa5bb71349a5cf6b6fd71548f78c3421ff22)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
ce8970ad46 dhcpcd: upgrade 10.0.8 -> 10.0.10
License-Update: Copyright year updated to 2024.

0001-dhcpcd.8-Fix-conflict-error-when-enable-multilib.patch
0001-remove-INCLUDEDIR-to-prevent-build-issues.patch
refreshed for 10.0.10

Changelog:
==========
- configure: add --enable-ntp
- Force dumplease to parse stdin
- holmanb authored and rsmarples committed
- Improve and document prior.
- linux: Prefer local over address when both in netlink RTA
- IPv6: DUPLICATED could be announced by RTM_DELADDR
- Fix prior patch which might also fix #333
- IPv6: Delay for LL address before delay for start
- IPv6: make more readable (nfc)
- DHCP6: Don't remove delegated prefix addresses on start or fail
- privsep: Sweep ELE_ERROR away for BPF
- DHCP6: Add commentary around why we read leases
- linux: allow roaming without IFF_DORMANT
- DHCP: Remove an assertation in get_lease if ia is NULL
- DHCP6: Persist configuration on confirm/rebind failure
- DHCP6: Don't remove state in DISCOVER
- IPv4LL: Restart ARP probling on address conflict
- DHCP: Handle option 108 correctly when receiving 0.0.0.0 OFFER
- taoyl-g and rsmarples committed on Jul 25
- DHCP: No longer set interface mtu
- IPv4LL: If we are not configuring, abort if address does not exist
- IPv4LL: Harden the noconfigure option.
- DHCP6: Remove the dhcp6_pd_addr packed struct
- Update privsep-linux.c to allow statx

(From OE-Core rev: 8d8e0bc93ed4fed5ce40be929976726fe28177ce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
de0f9cdbe1 cairo: upgrade 1.18.0 -> 1.18.2
Changelog:
===========
- The malloc-stats code has been removed from the tests directory
  Cairo now requires a version of pixman equal to, or newer than, 0.40.
- There have been multiple build fixes for newer versions of GCC
  for MSVC; for Solaris; and on macOS 10.7
- PNG errors caused by loading malformed data are correctly propagated to
  callers, so they can handle the case.
- Both stroke and fill colors are now set when showing glyphs on a PDF
  surface.
- All the font options are copied when creating a fallback font object.
- When drawing text on macOS, Cairo now tries harder to select the appropriate
  font name.
- Cairo now prefers the COLRv1 table inside a font, if one is available.
- Cairo requires a C11 toolchain when building.

(From OE-Core rev: 070d79c8adec7e0a8862019cf61910a59b18613a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Wang Mingyu
f48465f04c acpica: upgrade 20240322 -> 20240827
Changelog:
==========
- Fix the PHAT table working: ensure that the PHAT firmware health record offset
  works correctly, fix various sub-table offsets, prevent segmentation faults
  when encountering invalid device paths.
- Fix the optional table 4-byte signature.
- Correct the dumping of SLIC and DBG2 tables.
- Add support for QWordPCC and DWordPCC
- Fix the integer to hex string conversions
- Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state
- Fixing issues with crossing page boundaries when mapping operation regions
- Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables
- Fix multiple issues with table parsing, compilation and disassembly
- Allow for more flexibility in _DSM usage.

(From OE-Core rev: d1271e6435a399094152ceac540e160d87d7ae3b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Niko Mauno
ce383483f2 zip: Fix LICENSE
The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2007:

  This is version 2007-Mar-4 of the Info-ZIP license.

(From OE-Core rev: 3739a1af61ff6f0faca23bb565f9e71666953715)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Niko Mauno
90cbc39475 unzip: Fix LICENSE
The contents of the LICENSE file included in the current source code
package match those of Info-ZIP license, which seems to originate from
the year 2009:

  This is version 2009-Jan-02 of the Info-ZIP license.

(From OE-Core rev: e7c9368e56a6ad90b4ffbba1b765e2b3a331c796)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
1be4af3df2 libtool: 2.5.1 -> 2.5.2
(From OE-Core rev: 279e6f4eaa6e47cbd2640c7afe699cda2a796514)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
a79034e58b lttng-tools: 2.13.13 -> 2.13.14
(From OE-Core rev: c861c35c10230204b042613b5e53ae50c806b098)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
498ebc9b16 sstate: Drop SSTATEPOSTINSTFUNC support
This was deprecated with the introduction of postfunc support for tasks
in general and only used by buildhistory. Now that usage has been removed,
drop the code from sstate.bbclass. Any other users should be able to use
postfuncs too.

(From OE-Core rev: 74e08170a5584d83f5f03cd8a71978b5e0895c1d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Richard Purdie
ead03cae66 buildhistory: Simplify intercept call sites and drop SSTATEPOSTINSTFUNC usage
We planned to drop SSTATEPOSTINSTFUNC some time ago with the introduction of
postfuncs. Finally get around to doing that which should make the buildhistory
code a little more readable.

Unfortunately ordering the buildhistory function calls after the sstate ones is
difficult without coding that into the sstate class. This patch does that to
ensure everything functions as expected until we can find a better way. This is
still likely preferable than the generic sstate postfuncs support since the function
flow is much more readable.

(From OE-Core rev: c9e2a8fa2f0305ef1247ec405555612326f798f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-04 12:38:44 +01:00
Niko Mauno
4d53374ad2 dejagnu: Fix LICENSE
The contents of the COPYING file included in the current source code
package match those of GPL-3.0-only license, which seems to have been
the case since 2008 commit
http://git.savannah.gnu.org/gitweb/?p=dejagnu.git;a=commitdiff;h=9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9;hp=50fbdd118dba066e201c73a8b0155381cd65a32d
("* COPYING: Update to GPL version 3.")

(From OE-Core rev: 26b71cfb7815a096c5962629801cc3bc85147284)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-03 10:21:38 +01:00
Martin Jansa
47d9dfe82b mc: set ac_cv_path_ZIP to avoid buildpaths QA issues
* in builds with zip in HOSTTOOLS mc fails with:
  ERROR: mc-4.8.31-r0 do_package_qa: QA Issue: File /usr/libexec/mc/extfs.d/uzip in package mc-helpers-perl contains reference to TMPDIR [buildpaths]
  and it's because of the path to zip:
  mc/4.8.31/package $ grep -R styhead .
  ./usr/libexec/mc/extfs.d/uzip:my $app_zip = "TMPDIR/hosttools/zip";

* don't use /usr/bin/env as in other cases, because app_zip is then used e.g. with:
  my $cmd_addlink = "$app_zip -g -y";

(From OE-Core rev: 24df179cdb8c89c54d1864862afa2692bb7c659f)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-03 10:21:38 +01:00
Yi Zhao
8fc1257812 libpcap: upgrade 1.10.4 -> 1.10.5
ChangeLog:
https://git.tcpdump.org/libpcap/blob/HEAD:/CHANGES

(From OE-Core rev: 501906c4cdd4eb409bddbb8a4d10c78fbf81d980)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-03 10:21:38 +01:00
Trevor Gamblin
bd2159719c patchtest: test_non_auh_upgrade: improve parse logic
The AUH email address used for matching was outdated. Fix it so that it
correctly identifies emails using the new one.

Also make sure to only scan the commit message and not the body, since
it's possible (like in this patch) that the user may be editing actual
code that checks for AUH-related strings.

Fixes [YOCTO #15390].

(From OE-Core rev: 557400648b6f4f31176847f8a068d2e199b7793d)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:32:37 +01:00
Niko Mauno
69a7baf5b1 iw: Fix LICENSE
The contents of the COPYING file included in the source code match
those of ISC license:
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/tree/COPYING?h=v6.9
which seems to have been in effect since 2008 commit
https://git.kernel.org/pub/scm/linux/kernel/git/jberg/iw.git/commit?id=622c36ae94a880fb53f7f051f1b26616f5b553c1
("license under ISC").

(From OE-Core rev: 87da7445a2a77fe73e3524cd50112842e91235b6)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:32:37 +01:00
Trevor Gamblin
3802372a2a patchtest: test_shortlog_length: omit shortlog prefixes
In certain cases, the shortlog for a patch would include branch and
'PATCH' tag information even after the repo tag got stripped out,
padding it with data that wouldn't actually be included with a merge.
This caused the patchtest test_shortlog_length test to erroneously
report a failure.

For example, a patch whose shortlog tags were:

[OE-core][master/scarthgap][PATCH]

would leave this behind in the shortlog, along with the actual content:

[master/scarthgap][PATCH]

Add a re.sub() call in the test to fix this by removing all square
bracket pairs that appear at the beginning of the string.

Fixes [YOCTO #15575].

(From OE-Core rev: 6e1ddadfe779291cf46fb88fb01769c022b733ac)

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>
2024-09-01 12:28:10 +01:00
Trevor Gamblin
6f66cf7694 patchtest: test_mbox: remove duplicate regex definition
(From OE-Core rev: b350239ce1350ed61410431d30e938365d406db1)

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>
2024-09-01 12:28:10 +01:00
Ola x Nilsson
bbc4b56186 ffmpeg: Package example files in ffmpeg-examples
The most future proof way to not always ship the example files is to
package them separately.

(From OE-Core rev: ee405b4d75ed7361e8fd6220532c4a79b0b6bba6)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
Khem Raj
0c0e19a024 python: Backport fixes for CVE-2024-7592
(From OE-Core rev: 340867efbbf517393c12466d0490f96ef7c45642)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
Andrew Oppelt
413f327baa testexport: support for executing tests over serial
Uses TEST_SERIALCONTROL_CMD to open a serial connection to the target
and execute commands. This is a drop in replacement for the ssh target,
fully supporting the same API. Supported with testexport.

To use, set the following in local.conf:
- TEST_TARGET to "serial"
- TEST_SERIALCONTROL_CMD to a shell command or script which connects to
  the serial console of the target and forwards that connection to
  standard input/output.
- TEST_SERIALCONTROL_EXTRA_ARGS (optional) any parameters that must be
  passed to the serial control command.
- TEST_SERIALCONTROL_PS1 (optional) A regex string representing an empty
  prompt on the target terminal. Example: "root@target:.*# ". This is
  used to find an empty shell after each command is run. This field is
  optional and will default to "root@{MACHINE}:.*# " if no other value is
  given.
- TEST_SERIALCONTROL_CONNECT_TIMEOUT (optional) Specifies the timeout in
  seconds for the initial connection to the target. Defaults to 10 if no
  other value is given.

The serial target does have some additional limitations over the ssh
target.
1. Only supports one "run" command at a time. If two threads attempt to
   call "run", one will block until it finishes. This is a limitation of
   the serial link, since two connections cannot be opened at once.
2. For file transfer, the target needs a shell and the base32 program.
   The file transfer implementation was chosen to be as generic as
   possible, so it could support as many targets as possible.
3. Transferring files is significantly slower. On a 115200 baud serial
   connection, the fastest observed speed was 30kbps. This is due to
   overhead in the implementation due to decisions documented in #2
   above.

(From OE-Core rev: d817b27d73d29ba2beffa2e0a4e31a14dbe0f1bf)

Signed-off-by: Andrew Oppelt <andrew.j.oppelt@boeing.com>
Signed-off-by: Matthew Weber <matthew.l.weber3@boeing.com>
Signed-off-by: Chuck Wolber <chuck.wolber@boeing.com>

--

Tested with core-image-sato on real hardware. TEST_SERIALCONTROL_CMD
was set to a bash script which connected with telnet to the target.

Additionally tested with QEMU by setting TEST_SERIALCONTROL_CMD to
"ssh -o StrictHostKeyChecking=no root@192.168.7.2". This imitates
a serial connection to the QEMU instance.

Steps:
1) Set the following in local.conf:
  - IMAGE_CLASSES += "testexport"
  - TEST_TARGET = "serial"
  - TEST_SERIALCONTROL_CMD="ssh -o StrictHostKeyChecking=no root@192.168.7.2"
2) Build an image
  - bitbake core-image-sato
3) Run the test export
  - bitbake -c testexport core-image-sato
4) Run the image in qemu
  - runqemu nographic core-image-sato
5) Navigate to the test export directory
6) Run the exported tests with target-type set to serial
 - ./oe-test runtime --test-data-file ./data/testdata.json --packages-manifest ./data/manifest --debug --target-type serial

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
John Ripple
84df90c05f packagegroup-core-tools-profile.bb: Enable aarch64 valgrind
The Valgrind recipe has had support for aarch64 for 9 years but the
packagegroup-core-tools-profile recipe still excludes valgrind on
aarch64 builds. This patch adds Valgrind when building the
package-group-core-tools-profile for aarch64 systems.

(From OE-Core rev: 2f8f6d722b39d2d1080367bf780dead4ed4ed781)

Signed-off-by: John Ripple <john.ripple@keysight.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
Khem Raj
faecde6e9f openssh: Mark CVE-2023-51767 as wont-fix
(From OE-Core rev: 1b4bada6c003ef743df09283e45953e6d9ea4c5a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
Markus Volk
ef9a927a3a systemd: dont set polkit permissions manually
According to this commit polkit rules should go to ${datadir} instead of ${sysconfdir}:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=d5e90541f8e35916abc930b2da6de037b23d51a1
Theres no need to adjust the permissions for ${datadir} anymore:
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=6da0fd21c900e32a0693a6b27d38182f19c8c76c

Dont set polkit permissions manually. This allows to drop the manually
set polkit permissions for all files in meta-openembedded and also for
libvirt in meta-virtualization.

In addition, manually setting the permissions would not be needed for
new recipes anymore.

(From OE-Core rev: d27961962d2c8456d9a90148943d4282494146c2)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 12:28:10 +01:00
Richard Purdie
8621dbc2af abi-version/ssate: Bump to avoid systemd hash corruption issue
Unfortunately some recent patches caused non-deterministic output.
One input hash lead to both good and bad output and whilst that patch
has been fixed, the problematic hash 'cross' linkage remains. Bump to
a new sstate and hash equivalence version to avoid this and work from
a clean slate.

(From OE-Core rev: 639e42b9c14dff516688964dba4ab25bba7b8a55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Otavio Salvador
7897e51da3 u-boot: Ensure we use BFD as linker even if using GCC for it
If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has
mechanisms to ensure that we use BFD as linker. However, this does not
work for the GCC when it is used as linking tool.

To support that, we added explicit BFD use whenever we have the
DISTRO_FEATURE feature enabled.

(From OE-Core rev: d36ee7a87c0d89b2820eea4bfcdae342adc75019)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Khem Raj
68853a63af aspell: Backport a fix to build with gcc-15/clang-19
(From OE-Core rev: d6cb53c0773d28f57b5699125ef825936d4725d1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Jörg Sommer
8f9eaecb3e buildcfg.py: add dirty status to get_metadata_git_describe
For postmortem analysis it's helpful to know if the build environment was
clean or contained any modifications.

(From OE-Core rev: edaaa2ad311663beabd2416037de00d82fca5fba)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Vijay Anusuri
4e05e19c72 apr: upgrade 1.7.4 -> 1.7.5
Refreshed patch 0001-configure-Remove-runtime-test-for-mmap-that-can-map-.patch

Includes security fix
CVE-2023-49582

changelog:
https://downloads.apache.org/apr/CHANGES-APR-1.7

(From OE-Core rev: c5d9498466526451910fa02862f8860b2bb81df8)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Ola x Nilsson
4a3eb4f487 insane: Remove redundant returns
Some redundant return statements were left over from
insane: Drop oe.qa.add_message usage

(From OE-Core rev: 1e49635f802b04acad14115640ce9fcd63cc32a7)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Peter Kjellerstedt
b971a3a77c oeqa/selftest/bbclasses: Add tests for systemd and update-rc.d interaction
These tests verify that the correct files are left behind when systemd
is inherited and depending on whether the systemd and/or sysvinit distro
features are enabled.

(From OE-Core rev: 4ef25caa00ad08046567d0e7f4523486c3a256d0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Peter Kjellerstedt
36fb595c62 systemd.bbclass: Clean up empty parent directories
Previously, rm_systemd_unitdir() would remove one parent directory of
${systemd_unitdir} if it was empty after removing ${systemd_unitdir}.
rm_sysvinit_initddir() would not remove any parent directory. Thus, if
the only directory created in /etc was /etc/init.d, an empty /etc would
remain after the cleanup and would be packaged.

Simplify rm_systemd_unitdir() and rm_sysvinit_initddir() by rewriting
them in shell, and use rmdir -p to remove all empty parent directories.

(From OE-Core rev: 73159c0bbc636a08934f47690885d75fd37b701a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-09-01 11:05:20 +01:00
Dmitry Baryshkov
5f38058630 piglit: add missing dependency on wayland
After the recent piglit update it fails X11 builds reporting that it can
not find wayland-client package. Commit 9662bdabf3f6 ("piglit: upgrade
22eaf6a91c -> c11c9374c1") has added wayland-related dependencies to the
recipe's DEPENDS variable, but it seems it missed the target wayland
pacakge, making cross-compilation of piglit fail when building
X11-targeted configurations.

Pushing more and more wayland dependencies to a generic build doesn't
seem to be a good idea, so introduce "wayland" PACKAGECONFIG option,
move existing wayland-related dependencies to be guarded by it and add
dependency on the wayland package.

Suggested-by: Alexander Kanavin <alex.kanavin@gmail.com>
Fixes: 9662bdabf3f6 ("piglit: upgrade 22eaf6a91c -> c11c9374c1")
Cc: Trevor Gamblin <tgamblin@baylibre.com>
(From OE-Core rev: 6c504d03c8bd8e2a9c8d0b946dbf28e94d13b5d6)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Alessandro Pecugi
35cb7bc646 runqemu: add sd card device
runqemu currently only supports scsi, ide and virtio drive types.
Implement QB_DRIVE_TYPE=/dev/mmcblk which adds an sdhci-pci device and
mounts the rootfs file as an sd card.

(From OE-Core rev: 0740896afbe13f37058e990a0a13b2b51bba70fd)

Signed-off-by: Alessandro Pecugi <alessandro.pecugi@seco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Paul Gerber
661eebe146 uboot-sign: fix counters in do_uboot_assemble_fitimage
Without unsetting `j` and `k` for each `UBOOT_MACHINE`, `j` and `k`
are incremented in the same frequency as `i` and therefore `$j -eq $i`
and `$k -eq $i` is always true for the first `type` from `UBOOT_CONFIG`
and the first `binary` from `UBOOT_BINARIES`.

(From OE-Core rev: 3aef55c7ceb654b0012f20618bfd6ead1ef578b6)

Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Alexander Sverdlin
68dd272c87 linux-firmware: Move Silabs wfx firmware to a separate package
Separate 300KB wfx firmware from the rest of linux-firmware package.
With this change the wfx/LICENCE.wf200 is really packaged, before the
change it didn't fall into copying wildcard.

(From OE-Core rev: 48e14565abcfe0ec8eb21b1c3e6108bb5b0a0b7c)

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Jörg Sommer
4b60e8690c runqemu: Fix detection of -serial parameter
The pattern `-serial` matches also `-device usb-serial` and `virtio-serial`
which are not the desired parameter. This causes the serial console ttyS1 is
missing and Systemd's getty@ttyS1 fails constantly.

(From OE-Core rev: b6d035894120b45b42f146ab5b3110522c58d178)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Khem Raj
9ec017b0fd fmt: Get rid of std::copy
(From OE-Core rev: 9549d4aeb3dc1abb81fd6d01a340a2f99b69fdba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Trevor Gamblin
5a036fd745 python3-pyparsing: upgrade 3.1.2 -> 3.1.4
Changelog (https://github.com/pyparsing/pyparsing/releases):

3.1.4

- Fixed a regression introduced in pyparsing 3.1.3, addition of a type
  annotation that referenced re.Pattern. Since this type was introduced
  in Python 3.7, using this type definition broke Python 3.6 installs of
  pyparsing 3.1.3. PR submitted by Felix Fontein, nice work!

3.1.3

- Added new Tag ParserElement, for inserting metadata into the parsed
  results. This allows a parser to add metadata or annotations to the
  parsed tokens. The Tag element also accepts an optional value
  parameter, defaulting to True. See the new tag_metadata.py example in
  the examples directory.

    Example:

      # add tag indicating mood
      end_punc = "." | ("!" + Tag("enthusiastic")))
      greeting = "Hello" + Word(alphas) + end_punc

      result = greeting.parse_string("Hello World.")
      print(result.dump())

      result = greeting.parse_string("Hello World!")
      print(result.dump())

    prints:

      ['Hello', 'World', '.']

      ['Hello', 'World', '!']
      - enthusiastic: True

- Added example mongodb_query_expression.py, to convert human-readable
  infix query expressions (such as a==100 and b>=200) and transform them
  into the equivalent query argument for the pymongo package ({'$and':
  [{'a': 100}, {'b': {'$gte': 200}}]}). Supports many equality and
  inequality operators - see the docstring for the transform_query
  function for more examples.
- Fixed issue where PEP8 compatibility names for ParserElement static
  methods were not themselves defined as staticmethods. When called
  using a ParserElement instance, this resulted in a TypeError
  exception. Reported by eylenburg (#548).  To address a compatibility
  issue in RDFLib, added a property setter for the ParserElement.name
  property, to call ParserElement.set_name.  Modified
  ParserElement.set_name() to accept a None value, to clear the defined
  name and corresponding error message for a ParserElement.  Updated
  railroad diagram generation for ZeroOrMore and OneOrMore expressions
  with stop_on expressions, while investigating #558, reported by user
  Gu_f.  Added <META> tag to HTML generated for railroad diagrams to
  force UTF-8 encoding with older browsers, to better display Unicode
  parser characters.
- Fixed some cosmetics/bugs in railroad diagrams: fixed groups being
  shown even when show_groups=False show results names as quoted strings
  when show_results_names=True only use integer loop counter if
  repetition > 2
- Some type annotations added for parse action related methods, thanks
  August Karlstedt (#551).
- Added exception type to trace_parse_action exception output, while
  investigating SO question posted by medihack.
- Added set_name calls to internal expressions generated in
  infix_notation, for improved railroad diagramming.
- delta_time, lua_parser, decaf_parser, and roman_numerals examples
  cleaned up to use latest PEP8 names and add minor enhancements.
- Fixed bug (and corresponding test code) in delta_time example that did
  not handle weekday references in time expressions (like "Monday at
  4pm") when the weekday was the same as the current weekday.
- Minor performance speedup in trim_arity, to benefit any parsers using
  parse actions.
- Added early testing support for Python 3.13 with JIT enabled.

(From OE-Core rev: 320d54ab73071fd58667e672a3d5415fc8bd5e29)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Trevor Gamblin
1084027090 python3-hypothesis: upgrade 6.111.1 -> 6.111.2
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html)

6.111.2 - 2024-08-24
- This patch contains some internal code cleanup. There is no user-visible change.

(From OE-Core rev: 0c8b7df87ab5dca0618ddf5acdcd3e8eedc1163f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-30 21:59:38 +01:00
Richard Purdie
d78224151d lz4: Disable static libraries again
This option was incorrectly removed in the recent upgrade. We don't use/need
the static library so disable the build of it to save time/disk usage.

(From OE-Core rev: 2ba36d98bb0fcdd8d918da8fb69f09a06b75fd46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
63d77ef893 lz4: Fix static library reproducibility issue
The autobuilder was seeing an intermittent reproducbility issue in lz4 with
regard to symbol ordering in the static library. Add a patch to fix this which
has been submitted upstream.

Fix the SRC_URI whitespace and cleanup the patch directory naming whilst here.

(From OE-Core rev: 79d6d0fa239ab0cf271c01d8169a7d41811f8b4e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Yash Shinde
caa36ffb08 rust: Upgrade 1.78.0->1.79.0
Update the patch files with rust v1.79.0.

Drop the following backported patch which is merged
with rust v1.79 upgrade.

- cross-targets-backport.patch

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html

(From OE-Core rev: 0e20d8e0a292f720c9ed419547d8f6d738c5d4d8)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Yash Shinde
94a6eeda53 rust: Oe-selftest changes for rust v1.79
* Sort the exclude list in alphabetical order.

* Add some of the upsupported/failing tests to the exclude list
  and ignore the failing unit tests.

* Remove duplicated tests from the exclude list.

* Testing summary
    Target                PASS                    SKIPPED

    ARM                   17241                    599
    ARM64                 17279                    561
    MIPS64                17228                    612
    PPC                   17194                    629
    X86                   17257                    583
    X86-64                17416                    424

(From OE-Core rev: 61ec0f0f78d9db4c3fc02365713d5fd77b78a7ea)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Yash Shinde
9da30a8753 zlib: Enable PIE for native builds
The zlib crate in rust uses libz.a which comes from the zlib-native build.
Some distros like alma9, fedora etc. do not have PIE enabled by default for system compiler.

This leads to target-rust-ccld linking error for cargo-native as (line no 22936):
error: linking with `/home/pokybuild/yocto-worker/qemuarm64/build/build/tmp/work/x86_64-linux/cargo-native/1.79.0/wrapper/target-rust-ccld` failed: exit status: 1

https://autobuilder.yoctoproject.org/typhoon/#/builders/42/builds/9385/steps/13/logs/stdio

Hence, enable PIE option to CFLAGS for native builds.

(From OE-Core rev: 7146d260f655fa924461333c8c2944ebb93b2b3c)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Khem Raj
088d9fe6b7 gdb: Fix build with latest clang
This patch is already proposed upstream and perhaps landing
soon in gdb master.

(From OE-Core rev: 6721de5a049b245f274081b9b474e81761ea40fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Clara Kowalsky
5aeabd3217 resulttool: Add support to create test report in JUnit XML format
This adds the functionality to convert the results of the
testresults.json file to a unit test report in JUnit XML format. The
unit test report can be used in the CI/CD pipeline to display the test
results.

To use the resulttool scripts, first source oe environment, then run the
entry point script to look for help.
	$ resulttool

To generate the unit test report, execute the below
	$ resulttool junit <json_file>

By default the unit test report is stored as
<build_dir>/tmp/log/oeqa/junit.xml.

(From OE-Core rev: 3f9be03946243feaa09b908d7010899769091fe6)

Signed-off-by: Clara Kowalsky <clara.kowalsky@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
f4f9ebf6fb selftest/sstatetests: Extend to cover ERROR_QA/WARN_QA common issues
Now that adding new values to ERROR_QA doesn't invalidate tasks, add this
check to the selftests so that this functionality doens't regress in future.

(From OE-Core rev: 823b5f6cf64ad37ee68e6274c58823f7cc75ddf0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
be6a4145ea insane: Allow ERROR_QA to use 'contains' hash optimisations for do_package_qa
We want ERROR_QA to operate using the "contains" optimizations which means
accessing the variable only using the contains function.

To do this, remove usage of ALL_QA, open coding the few references to check
both WARN_QA and ERROR_QA.

Move the function table generation to a separate function where we can exclude
the ERROR_QA and WARN_QA variables since they are handled by the handle_error()
function calls.

Ensure all the chain of functions to the handle_error calls is correctly
recognised in the variable dependencies.

(From OE-Core rev: 384e9a6b2e7943b6a3ade1215ed79351c78a0b0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
e7e2019180 insane: Further simplify code
Now handle_error is used, we can further simplify the QA test execution
as we don't need seperate function lists for warnings and errors.

(From OE-Core rev: 6896c9fcfc57f007c0ce15f7804e79b6b88f5ded)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
94ca459727 insane: Add missing vardepsexclude
If we improve the function dependency visibility in insane.bbclass, it
exposes some dependencies which were previously not seen causing variances
in the do_package_qa task checksums. Update vardepsexclude in a couple of
test cases to ensure the sstate hash selftests pass and the taskhashes
don't vary when we don't expect them too.

(From OE-Core rev: 9b6dae2771ed86bd2946548004f4da58e8c0b44c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
796ef498fa insane: Drop oe.qa.add_message usage
Drop the oe.qa.add_message() usage in favour of oe.qa.handle_error() which has
code allowing it to be optimised with contains usage.

The patch also drops unused return values which we stopped using a while ago
and drops the now unneeded function parameters, generally leading to cleaner
code.

The code should be functionally equivalent.

(From OE-Core rev: 9b2eea9fd4eab4f5e12e955738db22091b91f698)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
89c308bc47 insane: Optimise ERROR_QA/WARN_QA references in do_populate_sysroot
The new contains code can't inspect variable references in handle_error()
calls. Expand what is effectively a hardcoded reference anyway so the code
can optimise it.

(From OE-Core rev: 51f767d92efb3daeb4aa3b91d72e6d2993cb0f46)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
674b49a7f7 lib/oe: Use new visitorcode functionality for qa.handle_error()
Early functions like do_recipe_qa (which do_fetch depends upon) reference
oe.qa.handle_error() which in turn adds dependencies on ERROR_QA and
WARN_QA. This means that ERROR_QA:append = " nothing" will cause
literally everything to rebuild and break sstate reuse.

Take advantage of new bitbake functionality to add a custom visitorcode
function to handle_error which optimises the references into contains
expressions which means the ERROR_QA and WARN_QA references are optmised
to containing specific strings. This dramatically improves sstate reuse.

The qa module has to be imported first since other code in later modules
references it and bitbake can't handle the dependency ordering internally
without a lot of unwanted complexity.

(From OE-Core rev: a911ea9659503e9442a183f366e4545a5efe246e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Khem Raj
79253a5668 musl: Upgrade to latest tip of trunk
Bring following changes on top of 1.2.5

* dd1e63c3 syslog: revert LOG_FAC/LOG_FACMASK changes
* 008f737d siglongjmp: document why this function just calls longjmp
* 947b4574 inet_ntop: fix the IPv6 leading zero sequence compression
* 50ab8306 dynlink: avoid copying to temp buffer in get_lfs64
* 1b97d006 sys/epoll.h: add epoll ioctls
* ab31e9d6 getusershell: skip blank lines and comments
* 53ac44ff dynlink: fix get_lfs64() with posix_fallocate64
* 895736d4 syslog: fix incorrect LOG_MAKEPRI and LOG_FAC[MASK] macros
* 05ce67fe add renameat2 linux syscall wrapper
* 00799729 fix mismatched type in posix_getdents definition
* cbf59dd6 aarch64 crti.o: fix alignment of _init/_fini
* 84015cee fix typo that broke sys/reg.h and sys/user.h
* 1b0d4851 implement posix_getdents adopted for next issue of POSIX
* 2c124e13 stdint.h: derive limits from __LONG_MAX, use common fast16 types
* 7019fbe1 sys/user.h: derive __WORDSIZE from __LONG_MAX
* e709a6f0 sys/reg.h: derive __WORDSIZE from __LONG_MAX
* 29b216b2 unistd.h: derive ILP32/LP64 macros from __LONG_MAX instead of arch bits
* 0dfa1d8c unify bits/stat.h for all archs sharing a common definition
* ef600888 align aarch64, riscv64, loongarch64 stat structure padding type
* 6f666231 ldso: fix non-functional fix to early dynamic PAGE_SIZE access
* fced99e9 strptime: implement conversion specifiers adopted for next POSIX issue
* 3f9d4224 printf decimal integer formatting: shave off one division
* a23cf8f9 riscv mcontext_t/sigcontext: use __aligned__ instead of aligned
* cbf1c7b6 add missing STATX_ATTR_* macros omitted when statx was added
* 3f49203c initgroups: do not artificially limit number of supplementary groups
* 24ebbbde printf: fix edge case where hex float precision was not honored
* e3b0ace5 complex: fix comment in cacosh
* 9683bd62 math: fix fma(x,y,0) when x*y rounds to -0
* 5370070f fix pwrite/pwritev handling of O_APPEND files
* bdc9a9ff uio.h: add RWF_NOAPPEND flag for pwritev2
* 7ada6dde iconv: fix missing bounds checking for shift_jis decoding
* fd7d0185 add missing inline keyword on default a_barrier definition
* b5121e2e iconv: add aliases for GBK
* ca6f46af iconv: add euro symbol to GBK as single byte 0x80

(From OE-Core rev: 70179bc94c90ba1f33a3fff8f3019cb96fcdbaef)

(From OE-Core rev: bcfaa9542fac82e90fbb8bdf67e3ade2697fbca4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Khem Raj
41aa8568dd musl: Update to 1.2.5 release
This release adds extension functions statx and preadv2/pwritev2, with
fallback implementations for older kernels, and adds two new ports:
loongarch64 and riscv32. Minor changes to the printf family of
functions have been made for conformance to new standards
interpretations/requirements. TLSDESC support for riscv64 has also
been added.

Bugs fixed include some DNS issues related to new TCP fallback
functionality, several rare race conditions, potentially incorrect
return value when glob aborts, and several signifiant arch-specific
bugs affecting TLSDESC on arm, riscv64 icache flushing, and sh
sigsetjmp and dlsym RTLD_NEXT. [1]

Do not use https protocol for fetching

Musl author confirms that https protocol is not well supported yet on
musl git host, currently we experience this problem intermittently on
some build hosts where the fetching fails.

fatal: protocol error: bad line length character: erro
WARNING: Failed to fetch URL git://git.etalabs.net/git/musl;branch=master;protocol=https

[1] https://www.openwall.com/lists/musl/2024/03/01/2

(From OE-Core rev: c6c79477209f5e7e1a0206942de9603a7accec67)

(From OE-Core rev: 0d0a2d62810bfa7ea51d536c4e43c2edae823a6b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Khem Raj
98eaec26ff bluez5: Fix build with musl
(From OE-Core rev: e5f9870757bf7ffd009ce4ba999d37e41274982c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Siddharth Doshi
405fe4d77d vim: Upgrade 9.1.0682 -> 9.1.0698
This includes CVE-fix for CVE-2024-43790 and CVE-2024-43802

Changes between 9.1.0682 -> 9.1.0698
====================================
https://github.com/vim/vim/compare/v9.1.0682...v9.1.0698

(From OE-Core rev: e530265415d93e3f49ec7874cf720aad18ab2e22)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
471da6ddad linux-firmware: restore qcom/vpu-1.0/venus.mdt compatibility symlink
The commit [1] has dropped the qcom/vpu-1.0/venus.mdt symlink which is
required for the kernels before 6.6. Pick up a patch restoring this
symlink.

[1] 36db650dae

(From OE-Core rev: e84b673b5788d1eeadf49c009cf58feebfcedede)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
ea1fb9f63f linux-firmware: package qcom-vpu firmware
Release 20240811 has restructured the locations of Qualcomm VPU
firmware (see commit [1]). Follow those changes and implement a single
linux-firmware-qcom-vpu package holding all VPU firmware files.

[1] 36db650dae

(From OE-Core rev: 3a4204b1393b46c1ee14fa9e546e19e3f250c002)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
89975150e3 linux-firmware: use wildcards to grab all qcom-qcm2290/qrb4210 wifi files
It makes little sense to keep board-specific firmware-5.bin in
linux-firmware-ath10k package if the wlanmdsp.mbn file is a part of the
linux-firmware-qcom-qcm2290 / -qrb4210 packages. Use wildcards to pick
those files too.

(From OE-Core rev: 0b179622bdff4b26d14f949595e9772629e5f0ac)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
1fed37f524 linux-firmware: move -qcom-qcm2290-wifi before -ath10k
The linux-firmware-qcom-qcm2290-wifi package needs to steal some files
from the linux-firmware-ath10k (like qcom-qrb4210-wifi and
qcom-sdm845-modem packages do). Move the package name before the ath10k
in the list so that thieft is successful.

Fixes: f65e01a0c7eb ("linux-firmware: update to 20240513")
Cc: Quentin Schulz <quentin.schulz@cherry.de>
(From OE-Core rev: b5fb1fd145288d80fb89badb3533a3b7d1e47cf1)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
c383cd90d2 linux-firmware: add packages with SM8550 and SM8650 audio topology files
Split audio topology files to separate packages so that users of the
corresponding boards don't have to pull in the whole linux-firmware
package.

(From OE-Core rev: b8a35c6eddf9ca47587d9e526b8bd345aad64cb4)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Dmitry Baryshkov
3bdeaf6eb0 linux-firmware: make qcom-sc8280xp-lenovo-x13s-audio install Linaro licence
The linux-firmware-qcom-sc8280xp-lenovo-x13s-audio package includes
audio topology file which has separate licensing terms. Make this
package RDEPEND on the corresponding licence package.

Fixes: 958d6a209edf ("linux-firmware: package audio topology for Lenovo X13s")
(From OE-Core rev: 6c2ec809edd1606ec55fbd7d15e4cbea8e2752d3)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Richard Purdie
9a25a38ffe bitbake: codeparser: Allow code visitor expressions to be declared in metadata
Allow the metadata to define code visitor expressions which mean that
custom dependencies can be handled in function libraries.

An example is the qa.handle_error function in OE which can set something
like:

"""
def handle_error_visitorcode(name, args):
    execs = set()
    contains = {}
    warn = None
    if isinstance(args[0], ast.Constant) and isinstance(args[0].value, str):
        for i in ["ERROR_QA", "WARN_QA"]:
            if i not in contains:
                contains[i] = set()
        contains[i].add(args[0].value)
    else:
        warn = args[0]
        execs.add(name)
    return contains, execs, warn

handle_error.visitorcode = handle_error_visitorcode
"""

Meaning that it can have contains optimisations on ERROR and WARN_QA
instead of hard dependencies.

One drawback to this solution is the parsing order. Functions with
visitorcode need to be defined before anything else references them
or the visitor code will not function for the earlier references.

(Bitbake rev: 5bd0c65c217394cde4c8e382eba6cf7f4b909c97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-29 21:58:19 +01:00
Alexander Kanavin
3492e96032 cracklib: update 2.9.11 -> 2.10.2
Drop endianness patch; upstream resolved the issue via:
https://github.com/cracklib/cracklib/pull/86
https://github.com/cracklib/cracklib/issues/74

(From OE-Core rev: 4a54f06332fc0e3065b772a4563b9662830b1c98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
ce14080632 vte: upgrade 0.74.2 -> 0.76.3
lz4 is a new required dependency.

(From OE-Core rev: 74690600e2d5037a45e754ae28cd6afb39cf2c5c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
706bd59423 lz4: upgrade 1.9.4 -> 1.10.0
Drop most EXTRA_OEMAKE settings as no longer necessary.
(makefiles use weak assignments and shell variables then
take precedence).

License-Update: clarification that it's gpl2-or-later.

(From OE-Core rev: a4dde4e0dcc2cc75c4eec5d78fbf2a1e47401050)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
1344185255 alsa-utils: upgrade 1.2.11 -> 1.2.12
(From OE-Core rev: 306a798a1564118dad198747851af54e73e779bd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
ae5de774f3 libtraceevent: upgrade 1.8.2 -> 1.8.3
Drop backport.

(From OE-Core rev: 1125dc6679c72c6b377d802009c908465626a3e6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
d85d7419e4 waffle: upgrade 1.8.0 -> 1.8.1
Drop the patch: the build is correctly using everything from sysroots
now.

(From OE-Core rev: a8b8b2168540ce4018b530276d67cb53f6e0109c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
d12a3f1025 hicolor-icon-theme: upgrade 0.17 -> 0.18
(From OE-Core rev: 7ca759f98a46d9fcf485edc3eeff4e9cf73a4669)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
aa67063a10 adwaita-icon-theme: upgrade 46.0 -> 46.2
(From OE-Core rev: b3fa2fa44e3ef7d6dba339b418137f6fb97de555)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
e32f1ab748 mmc-utils: upgrade to latest revision
Add sphinx as a build dependency and set C= to avoid needing the 'sparse' utility.

(From OE-Core rev: 20f3fcdf26bb167d7a91b9cbf037bbeb69beb189)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
3060a76799 libdnf: upgrade 0.73.2 -> 0.73.3
(From OE-Core rev: c90628632e0e73de1883463a85e1629a5c6136a9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
b5dbb24070 ifupdown: upgrade 0.8.41 -> 0.8.43
Do not force CFLAGS (no longer necessary).

(From OE-Core rev: 092ac58c7914142db397544b1a8e18f61423deba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
5c716294c1 iproute2: upgrade 6.9.0 -> 6.10.0
(From OE-Core rev: ab979c8cbb698eb1638dd9de562dffff798acad7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
102b9a09df p11-kit: update 0.25.3 -> 0.25.5
(From OE-Core rev: f7b3e0d91d68459e45f57338ca5a4b85219824cd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
b773b1ca8a libksba: update 1.6.6 -> 1.6.7
(From OE-Core rev: d832c99de2315a852157b9dc56c87cff2dc71a3e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
aa463a8da1 ffmpeg: update 6.1.1 -> 7.0.2
(From OE-Core rev: d913e9cf997a2b2455bc336565fc69e76eac9b70)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
bd048df594 vulkan-samples: update to latest revision
Drop backports.

This has again regressed on 32 bit x86, and as no one cares upstream
and the 32 bit x86 platform really isn't relevant for vulkan,
let's just disable it there.

(From OE-Core rev: 0f1968aeb5035d434e2494f71f3260b6b6b17b8d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:27 +01:00
Alexander Kanavin
4c2090daf2 go-helloworld: update to latest revision
(From OE-Core rev: 62b8005e6df13fed7754d504d7aa37614d318008)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
5f6cfcf24e cargo-c-native: update 0.9.30 -> 0.10.3
(From OE-Core rev: 566b2fc345794773f3b4355077c5c981cdc697ca)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
cafda2bbf4 python3-scons: update 4.7.0 -> 4.8.0
Manpages are no longer installed, and so the patch isn't needed.

(From OE-Core rev: 267b3c0c155addf77370a6355b6fdbb004d66240)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
ac87a68897 python3-pyyaml: update 6.0.1 -> 6.0.2
With this release, cython 3.x is finally officially supported.

(From OE-Core rev: 4ea0c1eb42624ea142dd3d319d2bf750eb1af764)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
48c5cf7500 python3-pyopenssl: update 24.1.0 -> 24.2.1
(From OE-Core rev: d92205cddc27c154ad3b11ab265f8ad3633f0fa6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
78c9688fba python3-pip: 24.0 -> 24.2
License-update: formatting, newly added trustore is under MIT.

(From OE-Core rev: 8b4717f6ef03e33f37ebf90bea10ac04ee501064)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
3e3468371a python3-license-expression: update 30.3.0 -> 30.3.1
(From OE-Core rev: 57b25a2995b1b1501b89003c3bc88b1032ac9f6a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
6f1990d217 gnu-config: update to latest revision
(From OE-Core rev: 2f99c577a0ba0f9780d06b5db0599d52b2fba84e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
d5d82cb04e perl: update 5.38.2 -> 5.40.0
Update rdepends generator to account for new version specifiers
(v{version} instead of just {version}) and exclude a few more
external modules detected at runtime.

Adjust musl configuration to set custom LC_ALL handling
(musl doesn't follow glibc in that, see the last few comments here:
https://github.com/Perl/perl5/issues/22375 ).

Adjust ptest packaging to add a dummy Makefile for 'make perl
releases' test (otherwise the packaging specifically excludes makefiles).

(From OE-Core rev: 1c1cfae53564c836555ace926295cf88109b8c9f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
9d51d325ba perlcross: update 1.5.2 -> 1.6
(From OE-Core rev: dee97a3d3127eeba77bc6be05dea25f89aa734e5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
60602a9ff5 git: 2.45.2 -> 2.46.0
(From OE-Core rev: 4a387b0ad7a26af6a31dbbcfce1ebc95a76b9ec7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
75d90d7cf3 fmt: update 10.2.1 -> 11.0.2
(From OE-Core rev: f2d7d6ebeee9ef83ba6dde53f188e06e5c6a4941)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
569ed323c8 automake: update 1.16.5 -> 1.17
Drop 0001-Drop-ar-u-argument.patch
(upstream resolved the issue).

Replace forced perl settings with an after-the-fact sed hack
(upstream added more checks to ensure there are no 'tricks' and
I don't want to fight with that).

(From OE-Core rev: b98328a6ff07119e7ba4f1072090d789e69edef8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
b394b0e1c1 lttng-modules: update 2.13.13 -> 2.13.14
Remove backports.

License-update: changed file paths.

(From OE-Core rev: f565ab9b768c8f59ccb7f3b436de3b7475d1e237)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
67e388f31f glib-2.0: update 2.80.2 -> 2.80.4
Drop backport 0001-girepository-introspection-correctly-install-.gir-fi.patch

(From OE-Core rev: 68ac84d6f4aa4f9342b53814b08a4a888f006a2c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
152f5d23ea xmlto: check upstream version tags, not new commits
With 0.0.29 upstream is tagging versions again.

(From OE-Core rev: 5250f021d73ba78ade312734b42fdbbe347cca03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
59d2a17fd5 selftest: use INIT_MANAGER to enable systemd instead of custom settings
This is already done in most of selftest; these two were the last
holdouts I could fine.

Hopefully this improves sstate reuse as well.

(From OE-Core rev: 98f2feeea8f54f899e831a13191578b94cde7670)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Alexander Kanavin
46d4072a97 selftest: always tweak ERROR_QA/WARN_QA per package
Globally changing it completely destroys sstate reuse, as seen for example here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/127/builds/3763/steps/14/logs/stdio

(From OE-Core rev: 9c75c11f4f6816cfc56eb85a43859a228a5d2950)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Yi Zhao
5fa9296447 bind: upgrade 9.20.0 -> 9.20.1
Release Notes:
https://downloads.isc.org/isc/bind9/9.20.1/doc/arm/html/notes.html#notes-for-bind-9-20-1

(From OE-Core rev: 6808ed32cabb00ffb076cb80cf37ad7815815d25)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Changqing Li
2f46b6f27d bitbake.conf: drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead
* Drop VOLATILE_TMP_DIR, use FILESYSTEM_PERMS_TABLES instead. By default,
FILESYSTEM_PERMS_TABLES ?=  "files/fs-perms.txt \
                             files/fs-perms-volatile-log.txt \
                             files/fs-perms-volatile-tmp.txt"
it contains 'files/fs-perms-volatile-tmp.txt', which means volatile tmp
is enabled. User can disable volatile tmp by remove
'files/fs-perms-volatile-tmp.txt' from FILESYSTEM_PERMS_TABLES.
* If volatile tmp is disabled, both /tmp and /var/tmp are persistent

(From OE-Core rev: 8d1ae67b89c45f78162e070228086c7ef88c3264)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Changqing Li
2f8806deb7 bitbake.conf: drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead
Drop VOLATILE_LOG_DIR, use FILESYSTEM_PERMS_TABLES instead. By default,
it contains 'files/fs-perms-volatile-log.txt', which means volatile log
is enabled. User can disable volatile log by remove
'files/fs-perms-volatile-log.txt' from FILESYSTEM_PERMS_TABLES.

(From OE-Core rev: 91128c6517066715f2afe6b46aa3206c7cf3653e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Peter Marko
cd25fc78d8 libyaml: Ignore CVE-2024-35325
This is similar CVE as the previous ones from the same author.
https://github.com/yaml/libyaml/issues/303 explain why this is misuse
(or wrong use) of libyaml.

(From OE-Core rev: c97f00d122f60501751625e27b9c70166396d754)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Changqing Li
e91fe496fe webkitgtk: fix do_configure error on beaglebone-yocto
* According to latest comment [1] and the mentioned pull request
[2], build an ENABLE(WEBASSEMBLY) && !ENABLE(JIT) configuration is
supported, so original issue already fixed in current version, the
EXTRA_OECMAKE setting is not needed anymore.

* This EXTRA_OECMAKE setting causes following configure error on
beaglebone-yocto, remove the setting to let the configure process decide
the configuration:
CMake Error at Source/cmake/WebKitFeatures.cmake:312 (message):
  ENABLE_JIT conflicts with ENABLE_C_LOOP.  You must disable one or the
  other.

[YOCTO #15254]

[1] https://github.com/WebKit/WebKit/pull/17447
[2] https://github.com/WebKit/WebKit/pull/17688

(From OE-Core rev: 26a34fd71659e32e56ccc4f23e79aa62f4bc062d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Khem Raj
c852c1679e quota: Apply a backport to fix basename API with musl
Drop the local patches for supporting musl, as they are
either subsumed in the backport or are not needed anymore

(From OE-Core rev: 8109e87c32381bd2c8cacde213091dd0b381774c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Jaeyoon Jung
c635f6412e makedevs: Fix matching uid/gid
Correct the length to compare in convert2guid() to fix an issue where it
ends up with returning a wrong id that matches partially. Also fix the
length of usr_buf and grp_buf in interpret_table_entry() which are used
as arguments of convert2guid().

(From OE-Core rev: ca9d193a21e6b8669c4da1a68cd5e0791bb80a4b)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-28 09:14:26 +01:00
Simone Weiß
497c4e87cd curl: Ignore CVE-2024-32928
This CVE affects google cloud services that utilize libcurl wrongly.

(From OE-Core rev: 27ac7879711e7119b4ec8b190b0a9da5b3ede269)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-26 10:39:34 +01:00
Khem Raj
56bc6ce8c6 systemd: Refresh patch to remove patch-fuzz
Fixes
ERROR: systemd-1_256.5-r0 do_patch: QA Issue: Fuzz detected:

Applying patch 0017-missing_syscall.h-Define-MIPS-ABI-defines-for-musl.patch
patching file src/basic/missing_syscall.h
Hunk #1 succeeded at 20 with fuzz 1.

The issue surfaces when building with musl

(From OE-Core rev: 4fc73793e0a053211b29d016a09afc430a48e81b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:37:39 +01:00
Leonard Göhrs
ee6bf285d7 bitbake: fetch2/npm: allow the '@' character in package names
The '@types/ramda' [1] npm package has recently gained a dependency on
the 'types-ramda' [2] npm package. Both have the same version number.

The name mangling results in the tarballs of both packages sharing the same
name, but different contents.

Fix that by accepting '@' as valid character in the package name,
resulting in one package named @types-ramda and one called types-ramda.

[1]: https://www.npmjs.com/package/@types/ramda
[2]: https://www.npmjs.com/package/types-ramda

(Bitbake rev: 7c9573cb6ea2081bc585eb65267f3124fd4d7e43)

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:37:02 +01:00
Etienne Cordonnier
58414305b2 bitbake: gcp.py: remove slow calls to gsutil stat
The changes of 1ab1d36c0af6fc58a974106b61ff4d37da6cb229 added calls to "gsutil stat" to avoid unhandled exceptions, however:
- in the case of checkstatus() this is redundant with the call to self.gcp_client.bucket(ud.host).blob(path).exists() which already returns True/False
 and does not throw an exception in case the file does not exist.
- Also the call to gsutil stat is much slower than using the python client to call exists() so we should not replace the call to exists() with a call to gsutil stat.
- I think the intent of calling check_network_access in checkstatus() was to error-out in case the error is disabled. We can rather change the string "gsutil stat" to something else to make the code more readable.
- add a try/except block in download() instead of the extra call to gsutil

[RP: Tweak to avoid import until needed so google module isn't required for everyone]
(Bitbake rev: dd120f630e9ddadad95fe83728418335a14d3c3b)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:37:02 +01:00
Marta Rybczynska
f06fbe9bd8 cve-check: remove the TEXT format support
Remove the TEXT format support, as the JSON format offers more functions.
Users who do automation should have migrated already.

Support of both formats makes the code more complex than necessary.

Users can convert JSON files to TEXT files with cve-json-to-text.py
in scripts/

(From OE-Core rev: 05ef4f2a7b225c8d230eaca8d333ffb921729d79)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:36:30 +01:00
Marta Rybczynska
38cfb6525e cve-json-to-text: add script
Add a script that converts the cve-check result from the JSON format
to the TEXT format.

(From OE-Core rev: da4e01dfa538578936e565413871a7496b8752df)

Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:36:30 +01:00
Alexander Kanavin
76cc462114 piglit: add a patch to address host contamination for wayland-scanner
(From OE-Core rev: cb99666b084fc7dc88b0f370b8c920624dbe68f0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:36:30 +01:00
Trevor Gamblin
d1f4b29b0c piglit: upgrade 22eaf6a91c -> c11c9374c1
Commit 766669895d fixes builds with numpy 2.x.

Patch '0001-utils-Include-libgen.h-on-musl-linux-systems.patch' dropped
because it is now upstream in commit 9c941dfc36.

Add wayland-native and wayland-protocols to DEPENDS to avoid errors
during build.

There's a reproducibility issue being seen on the autobuilder. It
appears that it's a host contamination issue, based on what Richard
replied with in the v3. See: https://lists.openembedded.org/g/openembedded-core/message/203651

Does anyone with more CMake familiarity know how to patch CMakeLists.txt
or the recipe in a way that will fix these errors? I'm not able to see
any of them locally. It's also possible that what I've added to
PACKAGECONFIG is not the right approach for x11 support.

Changelog:

c11c9374c (HEAD -> main, origin/main, origin/HEAD) arb_bindless_texture: test image/sampler constructors
f11abb664 Revert "arb_bindless_texture: add another function param bindless test"
045343687 arb_gpu_shader5: add linker version of function overloads test
4b1116f3a arb_bindless_texture: add another function param bindless test
4a62c2672 glsl: test function linking with implicit param conversions
9f280db77 arb_bindless_texture: add basic function param bindless tests
766669895 generated_tests: fix numpy overflow warnings that are errors in numpy 2.0
5214915dc generated_tests: print mako exceptions
41bd119f2 arb_texture_buffer_object: don't leak src strings
582f5490a gl-1.0: Add a test for glPushAttrib/glPopAttrib
647d07250 ext_texture_format_bgra8888: test GL_BGRA8_EXT as well
dee2a233f perf: port glsl-compile-time perf-test from mesa demos
18333c568 perf: port vertexrate perf-test from mesa demos
e932fa2f5 perf: port vbo perf-test from mesa demos
f9cf4788a perf: port teximage perf-test from mesa demos
20ccc1c10 perf: port readpixels perf-test from mesa demos
556a9c96d perf: port genmipmap perf-test from mesa demos
225b6bfb6 perf: port fill perf-test from mesa demos
dae4a13f9 perf: port fbobind perf-test from mesa demos
cd0f812b3 perf: port copytex perf-test from mesa demos
fdf3fc09d cl: add missing errors
01b64dd06 glsl-1.10: test a complex partial unroll scenario
cf8daaf5b glsl-bug-110796: detect missing ES 3.2 support using EGL_BAD_MATCH
30d34daf7 glsl-bug-110796: distinguish which context creation failed
3ea14414a Sync .mailmap from Mesa
7accec34a glsl-bug-110796: check for GL ES 3.2 support
12ebd71c7 egl-terminate-then-unbind-context: simplify
69bc38a77 egl_khr_create_context: improve skip reporting
209becf6d arb_blend_func_extended: simplify MAX_DUAL_SOURCE_DRAW_BUFFERS detection
800abe232 arb_blend_func_extended: gles: follow the specification requirements
1cad6ee20 arb_texture_multisample: require geometry shaders
59bdc8c4e egl: missing EGLconfig isn't stderr material
cee2190b5 ext_external_objects: avoid stderr when we skip the test
8cbefab52 util: remove handwritten defines and drop FIXME
11e7aa044 texsubimage: fix low bpp formats by expecting less than 8 bits of precision
e180f9623 Use GBM_LDFLAGS to get all options
3bddb36e8 fix vk_vert_buf_reuse cleanup
8f6e71975 arb_texture_view: test for NaN in more cases
446c20f3e ext_direct_state_access: Fix deprecated-non-prototype warnings
8a6ce9c6f arb_fragment_layer_viewport: don't test out-of-range gl_Layer values
8d5af6c51 glsl-1.30: Test uint to float conversion of sign extended value
7aa7bc1b0 arb_draw_buffers_blend: Fix deprecated-non-prototype warnings
3d3a20a2b arb_sample_shading: do not actually run mask_in_one if it's not supported
759cc6454 clear-stencil: new test to check for problems clearing stencils
2c64a91bb read_depth_offset: new test to check depth offset calculation
869a1b6e8 replayer: create bin/ everytime
9be2db198 Reduce precision in depth clear precision check
7f40f35a3 Add float from half function
f7ece74a1 tests/gbm: Add gbm_device_get_fd() test
fd4a6c521 wayland: Add Wayland dmabuf driver-name test
df0d0ae79 conversion-explicit: use a different value for normalized +/- min
a482803ac cmake: if we specify PIGLIT_BUILD_GL_TESTS OPENGL_FOUND is always true
67b89b3e3 README: recommend Ninja by default and switch to cmake --build
efd111853 cmake: build is compatible up to 3.28
e84aca9b5 cmake: add workaround for CMP0148
2e70ca91e README: ccmake is not that common, regular cmake is enough to build
e39ba99e5 README: update requirements
d945707b9 cmake: WGL doesn't need Waffle, pass the definition without it
938a9dc9f cmake: remove this 12 years old workaround taking too many lines
7e5ca052d cmake: implement switch for the EGL tests and simplify test conditions
cd9d15364 cmake: make PIGLIT_BUILD_DMA_BUF_TESTS aligned with GBM dependency
4af47af27 cmake: depend on WGL_TESTS being enabled to build WGL
a222d50bb cmake: implement GBM and Wayland controls
4230c7e9f cmake: fix unusually formated statement
d958b70d1 cmake: implement X11 option (required for GLX)
4319b9fc8 cmake: move GLX and WGL option to the beggining of the file
44e1c29bf cmake: move first batch of option() at the beggining of the file
96241ea22 cmake: rename default values with prefix DEFAULT_
21374d8d3 cmake: move defaults into the per-platform section
86d3f1132 cmake: predefine defaults depending on the system
381221a81 cmake: drop unused CMP0042 policy
99eade7cd cmake: respect indentation
dd6f7eaf8 texturing: add a test for GPU/CPU sync when creating textures
025e462ae util: fix multisample_texture_fs_template
f9e26b98b tests: add a test for GL_APPLE_sync
b24c834d9 ci: codespell ignore list is lowercase
0a842edd0 more spelling fixes accross the whole codebase
2c473ea73 ci: bump distribution tag
7cd28b970 arb_multisample: Fix bitwise-instead-of-logical warning
19e58247e ext_texture_storage: Fix memory leak on error path
d0b5d0c1f arb_internalformat_query2: fix internalformat selection for max_layers subtest
74064b1d4 arb_clear_texture: only test float depth textures when supported
9c941dfc3 properly check for libgen.h
c55e22a5c arb_copy_image-formats: avoid undefined behavior
537831d48 intel/ppgtt: Use getpagesize fallback with MinGW
b32186ee5 README: add Vulkan into the generic description
1e631479c fix arb_query_buffer_object-qbo to warn on invalid GS results instead of fail
62938a9bc tests: Fix cl test program@execute@builtin@builtin-float-degrees-1.0.generated issue about tolerance.

(From OE-Core rev: 9662bdabf3f638416963d1a8bab584680f4304a0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:36:30 +01:00
Alexander Kanavin
6200a0260b meta/lib/oe/sstatesig.py: do not error out if sstate files fail on os.stat()
There's an ongoing issue with the autobuilder NFS:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/6463/steps/14/logs/stdio

The file entry exists, but os.stat returns a 'file not found; error. It's not
clear how and why such entries appear, but they do produce printdiff test failures
and should not be relevant in context of the printdiff.

[RP: Move wrapping to get_time() function to cover all cases and add comment]
(From OE-Core rev: b7e702752b6a2dfc8493639a8529cf1a16793f03)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-25 15:36:30 +01:00
Jonathan GUILLOT
0cf0991cb2 cronie: add inotify PACKAGECONFIG option
By default, cronie inspects crontab modtimes every minute to check for
modications avoiding server restart for them to be taken in account. The
inotify option allows the server to use this mechanism to be directly
notified when a crontab is modified.

(From OE-Core rev: 4f6bf3c4208178cd670eeb61d8428373c7d1285f)

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
Siddharth Doshi
5646c76972 wpa-supplicant: Upgrade 2.10 -> 2.11
License-Update:
===============
- README: Change in copyright years as per https://w1.fi/cgit/hostap/commit/README?id=d945ddd368085f255e68328f2d3b020ceea359af
- wpa_supplicant/wpa_supplicant.c: Change in copyright years as per https://w1.fi/cgit/hostap/commit/wpa_supplicant/wpa_supplicant.c?id=d945ddd368085f255e68328f2d3b020ceea359af

CVE's Fixed:
===========
- CVE-2024-5290 wpa_supplicant: wpa_supplicant loading arbitrary shared objects allowing privilege escalation
- CVE-2023-52160 wpa_supplicant: potential authorization bypass

Changes between 2.10 -> 2.11:
============================
https://w1.fi/cgit/hostap/commit/wpa_supplicant/ChangeLog?id=d945ddd368085f255e68328f2d3b020ceea359af

Note:
=====
Patches
0001-build-Re-enable-options-for-libwpa_client.so-and-wpa.patch,
0002-Fix-removal-of-wpa_passphrase-on-make-clean.patch,
0001-Install-wpa_passphrase-when-not-disabled.patch,
0001-PEAP-client-Update-Phase-2-authentication-requiremen.patch (CVE-2023-52160)
are already fixed and hence removing them.

(From OE-Core rev: 824eb0641dc6001a5e9ad7a685e60c472c9fdce8)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
e4736e17af gnupg: 2.4.5 -> 2.5.0
Fix compile failure with musl

(From OE-Core rev: e7bcd683365961e661c419e79a4bb641069f2a79)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
c4c681cdd7 xmlto: 0.0.28 -> 0.0.29
* Do not tweak var-PV in recipe
* Rename variable BASH to XMLTO_BASH_PATH [1]

[1] https://pagure.io/xmlto/c/5030f081b0e2d94d791b62ee6da0831026cf57e0?branch=master

(From OE-Core rev: 7b603b7c2613993bcad3038af0dfd131a38972d3)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
904c24652b libxslt: 1.1.39 -> 1.1.42
Remove mem-debug option [1]

[1] c65a7c05f9

(From OE-Core rev: 25120a49a4f3175df3e6b73d426f96acd47979fe)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
c1ee5dce8f readline: 8.2 -> 8.2.13
Drop backport patches:
- readline82-001.patch ~ readline82-010.patch

Rebase norpath.patch to 8.2.13

(From OE-Core rev: 14bdb5ee0bf2a8c0aaac6fd625aa6a7d0ea02548)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
1d813b15a6 libxml2: 2.12.8 -> 2.13.3
* Remove Trio and updated Copyright to remove Trio [1]
* Remove --with-fexceptions configuration option [2]

[1] 7d6969d955
[2] e349709ae7

(From OE-Core rev: 786a24228ee0793f43258133c7e5df6acb3e9de2)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
b13f8b4387 man-pages: 6.8 -> 6.9.1
(From OE-Core rev: bff8308849f471a7987e5bf4deef5271d7d16d4d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
hongxu
3983ddabef libgpg-error: 1.49 -> 1.50
* Rebase pkgconfig.patch
* No license change, just update copyright years:
  2001-2023 -> 2001-2024

(From OE-Core rev: 58576504cf178faf4d18f782f5636e298e4f4175)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 22:43:27 +01:00
Enguerrand de Ribaucourt
0a0caacfa5 recipetool: create_npm: reuse license utils
create_npm.py duplicated the logic for matching licenses from files and
also finding them. This patch refactors the code to reuse the license
utils. This will make the code more maintainable and also align both
behaviors. For instance, some licenses weren't matched properly because
the duplicate logic did not support the difference in format in the md5
tables for COMMON_LICENSE_DIR and licenses.csv.

This is also faster since the license files were being read twice.
The result is slightly more accurate since the utils have better
implementations, and I was able to reuse the logic for the root PN
package, as well as the base LICENSE variable.

I chose to extract generate_common_licenses_chksums into create.py
since it can be considered a general utility function to allow
other recipetool creators to refer to COMMON_LICENSE_DIR files.

I updated the wording in the code when appropriate.

v3:
 - added commit
 - this replaces the commit that added all the COMMON_LICENSE_DIR md5
   to licenses.csv

(From OE-Core rev: 7bc18bed63b94689890bcde63402d7cc1cedffa9)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:51:36 +01:00
Enguerrand de Ribaucourt
69bf37a3dd recipetool: create: split guess_license function
The npm recipetool handler redefines the license code the could be
unified. In order to do this refactoring, extract the bits we'll
need into separate functions.

guess_license() is renamed to find_licenses() and is split into
find_license_files() and match_licenses().

(From OE-Core rev: f1ec28feaea8ea6a2df894dd4ddba561c8a04ed2)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:51:36 +01:00
Enguerrand de Ribaucourt
01d17cd5d4 recipetool: create_npm: resolve licenses defined in package.json
Some npm packages do not copy the LICENSE or COPY file into their
git repository. They'll instead simply use SPDX identifiers in their
package.json. A fallback for those repositories attempted to match
the README file to a license file instead, which had a very low
probability of success.

This commit replaces this fallback with parsing the package.json and
looking for the license in COMMON_LICENSE_DIR. If the license is not
found, "Unknown" will still be produced.

This also generates "Unknown" for packages which had no README file,
which could silently not appear in the generated recipe. The user was
more likely to miss them.

Co-authored-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
(From OE-Core rev: 445604cfc4a5813ea635f18053cd1f673bf0b830)

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:51:36 +01:00
Enguerrand de Ribaucourt
1053035cbc npm: accept unspecified versions in package.json
Our current emulation mandates that the package.json contains a version
field. Some packages may not provide it when they are not published to
the registry. The actual `npm pack` would allow such packages, so
should we.

This patch adds a default value to allow building such packages.

This applies for instance to this package which doesn't declare a
version:
 - 23701a555a/package.json (L2)

v3:
 - Split bitbake npmsw.py modification in another commit

Co-authored-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
(From OE-Core rev: 470c4c027c2b8bbecf23aa63650a22a312de9aa6)

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:51:36 +01:00
Enguerrand de Ribaucourt
ec86853a26 bitbake: fetch2/npmsw: allow packages not declaring a registry version
We fetch npm dependencies from the npm-shrinkwrap.json file. They can
point to a package on the NPM registry with a version field, or to a
git/http/file URL with the resolved field. Such packages are allowed not
to declare a registry version field because they may not have been
published to the NPM registry. The previous implementation refuses to
fetch such packages and throws an error.

The resolved field contains the exact source, including the revision,
wich we can use to pass as SRC_URI to the git/http/file fetcher. The
integrity field is also mandatory for HTTP tarballs which will ensure
reproducibility. So even if the version field is not present, we are
still fetching a precise revision of the package.

Another commit published along this stack is also required in the npm
class to support these packages.

v5:
 - improve commit message
v3:
 - Split bitbake npmsw.py modification in another commit

Co-authored-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
(Bitbake rev: 209982b5a3efc8081e65b4326bf9b64eef7f0ba0)

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:48:48 +01:00
Enguerrand de Ribaucourt
524e6b65a6 bitbake: fetch2/npmsw: fix fetching git revisions not on master
The NPM package.json documentation[1] states that git URLs may contain
a commit-ish suffix to specify a specific revision. When running
`npm install`, this revision will be looked for on any branch of the
repository.

The bitbake implementation however translates the URL stored in
package.json into a git URL to be fetch by the bitbake git fetcher. The
bitbake fetcher git.py, enforces the branch to be master by default. If
the revision specified in the package.json is not on the master branch,
the fetch will fail while the package.json is valid.

To fix this, append the ";nobranch=1" suffix to the revision in the git
URL to be fetched. This will make the bitbake git fetcher ignore the
branch and respect the behavior of `npm install``.

This can be tested with the following command:
 $ devtool add --npm-dev https://github.com/seapath/cockpit-cluster-dashboard.git -B version
Which points to a project which has a package.json with a git URL:
```json
  "devDependencies": {
    "cockpit-repo": "git+https://github.com/cockpit-project/cockpit.git#d34cabacb8e5e1e028c7eea3d6e3b606d862b8ac"
  }
```
In this repo, the specified revision is on the "main" branch, which
would fail without this fix.

[1] https://docs.npmjs.com/cli/v10/configuring-npm/package-json#git-urls-as-dependencies

Co-authored-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
(Bitbake rev: 37a35adf7882f231c13643dbf9168497c6a242a1)

Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:48:48 +01:00
Chris Laplante
18b37cc518 bitbake: ui/knotty: respect NO_COLOR & check for tty; rename print_hyperlink => format_hyperlink
(Bitbake rev: 3f6de25a8a4d73dfba864aa6a543c5eafa9b7c7c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:48:48 +01:00
Chris Laplante
ad2365a3df bitbake: ui/knotty: print log paths for failed tasks in summary
When tasks fail, it's very frustrating to have to scroll up to find the
log path(s). Many of us have the muscle memory to navigate to the 'temp'
directories under tmp/work/, but new users do not.

This change enhances the final summary to include log paths (reported
via bb.build.TaskFailed events). Here's an example:

NOTE: Tasks Summary: Attempted 856 tasks of which 853 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
  virtual:native:/home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/x86_64-linux/ncurses-native/6.5/temp/log.do_fetch.1253462
  /home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/core2-64-poky-linux/ncurses/6.5/temp/log.do_fetch.1253466
  virtual:nativesdk:/home/chris/repos/poky/meta/recipes-core/ncurses/ncurses_6.5.bb:do_fetch
    log: /home/chris/repos/poky/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-ncurses/6.5/temp/log.do_fetch.1253467
Summary: There were 3 WARNING messages.
Summary: There were 6 ERROR messages, returning a non-zero exit code.

Each log is rendered as a clickable hyperlink in the terminal. See
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

(Bitbake rev: 2852a478ab03a482989c3a7e247860ab4f0e9f3e)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:48:48 +01:00
Chen Qi
b463c544ae shadow: upgrade from 4.15.1 to 4.16.0
Upgrade shadow from 4.15.1 to 4.16.0.

(From OE-Core rev: 3cbcd040f427ccd0de5f0db35061d378b369b285)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Chen Qi
768acd2df8 util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2
Upgrade util-linux from 2.40.1 to 2.40.2.

0001-Revert-autotools-make-pam-install-path-configurable.patch
is added to solve a problem of lastlog2 pam module not installed
in the expected location.

(From OE-Core rev: 2303f28de507ceb88a012647f70b74e0fad6ec4b)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Ola x Nilsson
4fda9fc667 scons.bbclass: Add scons class prefix to do_configure
While do_compile and do_install already have the scons_ prefix,
do_configure did not.  This was most likely an oversight from when it
was converted from do_configure[noexec] = "1".

(From OE-Core rev: c2213e0393fc589ac0ee1dd6e67ad624eb0a2706)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
731d9b9a5f mesa: set PV from the .inc file and not via filenames
This allows automated updates of the recipe together with mesa-gl
variant, and avoids having to check that update submissions
do include mesa-gl file rename.

(From OE-Core rev: f5cfb3e23603cefb2f3f6bfe776afaedefd10808)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
7a72e8fef2 xz: upgrade 5.4.6 -> 5.6.2
This is the first post-backdoor release.

These are the release notes:
https://github.com/tukaani-project/xz/releases/

There are also backdoor notes:
https://tukaani.org/xz-backdoor/
"I plan to write an article how the backdoor got into the releases and
what can be learned from this." - that'd be most welcome, as it would
be first hand information that sets the record straight.

And there's a commit by commit review of Jia Tan's contributions:
https://tukaani.org/xz-backdoor/review.html

Add an option for landlock sandbox (off by default as it clashes with running under pseudo).

License-Update: public domain bits were relicensed under 0BSD license

(From OE-Core rev: 6446d82a533da091ec2acc613b4cf06951d78ff3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
17522412a2 xkeyboard-config: upgrade 2.41 -> 2.42
(From OE-Core rev: 613f29d45810ebb45a4af06b39e55c85088f2962)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
aa542b5b11 weston: upgrade 13.0.1 -> 13.0.3
(From OE-Core rev: 4dbc0100af07751c054baa2b34e271a7be220db2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
47076b9d38 webkitgtk: upgrade 2.44.1 -> 2.44.3
(From OE-Core rev: 01a2660ff6079233de2573d360f511f99021f8b9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
d856e7a8e8 stress-ng: upgrade 0.17.08 -> 0.18.02
(From OE-Core rev: b054931f8428c625dca4ca5ed2f90f45817e469c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
b68d24e078 sqlite3: upgrade 3.45.3 -> 3.46.1
(From OE-Core rev: 5b6aad7c2ca3bae02a17d3d0321d4d99afe4b8ef)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:38 +01:00
Alexander Kanavin
f1e4ab6d1a python3-webcolors: upgrade 1.13 -> 24.8.0
License-Update: copyright years

(From OE-Core rev: 4e96b886e0e84ecb5f19e73dea444883257da25f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
72e7ca95db python3-uritools: upgrade 4.0.2 -> 4.0.3
License-Update: copyright years

(From OE-Core rev: 807babe5392d3db02b237b17ad5ae773265c26de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
071d0d1b4a python3-dtschema: upgrade 2024.4 -> 2024.5
(From OE-Core rev: 2dfb0dc128a1a3470c8eb43fb684df9e4589e1e7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
52e9399890 puzzles: upgrade to latest revision
(From OE-Core rev: 72a73583dcda414e093c3e8e66bdc373464206ea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
ad36946089 nghttp2: upgrade 1.62.0 -> 1.62.1
(From OE-Core rev: 348d9565c34936ee5a0f8acb710603564969f29b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
ff708ccfa5 mtools: upgrade 4.0.43 -> 4.0.44
(From OE-Core rev: dd8c333576d7ebb8abab3a62b3451439519a0caa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
1a52a90863 mpg123: upgrade 1.32.6 -> 1.32.7
(From OE-Core rev: 5f4c5e86a990bf2b757aa4958eab9bc92285d9ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
a5d812ebbf lua: upgrade 5.4.6 -> 5.4.7
License-Update: copyright years, formatting

(From OE-Core rev: 2f270ce3285c10698c9d62f2f8ee816bcbe18b2d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
ee540c3598 linux-firmware: upgrade 20240513 -> 20240811
License-Update: additional firmwares, new versions

(From OE-Core rev: af10af9563ded2240a952ead513f0758a2624c5b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
755cb97da0 libva: upgrade 2.20.0 -> 2.22.0
(From OE-Core rev: 9e7022acbaa2a21f9a3c320fe68a0c7656c7efbd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
ff6b5626a2 librepo: upgrade 1.17.0 -> 1.18.1
(From OE-Core rev: 75fd640623d9a6ca8ce7bf1b349791e462953184)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
806485e9ca libnl: upgrade 3.9.0 -> 3.10.0
Add a patch to disable a failing test that is proving difficult
to investigate.

(From OE-Core rev: 0dc2dfcacaa99bdb306215d2a5e135038f72d895)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
2676ee824c libedit: upgrade 20240517-3.1 -> 20240808-3.1
history.3 manpage is no longer installed.

(From OE-Core rev: 93a2a1bc48562645ede4ec61f5fd2eb05f54e648)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
5183031e49 libadwaita: upgrade 1.5.2 -> 1.5.3
(From OE-Core rev: 90b3be5563118dd5ab86e13249ad78901c1bccac)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
29d4c12958 kmscube: upgrade to latest revision
(From OE-Core rev: eb5685143fa49444c80ed9e19d7131fa650e3d36)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
58b02e0c3c kmod: upgrade 32 -> 33
Disable manpages, as they require scdoc, which is not currently
available in core (and adjust a related selftest).

Drop 0001-Use-portable-implementation-for-basename-API.patch
as upstream fixed the issue differently.

(From OE-Core rev: f868b75ab22cd528d9add744042f13d475715ef4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
3ac5612fd5 gstreamer1.0: upgrade 1.24.5 -> 1.24.6
(From OE-Core rev: ae1789c37042a86c73cb5a14cb174e4453749383)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
7fad9c4b37 epiphany: upgrade 46.0 -> 46.3
(From OE-Core rev: 921dcb36f98342453c1500ee5e8bba402dd0f521)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
453249e291 e2fsprogs: upgrade 1.47.0 -> 1.47.1
(From OE-Core rev: 4845c854722bc26ae3667a54288d82c043b7e740)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
8119ec9534 dpkg: upgrade 1.22.10 -> 1.22.11
(From OE-Core rev: 591822baa4d0148ef56e2485d039cc807bbc91a8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
9561a1d51e cmake: upgrade 3.30.1 -> 3.30.2
(From OE-Core rev: 5b26b17b1a5c9952e5b4adb9772092323bdddad3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
19fb6a6153 ccache: upgrade 4.10.1 -> 4.10.2
(From OE-Core rev: 371e34b03b94152328ad20362e18e882c11ad9cf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
d1826b22c1 boost: upgrade 1.85.0 -> 1.86.0
(From OE-Core rev: 9ec3b3e91bd4c7b2ce09059424ddb2931a9af442)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
5fc9579940 bash: upgrade 5.2.21 -> 5.2.32
(From OE-Core rev: f70eebdf5b60d0ee7b1bbcdff1135801b2654a08)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Alexander Kanavin
4684382844 sysvinit: take release tarballs from github
Upstream no longer publishes them on savannah, e.g.
release announcement for 3.10:
https://lists.gnu.org/archive/html/sysvinit-devel/2024-07/msg00016.html

There's been several new versions since:
https://github.com/slicer69/sysvinit/releases

(From OE-Core rev: 6cb71eaf3d225de14e62cfc1b76dc8094f8f4aed)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Quentin Schulz
005c9350fb weston-init: fix weston not starting when xwayland is enabled
When xwayland PACKAGECONFIG option is set, xwayland is enabled in
weston.ini. However, if the xwayland module isn't installed, weston will
refuse to start with the following error message:
Failed to load module: /usr/lib/libweston-13/xwayland.so: cannot open shared object file: No such file or directory

Therefore, whenever the xwayland PACKAGECONFIG is set, weston-init
should depend on weston-xwayland to bring this module in.

Fixes: fdbe559c66c9 ("weston.init: enabled xwayland")
(From OE-Core rev: fa2314125318634108452af4e40c9eeee260767c)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Esben Haabendal
54706243e2 mesa: Fix build with etnaviv gallium driver
As of mesa version 24.1.0, the etnaviv gallium driver requires the Python
pycparser module when building.

Without it, build fails with something like:

../mesa-24.1.4/src/etnaviv/hwdb/meson.build:17:2: ERROR: Problem encountered: Python (3.x) pycparser module >= 2.20 required to build mesa.

(From OE-Core rev: bfc6ccd171b1cf5544ef79839fbc94e2c682bfda)

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Jörg Sommer
94fb673dcf ptest-runner: Update 2.4.4 -> 2.4.5
Changelog:

aea9f42 ptest_list_remove: Fix pointer adjustment of prev and next

(From OE-Core rev: f70ec9bcd379b5fc4c85d7479d42789c2e22f4a9)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Niko Mauno
e981b40aa5 util-linux: Add PACKAGECONFIG option to mitigate rootfs remount error
The 2.39 version of util-linux took new file descriptors based mount
kernel API into use. In relation to this change, the upstream release
notes in
https://github.com/util-linux/util-linux/blob/v2.39/Documentation/releases/v2.39-ReleaseNotes#L14-L21
mention that

  This change is very aggressive to libmount code, but hopefully, it does not introduce regressions in traditional mount(8) behavior.

After observing following failure when booting a board using a bit
older 6.1 series kernel together with initramfs rootfs based boot flow

  [FAILED] Failed to start Remount Root and Kernel File Systems.
  See 'systemctl status systemd-remount-fs.service' for details.

closer inspection revealed:

  demoboard ~ # systemctl status -l systemd-remount-fs.service
  x systemd-remount-fs.service - Remount Root and Kernel File Systems
       Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; enabled-runtime; preset: disabled)
       Active: failed (Result: exit-code) since Wed 2024-08-14 14:53:48 UTC; 1min 22s ago
         Docs: man:systemd-remount-fs.service(8)
               https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
      Process: 76 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
     Main PID: 76 (code=exited, status=1/FAILURE)

  Aug 14 14:53:48 demoboard systemd-remount-fs[76]: /usr/bin/mount for / exited with exit status 32.
  Aug 14 14:53:48 demoboard systemd-remount-fs[81]: mount: /: mount point not mounted or bad option.
  Aug 14 14:53:48 demoboard systemd-remount-fs[81]:        dmesg(1) may have more information after failed mount system call.
  Aug 14 14:53:48 demoboard systemd[1]: systemd-remount-fs.service: Main process exited, code=exited, status=1/FAILURE
  Aug 14 14:53:48 demoboard systemd[1]: systemd-remount-fs.service: Failed with result 'exit-code'.
  Aug 14 14:53:48 demoboard systemd[1]: Failed to start Remount Root and Kernel File Systems.

also consequentially, 'systemctl status' reported:

  State: degraded

When issuing 'strace -ff mount -o remount /' the failure occurred at

  mount_setattr(3, "", AT_EMPTY_PATH, {attr_set=MOUNT_ATTR_RDONLY|MOUNT_ATTR_NOATIME|MOUNT_ATTR_NODIRATIME, attr_clr=MOUNT_ATTR_NOSUID|MOUNT_ATTR_NODEV|MOUNT_ATTR_NOEXEC|MOUNT_ATTR_NOATIME|MOUNT_ATTR_STRICTATIME|MOUNT_ATTR_NOSYMFOLLOW|0x40, propagation=0 /* MS_??? */, userns_fd=0}, 32) = -1 EINVAL (Invalid argument)

After further investigation, The issue was pinpointed to lack of Linux
kernel commit
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=95de4ad173ca0e61034f3145d66917970961c210
("fs: relax mount_setattr() permission checks") in the kernel version
that was being used. Above mitigation was discussed in email related to
then-rejected CVE-2024-26821:
https://lore.kernel.org/linux-cve-announce/2024051606-imaging-entrench-b327@gregkh/T/

After testing with qemuarm64 machine different linux-yocto versions,
it was observed that the issue impacts following versions of currently
supported LTS kernels:
 - 6.6.17 (fixed since 6.6.18 i.e. mount_setattr() returns 0)
 - 6.1.78 (fixed since 6.1.79 i.e. mount_setattr() returns 0)
 - 5.15.164 which is currently the newest of 5.15.y series (i.e. no
   known working version)

Taking the above findings into consideration, add a new PACKAGECONFIG
option removing which enables users to opt-out from using the feature
which can cause issues with a bit older kernels. The option is enabled
only for class-target here, since it otherwise causes following error
during util-linux-native's do_configure task on Debian 11 build host
(mountfd_api requirement fails):

   | configure: error: libmount_mountfd_support selected, but required mount FDs based API not available

Versions 5.10.223, 5.4.279 and 4.10.317 were also tested with qemuarm64
but the issue was not reproduced with those versions - using strace
showed that the mount_setattr call associated with the new mount API
problem was not issued with these LTS kernel versions, which seemed to
be confirmed also by following libmount debug message in these cases:

  415: libmount:     HOOK: [0x7fa115e818]: failed to init new API

Note: In addition to the aforementioned, this change was tested also
briefly using the current latest kernel versions 6.1.104, 6.6.45 and
6.10.3 that using the old mount API with newest kernels did not
introduce any observable regression to the boot flow.

(From OE-Core rev: dc086d9a8613143607af3583c72ed892e20b4d66)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-23 09:12:37 +01:00
Jon Mason
001eea1f7d oeqa/runtime/ssh: increase the number of attempts
Under high load, the ssh test is hitting the amount of retries.
Increase it to 20 to avoid this issue.  This would increase the maximum
failure time from 50 seconds (5 * 10) to 100 seconds.

(From OE-Core rev: c796438eec5dd6b4671b798f85506bc89ff402ab)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 16:17:41 +01:00
Lee Chee Yang
9e6030e4a5 migration-guides: add release notes for 5.0.3
(From yocto-docs rev: cf811228d7d25ad7136e24e7c6b9dcd39ca43610)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 13:48:58 +01:00
Peter Kjellerstedt
7d0ac795ba test-manual: Add a missing dot
Correct "oeqa.utils.commandsrunCmd()" to "oeqa.utils.commands.runCmd()".

(From yocto-docs rev: 4ecdfd0000308a71697abc099ed6e37af907051d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 13:48:58 +01:00
Jan Vermaete
49a934e585 ref-manual: added wic.zst to the IMAGE_TYPES
(From yocto-docs rev: da5c0dae1101aae2db15f9f91c980e26c74eb739)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 13:48:58 +01:00
Lee Chee Yang
f2c8b7e31c migration-guide: add release notes for 4.0.20
(From yocto-docs rev: f81623d34a864801075167890d64ee9152ea0c3c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 13:48:58 +01:00
Matthias Pritschet
48c6bc2572 ref-manual: fix typo and move SYSROOT_DIRS example
1. Changed one letter (s/B/A), so the sentence is correct again.
2. Moved example from SYSROOT_DIRS_IGNORE into SYSROOT_DIRS section.

(From yocto-docs rev: 7d762fbad07bf16a0a657169c09a3e402dabbe90)

Signed-off-by: Matthias Pritschet <matthias@pritschet.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-22 13:48:58 +01:00
Siddharth Doshi
94993b0ef4 vim: Upgrade 9.1.0114 -> 9.1.0682
This includes CVE-fix for CVE-2024-41957, CVE-2024-41965 and CVE-2024-43374

Changes between 9.1.0114 -> 9.1.0682
====================================
https://github.com/vim/vim/compare/v9.1.0114...v9.1.0682

Note:
====
Removed patch "vim-add-knob-whether-elf.h-are-checked.patch" as libelf checks are removed from configure.ac as per
commit 1acc67ac44

(From OE-Core rev: 6d2938e53cad5d9bf2e78a5403e9f9fab1db77b4)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
fb5f5cc71a systemd: upgrade 256.4 -> 256.5
(From OE-Core rev: 0c0de2c8ca95ad73940430a7afe43b0219d4dec6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
e15c4ee1e2 xwayland: upgrade 24.1.1 -> 24.1.2
(From OE-Core rev: 932450aebd8910118186fbea1f72aa77e3125743)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
496257ef09 ttyrun: upgrade 2.33.1 -> 2.34.0
Changes of existing tools:
- ap_tools/ap-check: Add support for vfio-ap dynamic configuration
- dbginfo.sh: Update/Add additional DASD data collection
- dumpconf: Add new parameter 'SCP_DATA' for SCSI/NVMe/ECKD dump
  devices
- libutil: Make formatted meta-data configurable
- s390-tools: Replace 'which' with built-in 'command -v'
- zdump/dfi_elf: Support core dumps of vr-kernels

Bug Fixes:
- chzdev: Fix warning about failed ATTR writes by udev
- rust/pv: Try again if first CRL-URI is invalid
- rust/pvattest: Add short option for --arpk
- zdump: Fix 'zgetdump -i' ioctl error on s390 formatted dump file

(From OE-Core rev: c0f57f1210396278a30efa757252c841e86b6ff4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
d6d6fdf294 sysklogd: upgrade 2.6.0 -> 2.6.1
Changelog:
===========
- Read '.conf' files from include directories sorted alphabetically
- Add extra linefeed to wall messages to ensure they are seen
- Issue #87: segfault on 'SIGTERM', regression from v2.6.0

(From OE-Core rev: b3157769234d686c583d193578527a4938f6d316)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
8dabc4b3c6 rpcbind: upgrade 1.2.6 -> 1.2.7
0001-systemd-use-EnvironmentFile.patch
refreshed for 1.2.7

(From OE-Core rev: a6b3254ef229f9e838059bc607bdb51ff6f29966)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
0f105ef27f python3-setuptools: upgrade 72.1.0 -> 72.2.0
Changelog:
- Support for Pathlike objects in data files and extensions
- native support for C++ compilers
- removed unused get_msvcr()

(From OE-Core rev: 8fccef7a731f44e5d27653e06becb54cf770e5e5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
d5f808baab python3-lxml: upgrade 5.2.2 -> 5.3.0
Changelog:
===========
* GH#421: Nested "CDATA" sections are no longer rejected but split on
  output to represent "]]>" correctly.
* LP#2060160: Attribute values serialised differently in "xmlfile.element()"
  and "xmlfile.write()".
* LP#2058177: The ISO-Schematron implementation could fail on unknown prefixes.
* LP#2067707: The "strip_cdata" option in "HTMLParser()" turned out
  to be useless and is now deprecated.
* Binary wheels use the library versions libxml2 2.12.9 and libxslt 1.1.42.
* Windows binary wheels use the library versions libxml2 2.11.8 and libxslt 1.1.39.
* Built with Cython 3.0.11.

(From OE-Core rev: 850831bc33ff6cd50f17c8c45f1e9de6a0cddebb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
d0eeef6cb9 python3-hypothesis: upgrade 6.110.1 -> 6.111.1
Changelog:
==========
-improves shrinking in cases involving 'slips' from one strategy to another.
-reduces the range of :class:'python:datetime.datetime' generated by :
 func:'~hypothesis.extra.django.from_model' in order to avoid
 https://code.djangoproject.com/ticket/35683.

(From OE-Core rev: d92f2fc4a2ee242d12bee37764fdac07446b851d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
684edefb77 python3-babel: upgrade 2.15.0 -> 2.16.0
Changelog:
=========
- CLDR: Upgrade to CLDR 45
- Lists: Support list format fallbacks
- Messages: Initial support for reading mapping configuration as TOML
- CLDR: Do not allow substituting alternates or drafts in derived locales
- Core: Allow falling back to modifier-less locale data
- Core: Allow use of importlib.metadata for finding entrypoints
- Dates: Avoid crashing on importing localtime when TZ is malformed
- Messages: Allow parsing .po files that have an extant but empty Language
  header
- Messages: Fix --ignore-dirs being incorrectly read
- Messages: Make pgettext search plurals when translation is not found
- Replace deprecated ast.Str with ast.Constant
- Test on Python 3.13 beta releases
- Normalize package name to lower-case in setup.py
- Add a mention to the docs that format_skeleton(..., fuzzy=True) may
  raise
- Two hyperlinks (to CLDR) and some typos

(From OE-Core rev: 84a3c529fd41af3c5967ee56b4cbb37e626c8c15)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
5337c1a3e3 pkgconf: upgrade 2.2.0 -> 2.3.0
Changelog:
==========
* Fix compile with Meson on Solaris by defining __EXTENSIONS__.
* Add support for the PKG_CONFIG_RELOCATE_PATHS environmental variable.
  When set, the program will act as if --define-prefix is always
  enabled.
* Color solution nodes that were part of the original query, and use
  that coloring to skip over dependencies when generating DocumentNames
  in bomtool.
* Enhance --env option to support variables with both --variable=varname
  and --print-variables.
* Add --exists-cflags option which creates synthetic preprocessor
  definition flags for every queried dependency when found.
* Document that Requires.private is always used for header paths.
* Fix minor documentation typos.
* Ensure string comparisons using <ctype.h> functions are done with
  unsigned bytes to avoid undefined behavior.
* Fix parsing edge-case bugs with dependency versions.
* Change PKG_PROG_PKG_CONFIG autoconf macro to add a customizable
  failure handler if pkg-config is not found.

(From OE-Core rev: 7c2bc70bd62d05b0d39759a3b67f2f61ad6851c0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
0bb03c5197 libxtst: upgrade 1.2.4 -> 1.2.5
(From OE-Core rev: e3a140d2176c464dbfd966312731e74ad3a7287b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
df60cd1abb libxfont2: upgrade 2.0.6 -> 2.0.7
License-Update: Copyright year updated to 2019.

(From OE-Core rev: 9476c459e361a9aada0f8d86d423817a9a661fb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
9ee01d174d libx11: upgrade 1.8.9 -> 1.8.10
(From OE-Core rev: b2e4608c8152fd8cbf9d6c90a326037712533b5f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
2e79179582 freetype: upgrade 2.13.2 -> 2.13.3
Changelog:
==========
- Some  fields  in  the  'FT_Outline' structure  have been   changed
  from signed  to unsigned type,  which  better reflects  the actual
  usage.
- Rare double-free crashes in the cache subsystem have been fixed.
- Excessive stack allocation in the autohinter has been fixed.
- The B/W  rasterizer has  received a major  upkeep that  results in
  large performance improvements.
- If the new configuration option 'TT_CONFIG_OPTION_GPOS_KERNING' is
  defined,  'FT_Get_Kerning'  understands rudimentary  GPOS  kerning
  (for TrueType fonts  only).
- The internal structures  'PS_DesignMap' and 'PS_Blend' related  to
  parsing of old Multiple Masters fonts  have been removed  from the
  public header file 't1tables.h'.

(From OE-Core rev: 5cedfc50b45a07ee4170997877d1532bfeaf41cb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
ccf38a6bcf ethtool: upgrade 6.9 -> 6.10
avoid_parallel_tests.patch
refreshed for 6.10

Changelog:
==========
* Feature: suport for PoE in PSE (--show-pse and --set-pse)
* Feature: add statistics support to tsinfo (-T)
* Feature: add JSON output to base command (no option)
* Feature: add JSON output to EEE info (--show-eee)
* Fix: qsfp: better handling on page 03h read failure (-m)
* Fix: handle zero arguments for module eeprom dump (-m)
* Fix: check for missing arguments in do_srxfh() (-X)
* Misc: compiler warnings in "make check"
* Misc: more descriptive error when JSON output is not available

(From OE-Core rev: ffcffccfec29c18c1b97394d7d707f4b8dd5362e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
195d8ea2e9 erofs-utils: upgrade 1.7.1 -> 1.8.1
Changelog:
==========
- fix unexpected data truncation of large uncompressed files;
- fix decompression errors when using libdeflate compressor;
- fix an out-of-bound memory read issue with kite-deflate.

(From OE-Core rev: 1e5d364947780c83de4ae23b2fcb0871ad2e9774)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
38ef41edd8 enchant2: upgrade 2.8.1 -> 2.8.2
Changelog:
- fixes a crash when using Hspell to check Hebrew, when the
  application passes characters that cannot be mapped to ISO-8859-8.

(From OE-Core rev: 10327c62e8d630a7cfd023f81e8e2af0d009d840)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
e6fe568f79 dnf: upgrade 4.21.0 -> 4.21.1
0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for 4.21.1

Changelog:
==========
- doc: minor formatting and consistency fixes
- Allow local downloads to same downloaddir
- Fix "console" width on non real terminals (pipe)
- Adds checks for container and bootc hosts
- Update bootc hosts message to point to bootc --help
- tests: Use PGP keys without SHA-

(From OE-Core rev: 94b880c0c612cdc588c88f93774619fa86670852)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
fbaf617f34 diffoscope: upgrade 272 -> 276
Changelog:
=========
* Also catch RuntimeError when importing PyPDF so that PyPDF or,
  crucially, its transitive dependencies do not cause diffoscope to traceback at
  runtime and build time.
* Factor out a method for stripping ANSI escapes.
* Strip ANSI escapes from the output of Procyon.

(From OE-Core rev: 4f111892b3ba5b030697a1192dac59e89ea0f393)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
7a668c5043 createrepo-c: upgrade 1.1.3 -> 1.1.4
(From OE-Core rev: 945c6e18b00000ce323037f93c8edb577d8f1533)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
2ff9d40ccb btrfs-tools: upgrade 6.9.2 -> 6.10.1
0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
refreshed for 6.10.1

Changelog:
==========
* mkfs: rework --rootdir traversal, skip hardlinks and create new
  inodes instead, also warn about them, this did not work as expected and will be
  fixed in the future
* receive: search in older trees for UUIDs when detecting clone sources
* libbtrfsutil: bindings available at https://pypi.org/project/btrfsutil
* libbtrfs:
  * patchlevel version update 0.1.4
  * cleanup in headers, removed unused definitions, no functional changes
  * don't ship list.h and rbtree.h
* other:
  * documentation updates

(From OE-Core rev: abfe3c3f257836e92907efcf252c165703c3a89d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Wang Mingyu
0a1aaa0744 binutils: upgrade 2.43 -> 2.43.1
(From OE-Core rev: e6de2ce7a2e5e0b28288a17282268c9c896f64ba)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-21 21:51:49 +01:00
Peter Kjellerstedt
e1555ba6f2 license_image.bbclass: Rename license-incompatible to license-exception
There is currently both an incompatible-license and a
license-incompatible QA message. This is very confusing.
However, license-incompatible is only used to output a message when a
package is included in an image despite it having a license that is
normally incompatible (by using the INCOMPATIBLE_LICENSE_EXCEPTIONS
variable). To better match how it is used and to distinguish it from
incompatible-license, rename it to license-exception.

(From OE-Core rev: d309eed66f5a4a4bce082536e51207fe65725fab)

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>
2024-08-21 21:51:49 +01:00
Marta Rybczynska
39de8c6549 selftest: add test_product_match
CVECheck.test_product_match tests has_cve_product_match()

(From OE-Core rev: 30ee6edc57ff7629a72606d1005f92d43a5d14f9)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Marta Rybczynska
72dd8c0d56 cve-check-map: add new statuses
Add 'fix-file-included', 'version-not-in-range' and 'version-in-range' generated
by the cve-check.

'fix-file-included' means that a fix file for the CVE has been located.

'version-not-in-range' means that the product version has been found outside of
the vulnerable range.

'version-in-range' means that the product version has been found inside of the
vulnerable range.

(From OE-Core rev: d25f1817752bc8a84c40dcbef75f7559801ce15e)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Marta Rybczynska
3859ff5915 vex.bbclass: add a new class
The "vex" class generates the minimum information that is necessary
for VEX generation by an external CVE checking tool. It is a drop-in
replacement of "cve-check". It uses the same variables from recipes
to make the migration and backporting easier.

The goal of this class is to allow generation of the CVE list of
an image or distribution on-demand, including the latest information
from vulnerability databases. Vulnerability data changes every day,
so a status generated at build becomes out-of-date very soon.

Research done for this work shows that the current VEX formats (CSAF
and OpenVEX) do not provide enough information to generate such
rolling information. Instead, we extract the needed data from recipe
annotations (package names, CPEs, versions, CVE patches applied...)
and store for later use in the format that is an extension of the
CVE-check JSON output format.

This output can be then used (separately or with SPDX of the same
build) by an external tool to generate the vulnerability annotation
and VEX statements in standard formats.

(From OE-Core rev: 6352ad93a72e67d6dfa82e870222518a97c426fa)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Samantha Jalabert
6e742bcb4f cve_check: Update selftest with new status detail
(From OE-Core rev: ea7681ffc15cac970c395daab56ba264ac406cd6)

Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Marta Rybczynska
fb3f440b7d cve-check: annotate CVEs during analysis
Add status information for each CVE under analysis.

Previously the information passed between different function of the
cve-check class included only tables of patched, unpatched, ignored
vulnerabilities and the general status of the recipe.

The VEX work requires more information, and we need to pass them
between different functions, so that it can be enriched as the
analysis progresses. Instead of multiple tables, use a single one
with annotations for each CVE encountered. For example, a patched
CVE will have:

{"abbrev-status": "Patched", "status": "version-not-in-range"}

abbrev-status contains the general status (Patched, Unpatched,
Ignored and Unknown that will be added in the VEX code)
status contains more detailed information that can come from
CVE_STATUS and the analysis.

Additional fields of the annotation include for example the name
of the patch file fixing a given CVE.

We also use the annotation in CVE_STATUS to filter out entries
that do not apply to the given recipe

(From OE-Core rev: 452e605b55ad61c08f4af7089a5a9c576ca28f7d)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Samantha Jalabert <samantha.jalabert@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Marta Rybczynska
ebc8724416 cve-extra-inclusions: encode CPEs of affected packages
Add the new cpe:vendor:product tagging to entries in cve-extra-inclusions, using
product/vendor combinations that are already present in OE-core (usually there
is no specific vendor).

(From OE-Core rev: e1bf43561093b3b9215cde9e9f7d80b4ffcdc64e)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Marta Rybczynska
bf34db1439 cve-check: encode affected product/vendor in CVE_STATUS
CVE_STATUS contains assesment of a given CVE, but until now it didn't have
include the affected vendor/product. In the case of a global system include,
that CVE_STATUS was visible in all recipes.

This patch allows encoding of affected product/vendor to each CVE_STATUS
assessment, also for groups. We can then filter them later and use only
CVEs that correspond to the recipe.

This is going to be used in meta/conf/distro/include/cve-extra-exclusions.inc
and similar places.

(From OE-Core rev: abca80a716e92fc18d3085aba1a15f4bac72379c)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 14:12:40 +01:00
Yi Zhao
326b4303ea libsdl2: upgrade 2.30.5 -> 2.30.6
ChangeLog:
* Improved detection of Nintendo Switch Pro controller report mode
* Fixed a rare crash when a controller is disconnected
* Fixed creating a framebuffer with KMSDRM on some systems

(From OE-Core rev: 23600f9566a2e5272baa258443c9611aa9bd3169)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 11:55:36 +01:00
Martin Jansa
93f194acc1 populate_sdk_base: inherit nopackages
Since this bbclass sets PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't
do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

e.g. meta-toolchain build now fails with:
| DEBUG: Executing shell function buildhistory_list_pkg_files
| find: ".../meta-toolchain/1.0/packages-split/*": No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function buildhistory_emit_pkghistory finished

(From OE-Core rev: 29ac598c4f754ce5cee59d3360612f661ad02191)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 11:55:36 +01:00
Yash Shinde
f0b62cf9a8 rust: Upgrade 1.77.2->1.78.0
* Drop the following backported patches which are merged
with rust v1.78 upgrade.

- 0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch
- repro-issue-fix-with-v175.patch
- deadcode-backport.patch

https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html

(From OE-Core rev: a3fb378afcc1fb01e9813fe902dbd6090ded75d7)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 11:55:36 +01:00
Yash Shinde
c089b5d3a8 rust: Oe-selftest changes for rust v1.78
Add some of the upsupported/failing tests to the exclude list
and ignore the failing unit tests.

(From OE-Core rev: 81bbd6db47f45628ff4be400e1f2fa5b09ccd0bb)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 11:55:36 +01:00
Martin Jansa
b91672c255 meta-world-pkgdata: Inherit nopackages
Since this is a recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

(From OE-Core rev: c94b18885fc4a684d5b403f864c7da2cb8b0d188)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-20 11:55:36 +01:00
Troels Dalsgaard Hoffmeyer
67efcf3102 bitbake: build/exec_task: Log str() instead of repr() for exceptions in build
When getting errors during build, they would be printed using repr(), which
doesnt have a lot of context in some cases.
For example FileNotFoundError(2, "file or directory not found"), would be
printed, without the path of the file not found.
This changes the build logging to use str() instead, which according to
the spec is fore human readable strings, whereas repr() is for string
representations that can be be used as valid python.

(Bitbake rev: 2a97024b8b9245ec47deace011a7560a25491207)

Signed-off-by: Troels Dalsgaard Hoffmeyer <tdah@bang-olufsen.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 15:15:10 +01:00
Trevor Gamblin
96b61275be python3: skip readline limited history tests
Python 3.12.5 is failing a newer ptest for reading/writing limited
history when editline (default) is set in PACKAGECONFIG. Skip it for now
until a proper fix (if any) is determined.

A bug has been opened upstream: https://github.com/python/cpython/issues/123018

(From OE-Core rev: de569ddffd5ea36b70c56df21dec9c892e5dee7d)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:56:05 +01:00
Trevor Gamblin
23d1db2f45 python3: upgrade 3.12.4 -> 3.12.5
Changelog: https://docs.python.org/release/3.12.5/whatsnew/changelog.html

(From OE-Core rev: d9e2ebd6b24b802d1d4cd38b3b910e068c308809)

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>
2024-08-15 14:56:05 +01:00
Jon Mason
93e3ae701a kernel.bbclass: remove unused CMDLINE_CONSOLE
CMDLINE_CONSOLE appears to be a legacy variable that is unused anywhere,
and has not been modified the creation of the git tree.  Remove it and
make life simpler.

(From OE-Core rev: d075b7c8f15488d98f0cda7b59de9dbed2a4f2d1)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Konrad Weihmann
36005ea0b9 python_flit_core: remove python3 dependency
as this is correctly set by setuptools3-base already

(From OE-Core rev: 6c4705d1cc5812ef6d1b17f46899007f1709af17)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
c42b5d5e18 python3-setuptools-rust: upgrade 1.9.0 -> 1.10.1
* Set PYPI_PACKAGE = "setuptools_rust"
* Cleanup SRC_URI as we do not need old tarball link anymore
  and PYPI_SRCURI should be the default.

https://github.com/PyO3/setuptools-rust/compare/v1.9.0...v1.10.1

1.10.1 (2024-08-04)
  * Fixed
    - Fix regression in 1.10.0 where editable builds would be built in
	  release mode

1.10.0 (2024-08-03)
  * Packaging
    - Extend macOS build flags to iOS, tvOS and watchOS. #436
    - Support Python 3.13. #446
  * Changed
    - Add SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON environment variable to use
	  the base interpreter path when running inside a virtual environment to
	  avoid recompilation when switching between virtual environments. #429
    - Delay import of dependencies until use to avoid import errors during a
	  partially complete install when multiple packages are installing at
	  once. #437
    - Deprecate --build-temp argument to build_rust command (it does
	  nothing). #457

(From OE-Core rev: 14c67686cc306a4d5796a933fcb3cd3f27f2a2c9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
1790dcba63 python3-attrs: upgrade 23.2.0 -> 24.2.0
* Drop 0001-test_funcs-skip-test_unknown-for-pytest-8.patch
  fixed upstream in https://github.com/python-attrs/attrs/pull/1249
* Drop 0001-conftest.py-disable-deadline.patch upstream wanted to try
  doubling the deadline time https://github.com/python-attrs/attrs/pull/1252
  from 200 ms default to 400 ms (we saw some times a bit greater than 200 ms)

https://www.attrs.org/en/stable/changelog.html

24.2.0 - 2024-08-06
  * Deprecations
    - Given the amount of warnings raised in the broader ecosystem, we’ve
	  decided to only soft-deprecate the hash argument to @define / @attr.s.
	  Please don’t use it in new code, but we don’t intend to remove it
	  anymore. #1330

  * Changes
    - attrs.converters.pipe() (and its syntactic sugar of passing a list
	  for attrs.field()’s / attr.ib()’s converter argument) works again when
	  passing attrs.setters.convert to on_setattr (which is default for
	  attrs.define). #1328
    - Restored support for PEP 649 / 749-implementing Pythons – currently
	  3.14-dev. #1329

24.1.0 - 2024-08-03
  * Backwards-incompatible Changes
    - attrs.evolve() doesn’t accept the inst argument as a keyword argument
	  anymore. Pass it as the first positional argument instead. #1264
    - attrs.validators.provides() has been removed. The removed code is
	  available as a gist for convenient copy and pasting. #1265
    - All packaging metadata except from __version__ and __version_info__
	  has been removed from the attr and attrs modules (for example,
	  attrs.__url__).
    - Please use importlib.metadata or importlib-metadata instead. #1268
    - The generated __eq__ methods have been sped up significantly by
	  generating a chain of attribute comparisons instead of constructing and
	  comparing tuples. This change arguably makes the behavior more correct,
	  but changes it if an attribute compares equal by identity but not value,
	  like float('nan'). #1310

  * Deprecations
    - The repr_ns argument to attr.s is now deprecated. It was a workaround
	  for nested classes in Python 2 and is pointless in Python 3. #1263
    - The hash argument to @attr.s, @attrs.define, and make_class() is now
	  deprecated in favor of unsafe_hash, as defined by PEP 681. #1323

  * Changes
    - Allow original slotted functools.cached_property classes to be cleaned
	  by garbage collection. Allow super() calls in slotted cached properties.
	  #1221
    - Our type stubs now use modern type notation and are organized such that
	  VS Code’s quick-fix prefers the attrs namespace. #1234
    - Preserve AttributeError raised by properties of slotted classes with
	  functools.cached_properties. #1253
    - It is now possible to wrap a converter into an attrs.Converter and get
	  the current instance and/or the current field definition passed into the
	  converter callable.
    - Note that this is not supported by any type checker, yet. #1267
    - attrs.make_class() now populates the __annotations__ dict of the
	  generated class, so that attrs.resolve_types() can resolve them. #1285
    - Added the attrs.validators.or_() validator. #1303
    - The combination of a __attrs_pre_init__ that takes arguments, a kw-only
	  field, and a default on that field does not crash anymore. #1319
    - attrs.validators.in_() now transforms certain unhashable options to
	  tuples to keep the field hashable.
    - This allows fields that use this validator to be used with, for example,
	  attrs.filters.include(). #1320
    - If a class has an inherited method called __attrs_init_subclass__, it
	  is now called once the class is done assembling.
    - This is a replacement for Python’s __init_subclass__ and useful for
	  registering classes, and similar. #1321

(From OE-Core rev: b8c45e8accdb7d74646fa15b775034eb3dcbdcd1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Mikko Rapeli
101e38a8bd systemd: update from 256 to 256.4
Changes:

566210c272 meson: Bump version to 256.4
16de138427 mkosi: update debian commit reference
b731debea9 hwdb: update to main@{2024-07-24}
a78a524652 add udev rules for trezor hw wallet devices
b825a8be0b core: reliably check if varlink socket has been deserialized
83c9043727 mkosi: Bump device timeout even more
e60d01bdbf man/systemd-repart: extend description and reword some sentences
766af3f782 Document that MemorySwapMax supports % configuration
1922d49fd6 Make vcs-tag do something useful for non-developer mode as well
5b9ad0bbb8 tools/fetch-distro: switch to the target branch
8334be48a3 tools/fetch-distro: only fetch the configured branch
92890d56e8 tools/update-distro-hash: rename, fetch the repository if appropriate
1f079607f8 Merge pull request #33803 from bluca/v256-stable
e05f93b5c4 mkosi: update arch commit reference
c9d39eea98 mkosi: update fedora commit reference
dbeed95d76 mkosi: Use the Fedora Rawhide spec for CentOS
6108f13fc0 mkosi: Switch back to PKG_SUBDIR instead of symlinks
fd2a6ea0a8 zsh/_networkctl: remove duplicated argument for completion (#31926)
995c702a34 import-creds: when we hit ENOENT on SMBIOS 11 do not even debug log
6a3cb4cd11 core/unit: ignore dropins for masked units completely when checking need_reload
f81659f5f3 test: add a reproducer for #33672
7fcfb73d71 shared: log error when execve fail
7da84cc154 test-execute: ExecStop= and friends should not get credentials
8f58652f5e test: override blocking localed policy in TEST-73-LOCALE
d6f8575f1e meson: fix missing failure if bpf-framework was enabled
e274de4b74 zsh: add varlinkctl completions
cae58967a5 docs: Document how to do stable releases
468b064634 man: Mention Type=oneshot timeout directive
d870f2335b l10n: fix credits for the French translation
8aa9e60f89 sd-device: remove debug log message when dirs are missing
86ec58a55c id128: refuse --app-specific= if we're listing GPT types
b60d5bc1b7 gpt: add more architecture aliases
b786185406 kernel-install: Remove existing loader entries and UKIs
e63ae80a89 bootspec: correct log level for fatal errors
3736e21341 bootspec: implement sorting by tries left/done, to match what sd-boot does
18143edf3e boot: compare filename suffixes without case
78fcf31f08 man: some fixes
bcda6d4637 man: fix typo in unit options section
1747350ffd fsck: do not pull down mount units on soft-reboot
a68188e985 man: fix typo in the alias symlink name
15c236806c vmspawn: define default machines for mips targets
fa2b2da146 path: drop IN_ATTRIB from parent directory watches
35e2f62967 Remove extra period at the end of systemd-bsod's unit description. (#33632)
a40eb432cb test: Set priority for TEST-73-LOCALE
172ffeb813 TEST-06-SELINUX: Disable RuntimeBuildSources=
2fd3514456 test: Add missing --no-rebuild to doc
69c9044525 meson: Bump version to 256.3
16b12506a6 core/cgroup: check root cgroup earlier for unit_get_memory_accounting
06c2ee3979 core/cgroup: make unit_has_host_root_cgroup take const Unit*
15732ee31f core: unify reset_accounting handling
50a0a55066 core: do not drop CGroupRuntime when unit stops, but only on GC
b08b5996d3 core/cgroup: use > 0 comparison rather than == 1
ffd90200b2 core/cgroup: actually make use of the cached accounting values
7684f52839 test-install-root: introduce test case for #33411
a42db16a1c shared/install: correctly report changes in install_info_symlink_alias()
bb83650f96 shared/install: propagate all errors in install_info_apply()
908edce5b6 shared/install: drop unneeded initialization
f414ca0ee3 systemctl: do not try to acquire triggering units for template units
67e0d09368 systemctl: skip triggering unit warning if unit vanished
bb71d5dfb4 man/systemctl: --no-reload is honored by mask/unmask/preset too
7122e226c3 logind-dbus: set gc_mode to USER_GC_BY_PIN when disable linger
5d6bf58cf2 logind-user: take gc_mode into account when reporting user state
bcb13a3fa2 test_ukify: do not use files from /boot
88264411b6 test_ukify: use sha384 in the signing tests
8b3bedd821 test_ukify: add instructions
168b788104 terminal-util: don't issue "ESC c" sequence on reset, but only when erasing the screen
5e4464bb64 mkosi: Bump default device timeout a little
0009ed8ee1 meson: Drop version from 256.3 to v256.2
1354f6194c meson: Drop ~devel suffix from systemd-stable version
fe37213c55 Merge pull request #33774 from DaanDeMeyer/mkosi-backport
677126d300 mkosi: Fix indentation
4c25e572a9 mkosi: Fix typo
400222fa1c mkosi: Drop util-linux from centos/fedora packages
dc3543a391 mkosi: Drop udev from Packages= list
82e2a5f47f mkosi: Fix formatting
11f065d3ee mkosi: Build CentOS Stream 10 images by default
c54eab5dd0 mkosi: Streamline running the integration tests without building systemd
3bde2db7a4 meson: Drop genkey target
baad1c0d0e mkosi: Skip sync script if NO_BUILD is enabled
102ed56c61 mkosi: Remove enforcing=0 from default kernel command line
611e82e660 mkosi: Stop setting apparmor=0
fa7892a690 docs: update mkosi version mentioned in HACKING.md (#33723)
ad444842e0 Merge pull request #33735 from DaanDeMeyer/backport-mkosi
a63e82ca4a repart: Allow overriding fstype per partition designator
9d05f2d559 mkosi: List library packages explicitly in VolatilePackages=
4a55046779 mkosi: Build initrd as a subimage
81bafc8dd9 mkosi: Drop CacheOnly=always from two subimages
1be0b1f54b TEST-13-NSPAWN: make sure we don't load libnss_systemd
0b9df91ce2 mkosi: Disable unique debug source names
89904fc10c systemd-networkd-tests: Skip tests requiring dhcpd if it is not available
c3342c3dc7 TEST-55-OOMD: Remove the opensuse user@ dropin
127f8362c1 mkosi: Install binutils
1a995b9d66 TEST-64-UDEV-STORAGE: Use max_ioqpairs instead of num_queues
367ad876a6 mkosi: Use clang --print-runtime-dir
8b859fa29d mkosi: Extend arch build script comment about symlinks
a8a7a6716e test: do not attempt to set xattr on tmpfs
3fc259ae25 mkosi: Add CI for CentOS Stream 10
945013a092 mkosi: Use squashfs for sysext if mkfs.erofs is not available
480f8fa839 mkosi: Make epel repositories optional for CentOS Stream 9
76e14148f6 mkosi: Introduce build image
abc3a61e59 mkosi: update fedora commit reference
748cd5a703 mkosi: Update to latest
6d07d59237 Merge pull request #33691 from DaanDeMeyer/backport-mkosi
180814f22f mkosi: Switch back to code.opensuse.org for opensuse
976a0d998e test: install split-out sshd-session binary if present
ca97b9a7e6 mkosi: update opensuse commit reference
fef4746218 tools/update-distro-hash: Fix path
54eb9b9301 TEST-06-SELINUX: Various fixes
de6c473b40 mkosi: Don't fail if /var/log/journal does not exist
74475a5169 test: Switch to ncat instead of nc
0c51e28088 TEST-55-OOMD: Switch to stress-ng
0c7d634157 docs: Simplify update commands in HACKING.md
5685a59371 mkosi: Update to latest
370bf11ec4 mkosi: Build a sysext if SYSEXT=1 is specified
0bdb879b3c mkosi: Check for configured build directory if WIPE=1
880c32b7e3 mkosi: Install erofs-utils
cd357eb029 Merge pull request #33674 from DaanDeMeyer/backport-mkosi
c350e02631 mkosi: Fix git commit
00bcc619db mkosi: Adapt configuration to take into account configuration rework
3cf12f4f9a mkosi: use apt pinning for locally built debian/ubuntu packages
7ab51fef1f mkosi: Make .autorelabel file empty
0123dbee1b mkosi: Update to latest
32981c454c build(deps): bump actions/checkout from 4.1.6 to 4.1.7
ab11d7e177 mkosi: policykit-1 was renamed to polkitd
8dd54e5adc mkosi: Use the "default" root filesystem for each distribution
d28aa922fd meson: add option to build systemd-executor "statically"
c3b4032fc3 meson: build libsystemd-core via an intermediate static library
9be2fe707e meson: rename libbasic to libbasic_static
fcbafc3ffe Bump meson version to 256.3~devel
c7e144eb4a Finalize v256.2
709655ea0d mkosi: switch debian to ci/v256-stable branch
e8bbe635cd workflows/labeler: do not set labels on stable backport PRs
aa1eb0b066 labeler: match all mkosi files
32f2b9bba6 labeler: remove matches for dropped files (Makefile)
9a2f16e4ed vmm: make sure we can handle smbios objects without variable part
c32f71aa14 README: update requirements for signed dm-verity
abba1e6bc2 sysusers: handle NSS errors gracefully
df1ed3fbe2 man: fully adopt ~/.local/state/
9d40e5c9c6 man: mention that distinction between /usr/lib/ and /usr/share/ is really about shared *ownership*
8dbb7e2a72 man: drop version info from file hiearchy man page
160b539a9d os-util: avoid matching on the wrong extension-release file
0ff6d2cf47 load-fragment: allow MountImages= with paths starting with /dev
cc4472c31e zsh: add run0 completions
d0a9cf084d docs: Update HACKING
a50e6c5709 README: add missing CONFIG_MEMCG kernel config option for oomd
71de25f2df boot: cover for hardware keys on phones/tablets
243276f008 core/manager: invoke special targets on signal only for system manager
efc44e0c3e core/dbus-manager: refuse SoftReboot() for user managers
399e788553 meson: Define __TARGET_ARCH macros required by bpf
a946258e9d coredump: correctly take tmpfs size into account for compression
05dcd242dc docs: update RELEASE.md to use same repository for stable branches
0a97db8789 docs: Add section to HACKING.md on distribution packages
3c91ea49d2 docs/CODING_STYLE: document that we nowadays prefer (const char*) for func ret type
ea92f16422 test: fix TEST-74-AUX-UTILS.ssh.sh on SUSE
f52475dcf3 test: preserve symlink in inst_recursive()
10b7e0a0af test: fix TEST-24-CRYPTSETUP on SUSE
4f7d6885a1 test: install /etc/hosts
e94e33b566 test: split the resolved test suite into separate test cases
4d561a0e08 mkosi: update debian commit reference
05c9bc547b units: add dep on systemd-logind.service by user@.service
d1cd66ca97 repart: add sections to --help text
c2f74defaa     Conditional PSI check to reflect changes done in 5.13
df990be913 core: try again bind mounting if the destination was already created
24987eb3cc mkfs-util: Set sector size for btrfs as well
e34f436433 repart: Don't set filesystem sector size to 512
3c88c94432 repart: Log more about filesystem sector size
86d47d63b0 core/unit: follow merged units before updating SourcePath= timestamp too
9dec66fc5f meson: use less verbose quoting
6c8e99dedd TEST-54-CREDS: Use UEFI firmware if available
78631dcafd TEST-18-FAILUREACTION: Set auto firmware
71fb49d02c TEST-09-REBOOT: Set auto firmware
938f7b6f29 TEST-06-SELINUX: Explicitly pull in autorelabel.service
37412c952d TEST-70-TPM2: Use UEFI firmware if available
7ee60a8614 resolved: correct parsing of OPT extended RCODEs
711f843e3a TEST-45-TIMEDATE: Use syslog identifier journalctl match
6ead24fcac resolved: allow the full TTL to be used by OPT records
dc0167b674 TEST-64-UDEV-STORAGE: Make nvme_subsystem expected pci symlinks more generic
fb747bd8cd LICENSES/README: expand text to summarize state for binaries and libs
ffc8126cc6 test: pull in multi-user.target explicitly
b908f492bc TEST-64-UDEV-STORAGE: Fix python 3.9 compatibility
1c4f25c296 TEST-64-UDEV-STORAGE: Use bus pci slot 1 instead of 0
9663bb7410 TEST-58-REPART: reverse order of diff args
2f455914f7 man/tmpfiles: remove outdated behavior regarding symlink ownership
24dd273402 test-mountpoint-util: add a test for bind mounted symlinks
99cb4bdbbb mountpoint-util: do not assume symlinks are not mountpoints
4437967cab hostnamed: if polkit authentication fails for Varlink Describe() call, don't reply to client with an error
fb7ec285c9 core/exec-invoke: use sched_setattr instead of sched_setscheduler
5911f1ec25 cryptsetup: improve TPM2 blob display
57661f4ea9 util: make file_read() 64bit offset safe
e2fb3dda24 man/capsule@.service: the capsule user is prefixed with "c-" rather than "p_"
2547de4629 man/capsule@.service.xml: fix typo
98928cf0a7 nspawn, vmspawn: honor the new window title switch
9cbb3aadd5 run: add environment variable to prevent the setting of terminal title
81acc5b39a test-execute: add a test case for issue #33299
d008b3fb26 core: do not filter out write() if required in the very late stage
d580b1f850 core: use write() to send handoff timestamp
52eeeb7d3d seccomp-util: split out seccomp_filter_set_add_by_name()
8e775590f1 Fix typo in CAP_BPF description (#33464)
54910267ba test-network: check if static routes not overridden by NDisc routes
4fda6e8f34 network/ndisc: do not remove static routes when received RA with zero lifetime
34bef8dfac network/ndisc: do not override conflicting static routes
0b909bf685 core/exec-invoke: reopen OpenFile= fds with O_NOCTTY
52371fe526 core: verify WorkingDirectory= is outside of API VFS only under mount namespacing
ec5ac3ea53 terminal-util: use colon as separator for specifying color
421ccd7094 man: fix double is typo in systemd-tmpfiles
778034f42e test: skip test-cgroup-id on ENOSYS from cg_cgroupid_open
3174fae67b meson: bpf: propagate 'sysroot' for cross compilation
a6906475be kernel-install: correct the place where it works in man and help text
3e435e970d man/systemd.exec: list inaccessible files for ProtectKernelTunables
90b5cb35e9 Use consistent spelling of systemd.condition_first_boot argument
b6316b8fac login/user-runtime-dir: free ignored sd_bus_error, avoid triggering assertion
71546deef5 login/user-runtime-dir: use STRLEN where appropriate
fbfc88af5e pretty-print: take console glyph width into account when drawing progress bar
058fca7e6c mkosi: add support for TEST_SAVE_JOURNAL to integration test wrapper
50ae476efd semaphore: pin packaging to ci/v256/stable branch
771bb489bf test: skip TEST-69-SHUTDOWN on Debian
69c51768ef meson: Bump version to 256.2~devel
273b5622ac meson: Fix various versions
9150ffc98a src/boot/efi/meson.build: ensure VERSION_TAG exists in case of cross build
1eb122033f mkosi: Build a disk image by default again
84d6fec8f9 meson: Deal with potential stable versions
851f991b1c mkosi: bump to latest commit
3d3bc1d999 mkosi: Switch back to btrfs
ce41fdbfdc mkosi: Install btrfs-progs on CentOS as well
1566c15fe4 mkosi: Enable hyperscale-packages-experimental for CentOS
33ad0ea834 mkosi: Drop leftover systemd-coredump-debuginfo package for opensuse
2286ae91f4 mkosi: Drop s390x console patch from opensuse spec
7404ba69cf mkosi: use new standalone-shutdown package for debian's exitrd
3f0763b5a6 mkosi: update debian commit reference
9d0259e5bc mkosi: bump Debian Salsa commit to latest
87fc64db36 mkosi: install new split-out systemd packages
245d17d8dd mkosi: update arch commit reference
8717dc0dd4 mkosi: switch opensuse to devel branch
6f720b609a mkosi: update fedora commit reference
a09800cd16 mkosi: update fedora commit reference
e3703f4327 mkosi: Install zypper in opensuse images
a7da351f39 mkosi: Fix sync script git command
a39473aac7 mkosi: Clean up old packages from the build directory
2e0af5f6fe mkosi: remove conflicting deb packages from builddir
6a898c35da mkosi: Copy packages to the build directory as well
16ea64e2be mkosi: Make sure we don't hide errors from git merge-base
3f42d88faa mkosi: Install perf
f2c782c043 mkosi: Install pciutils
054fc83a23 mkosi: move variable to the right scope
8abb2e0f55 mkosi: Don't touch the packaging checkout if work is being done
59ab01d32f vmspawn: define QEMU_MACHINE_TYPE for loongarch64
ba28889c65 vmspawn: define QEMU_MACHINE_TYPE for riscv
715d146a3a docs: fix dead link to GNOME documentation
34ba18b012 logs-show: do not use _SOURCE_MONOTONIC_TIMESTAMP field
f8f669fd69 repart: fix memory leak
7b18adadde mkosi: restrict noble-backports to noble builds
08b8237303 tmpfiles: move --purge to command section in --help text where it belongs
e760157389 tmpfiles: insist on at least one configuration file being specified on --purge
90ec026570 tmpfiles: honour --dry-run when removing directories
c26e56d08f install: allow removing symlinks even for units that are gone
a776dcf7af NEWS: fix typo
d89c99c7ad mkosi: bump to latest
b455006ae1 CI: disable secure boot in mkosi GHA runs
4cc6da9a5d test-network: mention that the captive portal option is supported since v2.20
f7d55cc801 core/service: fix accept-socket deserialization
7d65709901 test: use 'auto' instead of 'uefi' for automated fallback
6178aa4bbc test: support TEST_NO_QEMU in mkosi integration wrapper
a36cb5660e test: support TEST_NO_KVM
df1e7d9572 test: drop obsolete comment
51a2e7be5e test: drop unneeded firmware: uefi setting
50b53b8221 test: check the skip condition before installing additional files
9802a28b36 mkosi: install EFI packages only on EFI architectures
21feae324e mkosi: use ports.ubuntu.com for non-x86 backports
9f5f3c2f8b mkosi: enable unprivileged user ns for integration tests
1a0e6961cf man,units: drop "temporary" from description of systemd-tmpfiles
aedeaf7450 man: add a bit of a warning to systemd-tmpfiles --purge
3706b5e8e9 fundamental: declare flex array updated for gcc15 and clang 19
51390a1f41 analyze: show pcrs also in sha384 bank
a61a83a22b CODING_STYLE: document "reterr_" return parameters
2034de6157 shell-completion: only offer devices for completion
4ebcdcb136 NEWS: note that new stable releases will be in the main repo
d316aed5d8 repart: Use CRYPT_ACTIVATE_PRIVATE
4a468387ac test: dump a simple summary at the end of TEST-02-UNITTEST
70f5fb2f7a repart: Use crypt_reencrypt_run() if available
ba031f1fe8 resolved: permit dnssec rrtype questions when we aren't validating
30df42a927 tpm2-setup: Don't fail if we can't access the TPM due to authorization failure
514ef0f93b strbuf: use GREEDY_REALLOC to grow the buffer
a3d94332a2 rules: Limit the number of device units generated for serial ttys
0d573787ea sd-dhcp-server: clear buffer before receive
f2b5c1ff51 hostnamed: don't allow hostnamed to exit on idle if varlink connections are still ongoing
d918804408 man/systemd: reorder content a bit
1c27c902ad Create CNAME

Dropped merged patches:

0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch
0003-meson-bpf-propagate-sysroot-for-cross-compilation.patch

Changed git repo back to systemd main one since that is going to
be used for v256-stable branch and newer releases instead of the
systemd-stable git repo.

(From OE-Core rev: ab6c94006c1e902d63cdd04d978ea3b74fe811b2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Siddharth Doshi
c048a86145 Tiff: Security fix for CVE-2024-7006
Upstream-Status: Backport from [818fb8ce88]

CVE's Fixed:
CVE-2024-7006 libtiff: NULL pointer dereference in tif_dirinfo.c

(From OE-Core rev: 5313b4b233a486e8a1483757ad9c9aed3a213aae)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Alexander Kanavin
16a410cd3d python3-cython: fix upstream check again
(From OE-Core rev: f729b7717ff39347ecc11ace884d6a44d96e2112)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
4a23588322 python3-zipp: upgrade 3.19.2 -> 3.20.0
https://github.com/jaraco/zipp/compare/v3.19.1...v3.20.0

v3.20.0
* Features
  - Made the zipfile compatibility overlay available as zipp.compat.overlay.

v3.19.3
* Bugfixes
  - Also match directories in Path.glob. (#121)

v3.19.2
  - No significant changes.

(From OE-Core rev: 85d86591886d17b507cb9cc76ebfc8d3322aa86a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
a59f1358a4 python3-wheel: upgrade 0.43.0 -> 0.44.0
https://wheel.readthedocs.io/en/stable/news.html

0.44.0 (2024-08-04)
* Canonicalized requirements in METADATA file (PR by Wim Jeantine-Glenn)
* Deprecated the bdist_wheel module, as the code was migrated to setuptools
  itself

(From OE-Core rev: 642d2891c494c2e22553885ec8437c17e98d3171)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
5c6b76aad3 python3-more-itertools: upgrade 10.3.0 -> 10.4.0
v10.4.0
  * What's Changed
    - Issue 854: sample improvements by @bbayles in #855
    - Issue 858: Use chain and starmap in run_length.decode by @bbayles
	  in #861
    - Issue 859: Update totient recipe by @bbayles in #860
    - Distinct permutations of incomparable items by @JamesParrott in #834
    - Clarify seekable.relative_seek behavior by @bbayles in #863
    - Issue 864: Improve _sample_unweighted by @bbayles in #865
    - Use log1p for _sample_unweighted by @bbayles in #868
    - Issue 862: change relative_seek() behaviour by @dkrikun in #866
    - Issue 876: is_sorted clarifications by @bbayles in #877
    - Issue 870: counts parameter for sample by @bbayles in #875
    - Issue 869: Add a steps argument to circular_shifts by @bbayles in #874
    - Issue 871: Add a fast path for sliding_window by @bbayles in #873
    - type annotation of windowed_complete corrected by @m472 in #881
    - [Docs] Fix strictly_n missing the n parameter by @fakuivan in #886
    - Standardize type hints for isinstance's second argument by @jbosboom
	  in #887
    - Issue 883: change type hint by @akisatoon1 in #884
    - Add type overloads for zip_broadcast by @Pandede in #888
    - Issue 889: Optimize triplewise by @bbayles in #891
    - Add option strict to sort_together by @Pandede in #892
    - Updates for version 10.4.0 by @bbayles in #893

(From OE-Core rev: 484401a7608c1467d17f82d8056234bb39e9b0b5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
36d7994e7e python3-cffi: upgrade 1.16.0 -> 1.17.0
https://github.com/python-cffi/cffi/compare/v1.17.0...v1.16.0

https://cffi.readthedocs.io/en/latest/whatsnew.html#v1-17

v1.17
  * In API mode, when you get a function from a C library by writing
  fn = lib.myfunc, you get an object of a special type for performance
  reasons, instead of a <cdata ‘C-function-type’>. Before version 1.17 you
  could only call such objects. You could write ffi.addressof(lib, “myfunc”)
  in order to get a real <cdata> object, based on the idea that in these cases
  in C you’d usually write &myfunc instead of myfunc. In version 1.17, the
  special object lib.myfunc can now be passed in many places where CFFI expects
  a regular <cdata> object. For example, you can now pass it as a callback to a
  C function call, or write it inside a C structure field of the correct
  pointer-to-function type, or use ffi.cast() or ffi.typeof() on it.

(From OE-Core rev: 375e59bfb4d610f89dd04c93f912d5847a5fac4f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
bb6241fcdc python3-alabaster: upgrade 0.7.16 -> 1.0.0
https://alabaster.readthedocs.io/en/latest/changelog.html

1.0.0 – 2024-07-26
  * Dropped support for Python 3.9 and earlier.
  * Dropped support for Sphinx 6.1 and earlier.
  * Use a new SVG image for the GitHub banner.
  * #217 Use the new searchfield component for the search box. Patch by Tim Hoffmann.
  * #104 Allow translating strings in relations.html.
  * #125 Do not underline linked images.
    Patch by Joshua Bronson.
  * #169 Do not ignore the Pygments background colour. Patch by Matthias Geier.
  * #174 Fix clipping caused by incorrect CSS breakpoints.

(From OE-Core rev: 0a23a085ed83994a606a13ada8992ad9c4b935f6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Tim Orling
580935a842 python3-rpds-py: upgrade 0.18.1 -> 0.20.0
https://github.com/crate-py/rpds/compare/v0.20.0...v0.18.1

v0.20.0
  * Implements __hash__ for collections by @FlickerSoul in #81

v0.19.1
  * Make Python versions in GitHub Actions consistent by @rominf in #80

v0.19.0
  * deps: bump libc from 0.2.147 to 0.2.155 by @wxpppp in #74
  * Make Python 3.13 Compatible by @FlickerSoul in #79

(From OE-Core rev: ec08c14aa4b752abd1a41cbee328dcb19056ee7f)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Khem Raj
b21a6211d6 gnupg: Document CVE-2022-3219 and mark wontfix
(From OE-Core rev: f10f9c3a8d2c17d5a6c3f0b00749e5b34a66e090)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-15 14:51:55 +01:00
Bruce Ashfield
033689b4a9 linux-yocto/6.6: fix genericarm64 config warning
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: genericarm64: drop CONFIG_MTD_NAND_FSL_IFC
    Date: Tue, 13 Aug 2024 15:17:10 -0400

    We are getting the following warning in recent 6.6+ kernels:

        WARNING: linux-yocto-6.6.45+git-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration:

        [NOTE]: 'CONFIG_MTD_NAND_FSL_IFC' last val (y) and .config val (n) do not match
        [INFO]: CONFIG_MTD_NAND_FSL_IFC : n
        [INFO]: raw config text:

            config MTD_NAND_FSL_IFC
                    tristate "Freescale IFC NAND controller"
                    depends on (FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST) && HAS_IOMEM && FSL_IFC && MTD_RAW_NAND && MTD
                    help
                      Various Freescale chips e.g P1010, include a NAND Flash machine
                      with built-in hardware ECC capabilities.
                      Enabling this option will enable you to use this to control
                      external NAND devices.

            Config 'MTD_NAND_FSL_IFC' has the following Direct dependencies (MTD_NAND_FSL_IFC=n):
                    FSL_SOC(undefined/n) || ARCH_LAYERSCAPE(=y) || SOC_LS1021A(undefined/n) || COMPILE_TEST(=n) (=y) && HAS_IOMEM(=y) && FSL_IFC(=n) && MTD_RAW_NAND(=y) && MTD(=y)
            Parent dependencies are:
                 SOC_LS1021A [SOC_LS1021A] MTD [y] ARCH_LAYERSCAPE [y] HAS_IOMEM [y] FSL_SOC [FSL_SOC] COMPILE_TEST [n] MTD_RAW_NAND [y] FSL_IFC [n]
        [INFO]: config 'CONFIG_MTD_NAND_FSL_IFC' was set, but it wasn't assignable, check (parent) dependencies

    The most significant missing option that is disabling this config value
    is FSL_SOC, which is only defined in arch/powerpc.

    As such, there's no sense keeping this option in the genericarm64 config
    as it is only enabled via arch/powerpc.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 3809e8255e65c0013bf2012559b825be6c1221d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-14 06:37:52 +01:00
Bruce Ashfield
4b38db9e00 linux-yocto/6.6: update to v6.6.45
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    878fbff41def Linux 6.6.45
    ee3c845787b6 mptcp: prevent BPF accessing lowat from a subflow socket.
    6f2b21806e9a selftests: mptcp: join: check backup support in signal endp
    8213b98e55ce selftests: mptcp: join: validate backup in MPJ
    ffe8c864c89f selftests: mptcp: always close input's FD if opened
    bf39cfc0236f mptcp: fix duplicate data handling
    bd1d1fc4bc61 mptcp: pm: only set request_bkup flag when sending MP_PRIO
    19bf32929bc0 mptcp: fix bad RCVPRUNED mib accounting
    6721cbaa04e5 mptcp: mib: count MPJ with backup flag
    e680e635ed06 mptcp: fix NL PM announced address accounting
    8ed3e34c766e mptcp: distinguish rcv vs sent backup flag in requests
    201b76f62453 mptcp: fix user-space PM announced address accounting
    7e927022495a r8169: don't increment tx_dropped in case of NETDEV_TX_BUSY
    f2b5be33a3b5 net: usb: sr9700: fix uninitialized variable use in sr_mdio_read
    6c0473c9ac50 drm/i915: Fix possible int overflow in skl_ddi_calculate_wrpll()
    a62c98142ca1 drm/virtio: Fix type of dma-fence context variable
    a8943969f9ea drm/vmwgfx: Fix a deadlock in dma buf fence polling
    f5043e69aeb2 Revert "ALSA: firewire-lib: operate for period elapse event in process context"
    5f8a5a1dd269 Revert "ALSA: firewire-lib: obsolete workqueue for period update"
    8dd4a10fdc00 ALSA: seq: ump: Optimize conversions from SysEx to UMP
    79d3823e1f7d ALSA: hda/realtek: Add quirk for Acer Aspire E5-574G
    b4dd36f912f2 ALSA: usb-audio: Correct surround channels in UAC1 channel map
    add243b7f6ce mptcp: sched: check both directions for backup
    da72e783afd2 protect the fetch of ->fd[fd] in do_dup2() from mispredictions
    0caf15bee7b1 btrfs: do not subtract delalloc from avail bytes
    ae29e6f764f6 btrfs: zoned: fix zone_unusable accounting on making block group read-write again
    92566c0fd72b HID: wacom: Modify pen IDs
    b8774d3137e5 platform/chrome: cros_ec_proto: Lock device when updating MKBP version
    5e5a29bd54a2 rust: SHADOW_CALL_STACK is incompatible with Rust
    dd0aaa9ac450 arm64: jump_label: Ensure patched jump_labels are visible to all CPUs
    40208cdbb2a7 riscv: Fix linear mapping checks for non-contiguous memory regions
    917f598209f3 riscv/mm: Add handling for VM_FAULT_SIGSEGV in mm_fault_error()
    fa12277fa218 perf: riscv: Fix selecting counters in legacy mode
    10b26868bfb2 riscv: remove unused functions in traps_misaligned.c
    93e2beae841b ipv6: fix ndisc_is_useropt() handling for PIO
    5635301ed5bc igc: Fix double reset adapter triggered from a single taprio cmd
    82b9a3804a8b net/mlx5e: Add a check for the return value from mlx5_port_set_eth_ptys
    daab2cc17b6b net/mlx5e: Fix CT entry update leaks of modify header context
    db4ba08c2371 net/mlx5e: Require mlx5 tc classifier action support for IPsec prio capability
    98884e89c90d net/mlx5: Fix missing lock on sync reset reload
    f6f846005d2b net/mlx5: Lag, don't use the hardcoded value of the first port
    315d00c7bc92 net/mlx5: Fix error handling in irq_pool_request_irq
    6b6c2ebd83f2 net/mlx5: Always drain health in shutdown callback
    e85b9b6a87be netfilter: iptables: Fix potential null-ptr-deref in ip6table_nat_table_init().
    70014b73d753 netfilter: iptables: Fix null-ptr-deref in iptable_nat_table_init().
    2c2868a76667 ALSA: hda: Conditionally use snooping for AMD HDMI
    2094996159b4 net: phy: micrel: Fix the KSZ9131 MDI-X status issue
    eb2926cad1cf net: mvpp2: Don't re-use loop iterator
    9541f99b2651 drm/i915/hdcp: Fix HDCP2_STREAM_STATUS macro
    01437282fd39 net/iucv: fix use after free in iucv_sock_close()
    9ac083de42b4 ice: add missing WRITE_ONCE when clearing ice_rx_ring::xdp_prog
    ac2a3c759d3a ice: replace synchronize_rcu with synchronize_net
    9016d17f4ff6 ice: don't busy wait for Rx queue disable in ice_qp_dis()
    77292f935d7e ice: respect netif readiness in AF_XDP ZC related ndo's
    582b6c7dd019 i915/perf: Remove code to update PWR_CLK_STATE for gen12
    0db00726578c rtnetlink: Don't ignore IFLA_TARGET_NETNSID when ifname is specified in rtnl_dellink().
    4ea83a051838 net: axienet: start napi before enabling Rx/Tx
    1cfdc250b3d2 tcp: Adjust clamping window for applications specifying SO_RCVBUF
    f9fef23a81db tcp: annotate data-races around tp->window_clamp
    124a4885b55f mptcp: give rcvlowat some love
    ae8853d0a382 Bluetooth: hci_sync: Fix suspending with wrong filter policy
    b0c470d67b7d Bluetooth: btintel: Fail setup on error
    bc7734418c08 ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
    b45cbfa204b2 net: phy: realtek: add support for RTL8366S Gigabit PHY
    fcfb8ceafba4 wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done
    d7cc186d0973 sched: act_ct: take care of padding in struct zones_ht_key
    c98d6c23fbb5 drm/vmwgfx: Trigger a modeset when the screen moves
    b67643bffe2e drm/vmwgfx: Fix overlay when using Screen Targets
    f23cd66933fe drm/nouveau: prime: fix refcount underflow
    1b46b23561d8 perf tool: fix dereferencing NULL al->maps
    0a5ca73babec HID: amd_sfh: Move sensor discovery before HID device initialization
    181f9b56193d ARM: 9406/1: Fix callchain_trace() return value
    f4675c8ee758 MIPS: dts: loongson: Fix ls2k1000-rtc interrupt
    3544efb889c1 MIPS: dts: loongson: Fix liointc IRQ polarity
    fcf20dc29320 MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a
    0bcd599a0f61 perf: imx_perf: fix counter start and config sequence
    c91c8d3830fa dmaengine: fsl-edma: change the memory access from local into remote mode in i.MX 8QM
    417b64e4c823 dmaengine: fsl-edma: clean up unused "fsl,imx8qm-adma" compatible string
    ba20b7f28e54 dmaengine: fsl-edma: add i.MX8ULP edma support
    5f8de773d43c dmaengine: fsl-edma: add address for channel mux register in fsl_edma_chan
    4239571c5db4 f2fs: assign CURSEG_ALL_DATA_ATGC if blkaddr is valid
    f911be1165d6 f2fs: fix to avoid use SSR allocate when do defragment
    00fbc7ba4943 mm/page_alloc: fix pcp->count race between drain_pages_zone() vs __rmqueue_pcplist()
    4abfa277c242 mm: page_alloc: control latency caused by zone PCP draining
    dde5e5343d2b mm: restrict the pcp batch scale factor to avoid too long latency
    340bbe90cc7d fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes
    a168da3182f8 firmware/sysfb: Update screen_info for relocated EFI framebuffers
    f5dce77f3f7d video: Provide screen_info_get_pci_dev() to find screen_info's PCI device
    5b4d995dfdd0 video: Add helpers for decoding screen_info
    bab0a828543a fbdev/vesafb: Replace references to global screen_info by local pointer
    ccab04dc573e PCI: Add pci_get_base_class() helper
    43e73206cf46 KVM: nVMX: Check for pending posted interrupts when looking for nested events
    459403bc66a9 KVM: nVMX: Add a helper to get highest pending from Posted Interrupt vector
    65b2514e0392 KVM: VMX: Move posted interrupt descriptor out of VMX code
    ebfed7bebd9e KVM: VMX: Split off vmx_onhyperv.{ch} from hyperv.{ch}
    93ac74cd6fef leds: triggers: Flush pending brightness before activating trigger
    9ce3c14f0d3c leds: trigger: Call synchronize_rcu() before calling trig->activate()
    587cf9c0f76e leds: trigger: Store brightness set by led_trigger_event()
    73a26eada593 leds: trigger: Remove unused function led_trigger_rename_static()
    e3fd01a81053 cpufreq: qcom-nvmem: fix memory leaks in probe error paths
    51a45209a8bf cpufreq: qcom-nvmem: Simplify driver data allocation
    df7363307ead ext4: check the extent status again before inserting delalloc block
    f12fbb9599e2 ext4: factor out a common helper to query extent map
    c6cba59072c6 ext4: convert to exclusive lock while inserting delalloc extents
    7849e9b5ba87 ext4: refactor ext4_da_map_blocks()
    ffde3af4b29b sysctl: always initialize i_uid/i_gid
    96f1d909cdd7 sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table)
    13886221ad7c sysctl: allow to change limits for posix messages queues
    8d5b1a9ff844 sysctl: allow change system v ipc sysctls inside ipc namespace
    34e788045d0c thermal/drivers/broadcom: Fix race between removal and clock disable
    103881e6363c thermal: bcm2835: Convert to platform remove callback returning void
    0b4e4da51e28 arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB
    a27753e685e5 arm64: dts: qcom: sdm845: switch USB QMP PHY to new style of bindings
    affc4de9451e arm64: dts: qcom: sdm845: switch USB+DP QMP PHY to new style of bindings
    1a0bff67f491 arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB
    cd4f3ad55bfb arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB
    267a485c1573 arm64: dts: qcom: msm8998: switch USB QMP PHY to new style of bindings
    5bf33793d18a arm64: dts: qcom: sc7280: Disable SuperSpeed instances in park mode
    f879a830862f arm64: dts: qcom: sc7280: switch USB+DP QMP PHY to new style of bindings
    fde04340358d arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode
    2359355ddfaf arm64: dts: qcom: sc7180: switch USB+DP QMP PHY to new style of bindings
    43ea1c5e6eb3 lib/build_OID_registry: take -stable reproducibility changes
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 00878005c6a398db70efc29b46424d9b8233024c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-14 06:37:52 +01:00
Bruce Ashfield
6dea2e6332 poky/poky-tiny: bump preferred version to 6.10
Make 6.10 the preferred kernel for these two distro
configurations. We leave -altcfg on 6.6 for LTS kernel
coverage and testing.

(From meta-yocto rev: 05c15cea09dc398ab0f027e738cdb3efa932c137)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:48:08 +01:00
Richard Purdie
997b11a5a1 bitbake: build: Ensure addtask before/after tasknames have prefix applied
"addtask do_XXX before YYY after ZZZ "

where YYY or ZZZ is missing the "do_" prefix don't work as expected. Ajust the
code so that it doesn't just silently do the wrong thing but works as expected.

Expand a test case to cover this.

(Bitbake rev: 21670b9bb8936ec44aedff26163948bbc2ceb44a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:47:55 +01:00
Richard Purdie
5226f46342 bitbake: BBHandler/ast: Improve addtask handling
The recent addtask improvement to handle comments complicated the regex significantly
and there are already a number of corner cases in that code which aren't handled well.

Instead of trying to complicate the regex further, switch to code logic instead. This
means the following cases are now handled:

* addtask with multiple task names
* addtask with multiple before constraints
* addtask with multiple after constraints

The testcase is updated to match the improvements.

(Bitbake rev: 417016b83c21fca7616b2ee768d5d08e1edd1e06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:47:55 +01:00
Richard Purdie
36f98fc1f2 bitbake: cookerdata: Separate out data_hash and hook to tinfoil
Within tinfoil, the user can write to the configuration data but it won't
cause the data_hash checksum to be re-written, meaning cached parsing
data can be reused when it would now be incorrect.

Abstract out the data_hash code and add it to the invalidateCaches
command, called by tinfoil.modified_files() meaning that tinfoil can
instruct bitbake to update the caches and re-parse if necessary.

Also move the data_hash entirely into databuilder and drop the copy
in cooker as obsolete and not needed.

(Bitbake rev: d9ee77829f693ce75348fa64f406fcecfe4989aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:47:55 +01:00
Richard Purdie
4eedb58a28 bitbake: cache: Drop unused function
I can't spot any users of this function and it is poking at variables
inside cooker that could and are about to change so drop it.

(Bitbake rev: 52491808706e9e58b5e6b59d2d792353d77c8b66)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:47:55 +01:00
Richard Purdie
60cba6a073 bitbake: BBHandler: Handle comments in addtask/deltask
Technically our syntax would allow for comments after an addtask/deltask.
Currently these get silently processed in various ways by the code which
is bad.

Tweak the regex to drop any comments and add test cases to ensure this
continues to work in the future.

[YOCTO #15250]

(Bitbake rev: 64f8796e55a8826ffec0d76b993c8256713f67a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 15:47:55 +01:00
Alexis Lothoré
292e17315e oeqa/postactions: do not uncompress retrieved archive on host
Current postaction module executes a remote tar command, pipe it in a SSH
connection, and uncompress the raw stream with another tar command. With
this command, the whole artifacts tree is directly available on the host
executing the test, but it is not very convenient if we want to download
the whole retrieved ptests directory.

Stop uncompressing the retrieved ptests archive onto host, just save the
archive as it is. The new output then looks like the following:

tmp/log/oeqa-artefacts
└── oeqa-target-artefacts-20240812-juzqdb80
    ├── host_disk_usage.txt
    ├── target_disk_usage.txt
    └── tests_artifacts.tar.gz

Suggested-By: Alexandre Belloni <alexandre.belloni@bootlin.com>
(From OE-Core rev: f90894d996c8a8f980e46c87b7968b176793b3fe)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Alexis Lothoré
3ce0e9b058 oeqa/postactions: fix exception handling
The current exception handler in list_and_fetch_failed_tests_artifacts
expects a non-exisiting variable and then fail to display the original
exception message since it raises a new one. The issue has been introduced
with commit 6e80b2ab66 ("oeqa/utils/postactions: transfer whole archive
over ssh instead of doing individual copies"). Now that tests artifacts are
now handled individually, there's no point of trying to print individual
names in the exception.

(From OE-Core rev: a50e72bb64fb8b0d14c23164eaeeabd9c271ac19)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Niko Mauno
b91f205d41 image_types.bbclass: Use --force also with lz4,lzop
Several conversion commands already make use of 'force' option in the
compression, which enables overwriting existing files without
prompting.

Since occasionally an existing residual destination file from a
previously aborted or failed task can prevent the re-execution of the
conversion command task, by enabling the 'force' option also for lz4
and lzop compression commands we can avoid following kind of BitBake
failures with these compressors:

  | DEBUG: Executing shell function do_image_cpio
  | 117685 blocks
  | 2 blocks
  | example-image.cpio.lz4 already exists; do you want to overwrite (y/N) ?     not overwritten
  | Error 20 : example-image.cpio : open file error
  | WARNING: exit code 20 from a shell command.
  ERROR: Task (.../recipes-core/images/example-image.bb:do_image_cpio) failed with exit code '1'

(From OE-Core rev: 623ab22434909f10aaf613cd3032cc2a2c6e3ff9)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Alexander Kanavin
2c94076463 python3-babel: drop custom PYPI settings
Upstream simply redirects Babel to babel nowadays. This
also fixes upstream version check.

(From OE-Core rev: 2ae3f53800c97a8f8d74eb30528c4c1ba76d529e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Chen Qi
bff68f30f2 json-c: use upstream texts for SUMMARY and DESCRIPTION
Change SUMMARY and DESCRIPTION according to json-c's homepage
https://github.com/json-c/json-c/wiki.

(From OE-Core rev: b5b203457fdb6825abc7c430876bd5b7c8b3f882)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Changqing Li
5f6fe37144 apt-native: don't let dpkg overwrite files by default
With --force-overwrite (implied by --force-all), dpkg will not abort
when a package overwrites files from different packages. As this can
also lead to "The following package disappeared from your system as
all files have been overwritten by other packages: <package>" and
subsequently broken dependencies, this makes the simple case of
conflicting files hard to debug.

Instead of finding all possibly required force options, only disable
overwrite for now.

(From OE-Core rev: 30cc69f094729e3d11dc6021daf77f5038c4de61)

(From OE-Core rev: cb95ba079960411775c57ab864d266e15a6292d1)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Take back from https://git.openembedded.org/openembedded-core/commit/?id=4292387ef6c4e80428bad6a07c844a288b27d9a1
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Richard Purdie
6f0a78e04b bitbake.conf: Include cve-check-map earlier, before distro
It makes sense for the distro to be able to override "policy" from cve-check-map
which is intented to provide defaults. Tweak the ordering to allow for this,
ensuring it is included before the distro includes.

(From OE-Core rev: fb22a7e7ee38a0e923e86a68d0e9b86d479f264d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Trevor Gamblin
17057fee50 python3-cython: upgrade 3.0.10 -> 3.0.11
The upstream package changed from uppercase to lowercase in "Cython", so
adjust PYPI_PACKAGE and the sed call in cython_fix_sources to match.

Changelog (https://github.com/cython/cython/releases/tag/3.0.11-1):

Features added
--------------

* The C++11 ``emplace*`` methods were added to ``libcpp.deque``.
  Patch by Somin An.  (Github issue :issue:`6159`)

Bugs fixed
----------

* The exception check value of functions declared in pxd files was not always applied in 3.0.10.
  (Github issue :issue:`6122`)

* A crash on exception deallocations was fixed.
  (Github issue :issue:`6022`)

* A crash was fixed when assigning a zero-length slice to a memoryview.
  Patch by Michael Man.  (Github issue :issue:`6227`)

* ``libcpp.optional.value()`` could crash if it raised a C++ exception.
  Patch by Alexander Condello.  (Github issue :issue:`6190`)

* The return type of ``str()`` was mishandled, leading to crashes with ``language_level=3``.
  (Github issue :issue:`6166`)

* ``bytes.startswith/endswith()`` failed for non-bytes substrings (e.g. ``bytearray``).
  (Github issue :issue:`6168`)

* Fused ctuples crashed Cython.
  (Github issue :issue:`6068`)

* A compiler crash was fixed when using extension types in fused types.
  (Github issue :issue:`6204`)

* The module cleanup code was incorrect for globally defined memory view slices.
  (Github issue :issue:`6276`)

* Some adaptations were made to enable compilation in Python 3.13.
  (Github issues :issue:`5997`, :issue:`6182`, :issue:`6251`)

(From OE-Core rev: a505dfa0489de57bc07ffec2b7fa8c5486013393)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Trevor Gamblin
71b650ecf4 python3-hypothesis: upgrade 6.108.10 -> 6.110.1
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.110.1 - 2024-08-08
  - Add better error message for ~python:typing.TypeIs types in from_type().

6.110.0 - 2024-08-07
  - Support LiteralString in from_type().

6.109.1 - 2024-08-07
  - This patch makes progress towards adding type hints to our internal conjecture engine (issue #3074).

6.109.0 - 2024-08-07
  - This release allows using Annotated and ReadOnly types for TypedDict value types with from_type().

(From OE-Core rev: 20432c7463ff6daab3ea8fc8ceea9c6e7916209c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Trevor Gamblin
0aac243aec python3-setuptools: upgrade 71.1.0 -> 72.1.0
Changelog (https://github.com/pypa/setuptools/blob/main/NEWS.rst#v7210):

Features
  - Restore the tests command and deprecate access to the module. (#4519) (#4520)

(From OE-Core rev: 8760d37e4b6275016a8dcdabc04dfb85185649b7)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Bruce Ashfield
68e102c3a6 linux-yocto/6.6: update to v6.6.44
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    43ea1c5e6eb3c lib/build_OID_registry: take -stable reproducibility changes
    7213910600667 Linux 6.6.44
    acbd66c10d7bc fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT
    77848b379e9f8 nvme-pci: add missing condition check for existence of mapped data
    766b0e807e1d5 io_uring: fix io_match_task must_hold
    b62841e49a2b7 iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
    97dfb89415fd7 s390/cpum_cf: Fix endless loop in CF_DIAG event stop
    b4d781ddaee39 s390/pci: Allow allocation of more than 1 MSI interrupt
    3eab85f45ff12 s390/pci: Refactor arch_setup_msi_irqs()
    da0a3ebf9a96f ceph: fix incorrect kmalloc size of pagevec mempool
    6d98741dbd130 ASoC: TAS2781: Fix tasdev_load_calibrated_data()
    be6d86df474df ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
    af1125de16725 spi: spidev: add correct compatible for Rohm BH2228FV
    6443a4028539c ASoC: sof: amd: fix for firmware reload failure in Vangogh platform
    8772be96705a9 nvme-pci: Fix the instructions for disabling power management
    3feda3677e8bb spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
    783f42b77d33d spi: microchip-core: fix init function not setting the master and motorola modes
    0b0b75928852d spi: microchip-core: switch to use modern name
    c41d2178d61b9 spi: microchip-core: only disable SPI controller when register value change requires it
    1dc6d9fd4828f spi: microchip-core: defer asserting chip select until just before write to TX FIFO
    11e0f3c888b2e spi: microchip-core: fix the issues in the isr
    0e51f66977e33 ASoC: SOF: imx8m: Fix DSP control regmap retrieval
    64dc362dee403 auxdisplay: ht16k33: Drop reference after LED registration
    f4c6ebb053cc9 lirc: rc_dev_get_from_fd(): fix file leak
    4f79a18af9d6e powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
    6c920754f62ce apparmor: Fix null pointer deref when receiving skb during sock creation
    ddc79556641ee mISDN: Fix a use after free in hfcmulti_tx()
    c3496314c53e7 bpf: Fix a segment issue when downgrading gso_size
    7704460acd7f5 net: nexthop: Initialize all fields in dumped nexthops
    4384135d22174 net: stmmac: Correct byte order of perfect_match
    76ddf84a52f0d tipc: Return non-zero value from tipc_udp_addr2str() on error
    5c82010cef30c netfilter: nft_set_pipapo_avx2: disable softinterrupts
    b6426eabb4f71 ice: Fix recipe read procedure
    d9f01090912b4 net: bonding: correctly annotate RCU in bond_should_notify_peers()
    42f493bd6cb8f ipv4: Fix incorrect source address in Record Route option
    1f07fab9e0864 MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
    9c79502ab7eb1 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    ba709e7807f78 bpf, events: Use prog to emit ksymbol event for main program
    1fe97f68fce1b dma: fix call order in dmam_free_coherent
    772f9c31bfde0 af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash
    297a14fde2d3d libbpf: Fix no-args func prototype BTF dumping syntax
    390c17cab13b5 selftests/bpf: fexit_sleep: Fix stack allocation for arm64
    019167c74117d kbuild: avoid build error when single DTB is turned into composite DTB
    fbcd51e0d977a f2fs: fix to update user block counts in block_operations()
    8aeab1af9d9bf watchdog: rzg2l_wdt: Check return status of pm_runtime_put()
    fb45265610cc7 watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()
    abde880b7920b f2fs: fix start segno of large section
    0aa0284818d2c um: time-travel: fix signal blocking race/hang
    f66d436204e9f um: time-travel: fix time-travel-start option
    7eaa06967b0fe phy: zynqmp: Enable reference clock correctly
    1cffbf30f865a phy: cadence-torrent: Check return value on register read
    0d820e1ca8efe dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
    ff14eadc27866 jfs: Fix array-index-out-of-bounds in diFree
    9e58df60f6ceb kdb: Use the passed prompt in kdb_position_cursor()
    7b01bf24f391c kdb: address -Wformat-security warnings
    f44a25a8bfe0c f2fs: fix to truncate preallocated blocks in f2fs_file_open()
    73a9260b7366d s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()
    2cc8973bdc4d6 PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal
    9b6742dcdc597 PCI: Introduce cleanup helpers for device reference counts and locks
    86e7bdc50bc6a wifi: mac80211: track capability/opmode NSS separately
    4211d065ef5cd mm/mglru: fix ineffective protection calculation
    be56dfc9be060 nilfs2: handle inconsistent state in nilfs_btnode_create_block()
    6c0cf6022aeec minmax: scsi: fix mis-use of 'clamp()' in sr.c
    34e4dfe838f7a Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591
    499ca9ddd4e4f Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables
    3f83f52ae0822 video: logo: Drop full path of the input filename in generated file
    32c3c30a97f93 lib/build_OID_registry: don't mention the full path of the script in output
    7ca762dcf1fca rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
    36913dedee7d0 rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
    1901f1cf7c2c3 drm/panfrost: Mark simple_ondemand governor as softdep
    92d3ca3f465c8 drm/etnaviv: don't block scheduler when GPU is still active
    cf9b29f2d42cc MIPS: Loongson64: Test register availability before use
    6c695c3ce76ae MIPS: Loongson64: reset: Prioritise firmware service
    690d62d1ebb92 MIPS: Loongson64: Remove memory node for builtin-dtb
    f7097b5fda08d MIPS: Loongson64: env: Hook up Loongsson-2K
    27479037e8c44 MIPS: dts: loongson: Fix GMAC phy node
    97f099862aa4c MIPS: ip30: ip30-console: Add missing include
    f29119b301d59 MIPS: dts: loongson: Add ISA node
    2de4d41862944 remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
    6c9ea3547fad2 remoteproc: imx_rproc: Skip over memory region when node value is NULL
    83ada7dfaf400 remoteproc: stm32_rproc: Fix mailbox interrupts queuing
    9a2acb02c1eca rbd: don't assume rbd_is_lock_owner() for exclusive mappings
    dcb5620d2dedf dm-verity: fix dm_is_verity_target() when dm-verity is builtin
    47e85f7121255 selftests/sigaltstack: Fix ppc64 GCC build
    ff5bbbdee0828 RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
    aa9ccec6e215b platform: mips: cpu_hwmon: Disable driver on unsupported hardware
    bbaeff660657c watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
    0cff6d4953091 rtc: abx80x: Fix return value of nvmem callback on read
    625fd91308467 rtc: isl1208: Fix return value of nvmem callbacks
    12880cc086dee drm/i915/dp: Don't switch the LTTPR mode on an active link
    a90e900f71da2 drm/i915/dp: Reset intel_dp->link_trained before retraining the link
    e150f0171c0c0 drm/amd/amdgpu: Fix uninitialized variable warnings
    3237905352379 drm/amdgpu: reset vm state machine after gpu reset(vram lost)
    e290feb8b749a drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
    b29c910cfa242 drm/udl: Remove DRM_CONNECTOR_POLL_HPD
    9d74e50098492 drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
    05c0fb20ca3e0 drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
    899857dd71e34 perf/x86/intel/pt: Fix a topa_entry base address calculation
    8f5f3db3fa484 perf/x86/intel/pt: Fix topa_entry base length
    344bb09f4f991 perf/x86/intel/ds: Fix non 0 retire latency on Raptorlake
    76d4ab96bb235 perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
    7d049cd1345c0 perf stat: Fix the hard-coded metrics calculation on the hybrid
    104e258a00403 perf: Fix event leak upon exec and file release
    05d3fd599594a perf: Fix event leak upon exit
    f6be298cc1042 scsi: qla2xxx: validate nvme_local_port correctly
    314efe3f87949 scsi: qla2xxx: Complete command early within lock
    bf192b8be12ca scsi: qla2xxx: Fix flash read failure
    3f43a7da1ef05 scsi: qla2xxx: Reduce fabric scan duplicate code
    56c0f66f86232 scsi: qla2xxx: Use QP lock to search for bsg
    571d7f2a08836 scsi: qla2xxx: Fix for possible memory corruption
    bc78c3f944dc1 scsi: qla2xxx: Unable to act on RSCN for port online
    87c25fcb95aaf scsi: qla2xxx: During vport delete send async logout explicitly
    45230f31f5529 scsi: lpfc: Allow DEVICE_RECOVERY mode after RSCN receipt if in PRLI_ISSUE state
    13749b8d498e7 rtc: cmos: Fix return value of nvmem callbacks
    ab14e199b91ca mm/numa_balancing: teach mpol_to_str about the balancing mode
    21bd3f9e7f924 irqchip/imx-irqsteer: Handle runtime power management correctly
    8b0e8b33dc2ff irqdomain: Fixed unbalanced fwnode get and put
    b67552d7c61f5 devres: Fix memory leakage caused by driver API devm_free_percpu()
    7a76022d53553 devres: Fix devm_krealloc() wasting memory
    d62389073a5b9 ice: Add a per-VF limit on number of FDIR filters
    d77250329dbb7 gve: Fix an edge case for TSO skb validity check
    57fe01d3d0427 kobject_uevent: Fix OOB access within zap_modalias_env()
    f7150b2d5ec34 ASoC: amd: yc: Support mic on Lenovo Thinkpad E16 Gen 2
    414f5028f149a ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare
    70a9f00de77f3 kbuild: Fix '-S -c' in x86 stack protector scripts
    75243c9b18f3a decompress_bunzip2: fix rare decompression failure
    460016444ab25 mm: fix old/young bit handling in the faulting path
    5a5625a83eac9 block: fix deadlock between sd_remove & sd_release
    3aba1db19b380 ubi: eba: properly rollback inside self_check_eba
    17c312eb11597 clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
    b82d43000b8f3 f2fs: use meta inode for GC of COW file
    271fda62e8601 f2fs: use meta inode for GC of atomic file
    077f0e24b27c4 f2fs: fix return value of f2fs_convert_inline_inode()
    e62ff092a42f4 f2fs: fix to don't dirty inode for readonly filesystem
    1789db628bc50 f2fs: fix to force buffered IO on inline_data inode
    b4205dfcfe961 ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
    5a33c922b2ad4 scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
    2cac0df3324b5 fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
    f17cbe5545852 efi/libstub: Zero initialize heap allocated struct screen_info
    ea4f77946226d hostfs: fix dev_t handling
    b579ea3516c37 dev/parport: fix the array out-of-bounds risk
    a1d85fc6bd250 binder: fix hang of unregistered readers
    e22b88f234a1f PCI: loongson: Enable MSI in LS7A Root Complex
    a5b1cce14a49f PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
    a30211c670489 PCI: dw-rockchip: Fix initial PERST# GPIO value
    09b15029a393d PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
    23837335c3c11 parisc: Fix warning at drivers/pci/msi/msi.h:121
    e91173e375f75 hwrng: amd - Convert PCIBIOS_* return codes to errnos
    8d70d6114610a tools/memory-model: Fix bug in lock.cat
    fe3a28bfeb54b ALSA: usb-audio: Add a quirk for Sonix HD USB Camera
    3e81a7a91307f ALSA: usb-audio: Move HD Webcam quirk to the right place
    923d326f3c515 ALSA: usb-audio: Fix microphone sound on HD webcam.
    689e0780b2290 ALSA: ump: Force 1 Group for MIDI1 FBs
    ad4ab148a50f3 ALSA: ump: Don't update FB name for static blocks
    647cbf2ac6ef0 KVM: nVMX: Request immediate exit iff pending nested event needs injection
    e06f46fdf039c KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()
    5d104a5e99642 media: ivsc: csi: don't count privacy on as error
    b57b5c89d88ed media: uvcvideo: Fix integer overflow calculating timestamp
    82b85a747abe0 jbd2: avoid infinite transaction commit loop
    b81c3758c1df0 jbd2: precompute number of transaction descriptor blocks
    7a8532b537ca0 jbd2: make jbd2_journal_get_max_txn_bufs() internal
    358bc85269d6a media: imx-pxp: Fix ERR_PTR dereference in pxp_probe()
    787b7348ad349 media: ivsc: csi: add separate lock for v4l2 control handler
    04a4668b087a5 leds: mt6360: Fix memory leak in mt6360_init_isnk_properties()
    655cc01889fa9 md/md-bitmap: fix writing non bitmap pages
    f67774b763de8 leds: ss4200: Convert PCIBIOS_* return codes to errnos
    e44eb9d83dcd7 drivers: soc: xilinx: check return status of get_api_version()
    4b060d11633d5 wifi: rtw88: usb: Fix disconnection after beacon loss
    c755c01b3f12f wifi: mwifiex: Fix interface type change
    27be7ff9ffb4a selftests/landlock: Add cred_transfer test
    6a74f52aabb11 trace/pid_list: Change gfp flags in pid_list_fill_irq()
    f1fd860bb2086 io_uring: tighten task exit cancellations
    c3893d9de8ee1 ext4: make sure the first directory block is not a hole
    9d241b7a39af1 ext4: check dot and dotdot of dx_root before making dir indexed
    8d04ddba51f9e m68k: amiga: Turn off Warp1260 interrupts during boot
    57053b3bcf340 udf: Avoid using corrupted block bitmap buffer
    d3ea49fb4a661 task_work: Introduce task_work_cancel() again
    0475bba01abcf task_work: s/task_work_cancel()/task_work_cancel_func()/
    f2d6c5b8ef116 cifs: mount with "unix" mount option for SMB1 incorrectly handled
    31553d20b4220 cifs: fix reconnect with SMB1 UNIX Extensions
    160235efb4f9b cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
    691aada75653d apparmor: use kvfree_sensitive to free data->data
    4ccd37085976e drm/amd/display: Check for NULL pointer
    bf0ac89faf642 scsi: qla2xxx: Fix optrom version displayed in FDMI
    46d2ef2729578 drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
    2d209b2f862f6 drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
    8d01e63faac11 io_uring/io-wq: limit retrying worker initialisation
    8a31e8ff48096 ext2: Verify bitmap and itable block numbers before using them
    9c4e40b9b7312 hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
    2c59cc6147808 ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
    ce477199c53e3 ata: libata-scsi: Do not overwrite valid sense data when CK_COND=1
    66fa52edd32cd media: venus: fix use after free in vdec_close
    2b1aec0e6c1b9 char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
    5a7c16a8b393b ata: libata-scsi: Fix offsets for the fixed format sense data
    fcebdc0d49d27 fuse: verify {g,u}id mount options correctly
    7ca529748b2df sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
    b047898a9f4b6 NFSD: Support write delegations in LAYOUTGET
    46cb65e5b19ab ipv6: take care of scope when choosing the src addr
    0aa47c27f8a2a ipv4: fix source address selection with route leak
    5c07084001e15 kernel: rerun task_work while freezing in get_signal()
    c205565e0f2f4 btrfs: fix extent map use-after-free when adding pages to compressed bio
    5a041d25b6704 af_packet: Handle outgoing VLAN packets without hardware offloading
    9e541c2d60baa net: netconsole: Disable target before netpoll cleanup
    3a58c590f6bd1 tick/broadcast: Make takeover of broadcast hrtimer reliable
    a0495607c1f6f dt-bindings: thermal: correct thermal zone node name limit
    a7ac198f8dba7 exfat: fix potential deadlock on __exfat_get_dentry_set
    d849da88f7dad x86/efistub: Revert to heap allocated boot_params for PE entrypoint
    c12db5aa54152 x86/efistub: Avoid returning EFI_SUCCESS on error
    3e1e4763618d7 mm/mglru: fix overshooting shrinker memory
    0038abf9ddec9 mm: mmap_lock: replace get_memcg_path_buf() with on-stack buffer
    d6510f234c7d1 mm/mglru: fix div-by-zero in vmpressure_calc_level()
    99a49b670ede4 mm/hugetlb: fix possible recursive locking detected warning
    c311d65129ba1 hugetlb: force allocating surplus hugepages on mempolicy allowed nodes
    16896914bace8 landlock: Don't lose track of restrictions on cred_transfer
    cc3368064c68a LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
    8fe6e8cb5fba5 sbitmap: fix io hung due to race on sbitmap_word::cleared
    a3e4c8f8da2c8 sbitmap: use READ_ONCE to access map->word
    e511167e65d33 s390/dasd: fix error checks in dasd_copy_pair_store()
    145bc12827186 powerpc/8xx: fix size given to set_huge_pte_at()
    acb2835abe41d fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
    f8599ff1a0b99 fs/ntfs3: Missed error return
    58ebd50d22529 fs/ntfs3: Fix the format of the "nocase" mount option
    99eb4449cf0f5 rtc: interface: Add RTC offset to alarm after fix-up
    a3fd1a14ddfd4 nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
    8acbcc5067acb fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPs
    cdeba6d1cfb10 fs/proc/task_mmu: don't indicate PM_MMAP_EXCLUSIVE without PM_PRESENT
    92e8bd49ab486 fs/proc/task_mmu.c: add_to_pagemap: remove useless parameter addr
    3aa4d9163ae18 fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP
    09c5a17293e76 pinctrl: renesas: r8a779g0: Fix TPU suffixes
    798a182fb3946 pinctrl: renesas: r8a779g0: Fix TCLK suffixes
    6b8ba65b09285 pinctrl: renesas: r8a779g0: FIX PWM suffixes
    637cb96dc70c2 pinctrl: renesas: r8a779g0: Fix IRQ suffixes
    37198b25defcd pinctrl: renesas: r8a779g0: Fix (H)SCIF3 suffixes
    70b7259e6f8cc pinctrl: renesas: r8a779g0: Fix (H)SCIF1 suffixes
    e59258c5649c5 pinctrl: renesas: r8a779g0: Fix FXR_TXEN[AB] suffixes
    8cdbe6ebfd176 pinctrl: renesas: r8a779g0: Fix CANFD5 suffix
    a0bfea5e7e8b9 fs/ntfs3: Fix field-spanning write in INDEX_HDR
    ab09df593db51 fs/ntfs3: Drop stray '\' (backslash) in formatting string
    d0c3ba56fb642 fs/ntfs3: Correct undo if ntfs_create_inode failed
    53173e3865acb fs/ntfs3: Replace inode_trylock with inode_lock
    e0ed0ea337fd2 pinctrl: freescale: mxs: Fix refcount of child
    a9b717514070e pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails
    cbcdfab9b9417 pinctrl: ti: ti-iodelay: Drop if block with always false condition
    197c5c80353be pinctrl: single: fix possible memory leak when pinctrl_enable() fails
    99ae0689ab567 pinctrl: core: fix possible memory leak when pinctrl_enable() fails
    d51dc9f949c37 pinctrl: rockchip: update rk3308 iomux routes
    bcd4e15e7e481 fs/ntfs3: Add missing .dirty_folio in address_space_operations
    055f22654ae3c fs/ntfs3: Fix getting file type
    2f4ddb5a17739 fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
    645da4f92c782 fs/ntfs3: Deny getting attr data block in compressed frame
    c4df2d482137b fs/ntfs3: Fix transform resident to nonresident for compressed files
    f37b756a2350d fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT
    967879893cfe4 net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
    50816049b1dc4 net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
    935dec4e42773 ipv4: Fix incorrect TOS in fibmatch route get reply
    015d29dbe450e ipv4: Fix incorrect TOS in route get reply
    4afbac11f2f62 net: flow_dissector: use DEBUG_NET_WARN_ON_ONCE
    9b66bb1c586cc gve: Fix XDP TX completion handling when counters overflow
    3dd428039e06e ipvs: properly dereference pe in ip_vs_add_service
    69b6a67f70529 netfilter: nf_set_pipapo: fix initial map fill
    744bd92e0b902 netfilter: nft_set_pipapo: constify lookup fn args where possible
    27662b46f2ada netfilter: ctnetlink: use helper function to calculate expect ID
    08e4d9209a033 bnxt_re: Fix imm_data endianness
    ac45a09a19ca9 RDMA: Fix netdev tracker in ib_device_set_netdev
    60708cb279f34 RDMA/core: Remove NULL check before dev_{put, hold}
    ddeff5d66e120 iommu/vt-d: Fix identity map bounds in si_domain_init()
    e22ea60d2cabd RDMA/hns: Fix insufficient extend DB for VFs.
    7bf1e00d95168 RDMA/hns: Fix undifined behavior caused by invalid max_sge
    b47c078787d9e RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
    4d480e45cb7ff RDMA/hns: Fix missing pagesize and alignment check in FRMR
    f098ad96ebb0f RDMA/hns: Fix unmatch exception handling when init eq table fails
    72bbfe07f7ea4 RDMA/hns: Check atomic wr length
    a60111f96ef49 macintosh/therm_windtunnel: fix module unload.
    4af273068f0d1 powerpc/xmon: Fix disassembly CPU feature checks
    924464999a7c3 PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot
    6c1a7c00baacf PCI: qcom-ep: Disable resources unconditionally during PERST# assert
    f59ae465b28a1 MIPS: Octeron: remove source file executable bit
    aa8cc8b237d96 clk: en7523: fix rate divider for slic and spi clocks
    56a118f5c7d54 clk: qcom: Park shared RCGs upon registration
    7e8e9d3d4ecfd clk: qcom: kpss-xcc: Return of_clk_add_hw_provider to transfer the error
    adbaa8f99c9a1 crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
    846ee3b60abf4 nvmem: rockchip-otp: set add_legacy_fixed_of_cells config option
    90d41ebe0cd46 net: missing check virtio
    30bd459366944 vhost/vsock: always initialize seqpacket_allow
    3750e92cccf09 PCI: endpoint: Fix error handling in epf_ntb_epc_cleanup()
    0e27e2e8697b8 PCI: endpoint: Clean up error handling in vpci_scan_bus()
    99b642dac24f6 ASoC: amd: Adjust error handling in case of absent codec device
    3dbfcd4d68f54 Input: elan_i2c - do not leave interrupt disabled on suspend failure
    480d281743ded RDMA/device: Return error earlier if port in not valid
    52cfbd6d9a1e9 mtd: make mtd_test.c a separate module
    5e1659d71c099 ASoC: max98088: Check for clk_prepare_enable() error
    6e891b0406b24 powerpc/prom: Add CPU info to hardware description string later
    e977bf4c61c6b hwrng: core - Fix wrong quality calculation at hw rng registration
    57600a7dd2b52 scsi: lpfc: Fix a possible null pointer dereference
    b32e36e398e28 ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe()
    9fbfef061f3f6 RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
    f79ae071ba348 RDMA/mlx5: Use sq timestamp as QP timestamp when RoCE is disabled
    36812619d2b47 RDMA/mlx4: Fix truncated output warning in alias_GUID.c
    f0583d6dea6c8 RDMA/mlx4: Fix truncated output warning in mad.c
    8f8b4da72f1bd Input: qt1050 - handle CHIP_ID reading error
    48eecce940eff interconnect: qcom: qcm2290: Fix mas_snoc_bimc RPM master ID
    e2c0cc7976174 clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
    9d6cff2b3734b clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
    5d7c8436e3f90 clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags
    e37d8e79ce115 clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
    48de26f358ae6 clk: qcom: gpucc-sm8350: Park RCG's clk source at XO during disable
    77765f8fc08a1 RDMA/cache: Release GID table even if leak is detected
    9cc5d640d20d4 usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove
    5f7b12db1fa44 ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
    417fb74fa7920 ASoc: tas2781: Enable RCA-based playback without DSP firmware download
    93090f08cf7a5 RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
    0b6bef6202963 coresight: Fix ref leak when of_coresight_parse_endpoint() fails
    b8bdda6811778 KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR
    74e308be5b496 KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3
    d115e1759d189 iio: frequency: adrf6780: rm clk provider include
    b6f7aac2b1bb0 clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs
    698f30703f53f clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock
    993cace4f39f6 scsi: ufs: mcq: Fix missing argument 'hba' in MCQ_OPR_OFFSET_n
    526a877c6273d PCI: rcar: Demote WARN() to dev_warn_ratelimited() in rcar_pcie_wakeup()
    0a6f1b5fe8ef8 PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
    24e2490c58454 PCI: keystone: Don't enable BAR 0 for AM654x
    764d75ce552b6 PCI: keystone: Relocate ks_pcie_set/clear_dbi_mode()
    4cd2eca07fa32 PCI: Fix resource double counting on remove & rescan
    31ff8464ef540 iio: Fix the sorting functionality in iio_gts_build_avail_time_table
    0cd55c6e6d90c SUNRPC: Fixup gss_status tracepoint error output
    c7e94ab3ae78e sparc64: Fix incorrect function signature and add prototype for prom_cif_init
    051a246bae056 leds: flash: leds-qcom-flash: Test the correct variable in init
    1e81d6c383da1 ext4: avoid writing unitialized memory to disk in EA inodes
    6b18e4eff352a ext4: don't track ranges in fast_commit if inode has inlined data
    5d52f871c7f00 NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server
    3b45d190eb7a2 SUNRPC: avoid soft lockup when transmitting UDP to reachable server.
    83e025da9f427 xprtrdma: Fix rpcrdma_reqs_reset()
    5b042b7b3fee6 mfd: omap-usb-tll: Use struct_size to allocate tll
    05e4efd12fca6 mfd: rsmu: Split core code into separate module
    3fc173fb4f3d1 perf intel-pt: Fix exclude_guest setting
    f24f95be74dde perf intel-pt: Fix aux_watermark calculation for 64-bit size
    645753ce91cd5 media: venus: flush all buffers in output plane streamoff
    844801d980561 drm/mediatek/dp: Fix spurious kfree()
    8f0d32c78732f drm/mediatek/dp: switch to ->edid_read callback
    c6e67df64783e ext4: fix infinite loop when replaying fast_commit
    016accce9da6d drm/mediatek: Remove less-than-zero comparison of an unsigned value
    c327a4fafe139 Revert "leds: led-core: Fix refcount leak in of_led_get()"
    4b1f303bdecea drm/qxl: Add check for drm_cvt_mode
    6b723caa4ec2f drm/etnaviv: fix DMA direction handling for cached RW buffers
    7678d9b3487ee perf report: Fix condition in sort__sym_cmp()
    6b3b9c234ce05 perf pmus: Fixes always false when compare duplicates aliases
    fa423fe6d9ca5 perf test: Make test_arm_callgraph_fp.sh more robust
    98c14a4d37f75 drm/msm/dpu: drop validity checks for clear_pending_flush() ctl op
    724ec08c6e0df drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC
    cb8aa9d2a4c8a leds: trigger: Unregister sysfs attributes before calling deactivate()
    be50a293ebc61 media: imx-jpeg: Drop initial source change event if capture has been setup
    176509258f77c drm/mediatek: Add OVL compatible name for MT8195
    5dbb98e7fa42b drm/mediatek: Turn off the layers with zero width or height
    7445f2ab56da5 drm/mediatek: Fix destination alpha error in OVL
    7b59d750d43dd drm/mediatek: Fix XRGB setting error in Mixer
    35447af296ae1 drm/mediatek: Fix XRGB setting error in OVL
    232c04216cbf0 drm/mediatek: Use 8-bit alpha in ETHDR
    df55acaac4bb7 drm/mediatek: Add missing plane settings when async update
    74e622f30737e media: renesas: vsp1: Store RPF partition configuration per RPF instance
    fe2025b8f977e media: renesas: vsp1: Fix _irqsave and _irq mix
    c276c2bfd785b media: rcar-csi2: Cleanup subdevice in remove()
    3b6d4821dd076 media: rcar-csi2: Disable runtime_pm in probe error
    ea4f6c74d41f8 media: rcar-vin: Fix YUYV8_1X16 handling for CSI-2
    c6ad6096f9ce5 drm: zynqmp_kms: Fix AUX bus not getting unregistered
    b2f9bfe76d460 drm: zynqmp_dpsub: Fix an error handling path in zynqmp_dpsub_probe()
    afb83918e1a95 media: uvcvideo: Override default flags
    6dbe1b7697920 media: uvcvideo: Add quirk for invalid dev_sof in Logitech C920
    7b0155fe8f7e8 media: uvcvideo: Quirk for invalid dev_sof in Logitech C922
    991df39499e55 media: uvcvideo: Disable autosuspend for Insta360 Link
    6377b078e5593 media: i2c: imx219: fix msr access command sequence
    6c1358bbdd5b3 saa7134: Unchecked i2c_transfer function result fixed
    fa6950e4dab8e ipmi: ssif_bmc: prevent integer overflow on 32bit systems
    27465601abe1a x86/shstk: Make return uprobe work with shadow stack
    1c109f23b271a media: mediatek: vcodec: Handle invalid decoder vsi
    8736604ef5335 s390/uv: Don't call folio_wait_writeback() without a folio reference
    79bcb67ed9bb6 s390/mm: Convert gmap_make_secure to use a folio
    098ca9219c496 s390/mm: Convert make_page_secure to use a folio
    249212ceb4187 media: v4l: async: Fix NULL pointer dereference in adding ancillary links
    88a45f9dc1845 media: i2c: Fix imx412 exposure control
    ff64b8197203e media: imon: Fix race getting ictx->lock
    f543af2e0a6df media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()
    3d8fd92939e21 media: pci: ivtv: Add check for DMA map result
    9414381fea73c drm/bridge: it6505: fix hibernate to resume no display issue
    2918b50ad6a7f drm/bridge: Fixed a DP link training bug
    c9bec33bd4cf4 drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
    93296c252789d drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators
    93486f4f4810d drm/panel: himax-hx8394: Handle errors from mipi_dsi_dcs_set_display_on() better
    6d72626808325 drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
    67b4592a7d74e drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
    ae1dd0a379e41 drm/amdgpu: Fix memory range calculation
    0af2e5cb74514 drm/amd/pm: Fix aldebaran pcie speed reporting
    8d869d02a10e5 drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_generic_write_seq()
    4e9d95a132d0b drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_dcs_write_seq()
    cd1885ae4cbf1 drm/amdkfd: Fix CU Masking for GFX 9.4.3
    5b78b88aa00a6 drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline
    86d201285a29e drm/rockchip: vop2: Fix the port mux of VP2
    c43046d7e7a49 net: bridge: mst: Check vlan state for egress decision
    bf0ce5aa5f252 xdp: fix invalid wait context of page_pool_destroy()
    e8558b800ea1a Bluetooth: btnxpuart: Add handling for boot-signature timeout errors
    e19f7b046ac23 Bluetooth: btintel: Refactor btintel_set_ppag()
    424b424fad37a Bluetooth: hci_bcm4377: Use correct unit for timeouts
    7c1118588aa66 selftests: forwarding: devlink_lib: Wait for udev events after reloading
    9d40fd516aeae bpf: Fix null pointer dereference in resolve_prog_type() for BPF_PROG_TYPE_EXT
    33a1321fb9a93 bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o
    b0ff0cd0847b0 bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
    5306d9a55492f bpf: annotate BTF show functions with __printf
    67f4e66b34a4b selftests/resctrl: Fix closing IMC fds on error and open-code R+W instead of loops
    384dc568e3b2f selftests/resctrl: Convert perror() to ksft_perror() or ksft_print_msg()
    ec204ab6c2a9e selftests/resctrl: Move run_benchmark() to a more fitting file
    a2cb20de7a21a selftests/bpf: Close obj in error path in xdp_adjust_tail
    691ec7043122c selftests/bpf: Null checks for links in bpf_tcp_ca
    2a789fc168614 selftests/bpf: Close fd in error path in drop_on_reuseport
    d179ebed94c73 locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
    9a95e70726337 wifi: virt_wifi: don't use strlen() in const context
    477163b7f58e2 gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
    36e92b5edc8e0 wifi: virt_wifi: avoid reporting connection success with wrong SSID
    4b66e79650cf0 xfrm: call xfrm_dev_policy_delete when kill policy
    0c92f090170a4 xfrm: fix netdev reference count imbalance
    7a0edc3d83aff wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
    ef49102bfa364 perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake
    0c8a2ef120b81 perf: Fix default aux_watermark calculation
    3e43ad7df75ab perf: Prevent passing zero nr_pages to rb_alloc_aux()
    3d5fa18ea1612 perf: Fix perf_aux_size() for greater-than 32-bit size
    69da07e53ce9b perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
    77bf25dab8cee bpftool: Mount bpffs when pinmaps path not under the bpffs
    878c90b54b839 xfrm: Export symbol xfrm_dev_state_delete.
    0f6b8aed5d915 wifi: rtl8xxxu: 8188f: Limit TX power index
    150b7f9a914a0 wifi: rtw89: 8852b: fix definition of KIP register number
    802de757097bb netfilter: nf_tables: rise cap on SELinux secmark context
    fed3317b2d3f5 ipvs: Avoid unnecessary calls to skb_is_gso_sctp
    d5f53edd43daf xfrm: Fix unregister netdevice hang on hardware offload.
    c276044f2661d libbpf: Checking the btf_type kind when fixing variable offsets
    16c5cb3280b8d net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
    e6c691f6626aa net: fec: Refactor: #define magic constants
    fe2ead240c31e udf: Fix bogus checksum computation in udf_rename()
    67b5f1054197e wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
    0675037972d12 wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
    51a8a235f2403 wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
    fc5cdbe1be31f jump_label: Fix concurrency issues in static_key_slow_dec()
    a1359e085d75d perf/x86: Serialize set_attr_rdpmc()
    f7c2f0e0cb5cb mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
    0e59c2d228532 mlxsw: spectrum_acl_erp: Fix object nesting warning
    1936fa05a1808 lib: objagg: Fix general protection fault
    e382588b8d149 udf: Fix lock ordering in udf_evict_inode()
    be953b4eb420c selftests/bpf: Check length of recv in test_sockmap
    a9e46f955409a net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
    44aa1e461ccd1 tcp: fix races in tcp_v[46]_err()
    bc4f9c2ccd68a tcp: fix race in tcp_write_err()
    ecc6836d63513 tcp: add tcp_done_with_error() helper
    c42b268bee48f wifi: ath12k: fix wrong definition of CE ring's base address
    3e779817167a2 wifi: ath11k: fix wrong definition of CE ring's base address
    586c7fb1f5bed wifi: ath11k: Update Qualcomm Innovation Center, Inc. copyrights
    0de96f9a82308 wifi: ath12k: fix firmware crash during reo reinject
    8126f82dab7bd wifi: ath12k: fix invalid memory access while processing fragmented packets
    e99d9b16ff153 wifi: ath12k: change DMA direction while mapping reinjected packets
    7797efc98e715 net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP
    d8ffeb5bd59ab selftests/bpf: Fix prog numbers in test_sockmap
    f3c9773d9c3dc bpftool: Un-const bpf_func_info to fix it for llvm 17 and newer
    3d4e3a37cce4e wifi: ath12k: Fix tx completion ring (WBM2SW) setup failure
    cf484c84c69d5 wifi: ath12k: Correct 6 GHz frequency value in rx status
    0c1c95850d870 wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
    d027ac4a08541 firmware: turris-mox-rwtm: Initialize completion before mailbox
    6173dd13f65f3 firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
    2f4f8d171ecc5 firmware: turris-mox-rwtm: Do not complete if there are no waiters
    9312a63da77c0 vmlinux.lds.h: catch .bss..L* sections into BSS")
    e6c9eca327e6a ARM: spitz: fix GPIO assignment for backlight
    b8cdefdaa555b m68k: cmpxchg: Fix return value for default case in __arch_xchg()
    13a71384ae6a8 cpufreq/amd-pstate: Fix the scaling_max_freq setting on shared memory CPPC systems
    72ff9d26964a3 arm64: dts: qcom: sm6350: Add missing qcom,non-secure-domain property
    c2e8bdc0d08ec arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S
    78beab7a91293 arm64: dts: rockchip: disable display subsystem for Lunzn Fastrhino R6xS
    d1568659662cb arm64: dts: rockchip: remove unused usb2 nodes for Lunzn Fastrhino R6xS
    215b1aaa73d85 arm64: dts: rockchip: fix pmu_io supply for Lunzn Fastrhino R6xS
    d523659f7abbc arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
    bca0d0102fcde arm64: dts: rockchip: fix regulator name for Lunzn Fastrhino R6xS
    becbe98ceeb1f arm64: dts: rockchip: Add missing power-domains for rk356x vop_mmu
    da8ea49d00921 x86/xen: Convert comma to semicolon
    2e67d5cdc3706 arm64: dts: imx8mp: Fix pgc vpu locations
    713750aadbd0f arm64: dts: imx8mp: add HDMI power-domains
    0150dbc01d266 arm64: dts: imx8mp: Fix pgc_mlmix location
    1beddcda55d54 arm64: dts: imx8mp: Add NPU Node
    1667b2756216e m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
    d5cfd8da7e353 arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
    fc46ee662496f arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
    35dcc7e3bd258 arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
    ad15922975042 arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
    880c61a7cae2c arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
    5baa02d5c07f2 arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
    878177c7dd2da arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10
    e15757553b27f arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc
    3f2f40a1d1959 arm64: dts: rockchip: Drop invalid mic-in-differential on rk3568-rock-3a
    3f75eb9f99635 arm64: dts: amlogic: setup hdmi system clock
    fbb1f7ab0b15b arm64: dts: amlogic: add power domain to hdmitx
    b44836994a749 arm64: dts: amlogic: gx: correct hdmi clocks
    3cfa05f9e1ab9 arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
    0580ecfcafb79 arm64: dts: mediatek: mt8183-kukui: Fix the value of `dlg,jack-det-rate` mismatch
    db85bab1a46a2 arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
    d014162a3e7ab arm64: dts: mediatek: mt8192-asurada: Add off-on-delay-us for pp3300_mipibrdg
    94a6cd9f279cc arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
    440a052ff9b89 arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS
    80d8afcaecf3d ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
    5b2db0b42fa71 ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
    e71469e2af115 ARM: dts: imx6qdl-kontron-samx6i: fix board reset
    3b96e42127ab2 ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
    e139b742a7efb ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
    7120acc1a1c66 arm64: dts: amlogic: sm1: fix spdif compatibles
    665272557447f arm64: dts: rockchip: Increase VOP clk rate on RK3328
    d48f3bb4314fa soc: qcom: pdr: fix parsing of domains lists
    3e815626d73e0 soc: qcom: pdr: protect locator_addr with the main mutex
    aad41f4c169bc soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
    fab4a7b23492e arm64: dts: qcom: qdu1000: Add secure qfprom node
    7267936f3c115 arm64: dts: qcom: qdu1000-idp: drop unused LLCC multi-ch-bit-off
    051ac32bedab2 arm64: dts: ti: k3-am62-verdin: Drop McASP AFIFOs
    7eb34eae2463b arm64: dts: ti: k3-am625-beagleplay: Drop McASP AFIFOs
    22646c52e42bb arm64: dts: ti: k3-am62x: Drop McASP AFIFOs
    c22649e217457 memory: fsl_ifc: Make FSL_IFC config visible and selectable
    21dec02291f67 OPP: ti: Fix ti_opp_supply_probe wrong return values
    d94eb194aacb3 cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
    4b493143662a8 arm64: dts: qcom: qrb4210-rb2: make L9A always-on
    b6271fb067bfb ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
    0fffc2e1bf40a ARM: dts: sunxi: remove duplicated entries in makefile
    a96e60a6ea681 soc: xilinx: rename cpu_number1 to dummy_cpu_number
    adc0b5c113ab9 arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent
    33fb3e38c98c1 arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
    a86a568567583 arm64: dts: rockchip: Update WIFi/BT related nodes on rk3308-rock-pi-s
    0c4c1b7daf23b arm64: dts: rockchip: Add mdio and ethernet-phy nodes to rk3308-rock-pi-s
    30ee9e5ecc5fd arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s
    96155dc8c99e7 arm64: dts: rockchip: Add sdmmc related properties on rk3308-rock-pi-s
    459f84f8ee8db soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers
    762384e9cc656 soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
    4bf50c7dcd393 arm64: dts: qcom: msm8998: enable adreno_smmu by default
    23e44279f23e6 arm64: dts: qcom: sdm850-lenovo-yoga-c630: fix IPA firmware path
    d74b0b6c67efc arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY
    4d460ea917e75 arm64: dts: qcom: sm8450: add power-domain to UFS PHY
    bfe998470dc45 arm64: dts: qcom: sm8350: add power-domain to UFS PHY
    f43134d6188fd arm64: dts: qcom: sm8250: add power-domain to UFS PHY
    cf2ca135496ad arm64: dts: qcom: sm8250: switch UFS QMP PHY to new style of bindings
    928691e768b17 arm64: dts: qcom: sm6350: add power-domain to UFS PHY
    3832f6d4f4b11 arm64: dts: qcom: sm6115: add power-domain to UFS PHY
    15a0aec207cec arm64: dts: qcom: sdm845: add power-domain to UFS PHY
    23ce7878ed7ba arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
    9a39bcdaa6c84 arm64: dts: qcom: sc8180x: switch UFS QMP PHY to new style of bindings
    72a9e5ffd4837 arm64: dts: qcom: sc8180x: Correct PCIe slave ports
    5bf6767c13d20 hwmon: (max6697) Fix swapped temp{1,8} critical alarms
    feb57c9a4f8d5 hwmon: (max6697) Fix underflow when writing limit attributes
    0804bd05f3354 pwm: atmel-tcb: Fix race condition and convert to guards
    390645c5c1642 drm/meson: fix canvas release in bind function
    908ce7f56847a nvmet-auth: fix nvmet_auth hash error handling
    386171ae7fa8b pwm: stm32: Always do lazy disabling
    00893662707a5 md: Don't wait for MD_RECOVERY_NEEDED for HOT_REMOVE_DISK ioctl
    2a6849a2b6bea block/mq-deadline: Fix the tag reservation code
    b2c67e1f80deb block: Call .limit_depth() after .hctx has been set
    ff36cc0bc63a7 hwmon: (adt7475) Fix default duty on fan is disabled
    96226fbed566f cgroup/cpuset: Prevent UAF in proc_cpuset_show()
    aea95c68b7459 kernfs: Convert kernfs_path_from_node_locked() from strlcpy() to strscpy()
    c8a36455a0fb7 x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
    56d4e76223aac x86/pci/xen: Fix PCIBIOS_* return code handling
    12b24c1cee71d x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
    f6c475c3dc440 x86/of: Return consistent error type from x86_of_pci_irq_enable()
    f04da10d2cbc1 hfsplus: fix to avoid false alarm of circular locking
    c8cae1c194268 x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS
    23a19655fb56f block: initialize integrity buffer to zero before writing it to media
    1cfdfb965e274 ubd: untagle discard vs write zeroes not support handling
    3236c24532839 ubd: refactor the interrupt handler
    b37d68ab60c58 platform/chrome: cros_ec_debugfs: fix wrong EC message version
    2d0738a8322bf md: fix deadlock between mddev_suspend and flush bio
    43b75d54398ac rcu/tasks: Fix stale task snaphot for Tasks Trace
    c25ae63de6805 EDAC, i10nm: make skx_common.o a separate module
    754b569bc801c spi: atmel-quadspi: Add missing check for clk_prepare
    df8e2a3eabcf9 spi: spi-microchip-core: Fix the number of chip selects supported
    310377719c544 powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC
    35046aea43c85 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b86219 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e5039 bpftool: Query only cgroup-related attach types
    f71bb11887bae cpu/amd: inhibit SMP check for qemux86
    c31365597a17b powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b5 usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d1 kselftest: Add a ksft_perror() helper
    06644f0d7193d drm/tilcdc: Set preferred depth
    ff7ae7b323242 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0b arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701f x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c793 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6e qemux86: add configuration symbol to select values
    630c33229e6d5 sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6e clear_warn_once: add a clear_warn_once= boot parameter
    46934791b9026 clear_warn_once: bind a timer to written reset value
    cdee9e38ff324 clear_warn_once: expand debugfs to include read support
    82b562b818419 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b1 libbpf: Fix build warning on ref_ctr_off
    9e3e1fe209827 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65b perf: x86-32: explicitly include <errno.h>
    7b57ddd89565b perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7f perf: fix bench numa compilation
    98bc2815fade4 perf: add SLANG_INC for slang.h
    17209a70b9b39 perf: add sgidefs.h to for mips builds
    9cd4258d910af perf: change --root to --prefix for python install
    8110a4f266284 perf: add 'libperl not found' warning
    bc89d5e08f773 perf: force include of <stdbool.h>
    4f6c760cc876a fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b21 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab3786 FAT: Added FAT_NO_83NAME
    cef98d22b4edf FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1b FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084a aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf21 aufs6: fix magic.mk include path
    35266bc2dc81a aufs6: adapt to v6.6
    8edede4e98be1 aufs6: core
    712248233ebe1 aufs6: standalone
    3b71a8a848d8b aufs6: mmap
    3e2924871f371 aufs6: base
    7f4907a931016 aufs6: kbuild
    d2f7b03e4aa77 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa04 yaffs2: v6.5 fixups
    cc615704b5f54 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf913 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d34 yaffs2: replace bdevname call with sprintf
    395b01cdc39d1 yaffs2: convert read_page -> readfolio
    d98b07e43ba61 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe8 yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f3 yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090b yaffs: include blkdev.h
    dbd44252cd592 yaffs: fix misplaced variable declaration
    c223a10b1ac08 yaffs2: v5.6 build fixups
    90f6007cfbf41 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea10 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6e yaffs: repair yaffs_get_mtd_device
    fb98f65a466a7 yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea27 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0b yaffs: Avoid setting any ACL releated xattr
    ff4130a9c3766 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67cd fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba90565 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4a yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8b initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4d pnmtologo: use relocatable file name
    664a6a0a484ba tools: use basename to identify file in gen-mach-types
    9de64bc0c1857 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295a vt/conmakehash: improve reproducibility
    a972323151bdd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc01984 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b197 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffcd defconfigs: drop obselete options
    00fe4152df313 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf1 linux-yocto: Handle /bin/awk issues
    3d55d299f23a7 uvesafb: provide option to specify timeout for task completion
    23c068c080bea uvesafb: print error message when task timeout occurs
    edbfc939266ec compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19ab vmware: include jiffies.h
    572d84d928c87 Resolve jiffies wrapping about arp
    fdcd47cac8435 nfs: Allow default io size to be configured.
    927d488010984 check console device file on fs when booting
    57cc27f821ddf mount_root: clarify error messages for when no rootfs found
    1b53d82a81528 mconf: fix output of cflags and libraries
    1811da09f42ca menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f3 modpost: mask trivial warnings
    6de6730394846 kbuild: exclude meta directory from distclean processing
    6decd32815f53 powerpc: serialize image targets
    f6b683b38318c arm: serialize build targets
    e798b09ebf572 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f86 x86_64_defconfig: Fix warnings
    68491e5f72b61 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce30048 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b18 powerpc: kexec fix for powerpc64
    da6871c62c371 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11de mips: make current_cpu_data preempt safe
    5e94a8247ce7f mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7f mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbdc 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5d malta uhci quirks: make allowance for slow 4k(e)c
    881948cd15176 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7a arm64: defconfig: cleanup config options
    f1727c537ba8d vexpress: Pass LOADADDR to Makefile
    4474c32dc24a4 arm: ARM EABI socketcall
    75e31a2b70fd3 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 92dd9b9f8f696018fa5176245a8db3e760fc7186)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Harish Sadineni
3ec0177e2d oeqa/selftest/gcc: Fix host key verfication failure
while runnig oe-selftest for gcc, testcases that need to be run on qemu are not running due to below failures.
- Executing on ssh: mkdir -p /tmp/runtest.3549641   (timeout = 300)
   spawn [open ...]
   Host key verification failed.
   ERROR: Couldn't create remote directory /tmp/runtest.3549641 on ssh

Host key verification failure is happening when ssh board config file name is
defined as "ssh.exp" and there are multiple ssh.exp files generated during the build
and a wrong ssh config was taken. To resolve this changed the board config file name
to "linux-ssh.exp" which ensures correct ssh settings are used.

(From OE-Core rev: d32ec0b4d242879ab8eaf96e1cb407e8f0bb9f3d)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Harish Sadineni
4485677cdb gcc-runtime: enabling "network" task specific flag
Adding a "network" task specific flag which then triggers networking to
be enabled for this task, it is otherwise disabled which will cause
failures while running oe-selftest.

Fixes the following issues while running oe-selftest for gcc:
1)ssh: connect to host X.X.X.X port 22: Network is unreachable.
2)Bad owner or permissions on /etc/ssh/ssh_config.d/50-redhat.conf.

(From OE-Core rev: 35782416823fa863d26a338256f642f6bc480a96)

Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-13 09:29:15 +01:00
Bruce Ashfield
e5176979ef linux-yocto/6.10: cfg: disable nfsd legacy client tracking
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: nfsd: disable legacy client tracking
    Date: Thu, 8 Aug 2024 23:18:19 -0400

    On v6.10.3+ this option can cause kernel traps. It is for
    functionality that we don't need, so disabling it is the
    best solution.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 2b345ebf20e3054e5a10b68ba995519e695ad98c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-12 16:58:39 +01:00
Bruce Ashfield
7f9679e225 linux-yocto-rt/6.10: update to -rt14
Integrating the following commit(s) to linux-yocto/6.10:

    c0094e55e84db rt: fix sigtrap merge issue
    a36d03a550e68 v6.10.2-rt14
    c3413f2811925 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates.
    cd3f2b6b09248 bpf: Remove tst_run from lwt_seg6local_prog_ops.
    42137fe6d0b42 v6.10.2-rt13
    49fdabfe4a53f tun: Add missing bpf_net_ctx_clear() in do_xdp_generic()
    3838f16f95d85 task_work: make TWA_NMI_CURRENT handling conditional on IRQ_WORK
    5e812508c93be v6.10.2-rt12

(From OE-Core rev: e953ba950ec42dadf74bda098a85285069b7294e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-12 16:58:39 +01:00
Bruce Ashfield
baebb347bd linux-yocto-dev: bump to v6.11
(From OE-Core rev: 2f7786e56e4e0a55f8aebe0ffbd37ca23708f4f4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-12 16:58:39 +01:00
Ross Burton
b997e4dc9c ffmpeg: fix build with binutils 2.43 on arm with commerical codecs
binutils 2.43 is stricter with label names, so rename a label to stop
assembler errors.

[ YOCTO #15570 ]

(From OE-Core rev: 06d29af58521b94518c924468db34d0eed1cb056)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Enrico Jörns
9b2c1ef319 archiver.bbclass: fix BB_GENERATE_MIRROR_TARBALLS checking
The variable 'have_mirror_tarballs' is used as a boolean while it is
actually the result of 'd.getVar('BB_GENERATE_MIRROR_TARBALLS')' and
thus a string.

Fix this by converting it into a boolean before using i
t.

(From OE-Core rev: f6185d51b84d8d2eb578dbd322c1c61537efabf6)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Changqing Li
4f27055ced libcap-ng: update SRC_URI
Refer [1], people.redhat.com has certificate issue, so update SRC_URI
to fix do_fetch warning

[1] https://github.com/stevegrubb/libcap-ng/issues/56

(From OE-Core rev: 798aa15cb955f9801effbed44eba0f3f46ba8c54)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Het Patel
791a279af0 zlib: Add CVE_PRODUCT to exclude false positives
To avoid false positives (such as CVE-2023-6992, cloudflare:zlib), add a
CVE_PRODUCT to identify the vendors that have been used.

Removing the present existing CVE_STATUS for CVE-2023-6992.

(From OE-Core rev: 119b775b36dfd51286493763cffb6e965893b8fd)

Signed-off-by: Het Patel <hetpat@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Jose Quaresma
4ffee489c6 go: upgrade 1.22.5 -> 1.22.6
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.5..go1.22.6
cb4eee693c (tag: go1.22.6, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.6
8c8adffd53 [release-branch.go1.22] cmd/compile: add 0-sized-value simplification to copyelim
70a1aae67f [release-branch.go1.22] cmd/trace/v2: make the -pprof actually useful
2c88c1d599 [release-branch.go1.22] cmd/trace/v2: handle the -pprof flag
4c50f9162c [release-branch.go1.22] cmd/internal/cov: close counter data files eagerly
9e148a4150 [release-branch.go1.22] internal/bytealg: extend memchr result correctly on wasm
4b27560db9 [release-branch.go1.22] go/types: fix assertion failure when range over int is not permitted
4e548f2c8e [release-branch.go1.22] cmd/link: don't let dsymutil delete our temp directory
45f9ded1df [release-branch.go1.22] cmd/compile: don't elide zero extension on top of signed values
49906f9575 [release-branch.go1.22] cmd/go: fix build config before creating actions for 'go list -cover'
ea96074191 [release-branch.go1.22] os/exec: only use cachedLookExtensions if Cmd.Path is unmodified

[1] https://github.com/golang/go/compare/go1.22.5...go1.22.6

(From OE-Core rev: edaedfce685f13decad7608aefa36dece02665b0)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Richard Purdie
0f8d29b648 bitbake.conf: Add truncate to HOSTTOOLS
Some wic images need this command. Since it is part of coreutils, it doesn't really
cost anything to have in HOSTTOOLS and it avoids signifiant build dependencies on
coreutils-native.

[YOCTO #15571]

(From OE-Core rev: 522000ce5c4f0201cbe42d7826b6a8489ed10117)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Richard Purdie
1f046d411c coreutils: Update merged patch to backport status
(From OE-Core rev: 80b082dbb0e04d8d7af096046b3ac1e806d0a9d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Ryan Eatmon
469c371e55 u-boot.inc: Refactor do_* steps into functions that can be overridden
The looping logic for handling (and not handling) UBOOT_CONFIG has led
to the various do_* functions to be large and unwieldy.  In order to
modify one of the functional blocks inside of a loop (or in the else
condition) means you either have to replace the function entirely, or
append the function and undo something it did and then do what you need
for your change.

This refactor breaks out all of the inner loops and else clauses into
new functions that themselves can be overridden without needing to
worry about the bulk of the looping logic.

It should not break any existing recipes doing prepends, appends, or
overrides.  None of the functional blocks were changed, just refactored
out into new functions.

(From OE-Core rev: 937bcc229502fcc154cc676b4fcc93c561873def)

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
ea471cf48c rust: Upgrade 1.77.1->1.77.2
https://blog.rust-lang.org/2024/04/09/Rust-1.77.2.html

(From OE-Core rev: c3a996c3b06b11a5e2b07dbf820f3e3eb1e28782)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
961bafda94 rust: Upgrade 1.77.0->1.77.1
https://blog.rust-lang.org/2024/03/28/Rust-1.77.1.html

(From OE-Core rev: a7ca97ffbb23602ad79c3dc1819cfedd0b969075)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
41094aece8 rust: Upgrade 1.76.0->1.77.0
* Drop backported patch 0001-Handle-vendored-sources-when-remapping-paths.patch
    as it's merged with rust v1.77.0.

     https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html

(From OE-Core rev: 8b6b224fc116150c0af658473eecd05b742de7b1)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
4c9d7632f6 rust: Oe-selftest changes for rust v1.77
Update the file paths for v1.77 and fix the dead code error as follows:

    Compiling coverage-dump v0.1.0 (/home/poky/build-st/tmp/work/core2-64-poky-linux/rust/1.77.0/rustc-1.77.0-src/src/tools/coverage-dump)
    error: field `0` is never read
       --> src/tools/coverage-dump/src/covfun.rs:222:15
        |
    222 |     Expansion(u32),
        |     --------- ^^^
        |     |
        |     field in this variant
        |
        = note: `-D dead-code` implied by `-D warnings`
        = help: to override `-D warnings` add `#[allow(dead_code)]`
    help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
        |
    222 |     Expansion(()),
        |               ~~

    error: could not compile `coverage-dump` (bin "coverage-dump") due to 1 previous error

    Only the required change is backported here to run the build without any errors.
    Other changes are merged with the commit in v1.78.

    Reference: 9a5034a20e (diff-d4ecc6273352a2a8ebd02c45233d9bff7c6694f20b67ddad0614af7a89c06748)

(From OE-Core rev: 072df9d3d8792a6f0250cc5e37545f04e6a046ec)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
66d81c81b6 rust: reproducibility issue fix with v1.76
A few crates are using the updated version of the 'cc' crate and
this is causing the generated object file names containing a unique hashmap id.
The hashmap addition to generated files is reverted here.

(From OE-Core rev: 25fed23ea9dcd1e7f0c11a1e3a988a33d5676c0b)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
be70d81a3c rust: Upgrade 1.75.0->1.76.0
* Drop "--doc" option for rust oe-selftest since
it is not supported on bootstrap builds for
cross-targets.

* Drop the following backported patches which are merged
with rust v1.76 upgrade.

- custom-target-cfg.patch
- rustc-bootstrap.patch
- rv32-missing-syscalls.patch
- target-build-value.patch

https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
* Drop 'rust-rustdoc' and 'rust-dbg' from 'exclude_packages' list
to check for rust reproducibility.

(From OE-Core rev: 71d17ed3c7be029fc68e9dd3f5d6c4aa72ef861a)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Yash Shinde
ab1bd4a04b rust: Oe-selftest fixes for rust v1.76
Add the failing tests in rust v1.76 to the exclude list
and add "ignore" tags to ignore failing unit test cases.

(From OE-Core rev: 75399802515ac423503e637281a4585dd00d7c75)

Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Mingli Yu
2bf34e2859 llvm: Enable libllvm for native build
The bpftrace recipe under meta-clang[1] needs llvm-objcopy [2] during
do_confgure phase otherwise there comes below error:
  | CMake Error at tests/data/CMakeLists.txt:6 (find_program):
  |   Could not find LLVM_OBJCOPY using the following names: llvm-objcopy,
  |   llvm-objcopy-18, llvm18-objcopy

The commit ec22bfa67f llvm: allow building libllvm in native builds, subject to PACKAGECONFIG [3]
introduces libllvm to manage the llvm function for native build
maybe because there is only mesa-native to use llvm-native.

Considering there are other recipes such as bpftrace needs llvm-native,
so enable libllvm for native build.

[1] https://github.com/kraj/meta-clang
[2] https://github.com/bpftrace/bpftrace/blob/master/tests/data/CMakeLists.txt
[3] https://git.openembedded.org/openembedded-core/commit/?id=ec22bfa67f6f1766102501d4593ce29aafe8c166

(From OE-Core rev: c4f08872bff303998dc15c7d224a49abc5e74965)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Robert Joslyn
c8aad0871c curl: Update to 8.9.1
This update contains minor features, bugfixes, and addresses several CVEs:
* https://curl.se/docs/CVE-2024-6197.html
* https://curl.se/docs/CVE-2024-6874.html
* https://curl.se/docs/CVE-2024-7264.html

Full relese notes available at https://curl.se/ch/8.9.1.html

Backport a patch to fix a SIGPIPE issue found shortly after release:
https://curl.se/mail/distros-2024-08/0002.html

(From OE-Core rev: ff607f50f1e15ca713048bba83ca15d1e4e08b6a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Peter Marko
06fa93620e libyaml: ignore CVE-2024-35326
This is the same problem as already ignored CVE-2024-35328.
See laso this comment in addition:
https://github.com/yaml/libyaml/issues/298#issuecomment-2167684233

(From OE-Core rev: 0632d739fd6bae33f9e58681e117b906a947a307)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Ross Burton
478f44650a bblayers/machines: add bitbake-layers command to list machines
Add a command to bitbake-layers to list the machines available in the
current configuration.

(From OE-Core rev: 837d32dafc125d58bb11da990ac251bd5aad027e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-09 22:33:38 +01:00
Bruce Ashfield
5f273feeba lttng-modules: backport patches for kernel v6.11
While we wait for a new lttng-release, we backport 6
patches to fix the build against the 6.11 kernel.

(From OE-Core rev: 168e98c7d2118333da9450f069699128892e70db)

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>
2024-08-08 14:28:49 +01:00
Chen Qi
ae85f8d5a0 kexec-tools: avoid kernel warning
Running command 'kexec -p /path/to/crash-kernel --reuse-cmdline' will
give out the following warning:

  kexec[970]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set

Add MFD_NOEXEC_SEAL explicitly to avoid such warning.

(From OE-Core rev: c1bcebf4ca0176d69e6dfd589871944352eec449)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Jaeyoon Jung
454fcf36c7 makedevs: Fix issue when rootdir of / is given
Treating rootdir "/" as "" leads an error in parse_devtable(). Preserve
it as it is given and use a separate variable for path name prepending.
Another minor fix is to add a return statement at the end of
convert2guid() to avoid an error with -Werror=return-type.

(From OE-Core rev: 4d52e6276c687a8950bde21850072ddf14893fb2)

Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Chris Spencer
0043986334 cargo_common.bbclass: Support git repos with submodules
This is useful for cargo dependencies specified as git repositories, where
those repositories themselves have submodules that need to be checked out.

(From OE-Core rev: f871d9d6094ec0001d826e4b5b3395c1842631bb)

Signed-off-by: Chris Spencer <spencercw@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Philip Lorenz
a09df950ea curl: Reenable auth support for native and nativesdk
148de08220c0ad390ec533e452cbaad7a9338204 adapted the recipe to
accomodate the newly introduced configure options for the various
authentication schemes supported by curl. However, support for these was
not added for the -native and -nativesdk variants of the recipe.

Fix this and introduce a PACKAGECONFIG variable for the flags common to
all recipe variants to avoid such regressions in the future.

(From OE-Core rev: 5b91a092216fa29c944dd1f2d4cc237cac47929e)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
6bdd2311e6 libassuan: upgrade 2.5.7 -> 3.0.1
Patch 'libassuan-add-pkgconfig-support.patch' had to be adjusted to
apply on top of 3.0.1. While doing so, the format was updated so that
it'll work more easily with git.

Changelog (git log --oneline libassuan-2.5.7..libassuan-3.0.1):

c9e9027 (tag: libassuan-3.0.1) Release 3.0.1
9e90c79 Post release updates
0351ecf (tag: libassuan-3.0.0) Release 3.0.0
1fe7aa3 Add release targets
6bef35b Update copyright notices
87f92fe Add new socket flags "linger" and "reuseaddr".
24f05d6 Spell fix in gpg-error.m4 from GnuPG.
577c1cd m4: Update gpg-error.m4.
db27c94 libassuan.m4: Fix setting/using GPG_ERROR_CONFIG.
ee9167c Always append the process identification to hello line.
d5e0aa3 Modify documentation for new release.
c1bbbe8 Fix the previous commit.
1c27538 m4: Include _AM_PATH_GPGRT_CONFIG definition.
6756482 tests: Cleanup mention of removed variable
a8c38df doc: Minor style fixes.
76816b1 build: Change the default for --with-libtool-modification.
d63bf50 build: Update libtool-patch.sed from libgpg-error.
9bb7a2a build: New configure option --with-libtool-modification.
ce35bd9 Add NEWS entries for 2.5.6 from libassuan 2.5 branch.
b975f9a Fix for v2 support: ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS
bb7aa0e New function: assuan_control.
9ce1b41 libassuan.m4: Allow use of libassuan 3 for API of version 2.
c6ae222 Update NEWS.
bf25d0e Add new pipe functions to control its server process.
c14409b socket: Don't call pre/post_syscall for bind.
dd7e0c5 build: Prepare release with API change.
c4687db Update NEWS.
782d5f8 Expose assuan_sock_accept function.
703b410 Add _assuan_pre_syscall / _assuan_post_syscall to _assuan_sock_*.
5de5774 Support larger greeting message.
413b294 Next release will be 3.0
049b800 Flush data before clearing the confidential flag.
2f0232b w32: Fix closing for non-socket HANDLE.
592f6bb w32: Fix hello_line parsing for fd passing.
c69578b w32: Always include process information in HELLO.
efccdb3 w32: Fix error return for sending fd.
8d83aea Allow use of global system hooks with API version 2.
af34d84 doc: Update documentation for the method spawn and waitpid.
316fae4 w32: File handle passing to server is now supported.
5d1cdaa Don't use ASSUAN_INVALID_PID for assuan_pid_t value.
6350f79 w32: Cleaner semantics for PID and Process handle.
f3b3ddf Fix comments.
18edc4f Fix wrong return type for functions.
6957813 tests: Use -no-fast-install LDFLAGS for Windows.
9ecbd8e Deprecate ASSUAN_SYSTEM_NPTH.
1eb66ef Allow NULL for system_hooks.
620acf6 Fix the previous commit.
223cc95 Fix calling gpgrt_get_syscall_clamp.
fb5d02d tests: Fix for POSIX machine.
7191c12 w32: Fix test header file for 64-bit Windows.
f2d829e w32: Fix pipeconnect test program for Windows.
295e334 w32: Minor fixes for ifdef/endif for W32 and W64.
17055e1 w32: Fix the semantics of sending FD, it's Windows HANDLE.
9110945 Implement timeout in assuan_sock_connect_byname.
3d8195e build: Update gpg-error.m4.
e4e54fb w32: Fix assuan_socket_connect.
a720b6c Fix make dist target
523e3cb w32: Fix confusion between process ID and process HANDLE.
05eb70c doc: Update the description about pkg-config.
ba84b78 w32: Have PROCESS_HANDLE in struct assuan_context_s.
7e6f3f0 tests: Use common code for Windows.
8962c1e tests: Add fdpassing-socket.sh script.
3297e45 w32: Support fd passing through socket.
a1f4804 w32: Support fd passing through pipe.
07adf41 Show the pid of listening process in the hello line.
870fdcf w32: Support sendfd/recvfd through pipe connection.
ce794a0 w32: Add SENDFD internal command.
27acee6 client: Only call _assuan_waitpid when it's not socket.
d769ec2 build: Prefer gpgrt-config when available.
62547ec w32: Fix make dist
6d5a2b1 Fix an explanation for socket on Windows.
0c22952 build: Update gpg-error.m4.
df6aec5 build: Remove WindowsCE support from mkheader.
6bc8a10 Silence compiler warnings.
e3b1e38 Drop WindowsCE support.
6da6a3d build: Update config.guess, config.sub, and config.rpath.
3156f29 build: Update gpg-error.m4.
5277f24 Fix the previous commit.
97516d6 Don't access NULL by wipememory.
2e310bb tests: Remove dead code
850f404 config: Remove 18 years unused variable
70b465e tests: Avoid leaking file descriptors on errors
2a5550b client: Handle inquiry from server with CONFIDENTIAL.
aafbde9 struct assuan_context_s: Move boolean fields to flags.
fd1ac5c client: Wipe the inbound buffer when CONFIDENTIAL.
89e8f26 server,client: Wipe the outbound buffer when CONFIDENTIAL.
d812e28 server: Wipe out the memory used by assuan_inquire if CONFIDENTIAL.
84ae2b1 Add assuan_sock_accept function.
c93eb90 w32: Store a flag if it's socket or not in Assuan CTX.
5b77d39 Fix API break.
9260fb1 build: Remove unused putc_unlocked.c.
0fae582 Take advantage of gpgrt_get_syscall_clamp function.
a43090e build: Fix listing m4 files.
28a40a2 w32: Fix assuan_socket_connect_fd to be usable.
a054a0a build: Better cross build support.
a8125eb Fix internal socket API to be consistent for SOCKET.
9de02ca build: When no gpg-error-config, not install libassuan-config.
eeda9ac Remove GNU Pth support.
564e0d9 w32: Fix definition of type to be generated into assuan.h.

(From OE-Core rev: 9f55a2ee159ca08f60151abc55e93edce724d335)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
81af9c6337 python3-sphinxcontrib-serializinghtml: upgrade 1.1.10 -> 2.0.0
License-Update: Rename LICENSE to LICENCE.rst

Changelog (https://github.com/sphinx-doc/sphinxcontrib-serializinghtml/blob/master/CHANGES.rst):

Release 2.0.0 (2024-07-28)

- Adopt Ruff
- Tighten MyPy settings
- Update GitHub actions versions

(From OE-Core rev: 6a2259bdf1cab3ad63a854aba5efc8c739d3e1c0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
778090bba4 python3-sphinxcontrib-qthelp: upgrade 1.0.8 -> 2.0.0
License-Update: Rename LICENSE to LICENCE.rst

Changelog (https://github.com/sphinx-doc/sphinxcontrib-qthelp/blob/master/CHANGES.rst):

Release 2.0.0 (2024-07-28)

- Adopt Ruff
- Tighten MyPy settings
- Update GitHub actions versions

(From OE-Core rev: 39a11db2889aa1f75e88d952896a6e09545a8eae)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
9a4943860c python3-sphinxcontrib-htmlhelp: upgrade 2.0.6 -> 2.1.0
License-Update: Rename LICENSE to LICENCE.rst

Changelog (https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES.rst):

Release 2.1.0 (2024-07-28)

- Adopt Ruff
- Tighten MyPy settings
- Update GitHub actions versions
- Escape HTML entities

(From OE-Core rev: 037b8f285b2348176ca650334c961aa91ad0667b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
3854ee7415 python3-sphinxcontrib-devhelp: upgrade 1.0.6 -> 2.0.0
License-Update: Rename LICENSE to LICENCE.rst

Changelog (https://github.com/sphinx-doc/sphinxcontrib-devhelp/blob/master/CHANGES.rst):

Release 2.0.0 (2024-07-28)

- Adopt Ruff
- Tighten MyPy settings
- Update GitHub actions versions
- Avoid storing build time in gzip headers

(From OE-Core rev: cacadc88ace0ae9fb89240493e73fa90cc87fdab)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
b8b2c10353 python3-sphinxcontrib-applehelp: upgrade 1.0.8 -> 2.0.0
License-Update: Renamed LICENSE to LICENCE.rst

Changelog (https://github.com/sphinx-doc/sphinxcontrib-applehelp/blob/master/CHANGES.rst):

Release 2.0.0 (2024-07-28)

- Adopt Ruff
- Tighten MyPy settings
- Update GitHub actions versions

(From OE-Core rev: 9b58c315274c941e2ab56564e01b316587ea6589)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
9f5405a877 python3-pytest: upgrade 8.3.1 -> 8.3.2
Changelog (https://docs.pytest.org/en/stable/changelog.html#pytest-8-3-2-2024-07-24):

Bug fixes
- #12652: Resolve regression conda environments where no longer being automatically detected.
  - by @RonnyPfannschmidt

(From OE-Core rev: 3da3be882af416125fd4f280c0658dffeeac5072)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
0f798d4ba2 python3-hypothesis: upgrade 6.108.4 -> 6.108.10
Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 6e75a6483cefe0f5e3dc22b8de8f870f3b576da8)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Trevor Gamblin
79d1a2d39a python3-sphinx: upgrade 7.4.7 -> 8.0.2
Changelog: https://github.com/sphinx-doc/sphinx/releases

(From OE-Core rev: fdadf315eb79dd97f8998f20d0bef8ea980212d5)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 14:28:49 +01:00
Richard Purdie
dc3e34b3a6 coreutils: Fix intermittent ptest issue
The test writes to the disk and means the space used changes. If this
crosses a number boundary, the heading spacing can change causing a test
failure. This was triggered by a recent gcc upgrade.

Add a fix for this which has been shared with upstream.

(From OE-Core rev: ca6f0d81fc7d5e53d216e5131724e826369fd4ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 12:04:39 +01:00
Khem Raj
51192a79f1 gcc: Upgrade to GCC 14.2
This is first bugfix release in GCC14 release series
100+ bugfixes [1]

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.2

(From OE-Core rev: 32b39de6a23f1e9ae5786d63f4c5849301eddbda)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 12:04:39 +01:00
Richard Purdie
af8643c867 vim: Drop vim-tools INSANE_SKIP as not needed
The install function already removes the executable bit on these tools
so that perl, python, awk and csh don't become dependencies. The INSANE_SKIP
therefore isn't needed.

(From OE-Core rev: f2afc7adb6de9f1f99d0247916c728787b7504a0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
afc895b67e glib-initial: Inherit nopackages
Since this is a bootstrap recipe with PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't do anything anyway.

This fixes errors from buildhistory changes where packages-split would be empty.

(From OE-Core rev: 731c3d6f16fdf7f9eb862a477a5363c82cac237c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
afec350590 glibc-y2038-tests: Don't force distro policy
How debugging is laid out is for the distro to decide, not the recipe. If the user
wants this, they can set this. This recipe isn't special.

(From OE-Core rev: 3250bdf1d9da2908b80326f4d3a61b0131fe6e2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
a8b4b3ef07 glibc-y2038-tests: Fix debug split and drop INSANE_SKIPs
Create the separate dbg package and then drop and the INSANE_SKIP values
as none of them appear to be needed once debug splitting is fixed.

(From OE-Core rev: 922b5e7272c9b63c39d0c5ee0a67f08664994ab9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
e6a49ef353 gettext: Drop ptest INSANE_SKIPs
In my local testing there are now no QA issues from this recipe so we can drop
the ptest INSANE_SKIPs.

(From OE-Core rev: 0a6821ca4a1c8aa26d3bf6ec1e8b2f86597a1699)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
15494c03f7 m4: Drop ptest INSANE_SKIPs
In my local testing there are now no QA issues from this recipe so we can drop
the ptest INSANE_SKIPs.

(From OE-Core rev: e7f221bafbabbfa688009015646bd84f983829d2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Richard Purdie
63acf50f1c perf: Drop perl buildpaths skip
According to my tests, enabling perl in PACKAGECONFIG and building doesn't
show any buildpaths QA issue. Therefore drop this INSANE_SKIP as obsolete.

(From OE-Core rev: f5f48a53507d73051c77159f423e555f3634b5fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-08 08:26:14 +01:00
Bruce Ashfield
1e9f886d76 yocto-bsp: set temporary preferred version for genericarm64
We want to introduce the 6.10 linux-yocto recipe, but genericarm64
hasn't been valided for it yet. As such, let's temporarily set the
preferred version to 6.6 so the builds don't break.

(From meta-yocto rev: 6ba3b6f15bf2460432da3a3aee782976e778381c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:48:27 +01:00
Trevor Gamblin
33d2c9faf4 kea: upgrade 2.4.1 -> 2.6.1
Refresh patch 'fix_pid_keactrl.patch' to apply on new version.

Add an extra sed call to do_install:append() to remove a reference to
TMPDIR from ${D}/usr/sbin/kea-admin.

License-Update: Update copyright year

(From OE-Core rev: 6dbf9466f776eef6513847c5e546e4582203c50e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:48:10 +01:00
Richard Purdie
a211f058cc sdpx: Avoid loading of SPDX_LICENSE_DATA into global config
Loading a load of json files into a memory structure and stashing in a bitbake
variable is relatively anti-social making bitbake -e output hard to read for
example as well as other potential performance issues.

Defer loading of that data until it is actually needed/used in a funciton
where it is now passed as a parameter.

(From OE-Core rev: 6f21cc9598178288784ff451ab3c40b174c0ef3e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Pedro Ferreira
7355465f9e buildhistory: Restoring files from preserve list
This fix will ensure that, when we activate feature
`BUILDHISTORY_RESET`, files marked to keep on feature
`BUILDHISTORY_PRESERVE` will indeed exist is buildhistory
final path since they are moved to buildhistory/old but
not restored at any point.

(From OE-Core rev: 9f68a45aa238ae5fcdfaca71ba0e7015e9cb720e)

Signed-off-by: Pedro Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Pedro Ferreira
738b3b1e65 buildhistory: Fix intermittent package file list creation
The directory that buildhistory_list_pkg_files writes to during do_package
is created by do_packagedata so a clean buildhistory doesn't have
files-in-package written during the first build since packagedata happens
after do_package.

Ensure the output package folder is created to avoid missing
files-in-package.txt files.

Also it ensures that in case of `find` fails we leave with
a hard error instead of hiding the error on the for loop.

(From OE-Core rev: 8de9b8c1e199896b9a7bc5ed64967c6bfbf84bea)

Signed-off-by: Pedro Silva Ferreira <Pedro.Silva.Ferreira@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
1c3439f87c python3-tomli: remove recipe (moved to meta-python)
Most packages use tomllib and fall back to tomli. The last user in core
was python3-setuptools-scm, removed in 5c8a0a2.

(From OE-Core rev: 0dc792a62df6b6ceec4c897c41d13238e829af61)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
64f5e2c808 python3-toml: remove recipe (moved to meta-python)
There are no potential users of this recipe now that importlib_metadata
has been removed, and importlib_metadata used tomllib anyway.

(From OE-Core rev: 865e731392e1581b081e21287ebdae0b0f483aca)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
9a0329ec5b python3-importlib-metadata: remove recipe (moved to meta-python)
This package is a backport of the importlib.metadata standard library
package, so shouldn't really be needed since we have Python 3.12.

The last user in core was pytest, removed in 0aee9aa.

(From OE-Core rev: 686bae9aff26410eaa1ab591bca91c00c4b029ef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
37de7a146c pytest-runner: remove recipe (moved to meta-python)
This is a deprecated package so rarely used now.

The last user in core was python3-chardet, removed in 55b49e9.

(From OE-Core rev: bb00747abc1312efb1059dec6d585488d6edbdee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
686e477de6 python3-py: remove recipe (moved to meta-python)
The last user in core was pytest, removed in 0aee9a.

(From OE-Core rev: 6c0f07ba43646aa7987dfc3de8871b55f875fa07)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
f5bea8767f python3-rfc3986-validator: remove recipe (moved to meta-python)
The only user of this recipe in core is python3-jsonschema, but only if
you select the non-default 'nongpl' PACKAGECONFIG.

Move to meta-python so it's there if needed.

(From OE-Core rev: 41ecbbe06f3d747cb68789817e19b600d672d9ea)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Ross Burton
2700bde99d python3-pathlib2: remove recipe (moved to meta-python)
This recipe is a backport of pathlib intended for older releases of
Python but as we have a modern release of Python it shouldn't be needed.

There are no users in oe-core, so move to meta-python.

(From OE-Core rev: 4857b287a86ad0c2afed4bdfabe18c545bc9291b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Alexander Kanavin
90aa4ff101 python3-cython: correct upstream version check
(From OE-Core rev: a05594e0b176eb2e3a7facf758e8c293bce96ce2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Alexander Kanavin
9649bec517 xf86-video-intel: correct SRC_URI as freedesktop anongit is down
(From OE-Core rev: 04037a14e1431c4a51f5d51885974732a6108368)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
e7b915a3ad oeqa/runtime/parselogs: mips: skip sysctl warning
Upstream has shuffled the sysctl registration via the commit:

   commit d4ae80ffa64f87b9c355692b680b603add084e96
   Author: Zhen Ni <nizhen@uniontech.com>
   Date:   Tue Feb 15 19:46:03 2022 +0800

       sched: Move cfs_bandwidth_slice sysctls to fair.c

       move cfs_bandwidth_slice sysctls to fair.c and use the
       new register_sysctl_init() to register the sysctl interface.

       Signed-off-by: Zhen Ni <nizhen@uniontech.com>
       Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>

The way that we have to configure our mips qemu platforms
results in an empty sysctl table registration and the following
harmless warnings:

  "failed when register_sysctl_sz sched_fair_sysctls to kernel"
  "failed when register_sysctl_sz sched_core_sysctls to kernel"

Adding them to our list of acceptable dmesg warnings.

(From OE-Core rev: 4cf678858ef6f2c3310ad8f26cac3e7e133d4f0a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
12d0848bf2 oeqa/runtime/parselogs: update pci BAR ignore for kernel 6.10
The format of the pci BAR warnings we get on qemu boots has
changed in 6.10+ via the following kernel commit:

    commit dc4e6f21c3f844ebc1c52b6920b8ec5dfc73f4e8
    Author: Puranjay Mohan <puranjay@kernel.org>
    Date:   Sat Nov 6 16:56:06 2021 +0530

        PCI: Use resource names in PCI log messages

        Use the pci_resource_name() to get the name of the resource and use it
        while printing log messages.

        [bhelgaas: rename to match struct resource * names, also use names in other BAR messages]
        Link: https://lore.kernel.org/r/20211106112606.192563-3-puranjay12@gmail.com
        Signed-off-by: Puranjay Mohan <puranjay12@gmail.com>
        Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

Since it doesn't appear that we can do regex's in parselogs
and the bar number is now in the middle of the message, we
go with a slightly wider format of the message to ignore.

(From OE-Core rev: 0a7126604b6536868600d43aff000a426384995c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
1c8bd2fb56 linux-yocto/6.10: update to v6.10.3
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    d29de02effd4e Linux 6.10.3
    979185d6ddfea selftests/bpf: DENYLIST.aarch64: Skip fexit_sleep again
    bc8ccc1f1e079 selinux,smack: remove the capability checks in the removexattr hooks
    bb6841f96eb6f powerpc/configs: Update defconfig with now user-visible CONFIG_FSL_IFC
    1861a571928cc perf dso: Fix build when libunwind is enabled
    6a424ef14fbcb wifi: ath12k: fix mbssid max interface advertisement
    767d55c3f571c fs: don't allow non-init s_user_ns for filesystems without FS_USERNS_MOUNT
    70a449b162c4f i3c: mipi-i3c-hci: Fix number of DAT/DCT entries for HCI versions < 1.1
    70100fe721840 nvme-pci: add missing condition check for existence of mapped data
    7b2384f7ebbf6 apparmor: unpack transition table if dfa is not present
    ac2d19b9ba6c8 ublk: fix UBLK_CMD_DEL_DEV_ASYNC handling
    697d7ca75d581 io_uring: fix io_match_task must_hold
    58b067d997c61 thermal: core: Back off when polling thermal zones on errors
    4530d81ef57aa thermal: trip: Split thermal_zone_device_set_mode()
    d5fe884ce28c5 iommu: sprd: Avoid NULL deref in sprd_iommu_hw_en
    0ac864075fc8b s390/cpum_cf: Fix endless loop in CF_DIAG event stop
    6a54c9737a843 s390/setup: Fix __pa/__va for modules under non-GPL licenses
    7368a86b8a3be s390/pci: Allow allocation of more than 1 MSI interrupt
    943270570f637 s390/pci: Refactor arch_setup_msi_irqs()
    dd296402e6816 ceph: fix incorrect kmalloc size of pagevec mempool
    00a60bdabefe0 timers/migration: Do not rely always on group->parent
    51be301d29d67 ASoC: TAS2781: Fix tasdev_load_calibrated_data()
    1978d917827fa ASoC: Intel: use soc_intel_is_byt_cr() only when IOSF_MBI is reachable
    70500f4fce354 drm/xe/pf: Limit fair VF LMEM provisioning
    fa1c57d10700d drm/xe/exec: Fix minor bug related to xe_sync_entry_cleanup
    eade3b0867db8 spi: spidev: add correct compatible for Rohm BH2228FV
    16f6a58b99763 ASoC: sof: amd: fix for firmware reload failure in Vangogh platform
    7988f28990117 ASoC: Intel: Fix RT5650 SSP lookup
    e68262dcf45c3 ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices
    4c61ee99eb972 nvme-pci: Fix the instructions for disabling power management
    45e03d35229b6 spi: microchip-core: ensure TX and RX FIFOs are empty at start of a transfer
    65850e52a7e3b spi: microchip-core: fix init function not setting the master and motorola modes
    263b6c23e1ffd spi: microchip-core: only disable SPI controller when register value change requires it
    0fe4960783942 spi: microchip-core: defer asserting chip select until just before write to TX FIFO
    1504fb528742d spi: microchip-core: fix the issues in the isr
    aa650d0a0b535 ASoC: SOF: imx8m: Fix DSP control regmap retrieval
    5c19062372bb6 auxdisplay: ht16k33: Drop reference after LED registration
    47ff960f0e460 lirc: rc_dev_get_from_fd(): fix file leak
    c8f1f53d13c44 powerpc: fix a file leak in kvm_vcpu_ioctl_enable_cap()
    46c17ead5b738 apparmor: Fix null pointer deref when receiving skb during sock creation
    7e4a539bca7d8 mISDN: Fix a use after free in hfcmulti_tx()
    35dd37536e2e0 xsk: Require XDP_UMEM_TX_METADATA_LEN to actuate tx_metadata_len
    ec4eea14d75f7 bpf: Fix a segment issue when downgrading gso_size
    af6bd5c9901b1 net: mediatek: Fix potential NULL pointer dereference in dummy net_device handling
    a13d3864b76ac net: nexthop: Initialize all fields in dumped nexthops
    fa938b04359f0 net: stmmac: Correct byte order of perfect_match
    dd66c60645ff0 selftests: forwarding: skip if kernel not support setting bridge fdb learning limit
    2abe350db1aa5 tipc: Return non-zero value from tipc_udp_addr2str() on error
    a939f3f9975b3 netfs: Fix writeback that needs to go to both server and cache
    c8f36af07025c netfilter: nft_set_pipapo_avx2: disable softinterrupts
    0c69f4777924f ice: Fix recipe read procedure
    b3892898d0ea8 net: bonding: correctly annotate RCU in bond_should_notify_peers()
    7cdbc23424d7b ipv4: Fix incorrect source address in Record Route option
    44f83b7e45ae8 MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later
    ba61d9ecc604b tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    2188279e6b2a3 bpf, events: Use prog to emit ksymbol event for main program
    22094f5f52e7b dma: fix call order in dmam_free_coherent
    1c939f94571b9 af_unix: Disable MSG_OOB handling for sockets in sockmap/sockhash
    8fa2d3427f98c libbpf: Fix no-args func prototype BTF dumping syntax
    db35552a6ffee selftests/bpf: fexit_sleep: Fix stack allocation for arm64
    fce48882dfbc8 kbuild: avoid build error when single DTB is turned into composite DTB
    1cb5934cc0962 f2fs: fix to update user block counts in block_operations()
    381cbe85592c7 f2fs: fix null reference error when checking end of zone
    e0671f99ae6ef watchdog: rzg2l_wdt: Check return status of pm_runtime_put()
    a70c141e8fefb watchdog: rzg2l_wdt: Use pm_runtime_resume_and_get()
    59b0fd36ec285 f2fs: fix start segno of large section
    42b15c72db065 um: time-travel: fix signal blocking race/hang
    336370d5bfbd3 arch: um: rust: Use the generated target.json again
    a79c2099928e2 um: time-travel: fix time-travel-start option
    2025dce49a06f phy: zynqmp: Enable reference clock correctly
    57a05c3a891cb phy: cadence-torrent: Check return value on register read
    a1e10962e8dfc phy: phy-rockchip-samsung-hdptx: Select CONFIG_MFD_SYSCON
    2f32c3f818537 dmaengine: ti: k3-udma: Fix BCHAN count with UHC and HC channels
    6aa6892a90a5a jfs: Fix array-index-out-of-bounds in diFree
    7b27de0d27e41 kdb: Use the passed prompt in kdb_position_cursor()
    9711067017a23 kdb: address -Wformat-security warnings
    cda36155fc458 phy: qcom: qmp-pcie: restore compatibility with existing DTs
    3ba0ae885215b f2fs: fix to truncate preallocated blocks in f2fs_file_open()
    7b4219d0212ad minmax: scsi: fix mis-use of 'clamp()' in sr.c
    356270ed4de41 Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x13d3:0x3591
    692cca98456d5 Bluetooth: btusb: Add RTL8852BE device 0489:e125 to device tables
    dd2353f158999 rbd: don't assume RBD_LOCK_STATE_LOCKED for exclusive mappings
    a049f7a09d440 rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
    c600e6de0cd09 drm/panfrost: Mark simple_ondemand governor as softdep
    916dbd422213c drm/etnaviv: don't block scheduler when GPU is still active
    541dbf8735338 MIPS: Loongson64: Test register availability before use
    8131b5046e703 MIPS: Loongson64: reset: Prioritise firmware service
    82016fa2f209a MIPS: Loongson64: Remove memory node for builtin-dtb
    519a900ad3e0b MIPS: Loongson64: env: Hook up Loongsson-2K
    840db5d790035 MIPS: dts: loongson: Fix GMAC phy node
    b721ae74eb7f9 MIPS: ip30: ip30-console: Add missing include
    ed987a5ca7792 MIPS: dts: loongson: Add ISA node
    e63a9e5475ab2 remoteproc: imx_rproc: Fix refcount mistake in imx_rproc_addr_init
    c877a5f5268d4 remoteproc: imx_rproc: Skip over memory region when node value is NULL
    3a18cb4c711f9 remoteproc: stm32_rproc: Fix mailbox interrupts queuing
    ebdee076e6e08 rbd: don't assume rbd_is_lock_owner() for exclusive mappings
    a59633f6a6aa9 dm-verity: fix dm_is_verity_target() when dm-verity is builtin
    9d8d95b10e614 selftests/sigaltstack: Fix ppc64 GCC build
    bbf2c94503f6a crypto: ccp - Fix null pointer dereference in __sev_snp_shutdown_locked
    ee39384ee787e RDMA/iwcm: Fix a use-after-free related to destroying CM IDs
    378a9d51afc17 platform: mips: cpu_hwmon: Disable driver on unsupported hardware
    774ffcb28cd96 ASoC: SOF: ipc4-topology: Use correct queue_id for requesting input pin format
    60609323f1328 ASoC: codecs: wcd939x: Fix typec mux and switch leak during device removal
    9aa5b0f19cc88 bus: mhi: ep: Do not allocate memory for MHI objects from DMA zone
    1bbbaddb25cd7 watchdog/perf: properly initialize the turbo mode timestamp and rearm counter
    5570209a6551b rtc: abx80x: Fix return value of nvmem callback on read
    c30b42b558880 rtc: isl1208: Fix return value of nvmem callbacks
    10a93cc4ec9a9 drm/i915/dp: Don't switch the LTTPR mode on an active link
    7d6971bfe1df3 drm/i915/dp: Reset intel_dp->link_trained before retraining the link
    9f33d44ab5ef5 drm/amd/amdgpu: Fix uninitialized variable warnings
    9bf1a4e3d4be4 drm/amdgpu: add missed harvest check for VCN IP v4/v5
    fa717750ecf18 drm/amdgpu: reset vm state machine after gpu reset(vram lost)
    972dd51f1857b drm/dp_mst: Fix all mstb marked as not probed after suspend/resume
    60887a89986f0 drm/udl: Remove DRM_CONNECTOR_POLL_HPD
    09a67694edd1f drm/amdgpu/sdma5.2: Update wptr registers as well as doorbell
    1a802eaa152b8 drm/i915/gt: Do not consider preemption during execlists_dequeue for gen8
    a9e7274166a70 perf/x86/intel/pt: Fix a topa_entry base address calculation
    9e00108f122c0 perf/x86/intel/pt: Fix topa_entry base length
    97ad12b9b6e69 perf/x86/intel/ds: Fix non 0 retire latency on Raptorlake
    cfb00bcd61533 perf/x86/intel/uncore: Fix the bits of the CHA extended umask for SPR
    3293f2dd0921b perf stat: Fix the hard-coded metrics calculation on the hybrid
    f34d8307a73a1 perf: Fix event leak upon exec and file release
    3d7a63352a93b perf: Fix event leak upon exit
    3eac973eb5cb2 scsi: qla2xxx: validate nvme_local_port correctly
    36fdc5319c4d0 scsi: qla2xxx: Complete command early within lock
    1e6aca8f07f1e scsi: qla2xxx: Fix flash read failure
    5b1ed6e6f2df1 scsi: qla2xxx: Reduce fabric scan duplicate code
    1e39d28440095 scsi: qla2xxx: Use QP lock to search for bsg
    8192c533e89d9 scsi: qla2xxx: Fix for possible memory corruption
    50ed642a860ff scsi: qla2xxx: Unable to act on RSCN for port online
    b35d6d5a2f386 scsi: qla2xxx: During vport delete send async logout explicitly
    81079920f1163 scsi: lpfc: Allow DEVICE_RECOVERY mode after RSCN receipt if in PRLI_ISSUE state
    7816a528add16 rtc: cmos: Fix return value of nvmem callbacks
    5fdb0de5465b7 mm/numa_balancing: teach mpol_to_str about the balancing mode
    f8ae38f1dfe65 irqchip/imx-irqsteer: Handle runtime power management correctly
    0a1230db5d67e md/raid1: set max_sectors during early return from choose_slow_rdev()
    3a7f23e1d81ce irqdomain: Fixed unbalanced fwnode get and put
    95065edb8ebb2 devres: Fix memory leakage caused by driver API devm_free_percpu()
    c885ca965a4cf devres: Fix devm_krealloc() wasting memory
    205dfd57a8ee5 dt-bindings: phy: qcom,qmp-usb: fix spelling error
    292081c4e7f57 ice: Add a per-VF limit on number of FDIR filters
    edd21c8a929f9 gve: Fix an edge case for TSO skb validity check
    d4663536754de kobject_uevent: Fix OOB access within zap_modalias_env()
    78672d49d3eeb arm64: mm: Fix lockless walks with static and dynamic page-table folding
    00a2ac6c89ebe ASoC: amd: yc: Support mic on Lenovo Thinkpad E16 Gen 2
    834188d88a806 ASoC: SOF: ipc4-topology: Preserve the DMA Link ID for ChainDMA on unprepare
    5eca92031ffe2 ASoC: SOF: ipc4-topology: Only handle dai_config with HW_PARAMS for ChainDMA
    4a9a52b70cce1 alloc_tag: outline and export free_reserved_page()
    a1e78bf940c4c kbuild: Fix '-S -c' in x86 stack protector scripts
    8a83f0e5dda0e decompress_bunzip2: fix rare decompression failure
    96b74765425c5 mm: fix old/young bit handling in the faulting path
    f5418f48a93b6 block: fix deadlock between sd_remove & sd_release
    b7c51fb4c16ba clk: samsung: fix getting Exynos4 fin_pll rate from external clocks
    154d33dc8de81 ubi: eba: properly rollback inside self_check_eba
    f6386c256b79b clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
    366c3f688dd02 nilfs2: handle inconsistent state in nilfs_btnode_create_block()
    9e5f087b81a71 dmaengine: fsl-edma: change the memory access from local into remote mode in i.MX 8QM
    bd9b941078bc4 f2fs: use meta inode for GC of COW file
    0ecfe3974b216 f2fs: use meta inode for GC of atomic file
    1e7725814361c f2fs: fix return value of f2fs_convert_inline_inode()
    2434344559f67 f2fs: fix to don't dirty inode for readonly filesystem
    2ea700595158b f2fs: fix to force buffered IO on inline_data inode
    af466037fa2b2 ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
    a28fe9105fee4 scsi: qla2xxx: Return ENOBUFS if sg_cnt is more than one for ELS cmds
    0a4ae2644e2a3 fs/ntfs3: Update log->page_{mask,bits} if log->page_size changed
    830dc86a29312 mm/page_alloc: fix pcp->count race between drain_pages_zone() vs __rmqueue_pcplist()
    49b22e06a9477 erofs: fix race in z_erofs_get_gbuf()
    242cda6c45a09 efi/libstub: Zero initialize heap allocated struct screen_info
    5a9a5f39376ff hostfs: fix dev_t handling
    7789a1d6792af dev/parport: fix the array out-of-bounds risk
    d9954d47c73bf xhci: Apply XHCI_RESET_TO_DEFAULT quirk to TGL
    4130526f7a8d8 binder: fix hang of unregistered readers
    23c57a7c88b05 PCI: loongson: Enable MSI in LS7A Root Complex
    b27d26d07b187 PCI: rockchip: Use GPIOD_OUT_LOW flag while requesting ep_gpio
    bf50d38243989 PCI: dw-rockchip: Fix initial PERST# GPIO value
    bfb58cc86e49d PCI: hv: Return zero, not garbage, when reading PCI_INTERRUPT_PIN
    b16f3ea1db47a PCI/DPC: Fix use-after-free on concurrent DPC and hot-removal
    43c6b8d369d8f parisc: Fix warning at drivers/pci/msi/msi.h:121
    985d3c869aa6c hwrng: amd - Convert PCIBIOS_* return codes to errnos
    96852136af638 drm/fbdev-dma: Fix framebuffer mode for big endian devices
    d0facbb37293a fbdev: vesafb: Detect VGA compatibility from screen info's VESA attributes
    4b89bfaefb5fe tools/memory-model: Fix bug in lock.cat
    11f4a6d2740bc ALSA: usb-audio: Add a quirk for Sonix HD USB Camera
    590c9a623ab39 ALSA: usb-audio: Move HD Webcam quirk to the right place
    67f2807608604 ALSA: usb-audio: Fix microphone sound on HD webcam.
    fcb2fa8f500f5 ALSA: ump: Force 1 Group for MIDI1 FBs
    d40ff156254f4 ALSA: ump: Don't update FB name for static blocks
    2afaf0b52fb12 ALSA: firewire-lib: fix wrong value as length of header for CIP_NO_HEADER case
    2da6a98422a81 ALSA: hda/realtek: cs35l41: Fixup remaining asus strix models
    be7486f6e0d02 KVM: nVMX: Fold requested virtual interrupt check into has_nested_events()
    65d5d97e753a5 KVM: nVMX: Check for pending posted interrupts when looking for nested events
    b75e89946e9c5 KVM: nVMX: Request immediate exit iff pending nested event needs injection
    0c6c9421b0afd KVM: nVMX: Add a helper to get highest pending from Posted Interrupt vector
    a8ab69cf6f432 KVM: VMX: Split out the non-virtualization part of vmx_interrupt_blocked()
    a849f058f1be1 KVM: PPC: Book3S HV nestedv2: Add DPDES support in helper library for Guest state buffer
    86abaf9d6c984 KVM: PPC: Book3S HV nestedv2: Fix doorbell emulation
    a70fcc748d41e remoteproc: mediatek: Increase MT8188/MT8195 SCP core0 DRAM size
    da24c4dc87d1d media: ivsc: csi: don't count privacy on as error
    f083de7ff8f6b media: uvcvideo: Fix integer overflow calculating timestamp
    54f56ba4829a8 jbd2: avoid infinite transaction commit loop
    ceee029e76dad jbd2: precompute number of transaction descriptor blocks
    428f8371d09c3 jbd2: make jbd2_journal_get_max_txn_bufs() internal
    5ab6ac4e9e165 media: imx-pxp: Fix ERR_PTR dereference in pxp_probe()
    7b17fbfe4fd6b media: i2c: alvium: Move V4L2_CID_GAIN to V4L2_CID_ANALOG_GAIN
    08e5adac54e89 media: ivsc: csi: add separate lock for v4l2 control handler
    ea916691a4b00 leds: mt6360: Fix memory leak in mt6360_init_isnk_properties()
    8f4acacd20671 leds: triggers: Flush pending brightness before activating trigger
    5600d6013c634 md/md-bitmap: fix writing non bitmap pages
    e9ad5a675cba2 leds: ss4200: Convert PCIBIOS_* return codes to errnos
    fdcadf496f09e drivers: soc: xilinx: check return status of get_api_version()
    86d03934a5d61 cpufreq: qcom-nvmem: fix memory leaks in probe error paths
    02253054b4f96 wifi: rtw88: usb: Further limit the TX aggregation
    77911a765209d wifi: rtw88: usb: Fix disconnection after beacon loss
    2d3673643a62d wifi: rtw89: fix HW scan not aborting properly
    c2b75b4e483a1 wifi: mwifiex: Fix interface type change
    a2fa4c058a7c1 genirq: Set IRQF_COND_ONESHOT in request_irq()
    cf4a37d14ccd6 trace/pid_list: Change gfp flags in pid_list_fill_irq()
    c2ed4dd5e341d io_uring: don't allow netpolling with SETUP_IOPOLL
    4d909285f6d28 io_uring: tighten task exit cancellations
    2a03e99ff9421 io_uring: fix lost getsockopt completions
    299bc6ffa57e0 ext4: make sure the first directory block is not a hole
    cdd3453216990 ext4: check dot and dotdot of dx_root before making dir indexed
    68afb02d219e6 block: check bio alignment in blk_mq_submit_bio
    550cc6a4dc25e m68k: amiga: Turn off Warp1260 interrupts during boot
    8ca170c39eca7 udf: Avoid using corrupted block bitmap buffer
    ed88f19eba215 task_work: Introduce task_work_cancel() again
    012e110c7dc70 task_work: s/task_work_cancel()/task_work_cancel_func()/
    f8533c194141b cifs: mount with "unix" mount option for SMB1 incorrectly handled
    08e863bd57908 cifs: fix reconnect with SMB1 UNIX Extensions
    3739d711246d8 cifs: fix potential null pointer use in destroy_workqueue in init_cifs error path
    fde89bb85457a apparmor: use kvfree_sensitive to free data->data
    185616085b12e drm/amd/display: Check for NULL pointer
    79bc42a9f5866 scsi: qla2xxx: Fix optrom version displayed in FDMI
    5afbbe7a5535f drm/amd/display: fix corruption with high refresh rates on DCN 3.0
    475a5b3b7c8ed drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
    977ee4fe895e1 drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes
    fc7c4b8ec9d64 io_uring/io-wq: limit retrying worker initialisation
    e71327a647a58 lsm: fixup the inode xattr capability handling
    40d7f363196c1 media: i2c: Kconfig: Fix missing firmware upload config select
    f1834feb25770 ext2: Verify bitmap and itable block numbers before using them
    d3493d6f0dfb1 hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()
    c7e2f43d182f5 sysctl: always initialize i_uid/i_gid
    1005f8300593e ata: libata-scsi: Honor the D_SENSE bit for CK_COND=1 and no error
    67d9d0b6ae4aa ata: libata-scsi: Do not overwrite valid sense data when CK_COND=1
    6a96041659e83 media: venus: fix use after free in vdec_close
    9e0ad66cc78dd char: tpm: Fix possible memory leak in tpm_bios_measurements_open()
    d7f3e486b8f03 tpm_tis_spi: add missing attpm20p SPI device ID entry
    9291f9de77e10 selftests/nolibc: fix printf format mismatch in expect_str_buf_eq()
    1477bafd7df4f ata: libata-scsi: Fix offsets for the fixed format sense data
    4a534f9550215 null_blk: Fix description of the fua parameter
    d2abd36ce8b7d media: stm32: dcmipp: correct error handling in dcmipp_create_subdevs
    e20f9e50dced0 md/raid5: fix spares errors about rcu usage
    794964ac11ffe fuse: verify {g,u}id mount options correctly
    054dc05f57694 sched/fair: set_load_weight() must also call reweight_task() for SCHED_IDLE tasks
    f035d08e8ce2d wifi: mac80211: chanctx emulation set CHANGE_CHANNEL when in_reconfig
    2dd958fa9f31f NFSD: Support write delegations in LAYOUTGET
    8bb69cbc32d69 drm/xe: Use write-back caching mode for system memory on DGFX
    e1523d1372339 ipv6: take care of scope when choosing the src addr
    a9e9686a84fac ipv4: fix source address selection with route leak
    ce1268b5adbe2 ipv6: fix source address selection with route leak
    ebb124228eb57 kernel: rerun task_work while freezing in get_signal()
    b7859ff398b6b btrfs: fix extent map use-after-free when adding pages to compressed bio
    bf55c43fcf436 workqueue: Always queue work items to the newest PWQ for order workqueues
    66f23a7b5174b af_packet: Handle outgoing VLAN packets without hardware offloading
    c18191ae468fc net: netconsole: Disable target before netpoll cleanup
    2cdab4b4bf773 tick/broadcast: Make takeover of broadcast hrtimer reliable
    4eb577144b6f6 dt-bindings: thermal: correct thermal zone node name limit
    1535254fa4b38 thermal/drivers/broadcom: Fix race between removal and clock disable
    1d1970493c289 exfat: fix potential deadlock on __exfat_get_dentry_set
    4615095f17abb Revert "firewire: Annotate struct fw_iso_packet with __counted_by()"
    0099736d7effc x86/efistub: Revert to heap allocated boot_params for PE entrypoint
    436d1595fa8de x86/efistub: Avoid returning EFI_SUCCESS on error
    891d90ab1fe59 mm/mglru: fix ineffective protection calculation
    e7767066d5d76 mm/mglru: fix overshooting shrinker memory
    9f72d8703dd6a mm: mmap_lock: replace get_memcg_path_buf() with on-stack buffer
    a39e38be632f0 mm/mglru: fix div-by-zero in vmpressure_calc_level()
    8e157c8421daa mm/hugetlb: fix possible recursive locking detected warning
    eebc67ae0b224 hugetlb: force allocating surplus hugepages on mempolicy allowed nodes
    e60f62f75c997 mm/huge_memory: avoid PMD-size page cache if needed
    7e1f4efb8d614 mm: huge_memory: use !CONFIG_64BIT to relax huge page alignment on 32 bit machines
    b14cc2cf313bd landlock: Don't lose track of restrictions on cred_transfer
    f7b9c501b548b selftests/landlock: Add cred_transfer test
    11fa625b45faf mailbox: mtk-cmdq: Move devm_mbox_controller_register() after devm_pm_runtime_enable()
    131c294b77576 mailbox: imx: fix TXDB_V2 channel race condition
    fbe0fa41d8da7 mailbox: omap: Fix mailbox interrupt sharing
    b6273c184d09e remoteproc: k3-r5: Fix IPC-only mode detection
    8fea24a25cd93 remoteproc: mediatek: Don't attempt to remap l1tcm memory if missing
    f3af305fd8c59 power: supply: ingenic: Fix some error handling paths in ingenic_battery_get_property()
    ce8bf8b992192 power: supply: ab8500: Fix error handling when calling iio_read_channel_processed()
    773e7fd311ed1 LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
    420837d08cc2c sbitmap: fix io hung due to race on sbitmap_word::cleared
    215553c3c3db1 alloc_tag: fix page_ext_get/page_ext_put sequence during page splitting
    24b39c0ca836e lib: reuse page_ext_data() to obtain codetag_ref
    fba302603cea3 lib: add missing newline character in the warning message
    68d4c3722290a s390/dasd: fix error checks in dasd_copy_pair_store()
    06219163d24fb powerpc/8xx: fix size given to set_huge_pte_at()
    973850dd83b62 md-cluster: fix hanging issue while a new disk adding
    ff9400d32183b fs/ntfs3: Keep runs for $MFT::$ATTR_DATA and $MFT::$ATTR_BITMAP
    73e38cb683679 fs/ntfs3: Missed error return
    2e83375fd95b8 fs/ntfs3: Fix the format of the "nocase" mount option
    6af0ce7182e92 rtc: interface: Add RTC offset to alarm after fix-up
    31be02ef4e54a nilfs2: avoid undefined behavior in nilfs_cnt32_ge macro
    45475cbe0cc7d selftests/damon/access_memory: use user-defined region size
    16a767c96902e fs/proc/task_mmu: properly detect PM_MMAP_EXCLUSIVE per page of PMD-mapped THPs
    65c52a91e3998 fs/proc/task_mmu: don't indicate PM_MMAP_EXCLUSIVE without PM_PRESENT
    680f6ceee867d fs/proc/task_mmu: indicate PM_FILE for PMD-mapped file THP
    ce8c54d360df7 pinctrl: renesas: r8a779g0: Fix TPU suffixes
    d6452ef3a6e31 pinctrl: renesas: r8a779g0: Fix TCLK suffixes
    488f0a526df05 pinctrl: renesas: r8a779g0: FIX PWM suffixes
    91bbe8e304092 pinctrl: renesas: r8a779g0: Fix IRQ suffixes
    42c06e713fcad pinctrl: renesas: r8a779g0: Fix (H)SCIF3 suffixes
    f634a01daf92a pinctrl: renesas: r8a779g0: Fix (H)SCIF1 suffixes
    f20026c237746 pinctrl: renesas: r8a779g0: Fix FXR_TXEN[AB] suffixes
    6474ac2f334b4 pinctrl: renesas: r8a779g0: Fix CANFD5 suffix
    500295cdc5247 rtc: tps6594: Fix memleak in probe
    c41eadba18049 fs/ntfs3: Fix field-spanning write in INDEX_HDR
    d7d3cbb23136a fs/ntfs3: Drop stray '\' (backslash) in formatting string
    8e0f398c6f5c3 fs/ntfs3: Correct undo if ntfs_create_inode failed
    d5ad80aabd5a7 fs/ntfs3: Replace inode_trylock with inode_lock
    33d8dfc0bdaf9 pinctrl: freescale: mxs: Fix refcount of child
    b3c0850f871c4 pinctrl: ti: ti-iodelay: fix possible memory leak when pinctrl_enable() fails
    d90085d566a9b pinctrl: single: fix possible memory leak when pinctrl_enable() fails
    272b9b8e9b7af pinctrl: core: fix possible memory leak when pinctrl_enable() fails
    065d1ee1a0c8d pinctrl: rockchip: update rk3308 iomux routes
    edfef987bc5c8 fs/ntfs3: Add missing .dirty_folio in address_space_operations
    0bbd61e1ac77f fs/ntfs3: Fix getting file type
    2f7236ba9f7c5 fs/ntfs3: Missed NI_FLAG_UPDATE_PARENT setting
    539bd10ab6539 fs/ntfs3: Deny getting attr data block in compressed frame
    ff73b9187376d fs/ntfs3: Fix transform resident to nonresident for compressed files
    a62241fb49ac1 fs/ntfs3: Merge synonym COMPRESSION_UNIT and NTFS_LZNT_CUNIT
    1fd2bf31aa542 net: dsa: b53: Limit chip-wide jumbo frame config to CPU ports
    ea59437fe8aa4 net: dsa: mv88e6xxx: Limit chip-wide frame size config to CPU ports
    bc410a24a99c2 ipv4: Fix incorrect TOS in fibmatch route get reply
    3ff2e0a82532b ipv4: Fix incorrect TOS in route get reply
    c5d21aabf1b31 net: flow_dissector: use DEBUG_NET_WARN_ON_ONCE
    c62bf09262c5e gve: Fix XDP TX completion handling when counters overflow
    c420cd5d5bc67 ipvs: properly dereference pe in ip_vs_add_service
    8058c88ac0df2 netfilter: nf_set_pipapo: fix initial map fill
    74de442b8e12a netfilter: ctnetlink: use helper function to calculate expect ID
    487ded1dbb0c4 MIPS: Fix fallback march for SB1
    d2aea330f4de1 RDMA/mana_ib: Set correct device into ib
    03ab92bb185c6 RDMA/mana_ib: set node_guid
    79dc0c2200cf4 bnxt_re: Fix imm_data endianness
    abd9c8843cbc1 RDMA: Fix netdev tracker in ib_device_set_netdev
    e1640fed0377b crypto: mxs-dcp - Ensure payload is zero when using key slot
    133a2823a9ba2 iommu/vt-d: Fix identity map bounds in si_domain_init()
    97204e45721f3 RDMA/hns: Fix mbx timing out before CMD execution is completed
    16c003fa616d2 RDMA/hns: Fix insufficient extend DB for VFs.
    d0aa92bd8111b RDMA/hns: Fix undifined behavior caused by invalid max_sge
    f169b6243032e RDMA/hns: Fix shift-out-bounds when max_inline_data is 0
    ecdf900a5a337 RDMA/hns: Fix missing pagesize and alignment check in FRMR
    6dbec7322f620 RDMA/hns: Fix unmatch exception handling when init eq table fails
    06580b33c183c RDMA/hns: Fix soft lockup under heavy CEQE load
    9b812436f03e3 RDMA/hns: Check atomic wr length
    9210853b0c529 macintosh/therm_windtunnel: fix module unload.
    dd479933722ec powerpc/xmon: Fix disassembly CPU feature checks
    7e686c35fad0c iommu/vt-d: Fix aligned pages in calculate_psi_aligned_address()
    497a8fdd1e5c1 iommu/vt-d: Limit max address mask to MAX_AGAW_PFN_WIDTH
    a08b8b144cc79 PCI: dwc: Fix index 0 incorrectly being interpreted as a free ATU slot
    66363bc6ff3eb PCI: qcom-ep: Disable resources unconditionally during PERST# assert
    aceabb0c074a2 MIPS: Octeron: remove source file executable bit
    f6f2e9c208a65 clk: en7523: fix rate divider for slic and spi clocks
    b5bdb36e7ccf9 clk: qcom: Park shared RCGs upon registration
    3717b094aa727 clk: qcom: gcc-x1e80100: Set parent rate for USB3 sec and tert PHY pipe clks
    a3889e012f7df clk: qcom: kpss-xcc: Return of_clk_add_hw_provider to transfer the error
    8a2694a0cad71 crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
    728ca88a7e982 nvmem: rockchip-otp: set add_legacy_fixed_of_cells config option
    9fd003f344d50 scsi: lpfc: Revise lpfc_prep_embed_io routine with proper endian macro usages
    e9164903b8b30 net: missing check virtio
    eab96e8716cbf vhost/vsock: always initialize seqpacket_allow
    55237ec25ed59 PCI: endpoint: Fix error handling in epf_ntb_epc_cleanup()
    b9e8695246bcf PCI: endpoint: Clean up error handling in vpci_scan_bus()
    4275b46b75731 iommu/arm-smmu-qcom: Register the TBU driver in qcom_smmu_impl_init
    b1173d64edd27 ASoC: amd: Adjust error handling in case of absent codec device
    1f2ff6935b6de eeprom: ee1004: Call i2c_new_scanned_device to instantiate thermal sensor
    49c9945c054df kvm: s390: Reject memory region operations for ucontrol VMs
    a5c15a78c0e16 dm-raid: Fix WARN_ON_ONCE check for sync_thread in raid_resume
    298feddffbfc3 clk: qcom: gcc-x1e80100: Fix halt_check for all pipe clocks
    899bb519f2a9e Input: elan_i2c - do not leave interrupt disabled on suspend failure
    4adabd438382d RDMA/device: Return error earlier if port in not valid
    e4e11a6ed2a8a mtd: make mtd_test.c a separate module
    0036f27f2a7b4 iommufd/iova_bitmap: Check iova_bitmap_done() after set ahead
    1d779d0e4e8fe iommufd/selftest: Fix tests to use MOCK_PAGE_SIZE based buffer sizes
    b06d34eb8fcd9 iommufd/selftest: Add tests for <= u8 bitmap sizes
    73dc9fb2b38de iommufd/selftest: Fix iommufd_test_dirty() to handle <u8 bitmaps
    2355c5321732f iommufd/selftest: Fix dirty bitmap tests with u8 bitmaps
    57a6e7619ceac ASoC: max98088: Check for clk_prepare_enable() error
    cc3c0d2784be5 powerpc/prom: Add CPU info to hardware description string later
    c2fa93051fdcd hwrng: core - Fix wrong quality calculation at hw rng registration
    45b2a23e00d44 scsi: lpfc: Fix a possible null pointer dereference
    577eac91b2a2b ASoC: qcom: Adjust issues in case of DT error in asoc_qcom_lpass_cpu_platform_probe()
    498766fc3e51f RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs
    c2ac6edfc9199 RDMA/mlx5: Use sq timestamp as QP timestamp when RoCE is disabled
    a6366755586de RDMA/mlx4: Fix truncated output warning in alias_GUID.c
    40ef9b895119f RDMA/mlx4: Fix truncated output warning in mad.c
    9569c97b3c7ea Input: qt1050 - handle CHIP_ID reading error
    fa2eb7920e590 interconnect: qcom: qcm2290: Fix mas_snoc_bimc RPM master ID
    c916004860b65 clk: qcom: gpucc-sa8775p: Update wait_val fields for GPU GDSC's
    6c0a1938183a4 clk: qcom: gpucc-sa8775p: Park RCG's clk source at XO during disable
    f6896514c5edd clk: qcom: gpucc-sa8775p: Remove the CLK_IS_CRITICAL and ALWAYS_ON flags
    0e3c462b1472b clk: qcom: gcc-sa8775p: Update the GDSC wait_val fields and flags
    6b8a9b71629ef clk: qcom: gpucc-sm8350: Park RCG's clk source at XO during disable
    0fcc48494a1e3 mtd: spi-nor: winbond: fix w25q128 regression
    313231de3e76a RDMA/cache: Release GID table even if leak is detected
    fa6f16eff7320 ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
    e158d5ecd0c06 usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove
    7c04f4334a915 usb: typec-mux: ptn36502: unregister typec switch on probe error and remove
    90cda6c657f96 ASoC: cs35l56: Accept values greater than 0 as IRQ numbers
    0c9dcb01325ac ASoc: tas2781: Enable RCA-based playback without DSP firmware download
    f7275af580b13 powerpc/kexec_file: fix cpus node update to FDT
    a1861bdd9f7da RDMA/mlx5: Set mkeys for dmabuf at PAGE_SIZE
    ed67aa7da9173 coresight: Fix ref leak when of_coresight_parse_endpoint() fails
    7aa2a86bc9b53 KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR
    d18ff82c2da9d KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3
    b956989690048 iommu/arm-smmu-v3: Avoid uninitialized asid in case of error
    9d9029157d49f iio: adc: adi-axi-adc: don't allow concurrent enable/disable calls
    532248d0f0365 iio: frequency: adrf6780: rm clk provider include
    1ff0fc4949e22 iio: adc: ad9467: use DMA safe buffer for spi
    0019bd1e6c348 clk: meson: s4: fix pwm_j_div parent clock
    b156f8f482580 clk: meson: s4: fix fixed_pll_dco clock
    69b5557d750ae clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs
    5f25486c4ee72 clk: qcom: gcc-sc7280: Update force mem core bit for UFS ICE clock
    f94068f2343ee crypto: atmel-sha204a - fix negated return value
    1041f82849289 crypto: tegra - Remove an incorrect iommu_fwspec_free() call in tegra_se_remove()
    e42cc7d832b43 scsi: ufs: mcq: Fix missing argument 'hba' in MCQ_OPR_OFFSET_n
    1911fd52a37a2 riscv: smp: fail booting up smp if inconsistent vlen is detected
    b2808d2370cc2 PCI: tegra194: Set EP alignment restriction for inbound ATU
    3ff3bdde950f1 PCI: rcar: Demote WARN() to dev_warn_ratelimited() in rcar_pcie_wakeup()
    dbcdd1863ba2e PCI: keystone: Fix NULL pointer dereference in case of DT error in ks_pcie_setup_rc_app_regs()
    36aaa68b1a991 PCI: keystone: Don't enable BAR 0 for AM654x
    09904aba0cf8e PCI: keystone: Relocate ks_pcie_set/clear_dbi_mode()
    ffffd95e46be0 PCI: Fix resource double counting on remove & rescan
    af4ad016abb16 PCI: endpoint: pci-epf-test: Make use of cached 'epc_features' in pci_epf_test_core_init()
    b5046de32fd15 iio: Fix the sorting functionality in iio_gts_build_avail_time_table
    5532e0c563659 SUNRPC: Fixup gss_status tracepoint error output
    387e6e9d11025 nfs: pass explicit offset/count to trace events
    b69c02dea9bfd platform/x86: asus-wmi: fix TUF laptop RGB variant
    8725399367426 perf dso: Fix address sanitizer build
    54765806773ef sparc64: Fix incorrect function signature and add prototype for prom_cif_init
    2c370dda0ee71 leds: flash: leds-qcom-flash: Test the correct variable in init
    c9c1d9be6f22f drm/qxl: Pin buffer objects for internal mappings
    024d8556f37fc ext4: avoid writing unitialized memory to disk in EA inodes
    149a0691bf95e ext4: don't track ranges in fast_commit if inode has inlined data
    4ebf5bfd34001 NFSv4.1 another fix for EXCHGID4_FLAG_USE_PNFS_DS for DS server
    030fdc351225c SUNRPC: avoid soft lockup when transmitting UDP to reachable server.
    fb778472ba466 xprtrdma: Fix rpcrdma_reqs_reset()
    fecdddd8524d6 mfd: omap-usb-tll: Use struct_size to allocate tll
    abf9d5c35453a mfd: rsmu: Split core code into separate module
    35f45d148d041 drm/panthor: Record devfreq busy as soon as a job is started
    8b833796fa231 perf intel-pt: Fix exclude_guest setting
    f44c448bfb2a7 perf intel-pt: Fix aux_watermark calculation for 64-bit size
    b7182f73d7568 media: venus: flush all buffers in output plane streamoff
    5b9eb7e0ab828 perf stat: Fix a segfault with --per-cluster --metric-only
    c5d98f78ef3ae drm/mediatek/dp: Fix spurious kfree()
    7d44a63b4860a drm/mediatek: dpi/dsi: Fix possible_crtcs calculation
    081ff4c0ef188 drm/amd/display: Add null check before access structs
    81f819c537d29 ext4: fix infinite loop when replaying fast_commit
    b8e7d26610fff drm/mediatek: Remove less-than-zero comparison of an unsigned value
    c0fd0eba42528 drm/panic: Do not select DRM_KMS_HELPER
    d6f36acfc4588 drm/panic: depends on !VT_CONSOLE
    c53e98ef03722 Revert "leds: led-core: Fix refcount leak in of_led_get()"
    2862ec16f5085 leds: rgb: leds-qcom-lpg: Add PPG check for setting/clearing PBS triggers
    d4c57354a06cb drm/qxl: Add check for drm_cvt_mode
    7b232168841a3 drm/etnaviv: fix DMA direction handling for cached RW buffers
    01723f9a60b4e perf report: Fix condition in sort__sym_cmp()
    da17ee4015c64 perf pmus: Fixes always false when compare duplicates aliases
    ee0a02229380f tools/perf: Fix the string match for "/tmp/perf-$PID.map" files in dso__load
    46a62b1cbca95 perf test: Make test_arm_callgraph_fp.sh more robust
    eb049d63ba11f platform/arm64: build drivers even on non-ARM64 platforms
    31b6cd5545f13 drm/panic: Fix off-by-one logo size checks
    1d5d55b29999a drm/panic: only draw the foreground color in drm_panic_blit()
    b9080795fe80e drm/ttm/tests: Fix a warning in ttm_bo_unreserve_bulk
    aa6e78f2c87d9 drm/msm/dpu: drop validity checks for clear_pending_flush() ctl op
    0bdec11134cc9 drm/msm/dsi: set VIDEO_COMPRESSION_MODE_CTRL_WC
    2afd0e9059d5b drm/msm/dsi: set video mode widebus enable bit when widebus is enabled
    0788a6f3523d3 leds: trigger: Unregister sysfs attributes before calling deactivate()
    e6daf3bf851b4 media: imx-jpeg: Drop initial source change event if capture has been setup
    d371e4eed3117 drm/msm/a6xx: Fix A702 UBWC mode
    faedf1281d28f drm/msm/a6xx: use __unused__ to fix compiler warnings for gen7_* includes
    8a4ce184dcc6e drm/mediatek: Set DRM mode configs accordingly
    0d4c45d401980 drm/mediatek: Add DRM_MODE_ROTATE_0 to rotation property
    19ef723f6edd6 drm/mediatek: Add OVL compatible name for MT8195
    a063acc5d33d6 drm/mediatek: Turn off the layers with zero width or height
    5e28b7aa8be14 drm/mediatek: Fix destination alpha error in OVL
    8c3411d859f16 drm/mediatek: Fix XRGB setting error in Mixer
    91ef5af76f7ec drm/mediatek: Fix XRGB setting error in OVL
    a2541f21713f7 drm/mediatek: Use 8-bit alpha in ETHDR
    0e2b6d89ae144 drm/mediatek: Add missing plane settings when async update
    41b97b3d61a0b drm/ttm/tests: Let ttm_bo_test consider different ww_mutex implementation.
    0f2a77c69b193 media: renesas: vsp1: Store RPF partition configuration per RPF instance
    f1fd968260da5 media: renesas: vsp1: Fix _irqsave and _irq mix
    c88ffbc568cbd media: rcar-csi2: Cleanup subdevice in remove()
    484f18269e799 media: rcar-csi2: Disable runtime_pm in probe error
    7dd4dba5dc103 media: rcar-vin: Fix YUYV8_1X16 handling for CSI-2
    a749415d2058a drm/i915/psr: Set SU area width as pipe src width
    475c678426b15 drm: zynqmp_kms: Fix AUX bus not getting unregistered
    8c07f6b2abda3 drm: zynqmp_dpsub: Fix an error handling path in zynqmp_dpsub_probe()
    0f12d2b6e6118 media: uvcvideo: Override default flags
    35a00891b0c22 media: uvcvideo: Add quirk for invalid dev_sof in Logitech C920
    27e991a926212 media: uvcvideo: Quirk for invalid dev_sof in Logitech C922
    0fe5ae08c1321 media: i2c: imx219: fix msr access command sequence
    29649f3c5697e media: c8sectpfe: Add missing parameter names
    97a80ca3dce37 saa7134: Unchecked i2c_transfer function result fixed
    23f5e185134cf drm/amd/display: use pre-allocated temp structure for bounding box
    898d200148d03 ipmi: ssif_bmc: prevent integer overflow on 32bit systems
    5f8c27d3985ed x86/shstk: Make return uprobe work with shadow stack
    504f9ce3bcfe9 drm/i915/psr: Print Panel Replay status instead of frame lock status
    63b0fcbbaaf0c drm/i915/display: Skip Panel Replay on pipe comparison if no active planes
    63d71da2b875a drm/bridge: samsung-dsim: Set P divider based on min/max of fin pll
    309fdbb585186 media: mediatek: vcodec: Fix unreasonable data conversion
    cdf05ae76198c media: mediatek: vcodec: Handle invalid decoder vsi
    a59088577033a perf maps: Fix use after free in __maps__fixup_overlap_and_insert
    e1d86efd46986 drm/msm/dp: fix runtime_pm handling in dp_wait_hpd_asserted
    7deaf31e79bb8 drm/msm/dpu: drop duplicate drm formats from wb2_formats arrays
    ca168c0d8faf1 Revert "drm/msm/dpu: drop dpu_encoder_phys_ops.atomic_mode_set"
    956bb63a227f4 drm/msm/dpu: fix encoder irq wait skip
    b21aba72aadd9 s390/uv: Don't call folio_wait_writeback() without a folio reference
    bd7e3335a8b9c drm/amdgpu: Fix type mismatch in amdgpu_gfx_kiq_init_ring
    b87e28050d9b0 media: v4l: async: Fix NULL pointer dereference in adding ancillary links
    04be7591f3107 media: i2c: hi846: Fix V4L2_SUBDEV_FORMAT_TRY get_selection()
    f843053eca59c media: i2c: Fix imx412 exposure control
    3d4e5b75e9903 drm/i915/psr: Use enable boolean from intel_crtc_state for Early Transport
    6f611b000d623 media: imon: Fix race getting ictx->lock
    ad24b56e0d987 media: dvb-usb: Fix unexpected infinite loop in dvb_usb_read_remote_control()
    c766065e82720 media: pci: ivtv: Add check for DMA map result
    0afb3c7020844 drm/amd/display: Move 'struct scaler_data' off stack
    a9b68a2f325e4 drm/amd/display: fix graphics_object_id size
    814d1469dd35c drm/amd/display: dynamically allocate dml2_configuration_options structures
    79161e9cc12a7 drm/amdgpu: Fix snprintf usage in amdgpu_gfx_kiq_init_ring
    8607894112f1d drm/bridge: it6505: fix hibernate to resume no display issue
    c47583f3cb066 drm/panel: ilitek-ili9882t: Check for errors on the NOP in prepare()
    30c229ef8d2c8 drm/panel: ilitek-ili9882t: If prepare fails, disable GPIO before regulators
    505c099de10c6 drm/panel: boe-tv101wum-nl6: Check for errors on the NOP in prepare()
    4c34113e9d08c drm/panel: boe-tv101wum-nl6: If prepare fails, disable GPIO before regulators
    5e42e925ce8d9 drm/panel: himax-hx8394: Handle errors from mipi_dsi_dcs_set_display_on() better
    889f0cb5a83d9 drm/amdgpu: Remove GC HW IP 9.3.0 from noretry=1
    9084114e33859 drm/amdgpu: Check if NBIO funcs are NULL in amdgpu_device_baco_exit
    422b081874bbc drm/amdgpu: Fix memory range calculation
    6369ac0eb0c3b drm/amd/pm: Fix aldebaran pcie speed reporting
    ca503105cbe57 drm/panel: lg-sw43408: add missing error handling
    6f793d85289fd drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_generic_write_seq()
    810066677eb8c drm/mipi-dsi: Fix theoretical int overflow in mipi_dsi_dcs_write_seq()
    1f45e83312b59 drm/i915/display: Do not print "psr: enabled" for on Panel Replay
    f2df0e9cf1c3c drm/i915/psr: Rename has_psr2 as has_sel_update
    e86f34eba0a9a drm/amdkfd: Fix CU Masking for GFX 9.4.3
    23c8257eee944 drm/arm/komeda: Fix komeda probe failing if there are no links in the secondary pipeline
    a97c08513bc33 drm/rockchip: vop2: Fix the port mux of VP2
    e85e7f0936d87 tcp: Don't access uninit tcp_rsk(req)->ao_keyid in tcp_create_openreq_child().
    70d665b83e2ea Bluetooth: Fix usage of __hci_cmd_sync_status
    f7fb60b5380a8 net: bridge: mst: Check vlan state for egress decision
    12144069209ee xdp: fix invalid wait context of page_pool_destroy()
    468a729b78895 virtio_net: Fix napi_skb_cache_put warning
    4a0d2efbb773b Bluetooth: hci_core, hci_sync: cleanup struct discovery_state
    8424783412074 Bluetooth: hci_event: Set QoS encryption from BIGInfo report
    dc14469e43da1 Bluetooth: btnxpuart: Add handling for boot-signature timeout errors
    be2ac1f45f39f Bluetooth: btintel_pcie: Fix irq leak
    ea4a294c6feae Bluetooth: btintel: Refactor btintel_set_ppag()
    cfd70400a3115 Bluetooth: hci_bcm4377: Use correct unit for timeouts
    cad797ceeeb19 selftests: forwarding: devlink_lib: Wait for udev events after reloading
    e187690b125a2 net: ethtool: pse-pd: Fix possible null-deref
    dd5a33e0af6fd net: pse-pd: Do not return EOPNOSUPP if config is null
    b29a880bb145e bpf: Fix null pointer dereference in resolve_prog_type() for BPF_PROG_TYPE_EXT
    4799e4e51fe4f nfsd: nfsd_file_lease_notifier_call gets a file_lease as an argument
    345652866a886 bpf: fix overflow check in adjust_jmp_off()
    fbb84b1b05c97 bpf: Eliminate remaining "make W=1" warnings in kernel/bpf/btf.o
    e0f48f51d55fb bna: adjust 'name' buf size of bna_tcb and bna_ccb structures
    888d1d38bd1f1 bpf: annotate BTF show functions with __printf
    a8d0ea2607132 selftests/resctrl: Fix closing IMC fds on error and open-code R+W instead of loops
    6d218fcc707d6 bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG
    5b08892910296 selftests/bpf: Close obj in error path in xdp_adjust_tail
    8262bca056784 selftests/bpf: Null checks for links in bpf_tcp_ca
    72607d8ad89b4 selftests/bpf: Close fd in error path in drop_on_reuseport
    29ca547e87501 locking/rwsem: Add __always_inline annotation to __down_write_common() and inlined callers
    85a28462f87e6 wifi: virt_wifi: don't use strlen() in const context
    c1cb824e66236 net: page_pool: fix warning code
    378003612bc9c gss_krb5: Fix the error handling path for crypto_sync_skcipher_setkey
    65b97d6f328f9 NFSD: Fix nfsdcld warning
    0faaa5f29e513 bpf: helpers: fix bpf_wq_set_callback_impl signature
    416d3c1538df0 wifi: virt_wifi: avoid reporting connection success with wrong SSID
    574c740486169 xfrm: call xfrm_dev_policy_delete when kill policy
    31d0172a091dc xfrm: fix netdev reference count imbalance
    96ae4de5bc4c8 wifi: rtw89: Fix array index mistake in rtw89_sta_info_get_iter()
    3fd761e3cefdc perf/x86/amd/uncore: Fix DF and UMC domain identification
    381b21a1cf2ad perf/x86/amd/uncore: Avoid PMU registration if counters are unavailable
    501b077aefc1a perf/x86/intel/cstate: Fix Alderlake/Raptorlake/Meteorlake
    9bed6852d3f56 perf: Fix default aux_watermark calculation
    e8bf18de94550 perf: Prevent passing zero nr_pages to rb_alloc_aux()
    f86f70e332258 perf: Fix perf_aux_size() for greater-than 32-bit size
    d483e01df5cb1 perf/x86/intel/pt: Fix pt_topa_entry_for_page() address calculation
    0561e6743c6b5 bpf: Fix atomic probe zero-extension
    c3be81545328a bpftool: Mount bpffs when pinmaps path not under the bpffs
    3e6a1b1b179ab riscv, bpf: Fix out-of-bounds issue when preparing trampoline image
    7276b1d7b1e79 xfrm: Export symbol xfrm_dev_state_delete.
    48ec0d5910248 wifi: rtl8xxxu: 8188f: Limit TX power index
    74e17a9237196 wifi: rtw89: 8852b: fix definition of KIP register number
    ef0d9d2f0dc11 wifi: rtw89: wow: fix GTK offload H2C skbuff issue
    0767f5fe9f48e wifi: ath12k: fix peer metadata parsing
    23a9aab65585c wifi: ath12k: advertise driver capabilities for MBSSID and EMA
    b33855de5c62d wifi: iwlwifi: mvm: always unblock EMLSR on ROC end
    9d5593e6b1639 wifi: iwlwifi: fix iwl_mvm_get_valid_rx_ant()
    2f4182ef6adef wifi: mac80211: correcty limit wider BW TDLS STAs
    306d783dd1cf1 wifi: mac80211: add ieee80211_tdls_sta_link_id()
    28353278ee8c4 netfilter: nf_tables: rise cap on SELinux secmark context
    bb65059d251a3 ipvs: Avoid unnecessary calls to skb_is_gso_sctp
    8ecee44464a49 xfrm: Fix unregister netdevice hang on hardware offload.
    2845db7bedd84 libbpf: Skip base btf sanity checks
    aeb79296c65cb libbpf: Checking the btf_type kind when fixing variable offsets
    fe60c691835ed bpf: Change bpf_session_cookie return value to __u64 *
    00e09f86c6fa5 net: dsa: ksz_common: Allow only up to two HSR HW offloaded ports for KSZ9477
    3bde02b27aacd net: fec: Fix FEC_ECR_EN1588 being cleared on link-down
    40d7b3ed52449 udf: Fix bogus checksum computation in udf_rename()
    73c19830cd723 xfrm: Log input direction mismatch error in one place
    a4c10813bc394 xfrm: Fix input error path memory access
    8ca4ec5a59d34 bpf: Make bpf_session_cookie() kfunc return long *
    ddbd23de1d2dd wifi: iwlwifi: mvm: separate non-BSS/ROC EMLSR blocking
    94d2e5b7866da wifi: iwlwifi: mvm: fix re-enabling EMLSR
    07117ccf53731 wifi: nl80211: expose can-monitor channel property
    19eaf4f2f5a98 wifi: cfg80211: handle 2x996 RU allocation in cfg80211_calculate_bitrate_he()
    c70efd8546e65 wifi: cfg80211: fix typo in cfg80211_calculate_bitrate_he()
    7a00a36b656de wifi: ath12k: fix per pdev debugfs registration
    1d291225c40b8 wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers
    630c62b468357 wifi: ath12k: fix ACPI warning when resume
    53c7c8ed563da jump_label: Fix concurrency issues in static_key_slow_dec()
    7e4a0c17a81d3 perf/x86: Serialize set_attr_rdpmc()
    431342f4ba521 mlxsw: spectrum_acl: Fix ACL scale regression and firmware errors
    fb5d4fc578e65 mlxsw: spectrum_acl_erp: Fix object nesting warning
    499f742fed42e lib: objagg: Fix general protection fault
    a1cf0f193db57 sched/core: Drop spinlocks on contention iff kernel is preemptible
    b20578a3a2e67 sched/core: Move preempt_model_*() helpers from sched.h to preempt.h
    50b556a1ce2cb udf: Fix lock ordering in udf_evict_inode()
    bd334e2f45a81 selftests/bpf: Check length of recv in test_sockmap
    befa479331099 net/smc: set rmb's SG_MAX_SINGLE_ALLOC limitation only when CONFIG_ARCH_NO_SG_CHAIN is defined
    f6f67fff74f1b libbpf: keep FD_CLOEXEC flag when dup()'ing FD
    1a07de1959cae hns3: avoid linking objects into multiple modules
    5e8a0b94c58f9 tcp: fix races in tcp_v[46]_err()
    0c6034cae002b tcp: fix races in tcp_abort()
    c366435a152b8 tcp: fix race in tcp_write_err()
    ea734f7724ebb tcp: add tcp_done_with_error() helper
    13829bfb38bcf net: ethernet: cortina: Restore TSO support
    04d8b7a21c006 wifi: ath12k: fix wrong definition of CE ring's base address
    5c7db8b09fbaa wifi: ath11k: fix wrong definition of CE ring's base address
    bdfbf56652d5c wifi: rtw89: 8852c: correct logic and restore PCI PHY EQ after device resume
    95d4e829e50e2 wifi: ath12k: fix firmware crash during reo reinject
    36fc66a7d9ca3 wifi: ath12k: fix invalid memory access while processing fragmented packets
    6925320fcd40d wifi: ath12k: change DMA direction while mapping reinjected packets
    59423af36b253 wifi: ath11k: restore country code during resume
    bee1f0e97cea5 wifi: ath11k: refactor setting country code logic
    12e0c7822a5a4 wifi: mac80211: reset negotiated TTLM on disconnect
    d28e8958fc080 wifi: mac80211: cancel TTLM teardown work earlier
    a82d97b9979bf wifi: mac80211: cancel multi-link reconf work on disconnect
    9750899410c84 wifi: mac80211: fix TTLM teardown work
    0b336e37e77cb wifi: iwlwifi: mvm: don't skip link selection
    b17b8b492764a net: esp: cleanup esp_output_tail_tcp() in case of unsupported ESPINTCP
    9a340fe1b0b4e wifi: rtw89: 8852b: restore setting for RFE type 5 after device resume
    eab9ecfa8ed3d selftests/bpf: Fix prog numbers in test_sockmap
    b04566066c0ac bpftool: Un-const bpf_func_info to fix it for llvm 17 and newer
    9abf615e1572d wifi: ath12k: fix Smatch warnings on ath12k_core_suspend()
    a9ac7d444de51 wifi: ath12k: Fix tx completion ring (WBM2SW) setup failure
    7f41e6f884cc9 wifi: ath12k: Correct 6 GHz frequency value in rx status
    c33154cd0e162 wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device
    c9a04fc459677 wifi: ath12k: avoid duplicated vdev stop
    e0f67630ee8f6 wifi: ath12k: drop failed transmitted frames from metric calculation.
    059ef22f55ee0 wifi: ath12k: Don't drop tx_status in failure case
    2af312f4a6d03 firmware: turris-mox-rwtm: Initialize completion before mailbox
    4f3811ecac84a firmware: turris-mox-rwtm: Fix checking return value of wait_for_completion_timeout()
    c83d61d3cab0a firmware: turris-mox-rwtm: Do not complete if there are no waiters
    1081b3f819610 vmlinux.lds.h: catch .bss..L* sections into BSS")
    3dc633cb63305 x86/sev: Do RMP memory coverage check after max_pfn has been set
    8057117dafb49 ARM: Remove address checking for MMUless devices
    38908feafa26a ARM: spitz: fix GPIO assignment for backlight
    50162623cb8da m68k: cmpxchg: Fix return value for default case in __arch_xchg()
    57a818bfa03b1 cpufreq/amd-pstate: Fix the scaling_max_freq setting on shared memory CPPC systems
    aff58cd5ddc1a cpufreq/amd-pstate-ut: Convert nominal_freq to khz during comparisons
    d7a8cf3fafc44 arm64: dts: qcom: sm6350: Add missing qcom,non-secure-domain property
    9633f16563c25 arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S
    9a19c4a67e5e8 arm64: dts: rockchip: disable display subsystem for Lunzn Fastrhino R6xS
    4f19bf7f6d6d7 arm64: dts: rockchip: remove unused usb2 nodes for Lunzn Fastrhino R6xS
    e22a93c8070d9 arm64: dts: rockchip: fix pmu_io supply for Lunzn Fastrhino R6xS
    65de64c52ce03 arm64: dts: rockchip: fix usb regulator for Lunzn Fastrhino R6xS
    36f12ac15e6cb arm64: dts: rockchip: fix regulator name for Lunzn Fastrhino R6xS
    66dbed6840265 arm64: dts: rockchip: Add missing power-domains for rk356x vop_mmu
    1709d8fc48e19 arm64: dts: qcom: qrb4210-rb2: Correct max current draw for VBUS
    eaf36e6600fa4 x86/xen: Convert comma to semicolon
    cba20cbcf31b3 arm64: dts: qcom: x1e80100: Fix USB HS PHY 0.8V supply
    d437ba496d2c4 arm64: dts: imx8mp: Fix pgc vpu locations
    4bf10cc8b5210 arm64: dts: imx8mp: Fix pgc_mlmix location
    92df560733f7d m68k: atari: Fix TT bootup freeze / unexpected (SCU) interrupt messages
    4bc7267967cda arm64: dts: renesas: r9a08g045: Add missing hypervisor virtual timer IRQ
    2eee24dbb952f arm64: dts: renesas: r9a07g054: Add missing hypervisor virtual timer IRQ
    e88370be243cd arm64: dts: renesas: r9a07g044: Add missing hypervisor virtual timer IRQ
    c34ac879e17ff arm64: dts: renesas: r9a07g043u: Add missing hypervisor virtual timer IRQ
    94f19d09e81ea arm64: dts: renesas: r8a779g0: Add missing hypervisor virtual timer IRQ
    d5c33c9ed99cd arm64: dts: renesas: r8a779f0: Add missing hypervisor virtual timer IRQ
    703eedeebe139 arm64: dts: renesas: r8a779a0: Add missing hypervisor virtual timer IRQ
    68e39a9a7f717 arm64: dts: renesas: r8a779h0: Drop "opp-shared" from opp-table-0
    30c59704ab60f arm64: dts: rockchip: Fix mic-in-differential usage on rk3568-evb1-v10
    d65388253c1aa arm64: dts: rockchip: Fix mic-in-differential usage on rk3566-roc-pc
    c9d4cbc72a469 arm64: dts: rockchip: Drop invalid mic-in-differential on rk3568-rock-3a
    f146001e49922 arm64: dts: amlogic: setup hdmi system clock
    5d1e9ca9f76ee arm64: dts: amlogic: add power domain to hdmitx
    70bc57ac4f73b arm64: dts: amlogic: gx: correct hdmi clocks
    e5ed533f690f3 soc: mediatek: mtk-mutex: Add MDP_TCC0 mod to MT8188 mutex table
    a6a7ed42ac93d arm64: dts: mediatek: mt8183-kukui-jacuzzi: Add ports node for anx7625
    c0d6ac595e152 arm64: dts: mediatek: mt8183-pico6: Fix wake-on-X event node names
    8bd5cc9b7bfd3 arm64: dts: mediatek: mt8183-kukui: Fix the value of `dlg,jack-det-rate` mismatch
    33456268a54e1 arm64: dts: mediatek: mt7622: fix "emmc" pinctrl mux
    a3c80f9326aea arm64: dts: mediatek: mt7981: fix code alignment for PWM clocks
    a07456e3c3d0c arm64: dts: mediatek: mt8192-asurada: Add off-on-delay-us for pp3300_mipibrdg
    c42e03a08ba9a arm64: dts: mediatek: mt8183-kukui: Drop bogus output-enable property
    573fb73db52f2 arm64: dts: medaitek: mt8395-nio-12l: Set i2c6 pins to bias-disable
    e8f068a23a18b arm64: dts: mediatek: mt8192: Fix GPU thermal zone name for SVS
    509a9dc5cf665 arm64: dts: mediatek: mt8195: Fix GPU thermal zone name for SVS
    70aa2d9b89d31 ARM: dts: imx6qdl-kontron-samx6i: fix PCIe reset polarity
    7f62fe7e0e85d ARM: dts: imx6qdl-kontron-samx6i: fix SPI0 chip selects
    b2490fc162b45 ARM: dts: imx6qdl-kontron-samx6i: fix board reset
    3326d475ddd7d ARM: dts: imx6qdl-kontron-samx6i: fix PHY reset
    873aaa24d0398 ARM: dts: imx6qdl-kontron-samx6i: fix phy-mode
    4025ecca3c790 arm64: dts: amlogic: sm1: fix spdif compatibles
    9a9f8515c449d arm64: dts: rockchip: Increase VOP clk rate on RK3328
    ba9fa7529a149 soc: qcom: pdr: fix parsing of domains lists
    8543269567e2f soc: qcom: pdr: protect locator_addr with the main mutex
    4100d4d019f8e soc: qcom: icc-bwmon: Fix refcount imbalance seen during bwmon_remove
    9eacfd2ab4c61 arm64: dts: qcom: qdu1000: Add secure qfprom node
    a0f985672d68a arm64: dts: qcom: sc7180-trogdor: Disable pwmleds node where unused
    9d998dcfff80a arm64: dts: ti: k3-am62p5-sk: Fix pinmux for McASP1 TX
    3b2ce19ac2f7e arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Drop McASP AFIFOs
    1322529b0c782 arm64: dts: ti: k3-am62-verdin: Drop McASP AFIFOs
    a4a03e2f485bf arm64: dts: ti: k3-am625-beagleplay: Drop McASP AFIFOs
    4efa40f9dfe58 arm64: dts: ti: k3-am62p5: Drop McASP AFIFOs
    a8c6c5e13aba9 arm64: dts: ti: k3-am62a7: Drop McASP AFIFOs
    2a3e7f475866c arm64: dts: ti: k3-am62x: Drop McASP AFIFOs
    9e6590af6999e arm64: dts: ti: k3-j722s: Fix main domain GPIO count
    2ea4abb96f206 arm64: dts: ti: k3-am642-hummingboard-t: correct rs485 rts polarity
    98e86ab64873e arm64: dts: ti: k3-am62p-main: Fix the reg-range for main_pktdma
    909ad4f81cc82 arm64: dts: ti: k3-am62a-main: Fix the reg-range for main_pktdma
    f007e23ebd9a1 arm64: dts: ti: k3-am62-main: Fix the reg-range for main_pktdma
    ee56e86c3f211 memory: fsl_ifc: Make FSL_IFC config visible and selectable
    f666c421e1d78 OPP: ti: Fix ti_opp_supply_probe wrong return values
    c9fdb8980b781 arm64: dts: qcom: sc8280xp: Throttle the GPU when overheating
    a291feafde81e arm64: dts: qcom: sc8280xp-*: Remove thermal zone polling delays
    233c60cdcf99e cpufreq: ti-cpufreq: Handle deferred probe with dev_err_probe()
    057850ed81c4f arm64: dts: qcom: qrb4210-rb2: make L9A always-on
    0c269c1f58d74 ARM: dts: stm32: Add arm,no-tick-in-suspend to STM32MP15xx STGEN timer
    8938217a8d672 ARM: dts: sunxi: remove duplicated entries in makefile
    f762acdaff9e5 soc: xilinx: rename cpu_number1 to dummy_cpu_number
    312396939bf5b arm64: dts: qcom: sa8775p: mark ethernet devices as DMA-coherent
    611d4a8313423 arm64: dts: qcom: msm8996: specify UFS core_clk frequencies
    504652b2eed84 OPP: Fix missing cleanup on error in _opp_attach_genpd()
    232c1085fcd9f cpufreq: sun50i: fix memory leak in dt_has_supported_hw()
    1390b9f652283 arm64: dts: rockchip: Update WIFi/BT related nodes on rk3308-rock-pi-s
    68dea92d678af arm64: dts: rockchip: Add mdio and ethernet-phy nodes to rk3308-rock-pi-s
    bcbed5fee3e5f arm64: dts: rockchip: Add pinctrl for UART0 to rk3308-rock-pi-s
    90e63ee2879ef arm64: dts: rockchip: Add sdmmc related properties on rk3308-rock-pi-s
    f7b9e814ab8d4 soc: qcom: rpmh-rsc: Ensure irqs aren't disabled by rpmh_rsc_send_data() callers
    2dcefd6d1e711 soc: qcom: pmic_glink: Handle the return value of pmic_glink_init
    501db89e28fea arm64: dts: qcom: msm8998: enable adreno_smmu by default
    fbf852d429e44 arm64: dts: qcom: sdm850-lenovo-yoga-c630: fix IPA firmware path
    94afdaa14344d arm64: dts: qcom: msm8996-xiaomi-common: drop excton from the USB PHY
    e93112293d20a arm64: dts: qcom: sm8450: add power-domain to UFS PHY
    8533f637f6620 arm64: dts: qcom: sm8350: add power-domain to UFS PHY
    b042cf07c9aaf arm64: dts: qcom: sm8250: add power-domain to UFS PHY
    8c93c87cfa899 arm64: dts: qcom: sm6350: add power-domain to UFS PHY
    b5357d8fc93f6 arm64: dts: qcom: sm6115: add power-domain to UFS PHY
    080bcc8cce96a arm64: dts: qcom: sdm845: add power-domain to UFS PHY
    bec81d919cfac arm64: dts: qcom: sc8180x: add power-domain to UFS PHY
    138abbabf63b9 arm64: dts: qcom: sc7180: drop extra UFS PHY compat
    a8d494762c4ff ARM: dts: qcom: msm8226-microsoft-common: Enable smbb explicitly
    85610b00af752 arm64: dts: qcom: sc7280: Remove CTS/RTS configuration
    6dbc8239be9c0 arm64: dts: qcom: sc8180x: Correct PCIe slave ports
    c1ae2a706e776 soc: qcom: socinfo: Update X1E PMICs
    bc29bc14c2169 hwmon: (max6697) Fix swapped temp{1,8} critical alarms
    7c7cf939b3b21 hwmon: (max6697) Fix underflow when writing limit attributes
    9fab017e2ea4b drm/xe/display/xe_hdcp_gsc: Free arbiter on driver removal
    1e6805b6ecf79 pwm: atmel-tcb: Fix race condition and convert to guards
    8afada330c16c drm/meson: fix canvas release in bind function
    a0d1545830305 nvmet-auth: fix nvmet_auth hash error handling
    069f34f991cd6 arm64: smp: Fix missing IPI statistics
    ee6669355fa43 drm/bridge: adv7511: Fix Intermittent EDID failures
    b1c83176c1d77 pwm: stm32: Always do lazy disabling
    c180311c0a520 hwmon: (ltc2991) re-order conditions to fix off by one bug
    0c7429256de1d md/raid5: recheck if reshape has finished with device_lock held
    dc72af89c94bd md: Don't wait for MD_RECOVERY_NEEDED for HOT_REMOVE_DISK ioctl
    90ebddded5367 perf: arm_pmuv3: Avoid assigning fixed cycle counter with threshold
    269535618c161 xen-blkfront: fix sector_size propagation to the block layer
    28f7a3403100b block/mq-deadline: Fix the tag reservation code
    136598536aaa8 block: Call .limit_depth() after .hctx has been set
    515278065c702 hwmon: (adt7475) Fix default duty on fan is disabled
    29ac1d238b3bf cgroup/cpuset: Prevent UAF in proc_cpuset_show()
    f38d2e9214996 x86/syscall: Mark exit[_group] syscall handlers __noreturn
    70035fdfa8354 x86/platform/iosf_mbi: Convert PCIBIOS_* return codes to errnos
    590c9a8348f97 x86/pci/xen: Fix PCIBIOS_* return code handling
    32adc6914bb18 x86/pci/intel_mid_pci: Fix PCIBIOS_* return code handling
    0cee39aa04eec x86/of: Return consistent error type from x86_of_pci_irq_enable()
    312d272dc47ae hfsplus: fix to avoid false alarm of circular locking
    72b7a3b3268e6 x86/kconfig: Add as-instr64 macro to properly evaluate AS_WRUSS
    c324141645280 cgroup/cpuset: Fix remote root partition creation problem
    b17f8733d5118 cgroup/cpuset: Optimize isolated partition only generate_sched_domains() calls
    7703ee4c86c92 io_uring: Fix probe of disabled operations
    47149c165a6fa dm: Call dm_revalidate_zones() after setting the queue limits
    ebc0e91ba76dc block: initialize integrity buffer to zero before writing it to media
    5535adc933fb2 ubd: untagle discard vs write zeroes not support handling
    49d7da56f1d95 ubd: refactor the interrupt handler
    e2172a1397630 platform/chrome: cros_ec_debugfs: fix wrong EC message version
    6bb2fccb2cb7e md/raid1: don't free conf on raid0_run failure
    7526c725d5120 md/raid0: don't free conf on raid0_run failure
    ca963eefbc333 md: fix deadlock between mddev_suspend and flush bio
    af594a0bb5c80 rcu/tasks: Fix stale task snaphot for Tasks Trace
    32700ecf8007e EDAC, i10nm: make skx_common.o a separate module
    24468dbfec053 spi: atmel-quadspi: Add missing check for clk_prepare
    949676eb8a4d9 spi: spi-microchip-core: Fix the number of chip selects supported
    c4386c5293aa8 drivers: gpu: drm: msm: registers: improve reproducibility
    915a386c7cffd qemux86: add configuration symbol to select values
    62df91b21626f sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b8 clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbff clear_warn_once: bind a timer to written reset value
    89a5c70f20001 clear_warn_once: expand debugfs to include read support
    8014704c527d7 tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936c libbpf: Fix build warning on ref_ctr_off
    32fe8c972c362 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798dc perf: x86-32: explicitly include <errno.h>
    a5cb41682777e perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae2 perf: fix bench numa compilation
    6dbb2915e8a7c perf: add SLANG_INC for slang.h
    57f78dddfd930 perf: add sgidefs.h to for mips builds
    130f0306cfbac perf: change --root to --prefix for python install
    2520efe953414 perf: add 'libperl not found' warning
    45731b6ae676f perf: force include of <stdbool.h>
    ace10f8dec53e fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e2 fat: don't use obsolete random32 call in namei_vfat
    2442bae1a6451 FAT: Added FAT_NO_83NAME
    7561126bce00c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab9598763 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c99 aufs6: match exports to functions
    e125467cf228f aufs: adjust for v6.9+
    eebcdc6635bfa aufs6: correct do_splice_from prototype
    4c5829036c457 aufs: update remove_page to remove_folio
    e8d889d0f4341 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de174 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe24 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed3 aufs6: adapt to v6.6
    d3e4ede696034 aufs6: core
    49ec9271f41d3 aufs6: standalone
    dcc0978da2dd9 aufs6: mmap
    80e1609b37e77 aufs6: base
    0dbb3f0624208 aufs6: kbuild
    ad51078c5ebfc yaffs: fix mtime/itime field access
    e5f1d35d6188c yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7c yaffs2: v6.5 fixups
    f5908785d88d7 yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdff yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54fa yaffs2: replace bdevname call with sprintf
    92d30df4eb56c yaffs2: convert read_page -> readfolio
    6c895bffdf725 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255b yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046f yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16ee yaffs: include blkdev.h
    fe7d745aac947 yaffs: fix misplaced variable declaration
    bee147b2e5336 yaffs2: v5.6 build fixups
    22998f589ec26 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a9764 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda953 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4dc yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a81470 yaffs2: fix memory leak in mount/umount
    6c7827a16aaaa yaffs: Avoid setting any ACL releated xattr
    fa34828155425 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce7 fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531c yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0c yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8b initramfs: allow an optional wrapper script around initramfs generation
    b619a8d543360 vt/conmakehash: improve reproducibility
    c786186aeef39 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e7 iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9f net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aad defconfigs: drop obselete options
    946e5b78ab94d linux-yocto: Handle /bin/awk issues
    9daee1dba5852 uvesafb: provide option to specify timeout for task completion
    f68b8683441a0 uvesafb: print error message when task timeout occurs
    a1595c6b60173 compiler.h: Undef before redefining __attribute_const__
    8086839613c68 vmware: include jiffies.h
    32e79eb3c169c Resolve jiffies wrapping about arp
    f6fabf91b6f24 nfs: Allow default io size to be configured.
    ad2b29f801e9e check console device file on fs when booting
    5194785d545b8 mount_root: clarify error messages for when no rootfs found
    78b3498cb59a7 mconf: fix output of cflags and libraries
    9cc6870708d54 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c938 modpost: mask trivial warnings
    4784584582f50 kbuild: exclude meta directory from distclean processing
    73072b5fe25a9 powerpc: serialize image targets
    a120eb2003200 arm: serialize build targets
    51d5719ac05b4 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0c cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586f x86_64_defconfig: Fix warnings
    1359db75df0c9 mips: make current_cpu_data preempt safe
    385edf6090c30 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319f mips: Kconfig: add QEMUMIPS64 option
    389ce854fde30 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa85 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f7 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e5 arm64: defconfig: cleanup config options
    c5fb425762ed8 vexpress: Pass LOADADDR to Makefile
    07a8b544d4e96 arm: ARM EABI socketcall
    574f3ae3d2ca7 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 4b19552a145b5817cd3b5ebda48e8eda6b1cabdc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
ffe320de1d linux-yocto/6.10: update to v6.10.2
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

    c4386c5293aa8 drivers: gpu: drm: msm: registers: improve reproducibility
    2d002356c3bb6 Linux 6.10.2
    e1a786b9bbb76 tap: add missing verification for short frame
    8418f55302fa1 tun: add missing verification for short frame
    ed898f9ca3fa3 filelock: Fix fcntl/close race recovery compat path
    0990c63c53b88 ALSA: seq: ump: Skip useless ports for static blocks
    67b4307b200c0 ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused
    cba936e34ba5c arm64: dts: qcom: sm6115: Disable SS instance in Parkmode for USB
    3f0ec0bcd7945 arm64: dts: qcom: sdm845: Disable SS instance in Parkmode for USB
    a87398c426e1a arm64: dts: qcom: ipq8074: Disable SS instance in Parkmode for USB
    86ef7fa0a3f81 arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB
    53bcd3e3955f2 arm64: dts: qcom: ipq6018: Disable SS instance in Parkmode for USB
    f6ca32f5d0ff3 arm64: dts: qcom: msm8998: Disable SS instance in Parkmode for USB
    aa38865e86565 arm64: dts: qcom: sm6350: Disable SS instance in Parkmode for USB
    a9426f558a45a arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB
    4c815a74d6ffb arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
    12cfba78ac4e4 arm64: dts: qcom: x1e80100-qcp: Fix the PHY regulator for PCIe 6a
    e9e797f82040d arm64: dts: qcom: x1e80100-crd: Fix the PHY regulator for PCIe 6a
    4f6838e716396 arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio
    6b9b370bab9c2 arm64: dts: qcom: qrb2210-rb1: switch I2C2 to i2c-gpio
    c5842959cdcb8 arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
    8446ce8ff62d2 arm64: dts: qcom: sc7280: Disable SuperSpeed instances in park mode
    0dfc866395f09 arm64: dts: qcom: sc7180: Disable SuperSpeed instances in park mode
    676f1898111c0 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    90fb34305b8b9 ALSA: hda/realtek: Enable headset mic on Positivo SU C1400
    f751555b73b8a ALSA: hda/tas2781: Add new quirk for Lenovo Hera2 Laptop
    87efe5b76ec9f usb: gadget: midi2: Fix incorrect default MIDI2 protocol setup
    617cf144c206f fs/ntfs3: Validate ff offset
    9b71f820f7168 fs/ntfs3: Add a check for attr_names and oatbl
    dbde7bc91093f jfs: don't walk off the end of ealist
    edb2e67dd4626 ocfs2: add bounds checking to ocfs2_check_dir_entry()
    a3aefb871222a s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()
    298e2ce222e71 drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
    0129910096573 Linux 6.10.1
    5e052818fafac thermal: core: Allow thermal zones to tell the core to ignore them
    68d19af95a353 io_uring: fix error pbuf checking
    d905723ee6578 ASoC: cs35l56: Limit Speaker Volume to +12dB maximum
    890e1e6b2fd51 ASoC: cs35l56: Use header defines for Speaker Volume control definition
    b9afbb9a0c734 tpm: Use auth only after NULL check in tpm_buf_check_hmac_response()
    fafd1dcc84c59 cifs: Fix setting of zero_point after DIO write
    b1d0a566769b6 cifs: Fix server re-repick on subrequest retry
    b5347b051d3b2 cifs: fix noisy message on copy_file_range
    5c0a6c40c2b94 cifs: Fix missing fscache invalidation
    447c00d76e908 cifs: Fix missing error code set
    4378be89ddb7d ext4: use memtostr_pad() for s_volume_name
    915a386c7cffd qemux86: add configuration symbol to select values
    62df91b21626f sched/isolation: really align nohz_full with rcu_nocbs
    afe643f5802b8 clear_warn_once: add a clear_warn_once= boot parameter
    7b016793edbff clear_warn_once: bind a timer to written reset value
    89a5c70f20001 clear_warn_once: expand debugfs to include read support
    8014704c527d7 tools: Remove some options from CLANG_CROSS_FLAGS
    e9ca44556936c libbpf: Fix build warning on ref_ctr_off
    32fe8c972c362 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    a372ac2b798dc perf: x86-32: explicitly include <errno.h>
    a5cb41682777e perf: mips64: Convert __u64 to unsigned long long
    ed8ee9f3d1ae2 perf: fix bench numa compilation
    6dbb2915e8a7c perf: add SLANG_INC for slang.h
    57f78dddfd930 perf: add sgidefs.h to for mips builds
    130f0306cfbac perf: change --root to --prefix for python install
    2520efe953414 perf: add 'libperl not found' warning
    45731b6ae676f perf: force include of <stdbool.h>
    ace10f8dec53e fat: Replace prandom_u32() with get_random_u32()
    64797bdca14e2 fat: don't use obsolete random32 call in namei_vfat
    2442bae1a6451 FAT: Added FAT_NO_83NAME
    7561126bce00c FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    5c51ab9598763 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5869720658c99 aufs6: match exports to functions
    e125467cf228f aufs: adjust for v6.9+
    eebcdc6635bfa aufs6: correct do_splice_from prototype
    4c5829036c457 aufs: update remove_page to remove_folio
    e8d889d0f4341 aufs: i_op: Add handling for au_pin_hdir_set_owner with RT kernel
    3ecd9203de174 aufs: fix v6.7 kernel build compilation
    5e8ee028dbe24 aufs6: adapt to v6.6 i_op->ctime changes
    1132c330feed3 aufs6: adapt to v6.6
    d3e4ede696034 aufs6: core
    49ec9271f41d3 aufs6: standalone
    dcc0978da2dd9 aufs6: mmap
    80e1609b37e77 aufs6: base
    0dbb3f0624208 aufs6: kbuild
    ad51078c5ebfc yaffs: fix mtime/itime field access
    e5f1d35d6188c yaffs2: update VFS ctime operations to 6.6+
    dd374461adc7c yaffs2: v6.5 fixups
    f5908785d88d7 yaffs2: Fix miscalculation of devname buffer length
    d1403f0acfdff yaffs2: convert user_namespace to mnt_idmap
    7dae5463b54fa yaffs2: replace bdevname call with sprintf
    92d30df4eb56c yaffs2: convert read_page -> readfolio
    6c895bffdf725 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    6801e7d90255b yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    aff012190046f yaffs2: v5.12+ build fixups (not runtime tested)
    fb474842c16ee yaffs: include blkdev.h
    fe7d745aac947 yaffs: fix misplaced variable declaration
    bee147b2e5336 yaffs2: v5.6 build fixups
    22998f589ec26 yaffs2: fix memory leak when /proc/yaffs is read
    ce7d8084a9764 yaffs: add strict check when call yaffs_internal_read_super
    adb7202fda953 yaffs: repair yaffs_get_mtd_device
    2852e5c15d4dc yaffs: Fix build failure by handling inode i_version with proper atomic API
    1526802a81470 yaffs2: fix memory leak in mount/umount
    6c7827a16aaaa yaffs: Avoid setting any ACL releated xattr
    fa34828155425 Yaffs:check oob size before auto selecting Yaffs1
    aaa4843b73ce7 fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    48e992af6531c yaffs2: adjust to proper location of MS_RDONLY
    f3af7160d8a0c yaffs2: import git revision b4ce1bb (jan, 2020)
    4add698ed6e8b initramfs: allow an optional wrapper script around initramfs generation
    b619a8d543360 vt/conmakehash: improve reproducibility
    c786186aeef39 tools: use basename to identify file in gen-mach-types
    aa3a8e7ceb6e7 iwlwifi: select MAC80211_LEDS conditionally
    325db54c4be9f net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    23a87c6e13aad defconfigs: drop obselete options
    946e5b78ab94d linux-yocto: Handle /bin/awk issues
    9daee1dba5852 uvesafb: provide option to specify timeout for task completion
    f68b8683441a0 uvesafb: print error message when task timeout occurs
    a1595c6b60173 compiler.h: Undef before redefining __attribute_const__
    8086839613c68 vmware: include jiffies.h
    32e79eb3c169c Resolve jiffies wrapping about arp
    f6fabf91b6f24 nfs: Allow default io size to be configured.
    ad2b29f801e9e check console device file on fs when booting
    5194785d545b8 mount_root: clarify error messages for when no rootfs found
    78b3498cb59a7 mconf: fix output of cflags and libraries
    9cc6870708d54 menuconfig,mconf-cfg: Allow specification of ncurses location
    f34088ed9c938 modpost: mask trivial warnings
    4784584582f50 kbuild: exclude meta directory from distclean processing
    73072b5fe25a9 powerpc: serialize image targets
    a120eb2003200 arm: serialize build targets
    51d5719ac05b4 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    5155f0bb36f0c cpu/amd: inhibit SMP check for qemux86
    e5a5996ee586f x86_64_defconfig: Fix warnings
    1359db75df0c9 mips: make current_cpu_data preempt safe
    385edf6090c30 mips: vdso: fix 'jalr $t9' crash in vdso code
    968266397319f mips: Kconfig: add QEMUMIPS64 option
    389ce854fde30 4kc cache tlb hazard: tlbp cache coherency
    9cab61199fa85 malta uhci quirks: make allowance for slow 4k(e)c
    80cae3bd9eea0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    41c82709900f7 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    59ef4f151a5e5 arm64: defconfig: cleanup config options
    c5fb425762ed8 vexpress: Pass LOADADDR to Makefile
    07a8b544d4e96 arm: ARM EABI socketcall
    574f3ae3d2ca7 ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 83846552efb440f74268c07a41a8dff7172a2ea7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
aa7a3c4df4 linux-yocto/6.10: update to v6.10
Updating linux-yocto/6.10 to the latest korg -stable release that comprises
the following commits:

(From OE-Core rev: f8756621a7061091fcca90bddde0c4ee7357eef1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Bruce Ashfield
0cc22f1ca8 linux-yocto: introduce 6.10 reference kernel
6.10 will be one of the reference kernels for the fall
release. We add it along side the 6.6 reference kernel
which will remain in the release.

(From OE-Core rev: 0b47b5900df9b808a7fe47b8c5054164b579ec00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Richard Purdie
4ca98d9904 musl: Show error when used with multilibs
As discussed in the bugzilla entry, musl doesn't work with multilibs.

I originally sent this patch in 2020 but was told that support was being
added. I recently revisited the bug and retested a basic config which still
fails the way it did in 2019. Since clearly nobody is using this, make it clear
we don't support it. If anyone does add support, we can remove this error very
easily.

[YOCTO #13122]

(From OE-Core rev: 4da308d37aa51231b617fedb401076c13cafd89a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-07 15:47:15 +01:00
Yi Zhao
db87ca070c rpm: fix expansion of %_libdir in macros
There is a patch in oe-core[1] to avoid hardcoded paths in macros. It
tries to use libdir to expand %_libdir in macros.in. However, in
upstream commit[2], libdir for macros in CMakeLists.txt is set to
${prefix}/=LIB=, which causes %_libdir to expand to ${prefix}/=LIB=
instead of the correct path in the final macros.

On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    ${prefix}/=LIB=
[snip]

This also causes %__pkgconfig_path in fileattrs/pkgconfig.attr to become
an invalid regular expression when building rpm packages. This results a
warning in log.do_package_write_rpm in all packages:

Warning: Ignoring invalid regular expression ^((${prefix}/=LIB=|usr/share)/pkgconfig/.*.pc|usr/bin/pkg-config)$

Set libdir to ${CMAKE_INSTALL_FULL_LIBDIR} instead of ${prefix}/=LIB= to
make sure it is expanded to the correct path in macros.

After the patch:
On target:
$ rpm --showrc | grep _libdir
[snip]
-13: _libdir    /usr/lib
[snip]

[1] https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/rpm/files/0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
[2] d2abb7a487

(From OE-Core rev: ae0e217145f45d065124aeb0a7d72a0c25f621ef)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:33:58 +01:00
Richard Purdie
24cccdbe28 pixman: Backport fix for recent binutils
With recent binutils, we see a compile failure. Backport the patch for this
from upstream.

(From OE-Core rev: 7ea6b1910419cf5f5036c603edf3440383d1c947)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:27:25 +01:00
Khem Raj
d7a38848f0 binutils: Fix comment about major version
Reword so that it does not have to be updated with
every new major release of binutils

(From OE-Core rev: 679a12c21407ce32d0835e0fec6e5099f227b30b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:27:25 +01:00
Khem Raj
b35f220988 binutils: Upgrade to 2.43 release
Detailed changelog [1]

[1] https://sourceware.org/pipermail/binutils/2024-January/132213.html

(From OE-Core rev: 7e7afecc532a451b0ca9f34195a287c6472063c0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-06 11:27:25 +01:00
Marc Ferland
a1c5e16c62 appstream: add qt6 PACKAGECONFIG option
This will enable building the libAppStreamQt library. This is required
by the 'discover' application from the meta-kde layer.

(From OE-Core rev: 95b9227eabec5ace9c6a69695758b8f9c37ffa75)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:33:12 +01:00
Peter Marko
36b0291c43 libmnl: explicitly disable doxygen
libmnl autoconf autodetects doxygen to generate manpages.
If doxygen is provided via hosttools, the build fails.
Also until now manpages were not needed.
So explicitly disable doxygen in configure step.

(From OE-Core rev: 8d7bbf4d6936d831e341e9443a6b3711be09c7ab)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Richard Purdie
0731d49014 cve_check: Use a local copy of the database during builds
Rtaher than trying to use a sqlite database over NFS from DL_DIR, work from
a local copy in STAGING DIR after fetching.

(From OE-Core rev: 03596904392d257572a905a182b92c780d636744)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Trevor Gamblin
6c1e2d7971 scripts/patchtest.README: cleanup, add selftest notes
Make some minor fixes to grammar and layout, and add a short new section
describing how to setup and use the patchtest selftests properly.

(From OE-Core rev: 264185d2cfa31b1cf2534a8de21e4b17bb5bbf79)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Trevor Gamblin
4954be685f patchtest/patch.py: remove cruft
Remove some minor chunks of code in patch.py that serve no purpose.

(From OE-Core rev: e2146fe0cb8b3c22d2df1cda5a36f458b7313280)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Carlos Alberto Lopez Perez
e6c6abf2e0 icu: Backport patch to fix build issues with long paths (>512 chars)
There is a bug libicu that causes libicu to be installed incorrectly when
the build system uses long paths (more than 512 chars).

This condition is not very difficult to trigger on a OE build system
due to the long paths an the deep of the directories that are usually
generated by default.
Also the bug is very subtle and won't be detected by the QA post-install
processes because what this bug causes is that a different version of
libicudata.so.X.Y (one without data) is installed instead of the one
containing the data, but there won't be any file missed on the installation
(just that it installed the wrong one).

See: https://unicode-org.atlassian.net/browse/ICU-22813

This patch backports the fix from upstream/main

(From OE-Core rev: 67d1352873957decacde30ff208fb7bb635b0c5d)

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Jonas Munsin
33c27974f3 bzip2: set CVE_PRODUCT
Add CVE_PRODUCT to bzip2

(From OE-Core rev: bc889ea799cc82f7fa018baabca0b821c1209897)

Signed-off-by: Jonas Munsin <jonas.munsin@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
907aa34fb5 python3-psutil: set CVE_PRODUCT
Set CVE_PRODUCT of python3-psutil to match NVD entries.

(From OE-Core rev: 1eaa6aed41bacc8a041fe230ffaf130fab425b72)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
4227cd6210 python3-lxml: set CVE_PRODUCT
Set CVE_PRODUCT of python3-lxml to match NVD entries.

(From OE-Core rev: e2d4d19c673ef7bd743473caf57678e623af293d)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
4dfb5d5057 gstreamer1.0-plugins-bad: set CVE_PRODUCT
Set CVE_PRODUCT of gstreamer1.0-plugins-bad to match NVD entries.

(From OE-Core rev: 9fe05a2c80c53393a21621ba6a4111baed48a077)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
56962db632 libatomic-ops: set CVE_PRODUCT
Set CVE_PRODUCT of libatomic-ops to match NVD entries.

(From OE-Core rev: b6ad7a3427f665e840ae7e9907adb960d1f8ed73)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
fc0e93eaa1 mpfr: set CVE_PRODUCT
Set CVE_PRODUCT of mpfr as gnu_mpfr to match NVD entries.

(From OE-Core rev: ff30f7707f1f3ad8964f214c99f24bfc5e3730e0)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Intaek Hwang
d7b4254fe5 alsa-plugins: set CVE_PRODUCT
Set CVE_PRODUCT of alsa-plugins to match NVD entries.

(From OE-Core rev: 58a98bf780805efc99d0322717758b358d1e52b4)

Signed-off-by: Intaek Hwang <intaek.hwang@gehealthcare.com>
Signed-off-by: Maxin John <maxin.john@gehealthcare.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Marc Ferland
f7f84d44d3 appstream: refresh patch
Refresh patch for 1.0.3 release.

(From OE-Core rev: 33880e77bca1cabece8dfb006b5852471330273f)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Corentin Lévy
c01e633ab9 python3-libarchive-c: add ptest
test added to the fast-list
result of ptest-runner:
Testsuite summary
TOTAL: 36
PASS: 36
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 11
END: /usr/lib/python3-libarchive-c/ptest
2024-08-01T11:44
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 2019edfc5a6fd252329347a6230a2e39603b932b)

Signed-off-by: Corentin Lévy <corentin.levy@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Trevor Gamblin
069ff98309 nettle: upgrade 3.9.1 -> 3.10
Refresh two patches to apply on top of 3.10.

11 of the ptests pass without the sc-valgrind.sh file, so make sure
that's copied to the image fo ptests.

Changelog: https://git.lysator.liu.se/nettle/nettle/-/blob/master/ChangeLog

(From OE-Core rev: a663573dfd14c1c36c95928334836ae7acd61c0b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Yoann Congal
47ed8ac83a spirv-tools: Fix git-describe related reproducibility
This reproducibility problem comes down to git-describe output. Fixes
this by using an environment variable to force the description and use
it to set this description to ${PV}

Fixes [YOCTO #15567].

(From OE-Core rev: fa7ab8f9afaeeba9e2b2806f28e7e9cbd2595353)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Ross Burton
cb2848c3ad meson: upgrade 1.4.0 -> 1.5.1
(From OE-Core rev: 145644c8c8318144ba12ed36c9a51924f1f58ad2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-05 14:31:57 +01:00
Quentin Schulz
29a40232a3 bitbake: doc: releases: add scarthgap
We missed on adding Scarthgap to the list of user manuals, so let's fix
this oversight.

(Bitbake rev: 2f12db7b7b03c18de6257a9886c493535f0cb5a2)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-04 17:42:43 +01:00
Quentin Schulz
efe3d419ab bitbake: doc: releases: add nanbield to the outdated manuals
We missed on adding nanbield to the release manuals. It's now EOL so
let's add it directly to the oudated release manuals section.

(Bitbake rev: b891878a7f08b15ee5d6d037d99fbc769cc905e4)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-04 17:42:43 +01:00
Quentin Schulz
6c46eb9819 bitbake: doc: releases: mark mickledore as outdated
Mickledore isn't maintained anymore, so let's move it to the outdated
release manuals section.

(Bitbake rev: 4cdea8a71641b0e0281001546f9dda3e2cd1f075)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-04 17:42:43 +01:00
Richard Purdie
0655e196d5 populate_sdk_base: Ensure nativesdk targets have do_package_qa run
We've realised that "bitbake XXXx -c populate_sdk" doesn't actually trigger
the package_qa tests to run. This means test coverage on the autobuilder was
poor. Fix this and run the tests for SDKs.

(From OE-Core rev: f35d9b7cc3998c88743397c5dc7e60dac8e4bbea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-04 10:10:08 +01:00
Robert Yang
6568b7aac5 bitbake: data_smart: Improve performance for VariableHistory
Fixed:
- BBMULTICONFIG = "qemux86-64 qemuarm64" and more than 70 layers in BBLAYERS
$ bitbake -p -P
Check profile.log.processed, the record() cost more than 20 seconds, it is less
than 1 second when multiconfig is not enabled, and there would be the following
error when more muticonfigs are enabled:

Timeout while waiting for a reply from the bitbake server

Don't change the type of loginfo['detail'] or re-assign it can make record()
back to less than 1 second, this won't affect COW since loginfo is a mutable
type.

The time mainly affected by two factors:
1) The number of enabled layers, nearly 1 second added per layer when the
   number is larger than 50.

2) The global var such as USER_CLASSES, about 1 ~ 2 seconds added per layer
   when the layers number is larger than 50.

(Bitbake rev: 0596aa0d5b0e4ed3db11b5bd560f1d3439963a41)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 11:37:47 +01:00
Alexander Kanavin
0c824d8071 pulseaudio, desktop-file-utils: correct freedesktop.org -> www.freedesktop.org SRC_URI
Server's https certificate isn't valid for freedesktop.org without www prefix.

(From OE-Core rev: d7ce9da33498869384b26a6fda05c37e7b2c3565)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Alexander Kanavin
eaffa0a696 ca-certificates: get sources from debian tarballs
git repo no longer has tags for recent versions which means
we had missed several of them, and wouldn't be able to get
notifications about any future releases.

(From OE-Core rev: 81f013fd1312551628701bf36ac62746a2606dbd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Alexander Kanavin
43a484dff2 python3-jinja2: fix upstream version check
(From OE-Core rev: fdb5951292401fcff4617db16378c2b635fcf14e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Alexander Kanavin
18e4194539 devtool/upgrade: rename RECIPE_UPDATE_EXTRA_TASKS -> RECIPE_UPGRADE_EXTRA_TASKS
'UPDATE' as a name is somewhat unfortunate as the variable is intended only for
the 'devtool upgrade' operation and devtool also has an 'update-recipe' operation.

(From OE-Core rev: 4467aa0661e233f44c4ce029428c67d88fccfc07)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Denys Dmytriyenko
af2b1221e8 gcc: unify cleanup of include-fixed, apply to cross-canadian
Since target and cross variants were already doing similar cleanup
of include-fixed headers, as those aren't used, unify the code and
also apply the same to cross-canadian variant.

Some of those header files get processed with a tool that leaves
absolute buildpaths inside the file's commented section, causing
QA errors. Since those aren't used, let's remove them.

This may be a temporary solution until the tool itself gets fixed
to not embed absolute buildpaths in the header files:
https://lists.openembedded.org/g/openembedded-core/topic/107268307

(From OE-Core rev: 9221e4ab8cca4c06dc3d5c1de2fd4ce46477578a)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Oleksandr Hnatiuk
f1ad5be433 gcc: remove paths to sysroot from configargs.h and checksum-options for gcc-cross-canadian
Apply fixes from gcc-cross (84a78f46d594 and 0ead8cbdfb96) to gcc-cross-canadian.
This will improve (but not fix) reproducibility of gcc-cross-canadian.
Also move this code to functions to avoid code duplication.

[RP: Tweak patch to make the function parameters clear and fix quoting issues
ensuring the code exactly matches the original replacements with an additional
parameter.]

(From OE-Core rev: 350ff7d53f7506de2bc01f0efc569b8294b9afea)

Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Zoltan Boszormenyi
ee83d0fdae rpcbind: Fix boot time start failure
With commits 90bc1810 ("bitbake.conf: Add runtimedir") and
561e853e ("rpcbind: Specify state directory under /run") rpcbind
still can fail during startup with:

  rpcbind: /var/run/rpcbind.lock: Read-only file system

The lockfile is hardcoded as "/var/run/rpcbind.lock".
While it should use the same internal define "RPCBIND_STATEDIR"
as the paths for rpcbind.xdr and portmap.xdr, it's not necessary
to be patched because of the default value of ${runtimedir} and
the presence of the /var/run -> /run symlink.

Using --with-statedir=/run/rpcbind adds the line

  RequiresMountsFor=/run/rpcbind

to the service but it doesn't guarantee that /run is writable yet
when rpcbind.service starts. Add this guarantee by running
rpcbind.service with systemd-tmpfiles-setup.service and add the
tmpfiles.d entry for /run/rpcbind.

(From OE-Core rev: 53fb871f84c99a66485979da2588c1d11d8749e7)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Paul Eggleton
2dded99583 classes: add new retain class for retaining build results
If you are running your builds inside an environment where you don't
have access to the build tree (e.g. an autobuilder where you can only
download final artifacts such as images), then debugging build failures
can be difficult - you can't examine log files, the source tree or
output files. When enabled, by default this class will retain the work
directory for any recipe that has a task failure in the form of a
tarball, and can also be configured to save other directories on failure
or always.

It puts these tarballs in a configurable location (${TMPDIR}/retained by
default), where they can be picked up by a separate process and made
available as downloadable artifacts.

(From OE-Core rev: e2030c0d747eb990b9ad10098c6b74d6f8f4e74e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:56:10 +01:00
Thomas Perrot
9fd5ab769c opensbi: bump to 1.5.1
This intermediate release has following fixes:
- Save/restore menvcfg only when it exists
- Adjust Sscofpmf mhpmevent mask for upper 8 bits
- Fix potential NULL pointer dereferences in SBI DBTR
- Fix incorrect size passed to sbi_zalloc() in SBI FWFT
- Check result of pmp_get() in is_pmp_entry_mapped()

(From OE-Core rev: f102511f3a7707d2564e17af5dfdb1406177d7bb)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Richard Purdie
7dfb9af8e0 qemu: Upgrade 9.0.1 -> 9.0.2
Update along the stable release series.

(From OE-Core rev: 64c2e0a378cf3341e164664925190cc87e41b2fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Richard Purdie
0aa515cb70 libtool: Upgrade 2.5.0 -> 2.5.1
Switch from an alpha to a beta release.

Drop two patches merged upstream.

(From OE-Core rev: 6348b10b3cae7e1d3fc79d5018f43133a0cd56f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Trevor Gamblin
17766f47e6 dpkg: upgrade 1.22.6 -> 1.22.10
This required a refresh of patch
'0003-Our-pre-postinsts-expect-D-to-be-set-when-running-in.patch'. Since
it didn't have a proper commit message or signoffs, I also added those
and renamed the patch in the process. The original title is now the
description.

Wasn't able to find a new changelog, so commit history will have to do:

ef5536cfe (tag: 1.22.10) Release 1.22.10
e4d8d44dd po: Regenerate .pot files and merge .po files with them
58146a371 Revert "scripts/mk: Reduce the number of subprocesses"
3618de586 Dpkg::Changelog: Remove useless escaping for -
af10377e2 Dpkg::Changelog::Entry::Debian: Remove obsolete /o modifier from regex
dd4d53d97 build: Simplify C standard check output
adc3dd67b build: Fix dpkg_cv_c99 assignment in DPKG_C_C99 macro
1b562a0e9 build: Fix length for comment bar line after autoconf functions
f320bc0f8 build: Use pre-defined macros to check C/C++ conformance requirements
a2f7f85d5 build: Do not define macros for C/C++ standard level
e2b256176 Bump version to 1.22.10
82ab77437 (tag: 1.22.9) Release 1.22.9
5dcf833c2 po: Regenerate .pot files and merge .po files with them
b40d59472 scripts/mk: Fix typo in comment
c05f82972 scripts/mk: Fix pkg-info.mk evaluation by adding new DEB_TIMESTAMP variable
05efe8360 test: Fix typos in Makefile comments
80bdfdfe5 s-s-d: Use a stop context to track the current state
78a970dba dpkg-deb: Track maintscript information in a new struct
514b761a1 dpkg-deb: Print pathname instead of filename and directory in error output
f7978c885 dpkg-deb: Add long options for short-only compression ones
06dd1ad0f Bump version to 1.22.9
e9a8f699f (tag: 1.22.8) Release 1.22.8
ccaea43c6 po: Regenerate .pot files and merge .po files with them
017079b0c scripts/mk: Fix make variable expansions passed to dpkg-buildflags
574081691 scripts/mk: Ensure dpkg_datadir is computed once
f2f447be4 po: Update Catalan translations
286fc7467 Dpkg::Archive::Ar: Rework _read_buf() error messages to make l10n easier
ad717618e po: Update German programs translation
127d25ed1 libdpkg: Fix execname support on GNU/Hurd
94e577411 build: Update lcov usage for version 2.0
1aba90294 doc: Update Doxygen configuration from version 1.9.8
7c1ab6e31 Bump version to 1.22.8
7603b54e2 (tag: 1.22.7) Release 1.22.7
956bede10 po: Regenerate .pot files and merge .po files with them
3eca339cc dpkg-buildpackage: Reference the .dsc in .buildinfo if building from one
555f9fe3c dpkg-buildpackage: Add support for building from a specified .dsc or dir
a0e40ff85 perl: Use new Dpkg::Source::Package->get_basedirname() method
5ca492db5 Dpkg::Source::Package: Add a new get_basedirname() method
98adc2ec5 Dpkg::Source::Package::V3::Bzr: Remove unused variables
044955f9b Dpkg::Source::Package: Document method additions with an object
00f0fb173 Dpkg::Substvars: Add support for required substvars assigned with !=
df60765ed Dpkg::Vendor::Debian: Guarantee UTF-8 locale codeset on sanitize-env
259debe76 build: Do not include VCS specific files in the distributed tarball
5a381b45a build: Include a .dist-vcs-url file in the distributed tarball
4c6e077bf libdpkg: Do not try to strdup() a NULL pointer in dpkg_get_pid_execname()
4ec4dcd01 libdpkg: Remove unused variable in dpkg_get_pid_execname() on GNU/Hurd
99bba12f0 libdpkg: Try to print the executable name of the lock contending process
d6a9bb695 libdpkg: Add new execname module
b7dc60447 dselect: Use enum values instead of literal integers
e56be2165 libdpkg: Check for updateslength < 0 instead of == -1 in ulist_select()
af5c8d99e libdpkg: Check for limit >= 0 instead of != -1 in buffer_copy()
1a7b7d52e dpkg: Check for < 0 instead of == -1 for conffderef() return values
4682652aa Check for >= 0 instead of != -1 for syscall return values
5601b4769 Check for < 0 instead of == -1 from syscall return values
040922cf0 dpkg-realpath: Guarantee varbufs have been allocated
f724d5076 Revert "dpkg-realpath: Switch direct varbuf accesses to varbuf_str()"
0fee7b211 dpkg-realpath: Switch direct varbuf accesses to varbuf_str()
474db9879 dpkg-realpath: Do not allow an empty pathname argument
983fadb9e libdpkg: Do not accept len >= INT_MAX in fd_read() and fd_write()
9ff1f50b1 libcompat: Fix vasprintf() to error out if vsnprintf() returns >= INT_MAX
811651673 build: Check whether HAVE_* macros for headers are defined
83c6705c1 s-s-d: Fix typos in code comments
4993ac06a build: Add missing files and sort POTFILES.in
45317f873 test: Switch ar m4 macros to use internal dpkg-ar implementation
865322b2a dpkg-ar: New internal ar implementation script
fbee9f6d4 Dpkg::Archive::Ar: New module
9b2f0100f test: Refactor ar handling into m4 macros
59ce405f3 test: Unify all ar invocations into create, extract and list
7e27cbae0 Dpkg::Shlibs::Cppfilt: Normalize demangled symbols with llvm or C++11 format
1c7f9f2be test: Only execute Dpkg::Shlibs checks on ELF platforms
ef9d366fe test: Add new DPKG_CHECK_DIFF macro to abstract file comparisons
3533e05c2 Dpkg::Vendor::Debian: Set -Wno-error on qa=-bug-implicit-func
0dff3528b po: Update German scripts translation
0b7988833 po: Update German man pages translation
33e3074db Dpkg::OpenPGP::ErrorCodes: Update error codes from SOP draft version 10
0274e3d35 dpkg-buildpackage: Make newline injection during signing GnuPG specific
8389e7010 lib, src: Include missing <stdbool.h>
c94e16d93 Dpkg::Vendor::Debian: On native builds map *_FOR_BUILD flags to * flags
17456a341 Merge conffile obsolete and remove-on-upgrade into a single flags member
b11ffedca dpkg: Refactor conffile disappearing check into a new function
09ae88618 dpkg-shlibdeps: Add support for new --package option
e16a155f5 dpkg-shlibdeps: Refactor executable CLI parsing
01505a922 libdpkg: Factor fsys_list_parse_buffer() out of ensure_packagefiles_available()
6410d905b test: Clarify the Makefile fragment variable being tested via comments
1e9c98a43 test: Parametrize all Makefile fragment functional tests
7e73ffda9 test: Set CC to gcc in make fragments functional tests
d8ff5ef85 scripts/mk: Stop hard-coding dpkg_datadir
a0b4da48c scripts/mk: Replace more GNU sed constructs with POSIX ones
57048fc8c build: Fix test verbose and parallel option propagation
deb4cfe60 build: Workaround Tap::Harness verbose misbehavior on parallel mode
f2407763c doc: Fix casing after admonition
153a7c8de doc: Fix grammar for fallback
86fe73a5a po: Update German man pages translation
17dd89881 libdpkg: Make varbuf_detach() always return a string
0e589d3fc libdpkg: Make prefix and suffix varbuf checks cope with unallocated varbufs
7f287adcd libdpkg: Compute string slice for varbuf_has_suffix() check on good values
61b221cf7 man: Update verify format example to also include M
6d6488a9e dpkg: Do not run hooks or loggers with --dry-run or unprivileged
bc4dc7153 debian: Suppress s-s-d compat symlink if /sbin is missing
98e16e2eb dpkg-genbuildinfo: Parse Provides as virtual packages
b126d9726 test: Refactor real and virtual package setup
b33121e1f po: Update German man pages translation
b33417497 libdpkg: Turn the warning on Provides version relation into a lax error
77cd6c000 libdpkg: Refactor lax problem reporting into parse_lax_problem() function
4ed783dc7 man: Document weak checksum algorithms
e5fb453b3 man: Document missing Packages front-end fields in dpkg-query(1)
77f1ce33a po: Update Dutch man pages translations
9dff67290 libdpkg: Mark file_slurp_fd() NUL-terminate the varbuf
e146a68a3 scripts/mk: Reduce the number of subprocesses
970350af0 test: Test override of a build tool
48a52db41 test: Add missing test for CPP build tool
0b4d3ad3d test: Test DEB_CXXFLAGS_MAINT_SET
0a3195357 test: Test variable override
4b04e760a test: Test exported variables in addition to Make variables
bb01e59d8 test: Replace double quotes with single quote in shell recipes
d583f4846 test: Use loops instead of repetitions in mk fragment tests
4c7702871 test: Simplify buildflags.mk test of _MAINT_APPEND when TEST_ is empty
ce5c5af16 test: Unset DEB_BUILD_MAINT_OPTIONS in build flags tests
f1175056f build: Rework subst handling for built or installed artifacts
84d82aaaf po: Update German programs translation
f8d4dc399 po: Update German man pages translation
24a7aee46 Revert "test: Pass -T+1 to xz to workaround spurious warning with xz 5.6.0"
0f4000a29 test: Initialize varbuf before use
489c0f4b2 libdpkg: Add missing header includes
51b9b23c4 po: Update Swedish translations
0f503ee3a src: Check whether SOURCE_DATE_EPOCH is set before parsing it
2b771a88e src: Fix timestamp parse error reporting
f6d747035 dpkg: Use a variable for each conffile pathname type
42158472a dpkg-realpath: Rewrite in C
9d410b391 libdpkg: Add new file_getcwd() function
f382029ba libdpkg: Add new varbuf prefix and suffix handling functions
e5c856f73 libdpkg: Add support for DPKG_NLS environment variable
24287281f man: Document DPKG_COLORS and DPKG_NLS for all perl scripts honoring them
e309f8639 man: Add new libdpkg(7) manual page
46ca7d944 build: Pass abs_srcdir and abs_builddir to the TAP driver
ae03bfd28 libdpkg: Remove varbuf_end_str() function
cae07d61c libdpkg: Always NUL terminate varbufs
fe1c99810 Use varbuf_str() instead of direct access
426997f83 libdpkg: Rename varbuf_get_str() to varbuf_str()
aea0858f5 libdpkg: Change varbuf_get_str() to return "" instead of initializing it
bfecc8f13 test: Pass --check-level=exhaustive to cppcheck
54a1a23d3 scripts/mk: Generate the _FOR_BUILD variant of each variable automatically
61f824cf1 scripts/mk: Search once for parrallel= in DEB_BUILD_OPTIONS
d5835c587 scripts/mk: Use explicit test of $(origin) instead of ?=
c0dde13fd scripts/mk: Use filter instead of findstring
8966616fa scripts/mk: Protect files against double inclusion
f268c3733 po: Update German man pages translation
3e430c1f2 man: Document DEB_BUILD_ARCH and DEB_HOST_ARCH usage in commands
54a6ad9db build: Add support to track release VCS commit id
00707c50e build: Print the release version at the end of configure
4d9214444 po: Update German man pages translation
2c55113b6 build: Partially revert the sanitizer for some functional tests in CI
78a5e8e24 Dpkg::Vendor::Ubuntu: Use -fcf-protection=none instead of -fno-cf-protection
281c308ee libdpkg: Handle readlink() failures in file_readlink()
197fa86fc Dpkg::BuildDriver: Refactor build driver out of dpkg-buildpackage
bab74e22a dpkg-buildpackage: Refactor build target hook execution
c711bc865 dpkg-buildpackage: Fix the debian/rules executable check to respect -R
f4a75f138 dpkg-buildpackage: Remove fallback handling for missing required targets
7b6e42a13 libcompat: Include missing <string.h> in strnlen module
6a22037c2 build: Do not check for functions used unconditionally
4c586e344 build: Do not check for memcpy()
2eb48ad0c build: Unconditionally include <stddef.h>
4921ef18c build: Add missing space before backslash
ebd19171d build: Re-enable the sanitizer for functional tests in CI
7348ad792 doc: Add missing full stop to end of sentence
0d3527afd test: Do not fail the functional test suite due to memory leaks
5cdc783e5 libdpkg: Factor out filesystem database file loading into new function
cedd58200 po: Update German man pages translation
dfa1ac937 Bump version to 1.22.7

(From OE-Core rev: 576ac47a278eeadb7be65129492906f9260fe958)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Trevor Gamblin
35efa5d55f cmake: upgrade 3.29.3 -> 3.30.1
Refresh 0001-CMakeLists.txt-disable-USE_NGHTTP2.patch to apply on top of
the new version.

Changelogs:

3.29.4+: https://cmake.org/cmake/help/latest/release/3.29.html#id2
3.30.x: https://cmake.org/cmake/help/latest/release/3.30.html

(From OE-Core rev: 3bc8f132f2547105a4e631d909347b6e80e1f6d0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Jose Quaresma
73f5bd99d2 libssh2: disable-DSA-by-default
Backport the merged solution and drop the submited patch.

(From OE-Core rev: f099cc0782db9c726eff151a11c1c59a1a22b3d7)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Trevor Gamblin
2f23bb6017 bind: upgrade 9.18.27 -> 9.20.0
bind now depends on liburcu, so add it to DEPENDS (this was why the AUH
runs were failing at do_compile).

Changelog: https://gitlab.isc.org/isc-projects/bind9/-/blob/main/doc/arm/changelog.rst

(From OE-Core rev: 6a450da130e78fd45931c67a9e8255d611ae8711)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:36 +01:00
Wang Mingyu
b09f433ec9 xwayland: upgrade 24.1.0 -> 24.1.1
(From OE-Core rev: 26782d582663f430b8870008e0b2983f5bd29650)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
cb37559414 vulkan-volk: upgrade 1.3.283.0 -> 1.3.290.0
(From OE-Core rev: 3b8b270d6544a92a0ce33a17e78f2f85928dfdd7)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
4e91415ab1 vulkan-validation-layers: upgrade 1.3.283.0 -> 1.3.290.0
(From OE-Core rev: cd4bb77a039e45433242c413a81fdf8dd4eb33c3)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
5e4122925a vulkan-utility-libraries: upgrade 1.3.283.0 -> 1.3.290.0
(From OE-Core rev: e9a86635c9e1daf1897f651cc6043c1794d68fe5)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
65e01f3498 vulkan-tools: upgrade 1.3.283.0 -> 1.3.290.0
(From OE-Core rev: 7e9a0cc161826cf727518a34d01bf2219759695d)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
bf7c787eb4 vulkan-loader: upgrade 1.3.283.0 -> 1.3.290.0
(From OE-Core rev: 1a4708433c140cfaa0f4c403eaa598919e0c2882)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
568268e5e4 vulkan-headers: upgrade 1.3.283.0 -> 1.3.290.0
Changelog:
============
- cmake: Disable modules if clang-scan-deps is missing
- Disable VulkanHppModule support in clang-cl
- Add windows clang & clang-cl CI jobs
- Update for Vulkan-Docs 1.3.290
- build: Require MSVC 17.11 for module support
- build(deps): bump fsfe/reuse-action from 3 to 4
- Change name of update to Makefile.release
- Makefile to import generated scripts and headers when doing a spec update
- Update for Vulkan-Docs 1.3.289
- cmake: Workaround MSVC module support compiler bug
- ci: Add explicit build step
- cmake: Remove explicit install of Vulkan-Module
- ci: Add install step
- Add vulkan.cppm as a separate library: Vulkan::VulkanHppModule
- cmake: Allow external control of whether to test or install

(From OE-Core rev: 2730cbd915fafc86ab6a2293cf5f1293c50c011d)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
b74d2ea2cc sysklogd: upgrade 2.5.2 -> 2.6.0
Changelog:
============
### Changes
- Add reload command for systemd service
- Add global log rotation options to .conf file, issue #80.  Introducing
  two new settings: 'rotate_size SIZE' and 'rotate_count COUNT'
- Semantic change for per-file log rotation settings, no longer possible
  to disable log rotation for a file by setting 'rotate=0:0'
- Possible to set only size or count rotation per file
- Add support for 'listen addr:port' to .conf file, issue #83

### Fixes
- Fix #72: loss of raw kernel log messages to console.
- Fix #81: blocking delay for unreachable remote log server.
- Fix #82: retry creating UNIX and network sockets on failure.

(From OE-Core rev: 1af9b2e990f06367accb37f650223607f4442409)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
3bc7447062 strace: upgrade 6.9 -> 6.10
Makefile-ptest.patch
refreshed for 6.10

Changelog:
===========
* Improvements
  * Implemented --decode-fds=eventfd option to retrieve eventfd object details
    associated with eventfd file descriptors.
  * Implemented decoding of NETLINK_GENERIC nlctrl protocol.
  * Implemented decoding of F_DUPFD_QUERY fcntl.
  * Implemented decoding of mseal syscall.
  * Updated decoding of statx and prctl syscalls.
  * Updated decoding of BPF_RAW_TRACEPOINT_OPEN bpf command.
  * Updated lists of BPF_*, IORING_*, KEXEC_*, KEY_*, LANDLOCK_*, PR_*, STATX_*,
    TCP_*, TEE_*, V4L2_*, and *_MAGIC constants.
  * Updated lists of ioctl commands from Linux 6.10.

* Bug fixes
  * Worked around a bug introduced in Linux 6.5 that affected system call
    tampering on riscv64.

(From OE-Core rev: ff5fb4fa63db46e747fe3b0710d041a46ab2aec9)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
7fb3424fd1 spirv-tools: upgrade 1.3.283.0 -> 1.3.290.0
Changelog:
==========
- Do not fold mul and adds to generate fmas
- add OpExtInst forward ref fixup pass
- Separate Location check for tess patch
- Validate MemoryAccessMask of OpCooperativeMatrixStoreKHR
- OpSampledImage extra validation
- add support for OpExtInstWithForwardRefs
- add decorations to comments
- Add --nested-indent and --reorder-blocks

(From OE-Core rev: 0276f8aab4b688bbd0509513b0953628ca878584)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
42920dd8d8 spirv-headers: upgrade 1.3.283.0 -> 1.3.290.0
Changelog:
==============
- SPV_ARM_cooperative_matrix_layouts
- Add KHR suffix to OpExtInstWithForwardRefsKHR
- Enforce grammar naming conventions for aliases
- Adds SPV_KHR_relaxed_extended_instruction
- SPV_EXT_replicated_composites
- Fix SPIR-V reserved ranges
- Add utility functions to strinfigy value enums
- VkspReflection non-sematic: add dispatchId in configuration

(From OE-Core rev: ef0750fe37d4f6dc3dfc66785ac14729db0dc3c9)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
badd25c860 python3-sphinxcontrib-qthelp: upgrade 1.0.7 -> 1.0.8
Changelog:
 Fix tests for Sphinx 7.4 and later.

(From OE-Core rev: 7f8760e2a266e6cac02301d719dee6ef812c43bb)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
8d7d21f396 python3-sphinxcontrib-htmlhelp: upgrade 2.0.5 -> 2.0.6
Changelog:
============
* Fix tests for Sphinx 7.4 and later.

(From OE-Core rev: 3cb5a50209c36649d4d39d72086d121599e0bfa5)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
1ea6c5cea2 python3-sphinx: upgrade 7.3.7 -> 7.4.7
Changelog:
 https://www.sphinx-doc.org/en/master/changes.html

(From OE-Core rev: acb4e7bf7f33047cb36749d7215c479654fd0b7c)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
7b6eeb3ef2 python3-setuptools: upgrade 70.3.0 -> 71.1.0
Changelog:
=============
- Added return types to typed public functions
- Marked Package Discovery and Resource Access using pkg_resources as py.typed
- Removed lingering unused code around Distribution._patched_dist.
- Reset the backports module when enabling vendored packages.
- Include all vendored files in the sdist.
- Restored package data that went missing in 71.0. This change also incidentally
  causes tests to be installed once again.

(From OE-Core rev: ab5ebb1713d0bfac1a7fb8583aa8e4655e24ccd7)

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>
2024-08-03 07:47:36 +01:00
Wang Mingyu
e861a44445 python3-pytest: upgrade 8.2.2 -> 8.3.1
Changelog:
 https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 72a798cb1cfb72691b1939ee945bf69cae0e423a)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
87f13375c1 python3-pytest-subtests: upgrade 0.13.0 -> 0.13.1
Changelog:
 Fixed bug were an extra test would execute when -x/--exitfirst was used

(From OE-Core rev: a29db0c8144f473d05ec2b2ba99c6327b5cb6246)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
b0e8ea601b python3-jsonschema: upgrade 4.22.0 -> 4.23.0
Changelog:
===========
- Do not reorder dictionaries (schemas, instances) that are printed as part
  of validation errors.
- Declare support for Py3.13

(From OE-Core rev: 716a45d194257d30a32e06d7e73dedeef3a677f6)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
eaa5e2427c python3-importlib-metadata: upgrade 8.0.0 -> 8.2.0
Changelog:
==========
- Add SimplePath to importlib_metadata.__all__.
- Prioritize valid dists to invalid dists when retrieving by name.

(From OE-Core rev: f0ddbe6fe760a8a63317f314f63b599fded30d9a)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
f8e111e849 python3-hypothesis: upgrade 6.105.1 -> 6.108.4
Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: b7416c0734d9981028f143ba22522d7fc94a1828)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
7821ae48ee python3-dbusmock: upgrade 0.31.1 -> 0.32.1
Changelog:
==========
- ModemManager: Add initial mock
- bluez5: Add advertising API
- Fix loading of libglib on macOS

(From OE-Core rev: 6323ca033e3e1bdb9292b054ce3c0a54fce6df10)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
3c2021ed9a python3-bcrypt: upgrade 4.1.3 -> 4.2.0
(From OE-Core rev: 5d02d9bde0805b5782db36a06c8c4ac5e4839662)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
5feabe1133 orc: upgrade 0.4.38 -> 0.4.39
(From OE-Core rev: bcbaaa9f7d88686915c354fb66682cbe9b1d0536)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
2274414b49 libtirpc: upgrade 1.3.4 -> 1.3.5
ipv6.patch
removed since it's included in 1.3.5

(From OE-Core rev: 1c02b1764c4e51a4b78719f45419b3de122ac692)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
19c4e25880 libsolv: upgrade 0.7.29 -> 0.7.30
Changelog:
==========
* removed dependency on external find program in the repo2solv
  tool
* bindings: fix return value of repodata.add_solv()
* new SOLVER_FLAG_FOCUS_NEW flag

(From OE-Core rev: 18753c7a62d1de79e03b03ac05aae9d09140850d)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
d17110fbce librsvg: upgrade 2.58.1 -> 2.58.2
Changelog:
=========
- #1087 - Don't leak XML entities when the XML document fails to parse.
- #1092 - Fix stack overflow in <use> reference cycle.

(From OE-Core rev: 44d0a6a347b134e4dadabbcc5e2b833049203502)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
4cc0b1fdc1 libproxy: upgrade 0.5.7 -> 0.5.8
Changelog:
===========
- Update repology list
- Properly handle empty proxy ignore entry
- Add support for direct keyword in PAC

(From OE-Core rev: 8d4373e6ae06d0d6e87d5a39fb3c51c0efa70a1d)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
10398200c8 kexec-tools: upgrade 2.0.28 -> 2.0.29
0001-x86-linux-setup.c-Use-POSIX-basename-API.patch
0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch
Fix-building-on-x86_64-with-binutils-2.41.patch
removed since they're included in 2.0.29

License-Update:
 "GNU Library General" changedto "GNU Lesser General"
 file format changed

(From OE-Core rev: 74b382e2d43a2bc355e2f2b2591c6ce9cadd56a3)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
67c0075955 gsettings-desktop-schemas: upgrade 46.0 -> 46.1
(From OE-Core rev: 18fb876faac973ef63b22ef46e75d08f42390551)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
7b3243c70c glslang: upgrade 1.3.283.0 -> 1.3.290.0
0001-generate-glslang-pkg-config.patch
refreshed for 1.3.290.0

Changelog:
===========
* Generate vector constructions more efficiently when sizes match
* Skip identity conversions for 8-bit and 16-bit types
* Add cmake aliases for public libraries
* Support ARM extended matrix layout
* Emit debug info for buffer references
* Add support for OpExtInstWithForwardRefsKHR
* Generate SPV_EXT_replicated_compisites when requested by pragma
* Reuse loads generated for repeated function arguments
* Fix gl_HitT alias of gl_RayTmax
* Fix some cases where invalid SPIR-V was being generated when using separate samplers
* Add back layoutLocation to public API

(From OE-Core rev: 0540cc0b92193e963fb0823f6635d1ecf3509ac2)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
46be260113 asciidoc: upgrade 10.2.0 -> 10.2.1
.Bug fixes
- Fix deprecation warning on escaping table separators

.Miscellaneous
- Include manpage source files to sdist archive
- Fix setting up debian backports in Dockerfile

(From OE-Core rev: 3bf33cf051705a1a76c8075c46881ae6e82049d6)

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>
2024-08-03 07:47:35 +01:00
Wang Mingyu
bf1f24e8f6 cryptodev: upgrade 1.13 -> 1.14
0001-Disable-installing-header-file-provided-by-another-p.patch
0001-tests-Makefile-do-not-use-Werror.patch
removed since they're included in 1.14

Changelog:
===========
* Fix compilation issues after API changes in several Linux kernels
* Split install targets to help package maintainers

(From OE-Core rev: 0a0ee7a20d956589623f501bb4a835573d5b2439)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
a7260ae9ba kernel-devsrc: remove 64 bit vdso cmd files
In a similar way to the other architectures, 64 bit arches
can also require vdso generation. If we leave the .cmd files
around, they'll be packaged and generate build errors:

   ERROR: kernel-devsrc-1.0-r0 do_package_qa: QA Issue: File /usr/lib/modules/6.10.0-yocto-standard/build/include/generated/.vdso64-offsets.h.cmd in package kernel-devsrc contains reference to TMPDIR [buildpaths]
So we add the file to our remove list and avoid the issue.

(From OE-Core rev: 0238a49f57c83600909b0f3773a1569bcd13551c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
519eec77fc linux-libc-headers: update to v6.10
6.10 will be the reference kernel version for the fall release,
so we bump our libc-headers to match.

(From OE-Core rev: 3f852c2c958c80c652e902ab0532cefdc82e6549)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
335bac5665 linux-yocto/6.6: update to v6.6.43
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    58b0425ff5df Linux 6.6.43
    aa6a5704cab8 tap: add missing verification for short frame
    d5ad89b7d01e tun: add missing verification for short frame
    73ae349534eb filelock: Fix fcntl/close race recovery compat path
    2c71ab5270b0 ALSA: seq: ump: Skip useless ports for static blocks
    0dbe2b3bb3f8 ALSA: pcm_dmaengine: Don't synchronize DMA channel when DMA is paused
    6782e4f60e39 arm64: dts: qcom: sdm630: Disable SS instance in Parkmode for USB
    9583ad410f33 arm64: dts: qcom: ipq6018: Disable SS instance in Parkmode for USB
    b96d67d87302 arm64: dts: qcom: sm6350: Disable SS instance in Parkmode for USB
    2a3ce77c0a1c arm64: dts: qcom: msm8996: Disable SS instance in Parkmode for USB
    104456f7f4e4 arm64: dts: qcom: qrb4210-rb2: switch I2C2 to i2c-gpio
    d80ab0197054 ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
    15e218ab0ac0 ALSA: hda/realtek: Enable headset mic on Positivo SU C1400
    9f0fb112647b usb: gadget: midi2: Fix incorrect default MIDI2 protocol setup
    6ae7265a7b81 fs/ntfs3: Validate ff offset
    f3124d51e4e7 fs/ntfs3: Add a check for attr_names and oatbl
    17440dbc66ab jfs: don't walk off the end of ealist
    e05a24289db9 ocfs2: add bounds checking to ocfs2_check_dir_entry()
    4edb0a84e6b3 drm/amdgpu: Fix signedness bug in sdma_v4_0_process_trap_irq()
    31cf7ebee80a Linux 6.6.42
    9e67589a4a7b cachefiles: fix slab-use-after-free in cachefiles_withdraw_cookie()
    9dd7f5663899 cachefiles: fix slab-use-after-free in fscache_withdraw_volume()
    5c5a577a2cc6 netfs, fscache: export fscache_put_volume() and add fscache_try_get_volume()
    6f1fc7fea4b2 wifi: iwlwifi: mvm: don't wake up rx_sync_waitq upon RFKILL
    ba780cb0cf9a wifi: mac80211: disable softirqs for queued frame handling
    de3994a44ebc wifi: cfg80211: wext: set ssids=NULL for passive scans
    9ca15d7699b1 of/irq: Disable "interrupt-map" parsing for PASEMI Nemo
    b0fc1bd2514b Bluetooth: L2CAP: Fix deadlock
    16380f52b721 mm: page_ref: remove folio_try_get_rcu()
    170ce55eff1f ARM: 9324/1: fix get_user() broken with veneer
    c15682ed16c1 cifs: fix noisy message on copy_file_range
    05ffaf48e22f ALSA: hda: Use imply for suggesting CONFIG_SERIAL_MULTI_INSTANTIATE
    dcd61f34f6e2 spi: mux: set ctlr->bits_per_word_mask
    e41db26543ef selftests/bpf: Extend tcx tests to cover late tcx_entry release
    f08956d8e0f8 hfsplus: fix uninit-value in copy_name
    54f137ee27cc selftests/vDSO: fix clang build errors and warnings
    69f6e9be8713 selftest/timerns: fix clang build failures for abs() calls
    8a3f2ad55f6f ASoC: SOF: Intel: hda-pcm: Limit the maximum number of periods by MAX_BDL_ENTRIES
    d59ccdc4ab4d ksmbd: return FILE_DEVICE_DISK instead of super magic
    bd3ca9bb56aa spi: imx: Don't expect DMA for i.MX{25,35,50,51,53} cspi devices
    55f6da7051e9 riscv: stacktrace: fix usage of ftrace_graph_ret_addr()
    b0fe6e72e690 drivers/perf: riscv: Reset the counter to hpmevent mapping while starting cpus
    d454b32bd2b1 wifi: iwlwifi: properly set WIPHY_FLAG_SUPPORTS_EXT_KEK_KCK
    c09e07857ccd fs: better handle deep ancestor chains in is_subdir()
    f13c96e0e325 drm/radeon: check bo_va->bo is non-NULL before using it
    607731f315d1 drm/amd/display: Fix refresh rate range for some panel
    6ecf239f71ef drm/amd/display: Account for cursor prefetch BW in DML1 mode support
    531e7852fb62 drm/amd/display: Add refresh rate range check
    a2cfe94aa1e2 erofs: ensure m_llen is reset to 0 if metadata is invalid
    b803f30ea23e bluetooth/l2cap: sync sock recv cb and release
    fb02ce1686fb Bluetooth: btnxpuart: Enable Power Save feature on startup
    d6cbce183706 Bluetooth: hci_core: cancel all works upon hci_unregister_dev()
    58911b7abeb5 tee: optee: ffa: Fix missing-field-initializers warning
    945658c21105 scsi: libsas: Fix exp-attached device scan after probe failure scanned in again after probe failed
    f23c3d1ca9c4 powerpc/eeh: avoid possible crash when edev->pdev changes
    e512a59b4726 powerpc/pseries: Whitelist dtl slub object for copying to userspace
    cf3f20313a54 net: mac802154: Fix racy device stats updates by DEV_STATS_INC() and DEV_STATS_ADD()
    30ac8d5e1ba2 net: usb: qmi_wwan: add Telit FN912 compositions
    16cb62c3a625 ASoC: amd: yc: Fix non-functional mic on ASUS M5602RA
    c305a708bcab ALSA: dmaengine_pcm: terminate dmaengine before synchronize
    85b47cd51509 ALSA: hda/relatek: Enable Mute LED on HP Laptop 15-gw0xxx
    802a745caf89 ALSA: PCM: Allow resume only for suspended streams
    267c61c4afed ibmvnic: Add tx check to prevent skb leak
    f88aeff5a173 btrfs: qgroup: fix quota root leak after quota disable failure
    9f25bd7013a3 platform/x86: lg-laptop: Use ACPI device handle when evaluating WMAB/WMBB
    477112af1d48 platform/x86: lg-laptop: Change ACPI device id
    c98123cedbb7 platform/x86: lg-laptop: Remove LGEX0815 hotkey handling
    cd337341cf73 platform/x86: wireless-hotkey: Add support for LG Airplane Button
    939f33bf73f4 platform/mellanox: nvsw-sn2201: Add check for platform_device_add_resources
    0a31b3fdc7e7 s390/sclp: Fix sclp_init() cleanup on failure
    38608d072fcd octeontx2-pf: Fix coverity and klockwork issues in octeon PF driver
    e2ecdddca80d gpio: pca953x: fix pca953x_irq_bus_sync_unlock race
    e4fca9acc7c5 can: kvaser_usb: fix return value for hif_usb_send_regout
    528466f921aa Input: ads7846 - use spi_device_id table
    e7ba46682ae3 nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.
    21cb9c4f5bff ASoC: rt722-sdca-sdw: add debounce time for type detection
    e18dfef2b51e ASoC: SOF: sof-audio: Skip unprepare for in-use widgets on error rollback
    9d944d4aa97a ASoC: ti: omap-hdmi: Fix too long driver name
    02c6dd05b095 ASoC: ti: davinci-mcasp: Set min period size using FIFO config
    3b0b50a695cc ALSA: dmaengine: Synchronize dma channel after drop()
    e3394dcb8101 bytcr_rt5640 : inverse jack detect for Archos 101 cesium
    1a13bf4d6a75 ASoC: topology: Do not assign fields that are already set
    ab5a6208b4d6 ASoC: topology: Fix references to freed memory
    423b0c32b0ad Input: xpad - add support for ASUS ROG RAIKIRI PRO
    57534d83687b ASoC: rt722-sdca-sdw: add silence detection register as volatile
    14f445365f91 Input: i8042 - add Ayaneo Kun to i8042 quirk table
    66b1dbc55d8f Input: elantech - fix touchpad state on resume for Lenovo N24
    be7b66d360d2 mips: fix compat_sys_lseek syscall
    94288fc3a19f ALSA: hda: cs35l56: Select SERIAL_MULTI_INSTANTIATE
    86a6a3964f60 drm/amdgpu: Indicate CU havest info to CP
    c436a2351c8d selftests: openvswitch: Set value to nla flags.
    b235848f40ed cpumask: limit FORCE_NR_CPUS to just the UP case
    4bcb8e4c9ff6 spi: Fix OCTAL mode support
    9155f7654461 ALSA: hda/realtek: Add more codec ID to no shutup pins list
    808e92e8c2e7 drm/vmwgfx: Fix missing HYPERVISOR_GUEST dependency
    82c7a4cf14aa KVM: PPC: Book3S HV: Prevent UAF in kvm_spapr_tce_attach_iommu_group()
    1d45fff5da5c ALSA: hda/realtek: Support Lenovo Thinkbook 16P Gen 5
    fe9644efd867 wifi: cfg80211: wext: add extra SIOCSIWSCAN data check
    4871dd2f7193 ALSA: hda: cs35l56: Fix lifecycle of codec pointer
    10967873b807 nvmet: always initialize cqe.result
    ae84383c96d6 nvme: avoid double free special payload
    b241d17aa19f drm/mediatek: Call drm_atomic_helper_shutdown() at shutdown time
    97f71343f794 drm: panel-orientation-quirks: Add quirk for Aya Neo KUN
    208fde6de0f0 drm/exynos: dp: drop driver owner initialization
    24be4091b801 iomap: Fix iomap_adjust_read_range for plen calculation
    53e0b76603dd mei: demote client disconnect warning on suspend to debug
    bd56b910fa94 fs/file: fix the check in find_next_fd()
    7c6ec0827cfe cachefiles: make on-demand read killable
    c32ee78fbc67 cachefiles: Set object to close if ondemand_id < 0 in copen
    36d845ccd7bf cachefiles: add consistency check for copen/cread
    3146a6af8272 nfs: don't invalidate dentries on transient errors
    e3adf9987e90 nfs: Avoid flushing many pages with NFS_FILE_SYNC
    8cebc59d6e8c nfs: propagate readlink errors in nfs_symlink_filler
    b98090699319 NFSv4: Fix memory leak in nfs4_set_security_label
    c7734ddaea85 HID: Ignore battery for ELAN touchscreens 2F2C and 4116
    dd93f857ecc9 input: Add support for "Do Not Disturb"
    39bd2e1c7990 input: Add event code for accessibility key
    d9be8eeab03e kconfig: remove wrong expr_trans_bool()
    737161b438fc kconfig: gconf: give a proper initial state to the Save button
    08f03186b96e null_blk: fix validation of block size
    69a978c7fe2f arm64: armv8_deprecated: Fix warning in isndep cpuhp starting process
    522c3336c202 ila: block BH in ila_output()
    127707132f70 net: ipv6: rpl_iptunnel: block BH in rpl_output() and rpl_input()
    9d88edbe3d4a Input: silead - Always support 10 fingers
    b0f79bda5501 of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw()
    c9edeb94d16f selftests/futex: pass _GNU_SOURCE without a value to the compiler
    b182dede1a0c selftests/openat2: Fix build warnings on ppc64
    91bf0634230f selftests: cachestat: Fix build warnings on ppc64
    a1834cfcdf2e wifi: mac80211: fix UBSAN noise in ieee80211_prep_hw_scan()
    f5e6b9d765d6 wifi: iwlwifi: mvm: Fix scan abort handling with HW rfkill
    4ae145f29fa0 wifi: iwlwifi: mvm: properly set 6 GHz channel direct probe option
    ef227372b6dd wifi: iwlwifi: mvm: handle BA session teardown in RF-kill
    2d3381e88467 wifi: iwlwifi: mvm: Handle BIGTK cipher in kek_kck cmd
    e25fae980084 wifi: iwlwifi: mvm: remove stale STA link data during restart
    e34b6aa96999 wifi: iwlwifi: mvm: d3: fix WoWLAN command version lookup
    c084a02e3e20 wifi: cfg80211: fix 6 GHz scan request building
    92df1422bac9 wifi: mac80211: handle tasklet frames before stopping
    8936ae49130b wifi: mac80211: apply mcast rate only if interface is up
    dade6785c4a0 wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata
    2a6da27d091b tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs
    a0156b837e21 ACPI: EC: Avoid returning AE_OK on errors in address space handler
    5e49b9b5056f ACPI: EC: Abort address space access upon error
    113fa39675f3 efi/libstub: zboot.lds: Discard .discard sections
    b76194fc3b9d scsi: qedf: Set qed_slowpath_params to zero before use
    e949e39acdf4 scsi: qedf: Wait for stag work during unload
    80c971d99c04 scsi: qedf: Don't process stag work during unload and recovery
    74fac04ec2f4 scsi: sr: Fix unintentional arithmetic wraparound
    c28ba74c674e scsi: core: alua: I/O errors for ALUA state transitions
    5f5d0799eb0a filelock: Remove locks reliably when fcntl/close race is detected
    35046aea43c8 bpftool: Fix undefined bpf macro for unix socket
    9a558d4b8621 tools/resolve_btfids: Fix comparison of distinct pointer types warning in resolve_btfids
    42b2eec2e503 bpftool: Query only cgroup-related attach types
    2eaf5c0d8191 Linux 6.6.41
    eb7641fae20c i2c: rcar: fix error code in probe()
    e243c1176d2e kbuild: Make ld-version.sh more robust against version string changes
    dae3543db8f0 x86/bhi: Avoid warning in #DB handler due to BHI mitigation
    2f5f0eb01641 x86/entry/64: Remove obsolete comment on tracing vs. SYSRET
    f73481d9a8fb x86/entry: Rename ignore_sysret()
    557d62e49e71 i2c: rcar: clear NO_RXDMA flag after resetting
    bc6632549c01 i2c: testunit: avoid re-issued work after read message
    4d2d0491b3b1 i2c: rcar: ensure Gen3+ reset does not disturb local targets
    988c31331863 i2c: rcar: introduce Gen4 devices
    4c029f04e47e i2c: rcar: reset controller is mandatory for Gen3+
    ff3d2cf3befb i2c: mark HostNotify target address as used
    5bfec9c2b8d6 i2c: rcar: bring hardware to known state when probing
    c1bf973f57b7 btrfs: tree-checker: add type and sequence check for inline backrefs
    448a2500d171 sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath
    4dc200e31553 ext4: avoid ptr null pointer dereference
    60f61514374e nilfs2: fix kernel bug on rename operation of broken directory
    6b05ad408f09 selftests/net: fix gro.c compilation failure due to non-existent opt_ipproto_off
    11078e2d1146 mm/damon/core: merge regions aggressively when max_nr_regions is unmet
    93893eacb372 mm/shmem: disable PMD-sized page cache if needed
    5e305b5986dc misc: fastrpc: Restrict untrusted app to attach to privileged PD
    aeab0a85bbe1 misc: fastrpc: Fix ownership reassignment of remote heap
    8b8b82dcf393 misc: fastrpc: Fix memory leak in audio daemon attach operation
    ba602c70c778 misc: fastrpc: Copy the complete capability structure to user
    143982d84ea1 misc: fastrpc: Avoid updating PD type for capability request
    2b2fb816afc7 misc: fastrpc: Fix DSP capabilities request
    b6a5c681d71d wireguard: send: annotate intentional data race in checking empty queue
    f89f44e4147f wireguard: queueing: annotate intentional data race in cpu round robin
    6638a203abad wireguard: allowedips: avoid unaligned 64-bit memory accesses
    6a43cd61b834 wireguard: selftests: use acpi=off instead of -no-acpi for recent QEMU
    e408184365c7 cpufreq: Allow drivers to advertise boost enabled
    2ca2fd474d86 cpufreq: ACPI: Mark boost policy as enabled when setting boost
    08985dd4d145 ACPI: processor_idle: Fix invalid comparison with insertion sort for latency
    9525af1f58f6 libceph: fix race between delayed_work() and ceph_monc_stop()
    f0cc5f7cb43f pmdomain: qcom: rpmhpd: Skip retention level for Power Domains
    cd94cac4069a Fix userfaultfd_api to return EINVAL as expected
    b5634da5d189 ALSA: hda/realtek: Limit mic boost on VAIO PRO PX
    77f64c3df43d ALSA: hda/realtek: Enable Mute LED on HP 250 G7
    9e6b110af097 ALSA: hda/realtek: add quirk for Clevo V5[46]0TU
    23efa74cfe6e tty: serial: ma35d1: Add a NULL check for of_node
    639868f1cb87 platform/x86: toshiba_acpi: Fix array out-of-bounds access
    c01f9a6461dc nvmem: core: only change name to fram for current attribute
    c3debec57729 nvmem: meson-efuse: Fix return value of nvmem callbacks
    5f97b616e2e1 nvmem: rmem: Fix return value of rmem_read()
    25712a379167 arm64: dts: qcom: sc8280xp-x13s: fix touchscreen power on
    1e353014286d arm64: dts: qcom: sa8775p: Correct IRQ number of EL2 non-secure physical timer
    618edb821a80 iio: trigger: Fix condition for own trigger
    9e84b1ba5c98 ksmbd: discard write access to the directory open
    a0c42ddd0969 mm/filemap: make MAX_PAGECACHE_ORDER acceptable to xarray
    06b5a69c27ec mm/filemap: skip to create PMD-sized page cache if needed
    28acd531c9a3 mm: vmalloc: check if a hash-index is in cpu_possible_mask
    794fa52b9463 s390/mm: Add NULL pointer check to crst_table_free() base_crst_free()
    9339641b99fb xhci: always resume roothubs if xHC was reset during resume
    a3d83021fd04 hpet: Support 32-bit userspace
    814a99ba6991 misc: microchip: pci1xxxx: Fix return value of nvmem callbacks
    647d61aef106 USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor
    d1205033e912 usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()
    add279faeb55 usb: dwc3: pci: add support for the Intel Panther Lake
    20836c953dc2 USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k
    5ae6a64f1821 USB: serial: mos7840: fix crash on resume
    511751182c10 USB: serial: option: add Rolling RW350-GL variants
    8ee097aecf3d USB: serial: option: add Netprisma LCUK54 series modules
    4e8c0883a21c USB: serial: option: add support for Foxconn T99W651
    9201d38054b7 USB: serial: option: add Fibocom FM350-GL
    8d320260f096 USB: serial: option: add Telit FN912 rmnet compositions
    5aaeb60b91ff USB: serial: option: add Telit generic core-dump composition
    32b96db30775 net: ks8851: Fix potential TX stall after interface reopen
    80ece0013730 net: ks8851: Fix deadlock with the SPI chip variant
    dfcdd7f89e40 tcp: avoid too many retransmit packets
    b75f281bddeb tcp: use signed arithmetic in tcp_rtx_probe0_timed_out()
    1e116c18e32b Revert "sched/fair: Make sure to try to detach at least one movable task"
    87f3ceb2b143 cifs: fix setting SecurityFlags to true
    8665fb96a393 octeontx2-af: fix issue with IPv4 match for RSS
    0207c7988838 octeontx2-af: fix issue with IPv6 ext match for RSS
    2c41eaa8fba1 octeontx2-af: fix detection of IP layer
    d24b124a960f octeontx2-af: fix a issue with cpt_lf_alloc mailbox
    22b864f7d7fd octeontx2-af: replace cpt slot with lf id on reg write
    0e1792662247 i40e: fix: remove needless retries of NVM update
    cf3c2372d6d0 ARM: davinci: Convert comma to semicolon
    392cff2f86a2 firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files
    8246bbf818ed ASoC: SOF: Intel: hda: fix null deref on system suspend entry
    76ea8e13aaef firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers
    3a9cd924aec1 firmware: cs_dsp: Validate payload length before processing block
    90ab191b7d18 firmware: cs_dsp: Return error if block header overflows file
    9c9877a96e03 firmware: cs_dsp: Fix overflow checking of wmfw header
    6bd5afff3911 arm64: dts: qcom: sc8180x: Fix LLCC reg property again
    21379c6fc818 s390: Mark psw in __load_psw_mask() as __unitialized
    d6c686c01c5f net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
    799a34901b63 net/sched: Fix UAF when resolving a clash
    c5fd77ca13d6 udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().
    feeeeb4c0a79 ethtool: netlink: do not return SQI value if link is down
    099502ca4109 ppp: reject claimed-as-LCP but actually malformed packets
    853f8cd459f7 net: ethernet: mtk-star-emac: set mac_managed_pm when probing
    936983051868 bpf: Fail bpf_timer_cancel when callback is being cancelled
    e97c862e0b4c bpf: replace bpf_timer_init with a generic helper
    591003567401 bpf: make timer data struct more generic
    e65a49b948b5 bpf: fix order of args in call to bpf_map_kvcalloc
    9d23909ae041 net: ethernet: lantiq_etop: fix double free in detach
    5266302cb2c7 i40e: Fix XDP program unloading while removing the driver
    7e9092d7ac2d net: fix rc7's __skb_datagram_iter()
    13bf7ce31239 octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability()
    b180739b45a3 skmsg: Skip zero length skb in sk_msg_recvmsg
    0370f6670010 net: phy: microchip: lan87xx: reinit PHY after cable test
    230bb13650b0 bpf: Fix too early release of tcx_entry
    124886cf2059 tcp: fix incorrect undo caused by DSACK of TLP retransmit
    e304a6751433 net: bcmasp: Fix error code in probe()
    cbfc844cbe77 vfs: don't mod negative dentry count when on shrinker list
    f71ebe7b3e84 fs/dcache: Re-use value stored to dentry->d_flags instead of re-reading
    432b06b69d1d filelock: fix potential use-after-free in posix_lock_inode
    cae91b5cf9b8 dsa: lan9303: Fix mapping between DSA port number and PHY address
    6bb6bd3dd6f3 cachefiles: add missing lock protection when polling
    de045a82e1a4 cachefiles: cyclic allocation of msg_id to avoid reuse
    d3179bae72b1 cachefiles: wait for ondemand_object_worker to finish when dropping object
    ed60c1a82d6d cachefiles: cancel all requests for the object that is being dropped
    32e0a9a79937 cachefiles: stop sending new request when dropping object
    189438643427 cachefiles: narrow the scope of triggering EPOLLIN events in ondemand mode
    a04cc7f00d48 cachefiles: propagate errors from vfs_getxattr() to avoid infinite loop
    f476dffc52ea vfio/pci: Init the count variable in collecting hot-reset devices
    c3111b3cf388 scsi: ufs: core: Fix ufshcd_abort_one racing issue
    bed089600833 scsi: ufs: core: Fix ufshcd_clear_cmd racing issue
    797323d1cf92 mm: prevent derefencing NULL ptr in pfn_section_valid()
    fc19e231688c Compiler Attributes: Add __uninitialized macro
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e074b457cc4782aafae9a5f6cb8907d6dd6a96f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
9618abe9b2 linux-yocto/6.6: update to v6.6.40
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    1a515bd58d15 Linux 6.6.40
    69bed24c8213 Revert "usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB"
    2ced7518a03d Linux 6.6.39
    95b1362540b7 nilfs2: fix incorrect inode allocation from reserved inodes
    9ac895a881b2 null_blk: Do not allow runt zone with zone capacity smaller then zone size
    1ba66b121100 drm/amdgpu: silence UBSAN warning
    49458c09755e ALSA: ump: Set default protocol when not given explicitly
    d4b55b137965 spi: cadence: Ensure data lines set to low during dummy-cycle period
    056478b4321b nfc/nci: Add the inconsistency check between the input data length and count
    9db55f64386d kbuild: fix short log for AS in link-vmlinux.sh
    5502c1f1d0d7 nvmet: fix a possible leak when destroy a ctrl during qp establishment
    f61cea47ad6f platform/x86: touchscreen_dmi: Add info for the EZpad 6s Pro
    487dc376a83c platform/x86: touchscreen_dmi: Add info for GlobalSpace SolT IVW 11.6" tablet
    fc525ed8cb0f regmap-i2c: Subtract reg size from max_write
    b955b47905ed nvme: adjust multiples of NVME_CTRL_PAGE_SIZE in offset
    9258d795978f connector: Fix invalid conversion in cn_proc.h
    39d31edcf95a dma-mapping: benchmark: avoid needless copy_to_user if benchmark fails
    e6e1eda06b70 nvme-multipath: find NUMA path only for online numa-node
    8f174c5db1e0 vhost-scsi: Handle vhost_vq_work_queue failures for events
    4d1de71e630b ALSA: hda/realtek: Enable headset mic of JP-IK LEAP W502 with ALC897
    aa8b1d6073c1 fs/ntfs3: Mark volume as dirty if xattr is broken
    92e494a7568b i2c: pnx: Fix potential deadlock warning from del_timer_sync() call in isr
    3aeea9e1277c clk: mediatek: mt8183: Only enable runtime PM on mt8183-mfgcfg
    66b6da0cc64c clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs
    0fcb94e0ee89 clk: qcom: gcc-sm6350: Fix gpll6* & gpll7 parents
    583bea0902a9 media: dw2102: fix a potential buffer overflow
    28d0ecc52f6c ima: Avoid blocking in RCU read-side critical section
    cecffd9e3c46 arm64: dts: rockchip: Fix the DCDC_REG2 minimum voltage on Quartz64 Model B
    f1313ea92f82 bnx2x: Fix multiple UBSAN array-index-out-of-bounds
    7a8b1cfcb25b net: stmmac: dwmac-qcom-ethqos: fix error array size
    45a4aef06355 mtd: rawnand: rockchip: ensure NVDDR timings are rejected
    dbbc4cf0d5c1 mtd: rawnand: Bypass a couple of sanity checks during NAND identification
    70bb95e034fd mtd: rawnand: Fix the nand_read_data_op() early check
    0fd8ce12f97c mtd: rawnand: Ensure ECC configuration is propagated to upper layers
    c6036baea4ba powerpc/64s: Fix unnecessary copy to 0 when kernel is booted at address 0
    d10e3c39001e powerpc/pseries: Fix scv instruction crash with kexec
    14c78d69dbca clk: sunxi-ng: common: Don't call hw_to_ccu_common on hw without common
    ba02424852d2 clk: qcom: gcc-ipq9574: Add BRANCH_HALT_VOTED flag
    33de7c47a19a drm: panel-orientation-quirks: Add quirk for Valve Galileo
    004b7fe6ca8c drm/amdgpu/atomfirmware: silence UBSAN warning
    744b229f0913 drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
    f6620df12cb6 Revert "mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again"
    dd0aa13fda82 fsnotify: Do not generate events for O_PATH file descriptors
    07ce8ad4eb60 can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
    e2d8aa4c7635 Bluetooth: qca: Fix BT enable failure again for QCA6390 after warm reboot
    a635d93ad99b Bluetooth: hci_bcm4377: Fix msgid release
    155d9c9ed129 scsi: mpi3mr: Use proper format specifier in mpi3mr_sas_port_add()
    72aa369e4e62 f2fs: Add inline to f2fs_build_fault_attr() stub
    f8e960be923f btrfs: fix adding block group to a reclaim list and the unused list during reclaim
    bd16a7ee339a mm: avoid overflows in dirty throttling logic
    79ad410c5b58 mm: optimize the redundant loop of mm_update_owner_next()
    3ab40870edb8 nilfs2: add missing check for inode numbers on directory entries
    9194f8ca5752 nilfs2: fix inode number range checks
    991f036cabc3 Revert "igc: fix a log entry using uninitialized netdev"
    9bdd0bf23ffe platform/x86: toshiba_acpi: Fix quickstart quirk handling
    69787793e7f0 cpu: Fix broken cmdline "nosmp" and "maxcpus=0"
    b0a41715ed23 gpiolib: of: add polarity quirk for TSC2005
    f8b55a465b0e mlxsw: core_linecards: Fix double memory deallocation in case of invalid INI file
    76965648fe68 inet_diag: Initialize pad field in struct inet_diag_req_v2
    4116ec648354 selftests: make order checking verbose in msg_zerocopy selftest
    946ba4e645b0 selftests: fix OOM in msg_zerocopy selftest
    b75e33eae866 bonding: Fix out-of-bounds read in bond_option_arp_ip_targets_set()
    55a40406aac5 netfilter: nf_tables: unconditionally flush pending work before notifier
    7692c9b6baac riscv: kexec: Avoid deadlock in kexec crash path
    5ed821a8e9d3 wifi: wilc1000: fix ies_len type in connect path
    dee87316b5f5 gpio: mmio: do not calculate bgpio_bits via "ngpios"
    e3af5b14e763 net: ntb_netdev: Move ntb_netdev_rx_handler() to call netif_rx() from __netif_rx()
    9edc7a83cd40 net: txgbe: initialize num_q_vectors for MSI/INTx interrupts
    702b17f72de2 net: allow skb_datagram_iter to be called from any context
    895f5633a036 gpiolib: of: fix lookup quirk for MIPS Lantiq
    e536e6efa65f e1000e: Fix S0ix residency on corporate systems
    f4513867bae5 KVM: s390: fix LPSWEY handling
    8c2debdd170e tcp_metrics: validate source addr length
    4970e48f83db bluetooth/hci: disallow setting handle bigger than HCI_CONN_HANDLE_MAX
    045669710464 Bluetooth: ISO: Check socket flag instead of hcon
    38263088b845 Bluetooth: Ignore too large handle values in BIG
    1ae31b357a77 Bluetooth: hci_event: Fix setting of unicast qos interval
    a9f4a9b27fde net/mlx5e: Add mqprio_rl cleanup and free in mlx5e_priv_cleanup()
    3e3551f87029 net/mlx5: E-switch, Create ingress ACL when needed
    8a7fc2362d6d UPSTREAM: tcp: fix DSACK undo in fast recovery to call tcp_try_to_open()
    9e8f0c53a535 net: phy: phy_device: Fix PHY LED blinking code comment
    617075792b7c mac802154: fix time calculation in ieee802154_configure_durations()
    abe067dc3a66 vhost_task: Handle SIGKILL by flushing work and exiting
    f5bb72196f49 vhost: Release worker mutex during flushes
    a86f9633f70a vhost: Use virtqueue mutex for swapping worker
    76d7b869b3b9 tools/power turbostat: Remember global max_die_id
    3ee21e14c8c3 cdrom: rearrange last_media_change check to avoid unintentional overflow
    e130d4fc196b btrfs: scrub: initialize ret in scrub_simple_mirror() to fix compilation warning
    90a01aefb84b s390/pkey: Wipe sensitive data on failure
    d0bbbf31462a jffs2: Fix potential illegal address access in jffs2_free_inode
    b5f1844c0561 serial: imx: Raise TX trigger level to 8
    586b41060113 scsi: mpi3mr: Sanitise num_phys
    44958ca9e400 f2fs: check validation of fault attrs in f2fs_build_fault_attr()
    7e5471b5efeb bpf: Avoid uninitialized value in BPF_CORE_READ_BITFIELD
    92160970bfe8 igc: fix a log entry using uninitialized netdev
    c80d53c484e8 selftests/net: fix uninitialized variables
    ee123d5655f7 powerpc/xmon: Check cpu id in commands "c#", "dp#" and "dx#"
    4e40bc50daae kunit: Fix timeout message
    6a3cacf6d3cf orangefs: fix out-of-bounds fsid access
    7c91479c6f83 powerpc/64: Set _IO_BASE to POISON_POINTER_DELTA not 0 for CONFIG_PCI=n
    e0cd887ad86e i2c: i801: Annotate apanel_addr as __ro_after_init
    8ac224e9371d media: dvb-frontends: tda10048: Fix integer overflow
    29ce81f97991 media: s2255: Use refcount_t instead of atomic_t for num_channels
    0f9d21eca4ac media: dvb-frontends: tda18271c2dd: Remove casting during div
    3f25b5f16354 net: dsa: mv88e6xxx: Correct check for empty list
    79ef1a5593fd thermal/drivers/mediatek/lvts_thermal: Check NULL ptr on lvts_data
    547cb9931406 wifi: mt76: mt7996: add sanity checks for background radar trigger
    ff6b26be1303 wifi: mt76: replace skb_put with skb_put_zero
    9a24eb8010c2 usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRB
    c727e46f0cc8 Input: ff-core - prefer struct_size over open coded arithmetic
    50c6c51972e9 firmware: dmi: Stop decoding on broken entry
    58405d6eff39 sctp: prefer struct_size over open coded arithmetic
    864a02425045 riscv: Apply SiFive CIP-1200 workaround to single-ASID sfence.vma
    af19067bd58f media: dw2102: Don't translate i2c read into write
    3fac5aecb593 drm/amdgpu: fix the warning about the expression (int)size - len
    7e0fbceae1e6 drm/amdgpu: fix uninitialized scalar variable warning
    8e5cbc820ab4 drm/amd/display: Fix uninitialized variables in DM
    95ad20ee3c4e drm/amd/display: Skip finding free audio for unknown engine_id
    96bf81cc1bd0 drm/amd/display: Check pipe offset before setting vblank
    9933eca6ada0 drm/amd/display: Check index msg_id before read or write
    e55077badb90 drm/amdgpu: Initialize timestamp for some legacy SOCs
    855ae72c2031 drm/amdgpu: Using uninitialized value *size when calling amdgpu_vce_cs_reloc
    646e13f0a65b drm/amdgpu: Fix uninitialized variable warnings
    5c217253c76c media: mediatek: vcodec: Only free buffer VA that is not NULL
    b502d4a08875 crypto: aead,cipher - zeroize key buffer after use
    1ee644460fe8 RISC-V: KVM: Fix the initial sample period value
    e7d193073a22 selftests/bpf: dummy_st_ops should reject 0 for non-nullable params
    a1a629fc373c selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops
    264451a364db selftests/bpf: adjust dummy_st_ops_success to detect additional error
    b6ded5316ec5 scsi: qedf: Make qedf_execute_tmf() non-preemptible
    b8c5f635997f IB/core: Implement a limit on UMAD receive List
    c15bb7c940be media: dvb-usb: dib0700_devices: Add missing release_firmware()
    47abb68e1734 media: dvb: as102-fe: Fix as10x_register_addr packing
    0f37946c62c4 powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.
    04d531b9a187 drm/lima: fix shared irq handling on driver remove
    7fc8d9a525b5 crypto: hisilicon/debugfs - Fix debugfs uninit process issue
    3ead19aa341d leds: an30259a: Use devm_mutex_init() for mutex initialization
    7d2a6abec028 locking/mutex: Introduce devm_mutex_init()
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: ce7ce269f1b1157c907b96cba17daf8cff643746)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
b103b6315f linux-yocto/6.6: update to v6.6.38
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    2928631d5304 Linux 6.6.38
    e3540e5a7054 Revert "bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()"
    a5c2956637ba Revert "powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data"
    466562d7646b Revert "powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free]"
    9fef36cad60d Revert "bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()"
    8fa96e44d36c Linux 6.6.37
    8417af02247e tracing/net_sched: NULL pointer dereference in perf_trace_qdisc_reset()
    18630d83b770 serial: 8250_omap: Fix Errata i2310 with RX FIFO level check
    633c861c0e85 serial: imx: only set receiver level if it is zero
    843836bfc199 cxl/region: check interleave capability
    a9e099e29e92 cxl/region: Avoid null pointer dereference in region lookup
    f12be1a1fdee cxl/region: Move cxl_dpa_to_region() work to the region driver
    3b758696cc4a arm64: dts: rockchip: Add sound-dai-cells for RK3368
    a96a83c939d9 arm64: dts: rockchip: fix PMIC interrupt pin on ROCK Pi E
    d530fe86286b arm64: dts: rockchip: make poweroff(8) work on Radxa ROCK 5A
    c6639892ca95 ARM: dts: rockchip: rk3066a: add #sound-dai-cells to hdmi node
    619c5fe7d3da arm64: dts: rockchip: Fix the value of `dlg,jack-det-rate` mismatch on rk3399-gru
    b6970ce861d8 arm64: dts: rockchip: Rename LED related pinctrl nodes on rk3308-rock-pi-s
    c49af0075f3e arm64: dts: rockchip: Fix SD NAND and eMMC init on rk3308-rock-pi-s
    c5978b996260 mm/page_alloc: Separate THP PCP into movable and non-movable categories
    07caf754f696 Revert "cpufreq: amd-pstate: Fix the inconsistency in max frequency units"
    d83df7de2b0a pwm: stm32: Refuse too small period requests
    00432384ec40 erofs: fix NULL dereference of dif->bdev_handle in fscache mode
    c636bb37f886 syscalls: fix sys_fanotify_mark prototype
    e04886b50c3e syscalls: fix compat_sys_io_pgetevents_time64 usage
    836359247b04 ftruncate: pass a signed offset
    062e256516d7 ata: libata-core: Fix double free on error
    d8d54126880c ata: ahci: Clean up sysfs file on error
    3e72558c1711 can: mcp251xfd: fix infinite loop when xmit fails
    73fb6df4e6d1 batman-adv: Don't accept TT entries for out-of-spec VIDs
    01f58871af9c drm/amdgpu/atomfirmware: fix parsing of vram_info
    89d8a851543e drm/amd/display: Send DP_TOTAL_LTTPR_CNT during detection if LTTPR is present
    7ece609b0ce7 drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_hd_modes
    06dec31a0a51 drm/i915/gt: Fix potential UAF by revoke of fence registers
    330c8c145384 drm/amdgpu: avoid using null object of framebuffer
    f29fcfbf6067 drm/fbdev-dma: Only set smem_start is enable per module option
    cb751e48bbcf drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes
    16682588ead4 drm/drm_file: Fix pid refcounting race
    5515a8165257 hexagon: fix fadvise64_64 calling conventions
    32dffe1365c3 csky, hexagon: fix broken sys_sync_file_range
    a0bfefcb61a7 btrfs: zoned: fix initial free space detection
    91878a2bc88e sh: rework sync_file_range ABI
    829974305d8e kbuild: Install dtb files as 0644 in Makefile.dtbinst
    d2683b2d1ec2 irqchip/loongson-liointc: Set different ISRs for different cores
    52bbae429b86 cpu/hotplug: Fix dynstate assignment in __cpuhp_setup_state_cpuslocked()
    c5a51cfe943d irqchip/loongson-eiointc: Use early_cpu_to_node() instead of cpu_to_node()
    da3cabfd8b31 cpufreq: intel_pstate: Use HWP to initialize ITMT if CPPC is missing
    ff1121d2214b PCI/MSI: Fix UAF in msi_capability_init
    177e33b655d3 net: can: j1939: enhanced error handling for tightly received RTS messages in xtp_rx_rts_session_new
    b6f78276b9aa net: can: j1939: recover socket queue on CAN bus error during BAM transmission
    ab2a683938ba net: can: j1939: Initialize unused data in j1939_send_one()
    31020bea754d tty: mcf: MCF54418 has 10 UARTS
    1d994fb58e72 ALSA: hda/realtek: fix mute/micmute LEDs don't work for EliteBook 645/665 G11.
    d3ebc5597ec2 serial: bcm63xx-uart: fix tx after conversion to uart_port_tx_limited()
    60dc1a2a3f13 serial: core: introduce uart_port_tx_limited_flags()
    d75b8ae150e9 serial: imx: set receiver level before starting uart
    e67d7f38008e serial: 8250_omap: Implementation of Errata i2310
    2ab254507c87 Revert "serial: core: only stop transmit when HW fifo is empty"
    6b80ccc0acc8 usb: dwc3: core: Workaround for CSR read timeout
    ab99c4be9457 usb: dwc3: core: Add DWC31 version 2.00a controller
    e63059271945 usb: ucsi: stm32: fix command completion handling
    519610e20e8a usb: typec: ucsi: glink: fix child node release in probe function
    9ed8e8c440f5 usb: gadget: aspeed_udc: fix device address configuration
    17e2956633ca usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    f536f09eb45e usb: atm: cxacru: fix endpoint checking in cxacru_bind()
    bcf78eca0967 usb: musb: da8xx: fix a resource leak in probe()
    a96915ffc956 usb: gadget: printer: fix races against disable
    9dec26eda3b2 usb: gadget: printer: SS+ support
    cc2bce1fe1e6 net: usb: ax88179_178a: improve link status logs
    055b4e3d6beb iio: chemical: bme680: Fix sensor data read operation
    b5967393d50e iio: chemical: bme680: Fix overflows in compensate() functions
    93709966cec9 iio: chemical: bme680: Fix calibration data variable
    133828897c81 iio: chemical: bme680: Fix pressure value output
    7387777aeb2c iio: accel: fxls8962af: select IIO_BUFFER & IIO_KFIFO_BUF
    1ce8be8442cd iio: adc: ad7266: Fix variable checking bug
    8c65da9b153a ata,scsi: libata-core: Do not leak memory for ata_port struct members
    119c97ace2a9 ata: libata-core: Fix null pointer dereference on error
    84ee4515a81b i2c: testunit: discard write requests while old command is running
    37bec254ee75 i2c: testunit: don't erase registers after STOP
    b89b0af97dc5 kbuild: Fix build target deb-pkg: ln: failed to create hard link
    4edc6c5b3157 kbuild: doc: Update default INSTALL_MOD_DIR from extra to updates
    8fd89aa382a5 counter: ti-eqep: enable clock at probe
    da6c6adba557 iio: xilinx-ams: Don't include ams_ctrl_channels in scan_mask
    7fb456c3c6e1 mmc: sdhci: Do not lock spinlock around mmc_gpio_get_ro()
    3336979b6a75 mmc: sdhci: Do not invert write-protect twice
    006e04ae96bd mmc: sdhci-pci: Convert PCIBIOS_* return codes to errnos
    485d9421719b mmc: sdhci-brcmstb: check R1_STATUS for erase/trim/discard
    50a68792a945 mmc: sdhci-pci-o2micro: Convert PCIBIOS_* return codes to errnos
    88e0ad40d08a mm: fix incorrect vbq reference in purge_fragmented_block
    bc5e98e004ce nfs: drop the incorrect assertion in nfs_swap_rw()
    c05ffb693bfb ocfs2: fix DIO failure due to insufficient transaction credits
    c2a78811ff9b pinctrl: qcom: spmi-gpio: drop broken pm8008 support
    9b95f63d54a7 Revert "MIPS: pci: lantiq: restore reset gpio polarity"
    d0be1c8ee425 parisc: use generic sys_fanotify_mark implementation
    16222beb9f8e x86: stop playing stack games in profile_pc()
    591c0650b9e6 randomize_kstack: Remove non-functional per-arch entropy filtering
    67ccb6b02154 gpiolib: cdev: Disallow reconfiguration without direction (uAPI v1)
    74eb70ce6790 riscv: stacktrace: convert arch_stack_walk() to noinstr
    f16c10e05f14 drm/amdgpu: Fix pci state save during mode-1 reset
    abb84c462000 RISC-V: fix vector insn load/store width mask
    2d83492259ad gpio: davinci: Validate the obtained number of IRQs
    0ca8656457be drm/panel: simple: Add missing display timing flags for KOE TX26D202VM0BWA
    e834fecf6611 nvme: fixup comment for nvme RDMA Provider Type
    41e58607a57c drm/radeon/radeon_display: Decrease the size of allocated memory
    3429ef5f5090 gfs2: Fix NULL pointer dereference in gfs2_log_flush
    ed4434b8b1c9 soc: ti: wkup_m3_ipc: Send NULL dummy message instead of pointer message
    79c9ea0d425b irqchip/loongson: Select GENERIC_IRQ_EFFECTIVE_AFF_MASK if SMP for IRQ_LOONGARCH_CPU
    06fa2d9445e0 media: dvbdev: Initialize sbuf
    d8f5ce3cb9ad ALSA: emux: improve patch ioctl data validation
    80575b252ab0 crypto: ecdh - explicitly zeroize private_key
    69f49527aea1 net/dpaa2: Avoid explicit cpumask var allocation on stack
    724e7965af05 net/iucv: Avoid explicit cpumask var allocation on stack
    8ac281d42337 RDMA/restrack: Fix potential invalid address access
    d812ae6e02bd bpf: Mark bpf prog stack with kmsan_unposion_memory in interpreter mode
    e6bb84cb47e3 wifi: ieee80211: check for NULL in ieee80211_mle_size_ok()
    5266cbcf3ad1 mtd: partitions: redboot: Added conversion of operands to a larger type
    94111446fa12 x86/fpu: Fix AMD X86_BUG_FXSAVE_LEAK fixup
    df475f71d42e vduse: Temporarily fail if control queue feature requested
    8d4d14536c06 vduse: validate block features only with block devices
    1618f7a875ff drm/panel: ilitek-ili9881c: Fix warning with GPIO controllers that sleep
    08f6c05feb1d bpf: Take return from set_memory_rox() into account with bpf_jit_binary_lock_ro()
    f99feda5684a powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free]
    103391940092 powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data
    fdd411af8178 bpf: Take return from set_memory_ro() into account with bpf_prog_lock_ro()
    3243e64eb4d8 net: mana: Fix possible double free in error handling path
    952bf8df2225 netfilter: nf_tables: fully validate NFT_DATA_VALUE on store to data registers
    b5418b416223 ALSA: seq: Fix missing MSB in MIDI2 SPP conversion
    b4b26d23a1e2 tcp: fix tcp_rcv_fastopen_synack() to enter TCP_CA_Loss for failed TFO
    91fe991e02c2 powerpc: restore some missing spu syscalls
    55aed1491bd3 parisc: use correct compat recv/recvfrom syscalls
    61ff73933b68 sparc: fix compat recv/recvfrom syscalls
    035c504121e5 sparc: fix old compat_sys_select()
    784079f69787 net: dsa: microchip: fix wrong register write when masking interrupt
    f981ca3fcf89 ALSA: seq: Fix missing channel at encoding RPN/NRPN MIDI2 messages
    fdae4d139f47 Fix race for duplicate reqsk on identical SYN
    cf0291a67967 btrfs: use NOFS context when getting inodes during logging and log replay
    3ebda17c46d3 netfilter: fix undefined reference to 'netfilter_lwtunnel_*' when CONFIG_SYSCTL=n
    14e51ea78b4c xdp: Remove WARN() from __xdp_reg_mem_model()
    b36267d996fb ice: Rebuild TC queues on VSI queue reconfiguration
    9d36f6312bc0 net: dsa: microchip: use collision based back pressure mode
    96c8693fc11c net: phy: micrel: add Microchip KSZ 9477 to the device table
    23f0624bcba2 ibmvnic: Free any outstanding tx skbs during scrq reset
    511804ab701c bpf: Fix overrunning reservations in ringbuf
    942901e0fc74 mlxsw: spectrum_buffers: Fix memory corruptions on Spectrum-4 systems
    ba4d75a8f411 openvswitch: get related ct labels from its master if it is not confirmed
    2ef957de4e2d net: dsa: microchip: fix initial port flush problem
    29bc9e7c7539 ASoC: fsl-asoc-card: set priv->pdev before using it
    032a2ec27dab ASoC: amd: acp: remove i2s configuration check in acp_i2s_probe()
    e158ed266fc1 ASoC: amd: acp: add a null check for chip_pdev structure
    05cbeb0803ef s390/pci: Add missing virt_to_phys() for directed DIBV
    8d02ead6d015 bpf: Add missed var_off setting in coerce_subreg_to_size_sx()
    185dca875591 bpf: Add missed var_off setting in set_sext32_default_val()
    b377d4df8fb0 ASoC: q6apm-lpass-dai: close graph on prepare errors
    f74bb396f120 workqueue: Increase worker desc's length to 32
    6ffd06c3715c ASoC: atmel: atmel-classd: Re-add dai_link->platform to fix card init
    6de2e5820477 ASoC: atmel: convert not to use asoc_xxx()
    2886b30b1c11 ASoC: mediatek: mt8183-da7219-max98357: Fix kcontrol name collision
    4932ddb9fd3f ASoC: rockchip: i2s-tdm: Fix trcm mode by setting clock on right mclk
    00da1ddd6936 wifi: mac80211: Use flexible array in struct ieee80211_tim_ie
    2dcc136eef30 selftests: mptcp: userspace_pm: fixed subtest names
    528c3a4ceb38 selftests: mptcp: print_test out of verify_listener_events
    71d21704d24e MIPS: pci: lantiq: restore reset gpio polarity
    2838dfa5290f pinctrl: rockchip: fix pinmux reset in rockchip_pmx_set
    b85dec60a374 pinctrl: rockchip: use dedicated pinctrl type for RK3328
    14f6c7bf21ce pinctrl: rockchip: fix pinmux bits for RK3328 GPIO3-B pins
    98db00947697 pinctrl: rockchip: fix pinmux bits for RK3328 GPIO2-B pins
    4038c57bf616 pinctrl: fix deadlock in create_pinctrl() when handling -EPROBE_DEFER
    f1d05111b39f Input: ili210x - fix ili251x_read_touch_data() return value
    d9933caf865e usb: typec: ucsi: Ack also failed Get Error commands
    64ab9d2d1bd0 usb: typec: ucsi: Never send a lone connector change ack
    dd7c4e370444 iio: pressure: bmp280: Fix BMP580 temperature reading
    3f199b4e3987 iio: pressure: fix some word spelling errors
    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 7c803a65d231b4586124cf86de7d22a47584fcdf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Bruce Ashfield
27c6e690ad linux-yocto/6.6: update to v6.6.36
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    f71bb11887ba cpu/amd: inhibit SMP check for qemux86
    61945f2f69d0 Linux 6.6.36
    b3f7525556fb Revert "mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default"
    9de62e88310c hid: asus: asus_report_fixup: fix potential read out of bounds
    25f8b9a7811a kprobe/ftrace: fix build error due to bad function definition
    a08936934676 net/sched: unregister lockdep keys in qdisc_create/qdisc_alloc error path
    b552a47cc81b ASoC: Intel: sof-sdw: really remove FOUR_SPEAKER quirk
    56aa62ff36f3 drm/amd/display: revert Exit idle optimizations before HDCP execution
    988a03e31e07 LoongArch: Fix entry point in kernel image header
    eae6e7dbd1b6 efi/loongarch: Directly position the loaded image file
    d9a5d5c49306 vgacon: rework screen_info #ifdef checks
    05f263c166ad riscv: force PAGE_SIZE linear mapping if debug_pagealloc is enabled
    5f03d4f286b8 riscv: Don't use PGD entries for the linear mapping
    65ac09c96588 x86/cpu: Fix x86_match_cpu() to match just X86_VENDOR_INTEL
    71cf8cfd1906 x86/cpu/vfm: Add new macros to work with (vendor/family/model) values
    6408fcfea4c3 tracing: Add MODULE_DESCRIPTION() to preemptirq_delay_test
    7261d27bcc09 nbd: Fix signal handling
    193820ee0c1c nbd: Improve the documentation of the locking assumptions
    afcd1a3ac37d ocfs2: update inode fsync transaction id in ocfs2_unlink and ocfs2_link
    10fc3a1813ea ocfs2: convert to new timestamp accessors
    1dbb1a3181d8 wifi: rtl8xxxu: enable MFP support with security flag of RX descriptor
    b30c9b111837 perf script: Show also errors for --insn-trace option
    0ea11a112408 perf: script: add raw|disasm arguments to --insn-trace option
    23b1940096b6 spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4
    299c0cb3aaab arm64: dts: imx8qm-mek: fix gpio number for reg_usdhc2_vmmc
    6e77a7c0bdfc spi: stm32: qspi: Fix dual flash mode sanity test in stm32_qspi_setup()
    211deb3e31ed dt-bindings: i2c: google,cros-ec-i2c-tunnel: correct path to i2c-controller schema
    f712670a91fc dt-bindings: i2c: atmel,at91sam: correct path to i2c-controller schema
    391251d496e2 i2c: ocores: set IACK bit after core is enabled
    84d3549d54f5 mm/page_table_check: fix crash on ZONE_DEVICE
    250fad18b0c9 tcp: clear tp->retrans_stamp in tcp_rcv_fastopen_synack()
    856cf3305f11 mm: mmap: allow for the maximum number of bits for randomizing mmap_base by default
    08cfaa12171d serial: 8250_dw: Revert "Move definitions to the shared header"
    231f18e8e93c efi/x86: Free EFI memory map only when installing a new one.
    637619b02cc3 kcov: don't lose track of remote references during softirqs
    ae30200eccd4 gcov: add support for GCC 14
    67bcecd78060 ocfs2: fix NULL pointer dereference in ocfs2_abort_trigger()
    0550ad87711f ocfs2: fix NULL pointer dereference in ocfs2_journal_dirty()
    63f894de08e1 dt-bindings: dma: fsl-edma: fix dma-channels constraints
    b065d79ed06a drm/amdgpu: fix UBSAN warning in kv_dpm.c
    9e57611182a8 drm/radeon: fix UBSAN warning in kv_dpm.c
    e7bda1f8ba84 drm/i915/mso: using joiner is not possible with eDP MSO
    9f3b02cc05df ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14AHP9
    b03d8b4a646f ALSA: hda/realtek: Limit mic boost on N14AP7
    dd3068d81d1c ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 445/465 G11.
    10252816227c ovl: fix encoding fid for lower only root
    cd2f51797607 RDMA/mlx5: Follow rb_key.ats when creating new mkeys
    637a3bebcd57 RDMA/mlx5: Remove extra unlock on error path
    94646324833d RDMA/rxe: Fix data copy for IB_SEND_INLINE
    72040b4f9934 KVM: x86: Always sync PIR to IRR prior to scanning I/O APIC routes
    48bb62859d47 KVM: arm64: Disassociate vcpus from redistributor region on teardown
    a937ef951bba KVM: Fix a data race on last_boosted_vcpu in kvm_vcpu_on_spin()
    32a62a6b1052 LoongArch: Fix multiple hardware watchpoint issues
    75ecfab9bf9c LoongArch: Trigger user-space watchpoints correctly
    4b26f9ace31f LoongArch: Fix watchpoint setting error
    450df994f32a cifs: fix typo in module parameter enable_gcm_256
    eacfd7f07eb0 scsi: ufs: core: Free memory allocated for model before reinit
    bf1e8c21f2be btrfs: retry block group reclaim without infinite loop
    454c454ed645 net: do not leave a dangling sk pointer, when socket creation fails
    f08e079bdde1 net: usb: ax88179_178a: improve reset check
    78a6136e949f net: stmmac: Assign configured channel value to EXTTS event
    555672188053 locking/atomic: scripts: fix ${atomic}_sub_and_test() kerneldoc
    677ff4589f15 ext4: fix slab-out-of-bounds in ext4_mb_find_good_group_avg_frag_lists()
    82d5a4ba46b3 ext4: avoid overflow when setting values via sysfs
    db3d39869e53 arm64: defconfig: enable the vf610 gpio driver
    17095b1d79ae ACPI: EC: Evaluate orphan _REG under EC device
    d63c635e226d RDMA/mana_ib: Ignore optional access flags for MRs
    e0deb0e9c967 RDMA/mlx5: Add check for srq max_sge attribute
    3b733016d878 RDMA/mlx5: Fix unwind flow as part of mlx5_ib_stage_init_init
    a6d6332a005e firmware: psci: Fix return value from psci_system_suspend()
    2a215410cf59 io_uring/rsrc: fix incorrect assignment of iter->nr_segs in io_import_fixed
    87e0621a6b36 spi: spi-imx: imx51: revert burst length calculation back to bits_per_word
    434c6b924e1f ACPICA: Revert "ACPICA: avoid Info: mapping multiple BARs. Your kernel is fine."
    83936d4ecd0a arm64: dts: freescale: imx8mm-verdin: enable hysteresis on slow input pin
    563788af0767 arm64: dts: imx93-11x11-evk: Remove the 'no-sdio' property
    c41f973a68f3 arm64: dts: freescale: imx8mp-venice-gw73xx-2x: fix BT shutdown GPIO
    625c4fda1188 arm64: dts: imx8mp: Fix TC9595 input clock on DH i.MX8M Plus DHCOM SoM
    332af18d1ab1 arm64: dts: imx8mp: Fix TC9595 reset GPIO on DH i.MX8M Plus DHCOM SoM
    90d29da11445 thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data
    47a0fe77b6c8 regulator: bd71815: fix ramp values
    79cee58de38f dmaengine: ioatdma: Fix missing kmem_cache_destroy()
    6f47c1e98700 dmaengine: fsl-edma: avoid linking both modules
    30d2259c5ebb dmaengine: ioatdma: Fix kmemleak in ioat_pci_probe()
    fb6e3d4d43ac dmaengine: ioatdma: Fix error path in ioat3_dma_probe()
    ab9501ecaac9 dmaengine: ioatdma: Fix leaking on version mismatch
    faa35db78b05 dmaengine: idxd: Fix possible Use-After-Free in irq_process_work_list
    186d77852555 regulator: core: Fix modpost error "regulator_get_regmap" undefined
    163868ec1f6c RDMA/rxe: Fix responder length checking for UD request packets
    9f06731c4eca spi: cs42l43: Correct SPI root clock speed
    5f338cb5ca96 RDMA/bnxt_re: Fix the max msix vectors macro
    7bcca7108c5b net: usb: rtl8150 fix unintiatilzed variables in rtl8150_get_link_ksettings
    ad22071b8e0e bnxt_en: Restore PTP tx_avail count in case of skb_pad() error
    714782d58099 ice: Fix VSI list rule with ICE_SW_LKUP_LAST type
    325f8ab7765d netfilter: move the sysctl nf_hooks_lwtunnel into the netfilter core
    d62df86c1720 seg6: fix parameter passing when calling NF_HOOK() in End.DX4 and End.DX6 behaviors
    94dd411c18d7 netfilter: ipset: Fix suspicious rcu_dereference_protected()
    3ee9c732d672 octeontx2-pf: Fix linking objects into multiple modules
    096a93e1c46e octeontx2-pf: Add error handling to VLAN unoffload handling
    3ef2a16a1d17 virtio_net: fixing XDP for fully checksummed packets handling
    ef609fd73433 virtio_net: checksum offloading handling fix
    a71b686418ee net: stmmac: No need to calculate speed divider when offload is disabled
    a674424c23db selftests: openvswitch: Use bash as interpreter
    666e934d749e ptp: fix integer overflow in max_vclocks_store
    9126fd82e9ed sched: act_ct: add netns into the key of tcf_ct_flow_table
    b57a4a2dc874 tipc: force a dst refcount before doing decryption
    5f926aa96b08 net/sched: act_api: fix possible infinite loop in tcf_idr_check_alloc()
    284fd7e97b92 net/sched: act_api: rely on rcu in tcf_idr_check_alloc
    123eaaf63602 net: phy: mxl-gpy: Remove interrupt mask clearing from config_init
    de4fc1091af1 net: lan743x: Support WOL at both the PHY and MAC appropriately
    41805c46d550 net: lan743x: disable WOL upon resume to restore full data path operation
    6b2dfc4ff3f6 qca_spi: Make interrupt remembering atomic
    ef0394ca2595 netns: Make get_net_ns() handle zero refcount net
    f897d7171652 xfrm6: check ip6_dst_idev() return value in xfrm6_get_saddr()
    73e7c8ca6ad7 ipv6: prevent possible NULL dereference in rt6_probe()
    b6947723c9ea ipv6: prevent possible NULL deref in fib6_nh_init()
    b6ebe4fed73e netrom: Fix a memory leak in nr_heartbeat_expiry()
    d940be596b28 ALSA: hda/realtek: Enable headset mic on IdeaPad 330-17IKB 81DM
    7f9644782c55 bpf: Avoid splat in pskb_pull_reason
    5a24f876b5ce ALSA: hda: tas2781: Component should be unbound before deconstruction
    8be82acd4ee3 ALSA: hda: cs35l56: Component should be unbound before deconstruction
    08fa10b26592 cipso: fix total option length computation
    23a52ca69c4b net: mvpp2: use slab_build_skb for oversized frames
    082b3d4e7889 btrfs: zoned: allocate dummy checksums for zoned NODATASUM writes
    823e42971f8f ice: avoid IRQ collision to fix init failure on ACPI S3 resume
    83de3ace795b ALSA/hda: intel-dsp-config: Document AVS as dsp_driver option
    590f9d97cd31 ALSA: hda/realtek: Remove Framework Laptop 16 from quirks
    55d5d0817436 tracing: Build event generation tests only as modules
    2cd4854ef14a mips: bmips: BCM6358: make sure CBR is correctly set
    fe5a1bfad443 MIPS: Routerboard 532: Fix vendor retry check code
    b89c2c56a010 ALSA: seq: ump: Fix missing System Reset message handling
    ff27bd8e1788 ALSA: hda: cs35l41: Possible null pointer dereference in cs35l41_hda_unbind()
    fae0e055d01d PCI: Do not wait for disconnected devices when resuming
    96a0e06dfe0c ACPI: EC: Install address space handler at the namespace root
    448efb7ea0bf cpufreq: amd-pstate: fix memory leak on CPU EPP exit
    618fbf4c910a vfio/pci: Collect hot-reset devices to local buffer
    287b569a5b91 tty: add the option to have a tty reject a new ldisc
    a94a56004082 usb: gadget: function: Remove usage of the deprecated ida_simple_xx() API
    404fb6c4c842 serial: exar: adding missing CTI and Exar PCI ids
    982ae3376c4c serial: imx: Introduce timeout when waiting on transmitter empty
    1c33fd17383f MIPS: Octeon: Add PCIe link status check
    1036d3ea7a32 f2fs: don't set RO when shutting down f2fs
    7196289190d5 PCI/PM: Avoid D3cold for HP Pavilion 17 PC/1972 PCIe Ports
    6f999660a621 udf: udftime: prevent overflow in udf_disk_stamp_to_time()
    38e6a5296615 usb: typec: ucsi_glink: drop special handling for CCI_BUSY
    eba944dffe0b usb: dwc3: pci: Don't set "linux,phy_charger_detect" property on Lenovo Yoga Tab2 1380
    e151ae1ee065 Avoid hw_desc array overrun in dw-axi-dmac
    10132ccf99f4 usb: misc: uss720: check for incompatible versions of the Belkin F5U002
    eddeb8d941d5 f2fs: remove clear SB_INLINECRYPT flag in default_options
    971c3be5dbf6 usb: gadget: uvc: configfs: ensure guid to be valid before set
    ae0d1ea3e8cd kprobe/ftrace: bail out if ftrace was killed
    23afcd52af06 ext4: fix uninitialized ratelimit_state->lock access in __ext4_fill_super()
    54f514a03676 iommu/arm-smmu-v3: Free MSIs in case of ENOMEM
    89bed5c84450 power: supply: cros_usbpd: provide ID table for avoiding fallback match
    4569c9641e76 platform/x86: p2sb: Don't init until unassigned resources have been assigned
    2ff4b9a2f016 powerpc/io: Avoid clang null pointer arithmetic warnings
    f066882293b5 media: mtk-vcodec: potential null pointer deference in SCP
    23d3c898d584 media: intel/ipu6: Fix build with !ACPI
    3ad0034910a5 powerpc/pseries: Enforce hcall result buffer validity and size
    ff1de429c2b5 ALSA: hda/realtek: Add quirks for Lenovo 13X
    bdbc4ca77f5e drm/lima: mask irqs in timeout path before hard reset
    022db5d6a8bd drm/lima: add mask irq callback to gp and pp
    171f438a878e ASoC: Intel: sof_sdw: add quirk for Dell SKU 0C0F
    38bf3b41b628 ASoC: Intel: sof_sdw: add JD2 quirk for HP Omen 14
    a63054e677fd platform/x86: toshiba_acpi: Add quirk for buttons on Z830
    8f3ade4b60b6 drm/amd/display: Exit idle optimizations before HDCP execution
    d7b8159dddc8 Bluetooth: ath3k: Fix multiple issues reported by checkpatch.pl
    810e6a1da6f5 ACPI: video: Add backlight=native quirk for Lenovo Slim 7 16ARH7
    18fa9a90a0ae HID: asus: fix more n-key report descriptors if n-key quirked
    a956f64ca8d1 HID: Add quirk for Logitech Casa touchpad
    85edd783f453 wifi: mt76: mt7921s: fix potential hung tasks during chip recovery
    3f1a155950a1 netpoll: Fix race condition in netpoll_owner_active
    4882e92c8881 net: dsa: realtek: keep default LED state in rtl8366rb
    c4dbe5501ff9 kselftest: arm64: Add a null pointer check
    6d8b2c5206dd net/sched: fix false lockdep warning on qdisc root lock
    2f037b28a7bf net: sfp: add quirk for ATS SFP-GE-T 1000Base-TX module
    fa85b016a56b scsi: qedi: Fix crash while reading debugfs attribute
    76ce2f912524 drop_monitor: replace spin_lock by raw_spin_lock
    2d42aacea8cb ACPI: x86: Add PNP_UART1_SKIP quirk for Lenovo Blade2 tablets
    c572d3a92023 af_packet: avoid a false positive warning in packet_setsockopt()
    946a635b1a2e wifi: ath9k: work around memset overflow warning
    2685008a5f9a batman-adv: bypass empty buckets in batadv_purge_orig_ref()
    ef063f0f5c79 selftests/bpf: Fix flaky test btf_map_in_map/lookup_update
    5270950a3bc1 selftests/bpf: Prevent client connect before server bind in test_tc_tunnel.sh
    c5dc2d8eb398 ssb: Fix potential NULL pointer dereference in ssb_device_uevent()
    fd841ee01fb4 block/ioctl: prefer different overflow check
    3afcca7bccd0 rcutorture: Fix invalid context warning when enable srcu barrier testing
    93b7d5820296 rcutorture: Make stall-tasks directly exit when rcutorture tests end
    2e5ed1130eda rcutorture: Fix rcu_torture_one_read() pipe_count overflow comment
    9e810bd99582 io_uring/sqpoll: work around a potential audit memory leak
    b101f0bfb637 crypto: hisilicon/qm - Add the err memory release process to qm uninit
    9f21886370db crypto: hisilicon/sec - Fix memory leak for sec resource release
    7220b9795dab padata: Disable BH when taking works lock on MT path
    0eeb28d7e136 fs/writeback: bail out if there is no more inodes for IO and queued once
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 728e00206b70d9fcd2d00ad86c28cc4c86c21f4b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-03 07:47:35 +01:00
Niko Mauno
f3479f74c9 libyaml: Amend CVE status as 'upstream-wontfix'
Use an existing defined CVE_CHECK_STATUSMAP key in
meta/lib/oe/cve_check.py in order to avoid following complaint from
BitBake:

  WARNING: libyaml-native-0.2.5-r0 do_create_spdx: Invalid detail "wontfix" for CVE_STATUS[CVE-2024-35328] = "wontfix: Upstream thinks there is no working code that is exploitable - https://github.com/yaml/libyaml/issues/302", fallback to Unpatched

(From OE-Core rev: c66d9a2a0d197498fa21ee8ca51a4afb59f75473)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-01 14:32:22 +01:00
Khem Raj
3ebb2ca832 libyaml: Change CVE status to wontfix
This has not yet been disputed officially

(From OE-Core rev: 7ec7384837f3e3fb68b25a6108ed7ec0f261a4aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-08-01 09:20:27 +01:00
Patrick Wicki
fd8dc3a2f3 gpgme: move gpgme-tool to own sub-package
The gpgme-tool binary is licensed GPL-3.0-or-later. Split it out into
its own package that can be opted out of.

(From OE-Core rev: bbcd56bace90f4a148960a7108dc8d0e6c364903)

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:46:22 +01:00
Changhyeok Bae
0d0cf152a9 ethtool: upgrade 6.7 -> 6.9
Release notes:
* Feature: support for rx-flow-hash gtp (-N)
* Feature: support for RSS input transformation (-X)
* Fix: typo in coalescing output (-c)
* Fix: document all debugging flags in man page

(From OE-Core rev: 302bbd0fdb1b41ec98e281cacbb77a54ce8d689d)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:46:22 +01:00
Theodore A. Roth
c451345ff4 ca-certificates: Add comment for provenance of SRCREV
Provide references for how the SRCREV was arrived at for the 20240203
release.

(From OE-Core rev: 6916cdb0f05f6644edb1e432a9421595abb9f0ca)

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Changqing Li
2ccc2a77b5 rt-tests: rt_bmark.py: fix TypeError
Fix following error:
  File "/usr/lib64/rt-tests/ptest/./rt_bmark.py", line 287, in run_cyclictest_once
    m = rex.search(line)
        ^^^^^^^^^^^^^^^^
TypeError: cannot use a string pattern on a bytes-like object

(From OE-Core rev: c5108da4009ccd3dfc92632171d6bc4dae4507db)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Khem Raj
56b6b35626 libyaml: Update status of CVE-2024-35328
This is open yet but seems to be disputed

(From OE-Core rev: 4cba8ad405b1728afda3873f99ac88711ab85644)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Michal Sieron
7d9717a215 insane: remove obsolete QA errors
Those were removed quite some time ago:
- perms: 5da7ad1a483d0840a9a2e3b95fa62a1901be73f2
- split-strip: bcc03ea19e103f6aa93bada2f49fcc5cc7bc0790
- (compile|install)-host-path: a67e9ebfd5b8002fd4a7d8d27ff0d997817f76e1

(From OE-Core rev: 068d3821430734132c3eb70fd95461e0917fd1e8)

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Sundeep KOKKONDA
e2e7017350 rust: rustdoc reproducibility issue fix
The 'codegen-units' option split the crate into multiple compilation units for parallel compilation. Currently, this split is causing the rustdoc to generate differnt binary between the builds.
To fix this the codegen-units & the lto options are disabled.

More info about options:
https://doc.rust-lang.org/cargo/reference/profiles.html#codegen-units
https://doc.rust-lang.org/rustc/codegen-options/index.html#lto

(From OE-Core rev: 0c00875de10b171f4ff2990af351a8124ec7e972)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-30 12:32:53 +01:00
Richard Purdie
7c1de3118f create-spdx-3.0/populate_sdk_base: Add SDK_CLASSES inherit mechanism to fix tarball SPDX manifests
Currently, "tarball" sdk based recipes don't generate SPDX manifests as they
don't include the rootfs generation classes. Split the SPDX 3.0 image class into
two so the SDK components can be included where needed.

To do this, introduce an SDK_CLASSES variable similar to IMAGE_CLASSES which
the SDK code can use.

Migrate testsdk usage to this.

Also move the image/sdk spdx classes to classes-recipe rather than the general classes
directory since they'd never be included on a global level.

For buildtools-tarball, it has its own testsdk functions so disable the class there as
a deferred inherit would overwrite it.

(From OE-Core rev: 662396533177b72cc1d83e95841b27f7e42dcb20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Richard Purdie
3e29ba2205 pseudo: Update to include open symlink handling bugfix
Update to a new revision which includes "Bugfix for Linux open(O_CREAT|O_EXCL)"

(From OE-Core rev: 92a9710ec88c8729fa3d83baa2e63dd74d95cdf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Mark Hatle
6c56ffc8cf oeqa sdk cases: Skip SDK test cases when TCLIBC is newlib
Newlib generally requires additional components to function.  Skip the
cases where newlib is known to not work.

(From OE-Core rev: b9934755554e40d9980b90c3d541f4c702203561)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Peter Marko
715899efb7 glibc: cleanup old cve status
This CVE status should have been removed on version update.
CPE says >=2.34 and <2.39 while our version is already 2.40.

(From OE-Core rev: b568a8f428e76f75bb8c374983f62822325ebe8a)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
f2ead561b9 bmaptool: temporarily silence the pep517-backend warning
Whilst bmaptool has a pyproject.toml that uses poetry, the setuptools
build path appears to be more complete.  Upstream has moved to hatch and
removed setup.py entirely so the next release can drop this.

(From OE-Core rev: 824009560776933922a92a00c2199c28c9c8379c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
9e789e2e75 python3-numpy: ignore pep517-backend warnings
Upstream has a pyproject.toml but it's marked as experimental and does
not currently work at all with the meson-python release we currently
have.

(From OE-Core rev: a09ad3838a00d2b4781850759ca857822ba330e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
eec07311b2 insane: add pep517-backend to WARN_QA
Enable the new pep517-backend warning from setuptools3, initially as a
warning so as not to break builds straight away.

(From OE-Core rev: 27597d986ad7b3a6c2d36150a163951be7c640f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
6e409b5d19 setuptools3: check for a PEP517 build system selection
Some recipes use setuptools3 but should be using a PEP517-compliant
backend, be it the setuptools itself via python_setuptools_build_meta or
an alternative backend such as flit/hatch/poetry.

As we can't currently assume Python 3.11 on the build host we need to
parse the pyproject.toml manually, but this should be sufficient for the
limited parsing needed.

This task emits a QA error if a build backend is set, and can be ignored
by using INSANE_SKIP if needed.

[ YOCTO #14736 ]

(From OE-Core rev: a9d800f6cdfcedbe3de8366d935ee5f0c8557c06)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Jose Quaresma
e78e0cc822 openssh: upgrade 9.7p1 -> 9.8p1
- drop the CVE-2024-6387 [backported patch]
- drop systemd notify [backported patch]
- fix musl build [backported patch]
- fix ptest regression [submited patch]
- sshd now had the sshd-session

Release notes at https://www.openssh.com/txt/release-9.8

Security
========

This release contains fixes for two security problems, one critical
and one minor.

1) Race condition in sshd(8)

A critical vulnerability in sshd(8) was present in Portable OpenSSH
versions between 8.5p1 and 9.7p1 (inclusive) that may allow arbitrary
code execution with root privileges.

Successful exploitation has been demonstrated on 32-bit Linux/glibc
systems with ASLR. Under lab conditions, the attack requires on
average 6-8 hours of continuous connections up to the maximum the
server will accept. Exploitation on 64-bit systems is believed to be
possible but has not been demonstrated at this time. It's likely that
these attacks will be improved upon.

Exploitation on non-glibc systems is conceivable but has not been
examined. Systems that lack ASLR or users of downstream Linux
distributions that have modified OpenSSH to disable per-connection
ASLR re-randomisation (yes - this is a thing, no - we don't
understand why) may potentially have an easier path to exploitation.
OpenBSD is not vulnerable.

We thank the Qualys Security Advisory Team for discovering, reporting
and demonstrating exploitability of this problem, and for providing
detailed feedback on additional mitigation measures.

2) Logic error in ssh(1) ObscureKeystrokeTiming

In OpenSSH version 9.5 through 9.7 (inclusive), when connected to an
OpenSSH server version 9.5 or later, a logic error in the ssh(1)
ObscureKeystrokeTiming feature (on by default) rendered this feature
ineffective - a passive observer could still detect which network
packets contained real keystrokes when the countermeasure was active
because both fake and real keystroke packets were being sent
unconditionally.

This bug was found by Philippos Giavridis and also independently by
Jacky Wei En Kung, Daniel Hugenroth and Alastair Beresford of the
University of Cambridge Computer Lab.

Worse, the unconditional sending of both fake and real keystroke
packets broke another long-standing timing attack mitigation. Since
OpenSSH 2.9.9 sshd(8) has sent fake keystoke echo packets for
traffic received on TTYs in echo-off mode, such as when entering a
password into su(8) or sudo(8). This bug rendered these fake
keystroke echoes ineffective and could allow a passive observer of
a SSH session to once again detect when echo was off and obtain
fairly limited timing information about keystrokes in this situation
(20ms granularity by default).

This additional implication of the bug was identified by Jacky Wei
En Kung, Daniel Hugenroth and Alastair Beresford and we thank them
for their detailed analysis.

This bug does not affect connections when ObscureKeystrokeTiming
was disabled or sessions where no TTY was requested.

Future deprecation notice
=========================

OpenSSH plans to remove support for the DSA signature algorithm in
early 2025. This release disables DSA by default at compile time.

DSA, as specified in the SSHv2 protocol, is inherently weak - being
limited to a 160 bit private key and use of the SHA1 digest. Its
estimated security level is only 80 bits symmetric equivalent.

OpenSSH has disabled DSA keys by default since 2015 but has retained
run-time optional support for them. DSA was the only mandatory-to-
implement algorithm in the SSHv2 RFCs, mostly because alternative
algorithms were encumbered by patents when the SSHv2 protocol was
specified.

This has not been the case for decades at this point and better
algorithms are well supported by all actively-maintained SSH
implementations. We do not consider the costs of maintaining DSA
in OpenSSH to be justified and hope that removing it from OpenSSH
can accelerate its wider deprecation in supporting cryptography
libraries.

This release, and its deactivation of DSA by default at compile-time,
marks the second step in our timeline to finally deprecate DSA. The
final step of removing DSA support entirely is planned for the first
OpenSSH release of 2025.

DSA support may be re-enabled in OpenBSD by setting "DSAKEY=yes"
in Makefile.inc. To enable DSA support in portable OpenSSH, pass
the "--enable-dsa-keys" option to configure.

Potentially-incompatible changes
--------------------------------

 * all: as mentioned above, the DSA signature algorithm is now
   disabled at compile time.

 * sshd(8): the server will now block client addresses that
   repeatedly fail authentication, repeatedly connect without ever
   completing authentication or that crash the server. See the
   discussion of PerSourcePenalties below for more information.
   Operators of servers that accept connections from many users, or
   servers that accept connections from addresses behind NAT or
   proxies may need to consider these settings.

 * sshd(8): the server has been split into a listener binary, sshd(8),
   and a per-session binary "sshd-session". This allows for a much
   smaller listener binary, as it no longer needs to support the SSH
   protocol. As part of this work, support for disabling privilege
   separation (which previously required code changes to disable) and
   disabling re-execution of sshd(8) has been removed. Further
   separation of sshd-session into additional, minimal binaries is
   planned for the future.

 * sshd(8): several log messages have changed. In particular, some
   log messages will be tagged with as originating from a process
   named "sshd-session" rather than "sshd".

 * ssh-keyscan(1): this tool previously emitted comment lines
   containing the hostname and SSH protocol banner to standard error.
   This release now emits them to standard output, but adds a new
   "-q" flag to silence them altogether.

 * sshd(8): (portable OpenSSH only) sshd will no longer use argv[0]
   as the PAM service name. A new "PAMServiceName" sshd_config(5)
   directive allows selecting the service name at runtime. This
   defaults to "sshd". bz2101

 * (portable OpenSSH only) Automatically-generated files, such as
   configure, config.h.in, etc will now be checked in to the portable
   OpenSSH git release branch (e.g. V_9_8). This should ensure that
   the contents of the signed release branch exactly match the
   contents of the signed release tarball.

Changes since OpenSSH 9.7
=========================

This release contains mostly bugfixes.

New features
------------

 * sshd(8): as described above, sshd(8) will now penalise client
   addresses that, for various reasons, do not successfully complete
   authentication. This feature is controlled by a new sshd_config(5)
   PerSourcePenalties option and is on by default.

   sshd(8) will now identify situations where the session did not
   authenticate as expected. These conditions include when the client
   repeatedly attempted authentication unsucessfully (possibly
   indicating an attack against one or more accounts, e.g. password
   guessing), or when client behaviour caused sshd to crash (possibly
   indicating attempts to exploit bugs in sshd).

   When such a condition is observed, sshd will record a penalty of
   some duration (e.g. 30 seconds) against the client's address. If
   this time is above a minimum configurable threshold, then all
   connections from the client address will be refused (along with any
   others in the same PerSourceNetBlockSize CIDR range) until the
   penalty expire.

   Repeated offenses by the same client address will accrue greater
   penalties, up to a configurable maximum. Address ranges may be
   fully exempted from penalties, e.g. to guarantee access from a set
   of trusted management addresses, using the new sshd_config(5)
   PerSourcePenaltyExemptList option.

   We hope these options will make it significantly more difficult for
   attackers to find accounts with weak/guessable passwords or exploit
   bugs in sshd(8) itself. This option is enabled by default.

 * ssh(8): allow the HostkeyAlgorithms directive to disable the
   implicit fallback from certificate host key to plain host keys.

Bugfixes
--------

 * misc: fix a number of inaccuracies in the PROTOCOL.*
   documentation files. GHPR430 GHPR487

 * all: switch to strtonum(3) for more robust integer parsing in most
   places.

 * ssh(1), sshd(8): correctly restore sigprocmask around ppoll()

 * ssh-keysign(8): stricter validation of messaging socket fd GHPR492

 * sftp(1): flush stdout after writing "sftp>" prompt when not using
   editline. GHPR480

 * sftp-server(8): fix home-directory extension implementation, it
   previously always returned the current user's home directory
   contrary to the spec. GHPR477

 * ssh-keyscan(1): do not close stdin to prevent error messages when
   stdin is read multiple times. E.g.
   echo localhost | ssh-keyscan -f - -f -

 * regression tests: fix rekey test that was testing the same KEX
   algorithm repeatedly instead of testing all of them. bz3692

 * ssh_config(5), sshd_config(5): clarify the KEXAlgorithms directive
   documentation, especially around what is supported vs available.
   bz3701.

Portability
-----------

 * sshd(8): expose SSH_AUTH_INFO_0 always to PAM auth modules
   unconditionally. The previous behaviour was to expose it only when
   particular authentication methods were in use.

 * build: fix OpenSSL ED25519 support detection. An incorrect function
   signature in configure.ac previously prevented enabling the recently
   added support for ED25519 private keys in PEM PKCS8 format.

 * ssh(1), ssh-agent(8): allow the presence of the WAYLAND_DISPLAY
   environment variable to enable SSH_ASKPASS, similarly to the X11
   DISPLAY environment variable. GHPR479

 * build: improve detection of the -fzero-call-used-regs compiler
   flag. bz3673.

 * build: relax OpenSSL version check to accept all OpenSSL 3.x
   versions.

 * sshd(8): add support for notifying systemd on server listen and
   reload, using a standalone implementation that doesn't depend on
   libsystemd. bz2641

(From OE-Core rev: 4e2834f67d32894d1cac5fc9ac5234816765245e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Jose Quaresma
0c03d6aeb7 openssh: systemd notification was implemented upstream
Drop our sd-notify patch and switch to the upstream standalone
implementation that does not depend on libsystemd.

(From OE-Core rev: 07522f85a987b673b0a3c98690c3c17ab0c4b608)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Jose Quaresma
b33830b4f6 libssh2: fix ptest regression with openssh 9.8p1
(From OE-Core rev: 1a2fef1d70c8083e65325dfa8a5cae7d8443951b)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Tom Hochstein
ac09753064 time64.inc: Simplify GLIBC_64BIT_TIME_FLAGS usage
The implementation uses the append operator to include
GLIBC_64BIT_TIME_FLAGS in TARGET_CC_ARCH, but it places the space in
the GLIBC_64BIT_TIME_FLAGS assignment in order to avoid a 'spurious
space' when the value is empty.

68b50d3 time64: Remove leading whitespace from GLIBC_64BIT_TIME_FLAGS

The problem with this is it requires anyone wishing to assign a value
to GLIBC_64BIT_TIME_FLAGS to add the leading space, otherwise this is
the error:

cc1: error: '-Werror=format-security-D_TIME_BITS=64': no option '-Wformat-security-D_TIME_BITS=64'

Add a new constant variable to capture the value needed for the 32-bit
special case, including the space.

(From OE-Core rev: e8177827f92e71c80c5b63453d8bbd1defbe1fbc)

Signed-off-by: Tom Hochstein <tom.hochstein@oss.nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Mark Hatle
edc44fcf13 create-spdx-*: Support multilibs via SPDX_MULTILIB_SSTATE_ARCHS
When a create-spdx-* classes is processing documents, it needs to
find the document in a path that is related to the SSTATE_ARCH
when a packge is generated.  The SSTATE_ARCH can be affected by
multilib configurations, resulting is something like armv8a-mlib.

When the image (or SDK) is being generated and the components are
collected, the system has no knowledge of the multilib arch and
will fail to find it, such as:

  ERROR: meta-toolchain-1.0-r0 do_populate_sdk: No SPDX file found
   for package libilp32-libgcc-dbg,
   False sstate:libilp32-libgcc:armv8a-ilp32-mllibilp32-elf:14.1.0:r0:armv8a-ilp32:12:
   sstate:libilp32-libgcc::14.1.0:r0::12:

Adding in the new SPDX_MULTILIB_SSTATE_ARCHS will provide a full
set of SSTATE_ARCHS including ones that contain the multilib
extension which will allow create-spdx-* to correctly find the
document it is looking for.  This would also be valuable to any
other function doing a similar search through SSTATE_ARCH that may
have been extended with multilib configurations.

(From OE-Core rev: f1499c36c1054fc90f7b7268cc95285f2eca72f7)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Mark Hatle
0328f2a585 spdx30_tasks.py: switch from exists to isfile checking debugsrc
Same change as previously made to the create-spdx-2.2.bbclass,
while debugsrc is almost always a file (or link), there are apparently
cases where a directory could be returned from the dwarfsrcfiles
processing.  When this happens, the hashing fails and an error results
when building the SPDX documents.

(From OE-Core rev: 5262f9bbf86c4e529ff988d465ddad2d1db0b073)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Alejandro Hernandez Samaniego
09b49a35e1 tclibc-picolibc: Adds a new TCLIBC variant to build with picolibc as C library
Enables usage of TCLIBC=picolibc extending OE functionality to build and use
picolibc based toolchains to build baremetal applications.

Picolibc is a set of standard C libraries, both libc and libm, designed for
smaller embedded systems with limited ROM and RAM. Picolibc includes code
from Newlib and AVR Libc, but adresses some of newlibs concerns, it retains
newlibs directory structure, math, string and locale implementations, but
removed the GPL bits used to build the library, swiches old C style code for
C18 and replaces autotools with meson.

This patch adds a picolibc recipe for the C library, a picolibc-helloworld
recipe that contains an example application and a testcase that builds it.

Picolibc can be built for ARM and RISCV architectures, its been tested both
for 32 and 64 bits, the provided example recipe produces the following output:

hello, world

Runqemu does not automatically show any output since it hides QEMU stderr which
is where the QEMU monitors output is directed to when using semihosting, but,
manually running the same QEMU command does work properly.

(From OE-Core rev: c7535ecaccb72ef21a61f9aec5c68e61fb4f6fb6)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Theodore A. Roth
beabc787ca ca-certificates: update 20211016 -> 20240203
The 20240203 version is the same as used in Ubuntu >= 24.04 and Debian
Trixie (testing).

(From OE-Core rev: ce19168885a04b0d77e81c1fd1c4262b195a47d4)

Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
0f2f18c738 python3-idna: enable ptest
(From OE-Core rev: 4b15fd105f8f84f55f1da1724a0ea2f06a88c4b5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
d4c0282f2b python3-packaging: enable ptest
(From OE-Core rev: df1e2e5bbf675f2b2582179fe28b25b840bb4790)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
bd21b9e878 python3-cffi: enable ptest
(From OE-Core rev: 5beb30cdf389490aa00f63a1c377680deb747bbc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
859ce65576 python3-cffi: generalise RDEPENDS
There's no need to mark these RDEPENDS as target-only.

(From OE-Core rev: 8b2332c355d603027e965e9a6a5045f9eb1f024c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
53e627752a ptest-packagelists: sort entries
Sort the entries for OCD reasons.

(From OE-Core rev: ca34cbec26baca91689e205a43787745db2caedb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
2e3162ffd4 python3-jsonpointer: upgrade 2.4 -> 3.0.0
Also re-arrange the recipe to match conventional order.

(From OE-Core rev: 8083d5d1732d805a2172ae6df1d2ae51c476f9cf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
24058c8827 python3-idna: generalise RDEPENDS
(From OE-Core rev: ffdea890710aa11ab819bb7d23e18a5f01447292)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
8ba4e6c963 python3-unittest-automake-output: add dependency on unittest
This module can be used as a wrapper around unittest, so depend on that.

Don't also depend on pytest as that's a much larger dependency, and
in ptest images we want as little pulled in as possible.

(From OE-Core rev: 98343c8fa3572ccd04964c988d55cd31f2ad8d9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Adrian Freihofer
9837ba6138 kernel-fitimage: fix external dtb check
If EXTERNAL_KERNEL_DEVICETREE and dtb_image_sect are empty variables
dtb_path ends up as "/" which is available on most Unix systems but
probably not the dtb_path which is needed here. Checking for a file
makes more sense and also solves the issue with the "/".

(From OE-Core rev: c8f629b6991449cc6726f48a607d9e1bd50807ee)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Adrian Freihofer
1f1150e0ed kernel-fitimage: fix intentation
white space changes only.
- python part should be 4 spaces, not 8.
- use tabs for shell

(From OE-Core rev: 000079a973e8c97d496ca721259437880a7ea70d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Christian Taedcke
138a1990e0 iptables: fix memory corruption when parsing nft rules
This commit fixes a memory corruption issue when iptables (with
enabled PACKAGECONFIG libnftnl) is used to access rules created by
nft.

To reproduce the issue:
nft add chain ip filter TESTCHAIN { meta mark set 123 \;}
iptables -t filter -n -L TESTCHAIN

This produced the following output:
Chain TESTCHAIN (0 references)
target prot opt source     destination
MARK   0    --  0.0.0.0/0  0.0.0.0/0     MARK set 0x7b
malloc(): corrupted top size
Aborted (core dumped)

This commit fixes this issue.

(From OE-Core rev: 461d6333dabacdc181c91f31a8dd4ad6682cc0e4)

Signed-off-by: Christian Taedcke <christian.taedcke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
simit.ghane
1dda68d7f2 libgcrypt: upgrade 1.10.3 -> 1.11.0
Changelog:
==========
https://lists.gnu.org/archive/html/info-gnu/2024-06/msg00004.html

License-Update:
-Add 3-clause BSD license for poly1305-amd64-avx512.S.
-cipher/Makefile.am: Add 'poly1305-amd64-avx512.S'.
-cipher/poly1305-amd64-avx512.S: New.
-cipher/poly1305-internal.h (POLY1305_USE_AVX512): New.
-Add 'cipher/keccak-amd64-avx512.S'.
-Update license docs for FSF new address and update gcrypt.texi.

Apart from upgrade also refreshed the patches like
0001-libgcrypt-fix-m4-file-for-oe-core.patch
0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
no-bench-slope.patch

In 0002-libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch
reverted back the change in cipher/Makefile.am related to o_flag_munging

(From OE-Core rev: aa50e6bc8dcb3f5870e1fa285ec5ab997a7a59cf)

Signed-off-by: simit.ghane <simit.ghane@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
4e1b106c07 glib-networking: upgrade 2.78.1 -> 2.80.0
2.80.0 - March 14, 2024
=======================

- Mark plugin functions as exports on Windows (!250, Amyspark)
- Updated translations

2.80.rc - February 29, 2024
===========================

- GnuTLS: fix improper use of IP address in SNI extension (!247, MARTINSONS Frederic)
- GnuTLS: major performance improvement: reduce unnecessary trust list creation (!249)
- OpenSSL: properly handle BIO_CTRL_EOF (!248)
- Updated translations

2.80.alpha - January 5, 2024
============================

- GnuTLS: Add warning when system has no trusted certificates (!243)
- OpenSSL: Fix bug when populating trust store (!244, Alessandro Bono)
- Fix license on dtls-connection.c test (!245, David King)
- Updated translations

As exposed by the warning when there are no trusted certificates, we should
RDEPEND on ca-certificates if either of the crypto backends are enabled
so that cryptography is usable.

(From OE-Core rev: 0e52a74bcf08cfdd879c74bff9b241a5007c7ef5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
402e36fc2d libcap-ng: clean up recipe
This package is split into two recipes, one of the actual C library and
one for the Python bindings.

- Move common inherits into the common .inc.
- Clean up install in the python recipe
- Remove obsolete setuptools dependency
- Remove obsolete explicit .debug packaging
- Update homepage as freecode.com redirects to the top of SourceForge

(From OE-Core rev: 0ccd7429aabfe5c1c9246477acf1af84a147715c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-26 12:28:42 +01:00
Ross Burton
50e95b7138 python3-pytest: clean up RDEPENDS
These dependencies are only used in development:
- attrs
- setuptools

These dependencies are obsolete:
- atomicwrites removed 7.2.0
- importlib-metadata removed in 5.1.0
- more-itertools removed 6.1.0
- pathlib2 removed 6.2.2
- py removed in 7.2
- six removed in 5.0.0
- wcwidth removed in 6.0.0

This removals now means that python3-xml has to be added explicitly.

(From OE-Core rev: 0aee9aa7b70667fefe898f6a9019a82b004da391)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
14b545a9e7 gi-docgen: upgrade to 2024.1
(From OE-Core rev: af136ae469f051f584e8953cc45224b7a2b7df98)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1a93f261d7 python3-uritools: enable ptest
Install the test suite and run it in core-image-ptest-fast.

(From OE-Core rev: 579675d773f52c877e50aafc59b5571ac5d6a0ba)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
194e1cebe2 python3-mako: add dependency on python3-misc for timeit
(From OE-Core rev: 901e43978eb2cb36f7da52b11319ff5ead084098)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
abefe97990 python3-yamllint: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

yamlint appears to have never used setuptools-scm, so remove the
dependency.

(From OE-Core rev: c3b51900326dbadb83b3853419f5c92bac12ba50)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1c3418fccd python3-uritools: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 4baa8e36e1ee788ed3f66a0546498e892cd69b83)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
9e77642ec4 python3-subunit: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 02e635a898b209ed023ad41e9a09b7807d327d0e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
d047149ecc python3-spdx-tools: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 1deca862432ddca0d10a712f7bf159816d0ae130)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
1d5520a9b0 python3-setuptools-scm: remove python3-tomli dependency
We have Python 3.11+ so setuptools-scm can use tomllib.

(From OE-Core rev: 5c8a0a26d3f63d90bc97eec4b115d51dfb1b3995)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
b121940131 python3-websockets: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: c3943c81f22f8dce2f279e91b0fd516fa3e8e408)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
ad37caf48c python3-scons: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 9cf6a9c261b3c01402c511a2a9b4a9fda33b6e8e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
d1635ee499 python3-ruemel-yaml: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

Also remove the redundant RUAMEL_NO_PIP_INSTALL_CHECK assignment, this
is checked by setup.py which is no longer ran.

(From OE-Core rev: eb7519a542e207911a0419c79cb3aa1d08e3e742)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
e4b91b2939 python3-pyelftools: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: b0bd0940fc776914614b8a442f32b1661db0361f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
06b4475c5e python3-pycryptodome(x): use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: a32fa3e64d1daf5846c29403e9f258aea42212d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
ee2ded1edf python3-psutil: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 3baeb5da732f9320264a8eb4fcc3e026311da06e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
58f4e9e4d7 python3-cffi: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: efabc00ca509b6e2f154248e7de7f6ae8babf412)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
10536a1c44 python3-beartype: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: 6eec9c50f72e016a6a14616ef4eb00a367196b88)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
eb6f55cae6 python3-pyasn1: use python_setuptools_build_meta build class
This package can be built using pep517 classes now.

(From OE-Core rev: b12da0cbaf8d738a8c12cd939f705e65b2e5d41a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
14d584b997 python3-pyasn1: merge bb/inc
As there's just a single user of the include, merge them.

(From OE-Core rev: 9f88173917abdaa7334f28473a072186854ef999)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
c0c4bc2542 python3-pathspec: use python_flit_core
This package can be built using pep517 classes now.

(From OE-Core rev: 768cce9388520453ed161a1af3444ab45db6ec8c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
455afd564e python3-importlib-metadata: remove obsolete dependencies
As we have Python 3.11+, tomllib will be used instead of python3-toml.

Use of pathlib2 was removed in 3.0.0.

(From OE-Core rev: 1d3004a1e3a1c06e10b5b3c0a912a063c218e553)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
347e966d5a python3-zipp: remove obsolete dependencies
As we have Python 3.11+, tomllib will be used instead of toml.

more-itertools is only used by the tests, which we don't package.

(From OE-Core rev: fe99df9f6389f4cf0b433872305d9c34d09078b3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
39abc000ed python3-setuptools-scm: remove obsolete python3-tomli dependency
As we have Python 3.11+, tomllib will be used.

(From OE-Core rev: 524929e379f902a335aeda07dd08f026f88fc1e5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
0a13d71aff python3-setuptools-rust: remove obsolete python3-toml dependency
As we have Python 3.11+, tomllib will be used.

(From OE-Core rev: 173fe8059cc7637c5ef2bd8a1e9448092705335a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
4ffb0e69eb python3-jinja2: remove obsolete python3-toml dependency
As we have Python 3.11+, tomllib will be used.

(From OE-Core rev: d1ce0b4d40c5ac598564873d892c7be74ea2528b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
af87fe9e55 gi-docgen: remove obsolete python3-toml dependency
As we have Python 3.11+, tomllib will be used.

(From OE-Core rev: f70280e907b4a71ee13bd782c682c8cee162002c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
c8e2693c34 python3-scons: remove obsolete RDEPENDS
scons doesn't appear to have ever imported importlib_metadata.

(From OE-Core rev: 371117c5e19a2039a4ffd006994fd605f1d36ece)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
d9b0a530db python3-pluggy: clean up RDEPENDS
importlib-metadata is no longer needed since 0.13.0.

more-itertools has never been imported directly by pluggy but was likely
a dependency coming via more-itertools.

(From OE-Core rev: baec92933973ca49755e10f56de154dc2f80b7f0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
80b2488082 python3-jsonschema: remove obsolete RDEPENDS
The backport of importlib-metadata is no longer needed as we have Python
3.8+.

(From OE-Core rev: 7346481c1ec31366ca5aacaa79c377ef3fd2baa2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:40 +01:00
Ross Burton
65d4f15ad6 python3-beartype: add missing RDEPENDS
These parts of the standard library are imported by beartype.

(From OE-Core rev: b373c01661df245c34073acb6c962a5f6fee94de)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
2aada38f28 python3-websockets: remove unused imports
These modules are not imported by websockets.

(From OE-Core rev: 8fdfd92e493e89ac2f09ef29ea2b05696cec91cb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
bd4c0ce737 python3-chardet: remove pytest-runner DEPENDS
This was removed in 4.0.0[1]

[1] 6a59c4b192

(From OE-Core rev: 55b49e9827f5522893c14935c7a3bd249c883fee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
ad0186d95b pytest-runner: remove python3-py dependency
It appears that this package has never required the `py` module.

(From OE-Core rev: 98e07bf4824059c2efd8778969398cfe102d2ac7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
758350b71c python3-poetry-core: remove python3-pathlib2 dependency
Poetry 1.1.0 removed pathlib2 from the dependencies entirely, and before
then it was only needed with Python 2.

(From OE-Core rev: 6b981b6fe196b6ea4a4b966149f2954ddd047903)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
bb8fd7415f python3-setuptools: RDEPEND on python3-unixadmin
setuptools/command/register.py uses the getpass module.

(From OE-Core rev: dad84da56ab3e7342dcdb497375212bb4d1dc131)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
d4f05aaff5 python3-jsonschema: rename nongpl PACKAGECONFIG
To make it clear that this is an alternative to the format PACKAGECONFIG,
rename it to format-nongpl.

(From OE-Core rev: 56eaa1c074282774c5cf7dc2f8a4b3c4eac4179c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Ross Burton
14e487aad9 python3: add dependency on -compression to -core
importlib.metadata is part of -core, but that will import zipfile which
is part of -compression.

Obviously this shows that our packaging of the Python modules is not
optimal.  I plan to follow up with a redesign of the splitting which
focuses on simply pulling out the larger or esoteric modules and
having a more featureful core.

(From OE-Core rev: 0f8d985b290def1fbb356aede152a10424c9d2f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 22:51:39 +01:00
Richard Purdie
1665084fc4 pseudo: Fix to work with glibc 2.40
glibc 2.40 renames some internal header variables. Update our hack to
work with the new version. These kinds of problems illustrate we need to
address the issue properly.

(From OE-Core rev: 35021d650de3eecc3f42000181b39a5db5a8eaa0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 09:34:26 +01:00
Michael Halstead
1e613275a6 yocto-uninative: Update to 4.6 for glibc 2.40
(From OE-Core rev: b29bfd333dffe635ab67475dcd8d22ad8b114c84)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-24 09:34:26 +01:00
Ross Burton
09efffa6a9 Revert "python3: drop deterministic_imports.patch"
There are still issues with importlib.metadata and empty directories,
which surface when doing builds with existing build trees.

I've raised this on the upstream ticket that Alex Kanavin has already
filed[1] so hopefully we can have a resolution soon.

This reverts commit 058c3a6e2b.

[1] https://github.com/python/importlib_metadata/issues/489

(From OE-Core rev: 020c9438fa4d90824dcf7068ccf3722b3b7b8ccf)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 12:45:22 +01:00
Gassner, Tobias.ext
a22bdf729a rootfs: Ensure run-postinsts is not uninstalled for read-only-rootfs-delayed-postinsts
This patch ensures that pkg_postinst_ontarget task is executed for read only rootfs when
read-only-rootfs-delayed-postinsts is set as IMAGE_FEATURES. The issue was that run-postinsts
could be uninstalled at the end of rootfs construction and that shouldn't happen for
the delayed usecase.

In addition to the fix, a test in meta/lib/oeqa/selftest/cases/overlayfs.py testing
the fix has been implemented.

(From OE-Core rev: 60f587475dda99eaa07848880058b69286b8900e)

Signed-off-by: Gassner, Tobias.ext <tobias.gassner.ext@karlstorz.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:54:37 +01:00
Niko Mauno
a278540fc1 systemd: Mitigate /var/tmp type mismatch issue
The base-files recipe provides /var/tmp -> /var/volatile/tmp symlink
which is in conflict with systemd upstream tmpfiles.d/tmp.conf which
defines it as a directory (or subvolume on btrfs).

This generates following error in journal:

  Jul 03 15:37:21 qemux86-64 systemd-tmpfiles[158]: "/var/tmp" already exists and is not a directory.

Mitigate the issue by defining /var/tmp as symlink corresponding to
the one created by base-files.

(From OE-Core rev: 1f1f6f45e3cfe24dfee8a09d01a5d32f3080e381)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:54:37 +01:00
Jose Quaresma
d954ed621f oeqa/runtime/scp: requires openssh-sftp-server
The SCP protocol was deprecated in favor of the SFTP.
For the legacy SCP protocol scp should be run with "-O".
Instead of adding "-O" on the scp_options ssh oeqa we can
require the openssh-sftp-server to be instaled on the target.

This way the test will work more deterministic regardless of
the host machine client used.
For the old fashion clients still using legacy SCP protocol
the openssh-sshd server will be used, for the new ones using
the SFTP the openssh-sftp-server will be picked.

(From OE-Core rev: 2f43da91ba20d18bc419bca7651bb383a51f20af)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:54:37 +01:00
Richard Purdie
bc99afabef time64.inc: Add warnings exclusion for known toolchain problems for now
Fixing our infrastructure to show warnings for nativesdk packages resulted
in some issues with 32 bit toolchains and 32 bit time becoming clear.

For now, add INSANE_SKIP entries for these which effectively documents
the issue and allows us to at least start running the tests in the
infrastructure.

Over time we will need to try and fix these if upstream doesn't.

(From OE-Core rev: d05fa366ebbf8017f5f5fae0b1bc8502ada3ab79)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Wadim Egorov
7a824eded5 watchdog: Set watchdog_module in default config
systemd started to warn about used but unset environment variables.
Let us set watchdog_module=none which is used by the watchdog.service to get
rid of the following warning:

  watchdog.service: Referenced but unset environment variable evaluates to an empty string: watchdog_module

(From OE-Core rev: 8f1dc796c7298373e61d806e63bc121128c1c27c)

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Martin Jansa
9cb954884b kernel.bbclass: add original package name to RPROVIDES for -image and -base
* -image and -base change PKG to:
  PKG:${KERNEL_PACKAGE_NAME}-image = "${KERNEL_PACKAGE_NAME}-image-${@legitimize_package_name(d.getVar(KERNEL_VERSION))}"
  PKG:${KERNEL_PACKAGE_NAME}-base = "${KERNEL_PACKAGE_NAME}-${@legitimize_package_name(d.getVar(KERNEL_VERSION))}"

* but only when debian.bbclass is inheritted they add the original package name into RPROVIDES by:
  https://git.openembedded.org/openembedded-core/commit/?id=3409c4379559afbb1d1d29045582995147a33bbc

* fixes the build if some packagegroup or something RDEPENDS on kernel-image or kernel-base
  and the DISTRO doesn't inherit debian.bbclass

* as shown in pkgdata:
  linux-raspberrypi $ egrep "^(PKG:)|(RPRO)" 6.6.36+git-*/pkgdata/runtime/kernel-image
  6.6.36+git-debian/pkgdata/runtime/kernel-image:RPROVIDES:kernel-image:  kernel-image (=6.6.36+git@PRSERV_PV_AUTOINC@+733366844f_769634f344)
  6.6.36+git-debian/pkgdata/runtime/kernel-image:PKG:kernel-image: kernel-image-6.6.36-v8
  6.6.36+git-without-debian/pkgdata/runtime/kernel-image:PKG:kernel-image: kernel-image-6.6.36-v8

  linux-raspberrypi $ egrep "^(PKG:)|(RPRO)" 6.6.36+git-*/pkgdata/runtime/kernel-image-image
  6.6.36+git-debian/pkgdata/runtime/kernel-image-image:RPROVIDES:kernel-image-image:  kernel-image-image (=6.6.36+git@PRSERV_PV_AUTOINC@+733366844f_769634f344)
  6.6.36+git-debian/pkgdata/runtime/kernel-image-image:PKG:kernel-image-image: kernel-image-image-6.6.36-v8
  6.6.36+git-without-debian/pkgdata/runtime/kernel-image-image:PKG:kernel-image-image: kernel-image-image-6.6.36-v8

(From OE-Core rev: 05498781657a3f8b38b000f91594ecd78850ce47)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Deepthi Hemraj
1824704054 binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.
29ae8b8ea71 x86-64: Skip -z mark-plt tests on MUSL
92cc764e58f hppa: Fix handling of relocations that apply to data
c439c1e1f56 elf: Add glibc version dependency only if needed
68ae8e2a849 ld: pass -g for ld-elf tests
a1e3cb45c67 aarch64: Enable +cssc for armv8.9-a

(From OE-Core rev: f857a88f7b3c3e50d0c3135bc461beae8ebf5e5c)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Guðni Már Gilbert
6f19b5418a gobject-introspection: split tools and giscanner into a separate package
The tools and giscanner require python3-setuptools at runtime. This increases
the image size quite a bit (on my end ~1.7MB compressed). Most users don't need
these tools in the final image so make them optional.

This commit introduces a new packcage gobject-introspection-tools

(From OE-Core rev: 57a5dfd3785c75863a9e366be656d50d98ddb4bd)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Marcus Folkesson
d045fed31a bootimg-partition: break out code to a common library.
Break out the code that parse IMAGE_BOOT_FILES to a common library.

(From OE-Core rev: 1e07fe51bdb24070308c85e83df0b80ab9f83cea)

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Reviewed-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-23 11:17:11 +01:00
Khem Raj
28fd497a26 glibc: Remove redundant configure option --disable-werror
This is applied unconditionally few lines above

(From OE-Core rev: e9c6dcbe0e93f943ee622ee88d30ce0eb3dd3329)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Khem Raj
ece2f57685 glibc: Upgrade to 2.40
Major new features:

* The <stdbit.h> header type-generic macros have been changed when using
  GCC 14.1 or later to use __builtin_stdc_bit_ceil etc. built-in functions
  in order to support unsigned __int128 and/or unsigned _BitInt(N) operands
  with arbitrary precisions when supported by the target.

* The GNU C Library now supports a feature test macro _ISOC23_SOURCE to
  enable features from the ISO C23 standard.  Only some features from
  this standard are supported by the GNU C Library.  The older name
  _ISOC2X_SOURCE is still supported.  Features from C23 are also enabled
  by _GNU_SOURCE, or by compiling with the GCC options -std=c23,
  -std=gnu23, -std=c2x or -std=gnu2x.

* The following ISO C23 function families (introduced in TS
  18661-4:2015) are now supported in <math.h>.  Each family includes
  functions for float, double, long double, _FloatN and _FloatNx, and a
  type-generic macro in <tgmath.h>.

  - Exponential functions: exp2m1, exp10m1.

  - Logarithmic functions: log2p1, log10p1, logp1.

* A new tunable, glibc.rtld.enable_secure, can be used to run a program
  as if it were a setuid process. This is currently a testing tool to allow
  more extensive verification tests for AT_SECURE programs and not meant to
  be a security feature.

* On Linux, the epoll header was updated to include epoll ioctl definitions
  and the related structure added in Linux kernel 6.9.

* The fortify functionality has been significantly enhanced for building
  programs with clang against the GNU C Library.

* Many functions have been added to the vector library for aarch64:
    acosh, asinh, atanh, cbrt, cosh, erf, erfc, hypot, pow, sinh, tanh

* On x86, memset can now use non-temporal stores to improve the performance
  of large writes. This behaviour is controlled by a new tunable
  x86_memset_non_temporal_threshold.

Deprecated and removed features, and other changes affecting compatibility:

* Architectures which use a 32-bit seconds-since-epoch field in struct
  lastlog, struct utmp, struct utmpx (such as i386, powerpc64le, rv32,
  rv64, x86-64) switched from a signed to an unsigned type for that
  field.  This allows these fields to store timestamps beyond the year
  2038, until the year 2106.  Please note that applications are still
  expected to migrate off the interfaces declared in <utmp.h> and
  <utmpx.h> (except for login_tty) due to locking and session management
  problems.

* __rseq_size now denotes the size of the active rseq area (20 bytes
  initially), not the size of struct rseq (32 bytes initially).

(From OE-Core rev: 4dd98c39204c1bfdf54b10ec72c3003118ac1dba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Adrian Freihofer
a1b494e651 pybootchartgui.py: python 3.12+ regexes
$ ./scripts/pybootchartgui/pybootchartgui.py
./scripts/pybootchartgui/pybootchartgui/parsing.py:460: SyntaxWarning: invalid escape sequence '\d'
  disk_regex_re = re.compile ('^([hsv]d.|mtdblock\d|mmcblk\d|cciss/c\d+d\d+.*)$')
./scripts/pybootchartgui/pybootchartgui/parsing.py:597: SyntaxWarning: invalid escape sequence '\['
  timestamp_re = re.compile ("^\[\s*(\d+\.\d+)\s*]\s+(.*)$")
./scripts/pybootchartgui/pybootchartgui/parsing.py:598: SyntaxWarning: invalid escape sequence '\S'
  split_re = re.compile ("^(\S+)\s+([\S\+_-]+) (.*)$")
./scripts/pybootchartgui/pybootchartgui/parsing.py:643: SyntaxWarning: invalid escape sequence '\@'
  p = re.match ("\@ (\d+)", rest)
./scripts/pybootchartgui/pybootchartgui/draw.py:799: SyntaxWarning: invalid escape sequence '\s'
  ('system.cpu', 'CPU', lambda s: re.sub('model name\s*:\s*', '', s, 1)),

(From OE-Core rev: 0d94c22dd8d6c5655c2237ae740e8d9bb2adc751)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Mark Hatle
4462724cab selftest-hardlink: Add additional test cases
Additional test cases for debug symlink generation both binaries
and static libraries.

This also has the side effect of testing for race conditions in the
hardlink debug generation and stripping.

(From OE-Core rev: 7171f41c07a39a7543bb64f075d38b8e74563089)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Mark Hatle
fa894486a9 package.py: Fix static library processing
When PACKAGE_STRIP_STATIC is enabled the system did not pay attention to
hardlinks.  This could trigger a race condition during stripping of static
libraries where multiple strips (through hardlinks) could run at the same
time triggering a truncated or modified file error.

The hardlink breaking code is based on the existing code for elf files, but
due to the nature of the symlinks needed to be done in a separate block of
code.

Add support for static-library debugfs hardlinking through the existing
inode processing code.

Print a note to the logs if the link target can't be found.  This isn't
strictly an error, but may be useful for debugging an issue where a file
isn't present.

(From OE-Core rev: ff371d69f60a1529ed456acb7d8e9305242e74bd)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Alexander Kanavin
15e5193e9f devtool/upgrade: use PN instead of BPN for naming newly created upgraded recipes
BPN isn't correct, as it is set to 'cmake' when 'cmake-native' is being upgraded
(or libva for libva-initial etc.)

(From OE-Core rev: e634316547f86ce5662fa4899440a5af1047d494)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Alexander Kanavin
3d98aafc43 recipeutils/get_recipe_upgrade_status: group recipes when they need to be upgraded together
This will allow 'lockstep upgrades' of such recipes, improving success
rates in automated version updating process.

devtool check-upgrade-status now prints:

These recipes need to be upgraded together {
glib-2.0                  2.80.2          2.80.4          Anuj Mittal <anuj.mittal@intel.com>
glib-2.0-initial          2.80.2          2.80.4          Anuj Mittal <anuj.mittal@intel.com>
}
These recipes need to be upgraded together {
util-linux                2.39.3          2.40.2          Chen Qi <Qi.Chen@windriver.com>
util-linux-libuuid        2.39.3          2.40.2          Chen Qi <Qi.Chen@windriver.com>
}
These recipes need to be upgraded together {
cmake                     3.29.3          3.30.0          Unassigned <unassigned@yoctoproject.org>
cmake-native              3.29.3          3.30.0          Unassigned <unassigned@yoctoproject.org>
}

etc.

(From OE-Core rev: 7874aea5c62be3e8dbd19e04fce5389c5ed7aab6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Alexander Kanavin
bd18497110 lib/recipeutils: add a function to determine recipes with shared include files
This functionality is needed for 'lockstep version upgrades' where several
recipes need to be upgraded at the same time to produce a buildable
outcome.

The function itself obtains BBINCLUDED for each recipe and then massages
the data until it takes the form of a list of sets:

[{'cmake','cmake-native'},
 {'qemu','qemu-native','qemu-system-native'},
... ]

There's also a selftest that checks for the above.

Unfortunately this won't detect mutually exclusive recipes like mesa and mesa-gl
as they're chosen with PREFERRED_PROVIDER and can't be enabled in the same build
at the same time. ('devtool upgrade' will also accept just one of them but not the other)

(From OE-Core rev: 2400920f8b84cca9d6c1f6a2e850630554fe00fa)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Alexander Kanavin
597b87a468 lib/oe/recipeutils: return a dict in get_recipe_upgrade_status() instead of a tuple
Putting various things in a tuple is an anti-pattern of sorts, as the consumers
have to unpack it into local variables for readability, or access items directly
with indexes, which makes code pretty much unreadable.

(From OE-Core rev: e86aa26d209eb9809198f6dd40cd058366318e3d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-22 16:53:06 +01:00
Mark Hatle
def276f0c4 package.py: Fix static debuginfo split
Fix:
  NameError: name 'shutil' is not defined

(From OE-Core rev: 13bdd750ae54d57a5f459e4b7d8636c864978241)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:09:29 +01:00
Guðni Már Gilbert
4e4715175e python3-attrs: drop python3-ctypes from RDEPENDS
python3-ctypes was dropped as a dependency in v19.2.0

(From OE-Core rev: 8d06116caf2382ad4782b9b2da50534d076a736d)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Simone Weiß
c64e1b0dc5 gnutls: upgrade 3.8.5 -> 3.8.6
Changelog:
** libgnutls: PBMAC1 is now supported as a MAC mechanism for PKCS#12
   To be compliant with FIPS 140-3, PKCS#12 files with MAC based on
   PBKDF2 (PBMAC1) is now supported, according to the specification
   proposed in draft-ietf-lamps-pkcs12-pbmac1.

** libgnutls: SHA3 extendable output functions (XOF) are now supported
   SHA3 XOF, SHAKE128 and SHAKE256, are now usable through a new
   public API gnutls_hash_squeeze.

** API and ABI modifications:
gnutls_pkcs12_generate_mac3: New function
gnutls_pkcs12_flags_t: New enum
gnutls_hash_squeeze: New function

(From OE-Core rev: 61e7888c8e31ac2adee9eb75ee2393125ef9b433)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Yi Zhao
83e68a5f47 util-linux: install lastlog2 volatile file
Install lastlog2 volatile file to create /var/lib/lastlog directory to
fix runtime error:

$ lastlog2
lastlog2: Couldn't read entries for all users
lastlog2: Cannot open database (/var/lib/lastlog/lastlog2.db): unable to open database file

(From OE-Core rev: 0b651441363a6195a8d025f8010728bc42ae2ee5)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Dmitry Baryshkov
85dfbc15c8 lib/spdx30_tasks: improve error message
Improve 'unknown status' error message by including the CVE id and by
quoting status field. Otherwise it might be troublesome to understand
messages like 'do_create_spdx: Unknown CVE status ' (the status was
empty).

(From OE-Core rev: 45f64e69a63b544d560e2e5eb05a6e1f058c4da1)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Dmitry Baryshkov
773ea7ab0d xserver-xorg: fix CVE-2023-5574 status
If XvFB is enabled, the CVE_STATUS for CVE-2023-5574 should be
'unpatched' rather than the empty string. Otherwise SDPX checker
complains:

xserver-xorg-2_21.1.13-r0 do_create_spdx: Unknown CVE status

(From OE-Core rev: 0ec5dcbdd7c922df25ce90b04902d9c7c749a8c0)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Deepthi Hemraj
c6a7695258 glibc: stable 2.39 branch updates.
Below commits on glibc-2.39 stable branch are updated.
e8f5217097 Linux: Make __rseq_size useful for feature detection (bug 31965)
143a7a0623 elf: Make dl-rseq-symbols Linux only
1062ebbd19 nptl: fix potential merge of __rseq_* relro symbols
5c46e6b666 s390x: Fix segfault in wcsncmp [BZ #31934]
a036311246 stdlib: fix arc4random fallback to /dev/urandom (BZ 31612)
d2cbfcf1d9 math: Provide missing math symbols on libc.a (BZ 31781)
d473c9bb3b math: Fix isnanf128 static build (BZ 31774)
3950cbd7a1 math: Fix i386 and m68k exp10 on static build (BZ 31775)
6cb25aff85 math: Fix i386 and m68k fmod/fmodf on static build (BZ 31488)
74630b1bb7 posix: Fix pidfd_spawn/pidfd_spawnp leak if execve fails (BZ 31695)
7f9f25f255 Linux: Include <dl-symbol-redir-ifunc.h> in dl-sysdep.c
198632a05f NEWS: update list of fixed CVEs in 2.39
77bb3c7154 NEWS: update list of fixed bugs in 2.39
f05638731e x86: Properly set x86 minimum ISA level [BZ #31883]
b7f5b0a711 x86: Properly set MINIMUM_X86_ISA_LEVEL for i386 [BZ #31867]
e1d0040a6d localedata: ssy_ER: Fix syntax error
9de9cd17e7 malloc: New test to check malloc alternate path using memory obstruction
a2da98aa2a malloc: Improve aligned_alloc and calloc test coverage.
305ee48826 malloc/Makefile: Split and sort tests
00899eba26 x86/cet: fix shadow stack test scripts
6ade91c211 elf: Avoid some free (NULL) calls in _dl_update_slotinfo
70f560fc22 misc: Add support for Linux uio.h RWF_NOAPPEND flag
c9d8534406 i386: Disable Intel Xeon Phi tests for GCC 15 and above (BZ 31782)
aee37de299 Reinstate generic features-time64.h
dd535f4f19 Always define __USE_TIME_BITS64 when 64 bit time_t is used
26e7005728 socket: Use may_alias on sockaddr structs (bug 19622)
9f2b100d67 parse_fdinfo: Don't advance pointer twice [BZ #31798]

(From OE-Core rev: 95fd926a23d20bcbf5ffe1e91df60dadc77481b4)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
0a6c30c637 pango: upgrade 1.52.2 -> 1.54.0
Upstream has removed installable tests, although there is pressure to
bring them back[1].

- Build fixes
- Memory leak fixes
- Drop the install-tests build option
- Add build-examples and build-tests build options
- Require meson 0.63
- Add pango_item_get_char_offset
- Update to Unicode 15.1
- Fix wrong use of GWeakRef, leading to crashes

[1] https://gitlab.gnome.org/GNOME/pango/-/issues/799

(From OE-Core rev: 228c4275df766d97250cbfa0a2c1254e704c07c7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
f8a5d23dd6 gtk+3: upgrade 3.24.42 -> 3.24.43
* Stop looking for modules in cwd (CVE-2024-6655)

(From OE-Core rev: a0a1b4b8992cb3ef7acd72f0de69a0a4bafb9e20)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
bea8a284b1 ruby: upgrade 3.3.0 -> 3.3.4
3.3.4:

This release fixes a regression in Ruby 3.3.3 that dependencies are missing in
the gemspec of some bundled gems: net-pop, net-ftp, net-imap, and prime [Bug
like Heroku. If your bundle install runs correctly now, you may not have this
issue.

3.3.3:

This release includes:

RubyGems 3.5.11
Bundler 2.5.11
REXML 3.2.8
strscan 3.0.9
--dump=prism_parsetree is replaced by --parser=prism --dump=parsetree
Invalid encoding symbols raise SyntaxError instead of EncodingError
Memory leak fix in Ripper parsing
Bugfixes for YJIT, **{}, Ripper.tokenize, RubyVM::InstructionSequence#to_binary,
--with-gmp, and some build environments

3.3.2:

This release includes many bug-fixes. See the GitHub releases for further details.

3.3.1:

This release includes security fixes. Please check the topics below for details.

CVE-2024-27282: Arbitrary memory address read vulnerability with Regex search
CVE-2024-27281: RCE vulnerability with .rdoc_options in RDoc
CVE-2024-27280: Buffer overread vulnerability in StringIO

(From OE-Core rev: 498ee932187b9c09d14892783eb92ae03fbfd533)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
bc60068577 ofono: upgrade 2.8 -> 2.9
* Add support for QRTR based devices (MHI bus and SoC).

(From OE-Core rev: 5f8024cf45f4b8dbaf1134d61c3ba73075dde23f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Ross Burton
1a3d89796b ell: upgrade 0.66 -> 0.67
* Add support for handling sysctl char settings.

(From OE-Core rev: a3c246763bdf5bab48d2856cad19376dc23bf6d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-21 11:08:11 +01:00
Martin Jansa
d4b5a24c2e gstreamer1.0-plugins-bad: add PACKAGECONFIG for gtk3
* gtkwaylandsink was added in 1.21.1 version:
  https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1515

* gtk3+ could be autodetected (e.g. as transitive dependency from opencv)

(From OE-Core rev: a5e3d39ceb75fa78bdfbdca7da34a481e02f4eda)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-19 17:51:00 +01:00
Sundeep KOKKONDA
dcf7eeec1e oeqa/selftest/reproducibile: rename of reproducible directories
We do see a few reproducible issues are depending on the path length of the build directory.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15554

The current implementation of reproducible tests having different names for directories but with same length.
The build directory names are changed to have different length.

(From OE-Core rev: 2466ed34a8e5afd8b6f83173316821b78edf954b)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-19 17:51:00 +01:00
Ross Burton
7621286640 openssl: rewrite ptest installation
Rewrite (again) the openssl test suite installation.

Depend on and reuse already installed libraries and modules instead of
installing them twice.

Be more selective when installing from the build tree so we don't install
intermediate .c .d .o files.

This further reduces the size of openssl-dbg from ~120MB to ~18MB.

(From OE-Core rev: 8baa0ce7eae65026cb3a784adaf3a4fc724ce9c9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-19 17:51:00 +01:00
Ross Burton
45c7150b91 openssl: strip the test suite
The test suite is huge because every test binary is statically linked to
libssl and/or libcrypto. This bloats the size of the -dbg package hugely,
so strip the test suite before packaging.

This reduces the size of openssl-dbg by 90% from ~1.2GB to ~120MB, and
reduces the size of the build tree from ~1.9GB to ~800MB.

(From OE-Core rev: 92f09a4269e45e09643a7e7aafd2811cfd47cb68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-19 17:51:00 +01:00
Richard Purdie
aca8acceb8 poky: Enable yocto-space-optimize.inc
Switch poky to use the recently added include file which reduces the build
disk footprint, sstate object size and speeds the build slightly.

(From meta-yocto rev: 72c660865c29bf749dd5d9f632b227c97c454dae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:22:22 +01:00
Richard Purdie
46e30464b4 qemu: Drop mips workaround
In local testing this appears to not be needed any more. Since the bash dependency
is painful in many different ways, particularly being injected at do_package time,
drop it all.

(From OE-Core rev: b30c1e5805b3f108a2d0a30259b50b9e7db0f6cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Ricardo Simoes
cf648b0d28 volatile-binds: Remove workdir if OverlayFS fails
To fulfill OverlayFS workdir requirements, the mount-copybind script
creates a workdir. But if the mount operation fails for any reason,
the workdir is left there.

Then, subsequent runs of mount-copybind will again try to
create the directory and pollute system logs with failed mkdir error
messages.

This commit mitigates the problem by unconditionally removing workdir
if the OverlayFS is not used or fails to run.

(From OE-Core rev: 7872edbb33024fc710ac683eaef5635b89a1b994)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Ricardo Simoes
c32490b139 volatile-binds: Do not create workdir if OverlayFS is disabled
When the mountpoint parameter is a directory, the mount-copybind will
first try to use OverlayFS. Because of that, it needs to create the
OverlayFS workdir (determined by the overlay_workdir).

But if the environment variable MOUNT_COPYBIND_AVOID_OVERLAYFS is set
to "1", the script uses bind mount. In that case, the overlay_workdir
is useless, leaving the spec parent directory in a dirty state.

This commit changes mount-copybind so that the overlay_workdir is only
created when MOUNT_COPYBIND_AVOID_OVERLAYFS is not set to 1.

(From OE-Core rev: 323765607f262b5fea0f19e8a05aeffe5076235a)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Trevor Gamblin
18225f0bae python3-setuptools: upgrade 69.5.1 -> 70.3.0
Refactor 0001-_distutils-sysconfig.py-make-it-possible-to-substite.patch
to apply on the latest codebase.

Changelog: https://github.com/pypa/setuptools/blob/main/NEWS.rst

(From OE-Core rev: 8af6ba2a0a10f8d8995aab322d9f4cfbf1880228)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Peter Kjellerstedt
8dbeec7e04 systemd: Move the MIME file to a separate package
The systemd-mime package is added as a recommendation for systemd so
that it is installed by default, but can be excluded, e.g., via
BAD_RECOMMENDATIONS. Excluding it avoids pulling in the MIME database
for products that have no use for it.

(From OE-Core rev: 5560243137f772683e53b614f134dd632b62be8b)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Peter Kjellerstedt
67f3f2edd3 systemd: Correct the indentation in do_install()
There was a mix of using tabs and spaces for indentation.

(From OE-Core rev: e0442c791578c55c7f198ae389cb820a7bf437d5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
e66e9d255d systemd: Replace deprecate udevadm command
In postinstall we run this script on target
these days systemd-hwdb is recommended

Fixes
...
Configuring udev-hwdb.
udevadm hwdb is deprecated. Use systemd-hwdb instead.

(From OE-Core rev: 16f3eba7f5097976a53e3ffabd3723d889df56e6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Denys Dmytriyenko
89e184da6c nativesdk-libtool: sanitize the script, remove buildpaths
Use the same sed command to sanitize libtool script for target recipe
and nativesdk one. Otherwise fails with buildpaths QA error:

ERROR: nativesdk-libtool-2.5.0-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/libtool in package nativesdk-libtool contains reference to TMPDIR [buildpaths]

(From OE-Core rev: f08df9adf290fb6cbebff24df6bbbbe8e5ce95e0)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Richard Purdie
fdcaf1cce9 oeqa/postactions: Separate artefact collection from test result collection
Combining the test result collection and artefact collection hasn't worked out
well as the data has different life cycles, the artefacts can be large and
we need to be able to clean them up on a different timescale.

Separate them out to be controlled by a separate variable, OEQA_ARTEFACT_DIR.
Also rework the code to inject a directory with a date/time and random component
to allow builds to run in parallel. Pass function arguments to avoid re-reading
variables.

(From OE-Core rev: e1cf7e94c3fcbe7dbc29e4286f0e1014b95964a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Richard Purdie
00bb1202d2 testimage: Fix TESTIMAGE_FAILED_QA_ARTIFACTS setting
MCNAME isn't defined outside our mcextend ptest images so use a wildcard in
TESTIMAGE_FAILED_QA_ARTIFACTS instead. This unbreaks the value in other images.

(From OE-Core rev: e7af85a7b7b966685a9eeaba11628dc10c1ea44b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Jose Quaresma
adb27423d5 openssh: systemd sd-notify patch was rejected upstream
Still side effects of the XZ backdoor.

Racional [1]:

License incompatibility and library bloatedness were the reasons.
Given recent events we're never going to take a dependency on libsystemd,
though we might implement the notification protocol ourselves if it isn't too much work.

[1] https://github.com/openssh/openssh-portable/pull/375#issuecomment-2027749729

(From OE-Core rev: c3403bb6254d027356b25ce3f00786e2c4545207)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Dmitry Baryshkov
f5dc573c16 mesa: fix QA warnings caused by freedreno tools
Fix following QA warnings / errors

File /usr/bin/afuc-asm in package mesa-tools contains reference to TMPDIR [buildpaths]
File /usr/bin/afuc-disasm in package mesa-tools contains reference to TMPDIR [buildpaths]

(From OE-Core rev: 9f6e75ea571a04b3433bec7591996646a34fae88)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Guðni Már Gilbert
b5a6692810 bluez5: cleanup redundant backslashes
Noticed in the installation logs a few paths have
double slashes '//'. Doesn't seem to do any harm, though
it is good to clean this up for consistency.

(From OE-Core rev: 36328d68b712c5267613d495c010c26c88d565f4)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Guðni Már Gilbert
24e3efbb32 bluez5: drop modifications to Python shebangs
All the test scripts are by now Python 3 compatible
and the shebangs are consistently set to #!/usr/bin/env python3
since BlueZ 5.73

See:
d31f04aa92

The source code was inspected to confirm there are no more
shebangs which reference 'python' (Python 2)

(From OE-Core rev: 110f14b1b1e9abd8c1b8d52e70d0ceec7eab5025)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Ross Burton
d237e9af27 openssl: disable tests unless ptest is enabled
The upstream Makefile always builds the tests unless they're explicitly
disabled. Whilst this doesn't make a difference to the final package and
sysroot output, disabling the tests for openssl-native reduces the size
of the build tree from 659M to 78M and reduces the CPU time used by 30%.

(From OE-Core rev: dfaf1cba9f30c6b07836fe217e1ebc83bc6aec8a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Kai Kang
776b78ae84 systemd: fix VERSION_TAG related build error
The patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch for
systemd-boot is also required by systemd to resolve VERSION_TAG related build
error.

(From OE-Core rev: dd0100137f5f7bcaea7f665ac08754a682cb2983)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Denys Dmytriyenko
d42166b0de llvm: extend llvm-config reproducibility fix to nativesdk class
It's not limited to "target", but also happens to nativesdk:

ERROR: nativesdk-llvm-18.1.8-r0 do_package_qa: QA Issue: File /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/usr/bin/llvm-config in package nativesdk-llvm contains reference to TMPDIR [buildpaths]

(From OE-Core rev: 714a99a9ba1aff458c1743ad8be9b38ee106b58f)

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Marta Rybczynska
3e5bd11cdf classes/kernel.bbclass: update CVE_PRODUCT
Add linux:linux to CVE_PRODUCT. linux:linux is used by the kernel CNA
in raw CVE entries. We can't use just linux, because of conflicts with
CPE entries of multiple distributions.

(From OE-Core rev: 27404c4ef815f41aac994e9f390776a8bf4f9553)

Signed-off-by: Marta Rybczynska <marta.rybczynska@syslinbit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Ross Burton
e64be51ed5 oeqa/sdk: add out-of-tree kernel module building test
Validate that out-of-tree kernel module building using kernel-devsrc
works as expected.

This test uses cryptodev-linux as a idiomatic out of tree module. As the
latest release doesn't actually build with kernel 6.7+, use the same
commit that our recipe uses.

(From OE-Core rev: 8a1c1054815ecc0302c62134f293b8e1f959798a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Mark Hatle
a798d00d54 create-sdpx-2.2.bbclass: Switch from exists to isfile checking debugsrc
While debugsrc is almost always a file (or link), there are apparently
cases where a directory could be returned from the dwarfsrcfiles
processing.  When this happens, the hashing fails and an error results
when building the SPDX documents.

(From OE-Core rev: 02e262c291c0b2066132b4cb2ca5fda8145284a9)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Changqing Li
23e4ffef11 pixman: update patch for fixing inline failure with -Og
Previous patch works on fedora40 with gcc-14, but not works
on ubuntu2004 with gcc-9. Update the patch to fix the do_compile
failure:
    In function ‘combine_inner’,
        inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1:
    ../pixman-0.42.2/pixman/pixman-combine-float.c:370:5: error: inlining failed in call to ‘always_inline’ ‘combine_soft_light_c’: function not
considered for inlining
      370 |     combine_ ## name ## _c (float sa, float s, float da, float d)

(From OE-Core rev: 5eb77c3e142dd952b5e35647f76fdd420a1f1613)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Jose Quaresma
7b8d63b1e2 openssh: drop rejected patch fixed in 8.6p1 release
The rationale [1] is that C11 6.5.6.9 says:
"""
When two pointers are subtracted, both shall point to elements of the
same array object, or one past the last element of the array object; the
result is the difference of the subscripts of the two array elements.
"""

In these cases the objects are arrays of char so the result is defined,
and we believe that the compiler incorrectly trapping on defined behaviour.

I also found https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63303
("Pointer subtraction is broken when using -fsanitize=undefined") which seems to support this position.

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2608

(From OE-Core rev: cf193ea67ca852e76b19a7997b62f043b1bca8a1)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Richard Purdie
d9066258a1 distro/include: Add yocto-space-optimize, disabling debugging for large components
Add an include file to allow turning off the debug compiler options
for a small set of recipes to reduce build on disk footprint and
package/sstate sizes.

This is currently applied to llvm and qemu target recipes.

The llvm-staticdev package takes up around 1.3GB alone. These three
changes lead to a reduction in TMPDIR size for a world build from
240GB to 199GB, also removing some very large sstate objects.

There is more that could and should be done but this does illustrate
one way to speed up and reduce build size in a focused way whilst we
ideally look into other approaches.

(From OE-Core rev: a0483b962dfbba051de2c0b1acbe268579a81f22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Joshua Watt
431767f069 classes-recipe/multilib_script: Expand before splitting
multilib_script.bbclass was unable to work correctly in the case where
e.g. a PACKAGECONFIG removed the script that it was intended to rename
(as an example, the "trace" PACKAGECONFIG in cairo). The way to fix this
would be to do something like:

 MULTILIB_SCRIPTS = "${@bb.utils.contains('PACKAGECONFIG', 'trace', '${PN}-perf-utils:${bindir}/cairo-trace', '', d)}"

but this is not possible because the variable is not expanded before
being split.

To fix this, change the class to expand the variable before splitting.
There are two cases to be considered that could possibly break:
 1) If the RHS of the ":" contains a ":", which is accounted for by
    limiting the splitting to 1 split, which will leave the ":" in the
    RHS in tact. Of note, this works because ":" isn't valid in a
    package name
 2) If the RHS of the ":" contained whitespace, however this would have
    broken the mv command written to multilibscript_rename(), so this
    isn't occurring in practice.

(From OE-Core rev: b9c992e69f3f44051610386ce4f743e224750694)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
c11d1b5b8f gcc-14: Mark CVE-2023-4039 as fixed in GCC14+
(From OE-Core rev: 47b838eea7e3684d6b00bb7196313f0bfa519aba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
7c45a025ed busybox: Add fix for CVE-2023-42366
(From OE-Core rev: 34ba71151c93d6fb19469555131519dcb820ab3c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
13699cf0f2 busybox: CVE-2023-42364 and CVE-2023-42365 fixes
backport upstream fix for CVEs and fix the regression that introduced [1]

[1] http://lists.busybox.net/pipermail/busybox/2024-May/090766.html

(From OE-Core rev: 91d7580344fe5a15a9bf059dceedab42f7ba3e54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Khem Raj
9bae37cb63 busybox: Fix tc applet build when using kernel 6.8+
We now have 6.9 kernel headers in master which means
busybox builds with CONFIG_TC will fail to build due
to CBQ being dropped in kernel 6.8+

Apply a fix which is reported upstream

(From OE-Core rev: 3afbeb1ea418a69a452e82cbce00c36452b75f1e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-18 17:21:39 +01:00
Richard Purdie
e18d60deb0 build-appliance-image: Update to master head revision
(From OE-Core rev: 758508614541c68dd6a2b7084e07287c71f40a8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 15:58:14 +01:00
Joshua Watt
3f76c3d2c2 Switch default spdx version to 3.0
Changes the default SPDX version to 3.0

(From OE-Core rev: beef4c1a3e9fd8fa9cdbbb61e1bc3931012735b3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 15:00:59 +01:00
Joshua Watt
87c60b9a5a classes/create-spdx-3.0: Move tasks to library
Move the bulk of the python code in the SPDX 3.0 classes into a library
file

(From OE-Core rev: aed6f8c1c2e291bde4d7172742790fa535b2fc7d)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 14:55:53 +01:00
Joshua Watt
9850df1b60 classes/spdx-common: Move to library
Moves the bulk of the code in the spdx-common bbclass into library code

(From OE-Core rev: 3f9b7c7f6b15493b6890031190ca8d1a10f2f384)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 14:55:53 +01:00
Joshua Watt
454008311b selftest: spdx: Add SPDX 3.0 test cases
Adds test cases for SPDX 3.0. Reworks the SPDX 2.2 test setup so it can
also be run even if the default is SPDX 3.0

(From OE-Core rev: b1d2309b3ab0fd8b0d8c4dfa59f50c85074bbd3b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 14:55:53 +01:00
Joshua Watt
8426e027e8 classes/create-spdx-3.0: Add classes
Adds a class to generate SPDX 3.0 output and an image class that is used
when generating images

(From OE-Core rev: b63f6f50458fc6898e4deda5d6739e7bf3639c15)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 14:55:53 +01:00
gudnimg
28c9ac0d4f bluez5: upgrade 5.72 -> 5.77
Changelog:
* https://github.com/bluez/bluez/releases/tag/5.77
* https://github.com/bluez/bluez/releases/tag/5.76
* https://github.com/bluez/bluez/releases/tag/5.75
* https://github.com/bluez/bluez/releases/tag/5.74
* https://github.com/bluez/bluez/releases/tag/5.73

Changes relevant to the build:
* One patch file is dropped.
* /etc/bluetooth is now installed with 555 permission bits when systemd
is not enabled. The do_install function was edited to change it back to
755. This was causing test failure when testing SDK packaging
* Added a few missing PACKAGECONFIGs which are enabled by default.
- asha-profiles: new in BlueZ 5.77
- ccp-profiles: new in BlueZ 5.73
- micp-profiles: new in BlueZ 5.70
- csip-profiles: new in BlueZ 5.67
- bass-profiles: new in BlueZ 5.67
- vcp-profiles: new in BlueZ 5.66
- mcp-profiles: new in BlueZ 5.66
- bap-profiles: new in BlueZ 5.66

(From OE-Core rev: ebbdb7cf5c0a3f0e6773704d4c4cc570358ec611)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Peter Marko
49497a9e46 libstd-rs,rust-cross-canadian: set CVE_PRODUCT to rust
These recipes come from rust sources and CVEs are reported for them
under rust-lang:rust vendor:product touple.
Especially libstd-rs needs correct CVE_PRODUCT as is it installed on
target devices (being statically linked to rust compiled binaries).

before:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="libstd-rs"
rust: CVE_PRODUCT="rust"
rust-cross-canadian: CVE_PRODUCT="rust-cross-canadian-<arch>"
rust-llvm: CVE_PRODUCT="rust-llvm"

after:
cargo: CVE_PRODUCT="cargo"
cargo-c-native: CVE_PRODUCT="cargo-c"
libstd-rs: CVE_PRODUCT="rust"
rust: CVE_PRODUCT="rust"
rust-cross-canadian-x86-64: CVE_PRODUCT="rust"
rust-llvm: CVE_PRODUCT="rust-llvm"

Product for rust-llvm is uncertain and, should be handled in another
commit if it is desired to align it, too.

sqlite> select vendor, product, count(product) from products where vendor="rust-lang" group by product;
rust-lang|async-h1|2
rust-lang|cargo|5
rust-lang|future-utils|2
rust-lang|futures-task|2
rust-lang|mdbook|1
rust-lang|regex|2
rust-lang|rsa|2
rust-lang|rust|45
rust-lang|socket2|1

(From OE-Core rev: e8cf1df16a6ec2785cacaf608bec5cd8496103af)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Yoann Congal
d85a10e498 insane: skip unimplemented-ptest checks if disabled
This avoids searching through ${S} multiple times if unimplemented-ptest
QA check is disabled (the default case).

(From OE-Core rev: 8ee42430a91d13de2b7a53c2ae04aa54bd76fad0)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Trevor Gamblin
15110d50d4 python3-hypothesis: upgrade 6.103.2 -> 6.105.1
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.105.1 - 2024-07-07
- This patch iterates on our experimental support for alternative backends (Alternative backends for Hypothesis). See pull request #4029 for details.

6.105.0 - 2024-07-04
- This release improves support for Django 5.0, and drops support for end-of-life Django versions (< 4.2).
- Thanks to Joshua Munn for this contribution.

6.104.4 - 2024-07-04
- Clean up internal cache implementation.

6.104.3 - 2024-07-04
- This patch updates our autoformatting tools, improving our code style without any API changes.

6.104.2 - 2024-06-29
- This patch fixes an issue when realizing symbolics with our experimental backend setting.

6.104.1 - 2024-06-25
- Improves internal test coverage.

6.104.0 - 2024-06-24
- This release adds strategies for Django’s ModelChoiceField and ModelMultipleChoiceField (issue #4010).
- Thanks to Joshua Munn for this contribution.

6.103.5 - 2024-06-24
- Fixes and reinstates full coverage of internal tests, which was accidentally disabled in pull request #3935.
- Closes issue #4003.

6.103.4 - 2024-06-24
- This release prevents a race condition inside internal cache implementation.

6.103.3 - 2024-06-24
- This patch updates our vendored list of top-level domains, which is used by the provisional domains() strategy.

(From OE-Core rev: 9b0e9fbf23e5ac53f8eda76ca2f9af904f6fa1cd)

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>
2024-07-16 11:56:53 +01:00
Yoann Congal
c45d45422d Revert "insane: skip unimplemented-ptest on S=WORKDIR recipes"
S=WORKDIR is not supported anymore, so the check is now redundant.

This reverts commit 9a2d2f7c2b7236667a6d80355f73db4c27e6582e (in OE-Core).

(From OE-Core rev: 71c4bba0235b4cd45dc88844263e7b3f8ad9f079)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Ross Burton
4e96673ae2 glibc: add task to list exported symbols
When upgrading glibc it's important to know if there are any new symbols
that pseudo needs to wrap. In the future a generalised ABI comparison tool
would be good, but to solve the immediate need we can simply list the
exported symbols to files in WORKDIR.

(From OE-Core rev: 395e057743f04e5ee862d790dcfce026220a2699)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Niko Mauno
504cc9860e systemd: Mitigate /var/log type mismatch issue
When VOLATILE_LOG_DIR evaluates as True, the base-files recipe provides
/var/log -> /var/volatile/log symlink which is in conflict with systemd
upstream tmpfiles.d/var.conf.in which defines it as a directory.

This generates following error in journal:

  Jul 03 14:28:00 qemux86-64 systemd-tmpfiles[165]: "/var/log" already exists and is not a directory.

Mitigate the issue by defining /var/log as symlink corresponding to
the one created by base-files, when appropriate.

(From OE-Core rev: 711ee36e88c8968e3c45ea787b3adcf64352adf9)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:56:53 +01:00
Alexandre Belloni
16aaff7a35 oeqa/selftest/oescripts: pinentry update to 1.3.1
(From OE-Core rev: e1ae9a8c33577b5bf0ff6f50bcf0f32322fcb6de)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:25:29 +01:00
Wang Mingyu
903928c510 wireless-regdb: upgrade 2024.05.08 -> 2024.07.04
(From OE-Core rev: b460d2d55a35450564ea04255153b0a3bf715530)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
f17139fb5c sysstat: upgrade 12.7.5 -> 12.7.6
Changelog:
==========
* sar/sadf: [A_NET_ETCP]: Rename retrans/s field to retrseg/s
  because it was already used in A_NET_NFS report.
* sadf: SVG: Fix oversized SVG canvas height.
* sadf: Don't cap SVG graph output at 100%.
* sadf: A_NET_SOFT: Don't display graphs for offline CPU.
* sadf: SVG: Don't ignore other views when one has to be skipped.
* sadf: Make sure structures will be alloacated for every installed CPU.
* sadf: Define MIN_CANVAS_HEIGHT constant.
* sar: Display min/max values only when available.
* Define macros for CPU manipulation.
* SREALLOC() macro: Make sure size is not zero.
* Fix a warning given by gcc v13 with -fanalyzer option.
* [Eli Schwartz]: configure.ac: fix erroneous bashisms.
* sar manual page updated.
* DTD and XSD documents updated.
* Year updated in copyright messages.
* Other cosmetic changes in code.
* FAQ and README files updated.
* Non regression tests updated. New tests added.

(From OE-Core rev: e3382192725303a9bf55e10fa33379e7b54ed1b2)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
b138d9dde3 repo: upgrade 2.45 -> 2.46
Changelog:
==========
- project: ignore more curl failure modes
- logging: Fix log formatting with colored output
- upload: add a --topic option for setting topic explicitly
- sync: Abort rebase in progress if force-checkout is set
- ssh: Set git protocol version 2 on SSH ControlMaster
- upload: drop check for uncommitted local changes
- git: raise hard version to 1.9.1
- release: update-hooks: helper for automatically syncing hooks
- gitc: delete a few more dead references
- man: regenerate man pages
- Remove platform_utils.realpath
- Fix drive mounted directory on Windows
- git_command: unify soft/hard versions with requirements.json

(From OE-Core rev: 62457b7e3039780fbf6c7822baad96a37c1d224a)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
eb9e4d53b5 python3-trove-classifiers: upgrade 2024.5.22 -> 2024.7.2
Changelog:
 Add CUDA 12.3-12.5 classifiers

(From OE-Core rev: aa628d35d0d4cd6520df422d6623dfe79f7180cf)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
6450cfa9a9 python3-pycairo: upgrade 1.26.0 -> 1.26.1
Changelog:
==========
- Fix Surface.set_mime_data() with Python 3.13
- Fix the test suite with Python 3.13b2.
- Update vendored Windows wheel dependencies

(From OE-Core rev: 26daeaa17a77ff6931126c340fce867f8340cca9)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
18870e2cb3 python3-maturin: upgrade 1.6.0 -> 1.7.0
Changelog:
============
- Initial iOS support
- Remove old import hook in #2105, use maturin-import-hook instead
- Bump MSRV to 1.74.0
- Add support for overriding wheel tag with _PYTHON_HOST_PLATFORM
- Don't add files to an archive more than once
- Only use base python executable when MATURIN_PEP517_USE_BASE_PYTHON is set

(From OE-Core rev: d0c4ce388721a47608abc4d908e266ea969a0161)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
2ffb86f409 python3-importlib-metadata: upgrade 7.1.0 -> 8.0.0
Changelog:
=============
- Message.__getitem__ now raises a KeyError on missing keys.
- Removed deprecated support for Distribution subclasses not implementing
  abstract methods.
- When reading installed files from an egg, use relative_to(walk_up=True) to
  honor files installed outside of the installation root.
- Deferred select imports in for speedup (python/cpython#109829).
- Updated fixtures for python/cpython#120801.

(From OE-Core rev: 6976b87b6eeb8ac406731782170f923c8835b446)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
93412df5b7 python3-hatchling: upgrade 1.24.2 -> 1.25.0
Changelog:
==========
- The macos-max-compat option for the wheel target is now disabled by default
  and will be removed in a future release
- Artifacts for the wheel and sdist targets now have their permission bits
  normalized
- Ignore manylinux/musllinux tags for the wheel target artifact name when
  enabling the infer_tag build data
- The wheel target build data infer_tag when enabled now respects the
  MACOSX_DEPLOYMENT_TARGET environment variable

(From OE-Core rev: 280afa3e5e3157429f8f33f89045cc934bb5e655)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
e5a21719a7 python3-certifi: upgrade 2024.6.2 -> 2024.7.4
Changelog:
==========
- Bump peter-evans/create-pull-request from 6.0.5 to 6.1.0
- Bump actions/checkout from 4.1.6 to 4.1.7
- Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0

(From OE-Core rev: c572b0afd889ea22b5d229a2d7efca9cef9b0926)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
0f5380d5bc pinentry: upgrade 1.3.0 -> 1.3.1
libassuan_pkgconf.patch
refreshed for 1.3.1

Changelog
===========
* qt: Install and use pinentry icon.
* qt: Small fix for Qt5.
* qt: Fix Windows build of Qt6.
* New envvar PINENTRY_KDE_USE_WALLET to enable the secret storage
  integration on KDE.

(From OE-Core rev: 0148bf09253876a015453654202e9f4bfa8772a9)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
119bf8d1e7 opkg-utils: upgrade 0.6.3 -> 0.7.0
0001-opkg-build-remove-numeric-owner-parameter-overzealou.patch
removed since it's included in 0.7.0

(From OE-Core rev: 66b8bb37242c0c1038b9d92a4120ba50ed3ea6af)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
507cc5f96a opkg: upgrade 0.6.3 -> 0.7.0
0001-libopkg-Use-libgen.h-to-provide-basename-API.patch
removed since it's included in 0.7.0

0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch
refreshed for 0.7.0

(From OE-Core rev: ce1ec6ea48df3592a8251bf0c25525a400bb8d23)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
78f30270f3 libsdl2: upgrade 2.30.4 -> 2.30.5
Changelog:
=============
- Respect SDL_HINT_RENDER_DRIVER when creating an accelerated window surface
- Clean up any accelerated renderer in SDL_DestroyWindowSurface()
- Disable low level USB controller support on Android by default
- Fixed USB permissions dialog on Android 14
- Fixed controller mapping matching when one entry has a CRC specified and another doesn't
- Enable joystick support on FreeBSD when building using CMake
- Reduced input latency when using an fcitx IME on Linux
- Fixed graphical corruption on Raspberry Pi
- Fixed crash when using an unstable sort function in SDL_qsort

(From OE-Core rev: a0d89bb5e8b2bdf4e5f876d9dfc9f334613ed8d0)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
a268d37dbe librsvg: upgrade 2.57.3 -> 2.58.1
0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch
refreshed for 2.58.1

Changelog:
- Fix failing test with Pango 1.52.1.

(From OE-Core rev: bd6ea4b879b62ec83164c14a97074b8c7da7f25e)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
a669eca6fc libproxy: upgrade 0.5.6 -> 0.5.7
Changelog:
=============
- Update github actions
- Handle empty ignore settings

(From OE-Core rev: 28963ffa847e85c6d94e6f50798e007ee166b825)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
42162f84b7 libdrm: upgrade 2.4.120 -> 2.4.122
(From OE-Core rev: 5b0b25779ed964428e1994b5a8ef9d8167342562)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
92560651bb libdnf: upgrade 0.73.1 -> 0.73.2
Changelog:
==========
- context: use rpmtsAddReinstallElement() when doing a reinstall
- MergedTransaction: Fix invalid memory access when dropping items
- ConfigParser: fix use-out-of-scope leaks
- Since we use rpmtsAddReinstallElement rpm also uninstalls the package
- Fix countme bucket calculation

(From OE-Core rev: 9cf8330068503a5721640763309c4c74f293a94d)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
a0f61b5e19 libadwaita: upgrade 1.5.1 -> 1.5.2
Changelog:
==========
- AdwAlertDialog
  - Fix unmatched va_start()
  - Fix setting default widget when removing a response
- AdwBreakpointCondition
  - Fix leaks when parsing
- AdwBreakpointBin
  - Fix a leak
- AdwDialog
  - Fix toggling presentation mode
  - Fix close button ignoring :can-close
  - Fix ::close-attempt not emitting in some cases
  - Fix swipe area for bottom sheets
  - Leak fixes
- AdwHeaderBar
  - Fix initial focus for the back button
  - Fix split view links in docs
- AdwMessageDialog
  - Fix unmatched va_start()
- AdwSpinRow
  - Fix ::input handling
- AdwTabButton
  - Fix needs-attention badge on RTL
- AdwTabView
  - Accessibility fixes
- AdwViewStack
  - Accessibility fixes
- Translation updates
  - Nepali

(From OE-Core rev: 25b8f5059061bf52257117ba7d54031a31388fb1)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
542bc162e6 harfbuzz: upgrade 8.5.0 -> 9.0.0
Changelog:
============
- HarfBuzz now the supports the proposed new OpenType "VARC" table. This
  replaces the previously supported "Variable Composites" experimental feature.
  "VARC" support is still experimental and it is not enabled unless HarfBuzz is
  built with experimental APIs enabled:
  https://github.com/harfbuzz/boring-expansion-spec/blob/main/VARC.md
- Autotools build system have been dropped. Meson is the only supported build
  system in HarfBuzz going forward.
- Speed up "AAT" shaping for short words by up to 4%.
- Ignore unknown "CFF" operators.
- "hb_subset_input_keep_everything()" now keeps also non-unicode "name" table
  records.
- Update the IANA and OpenType language tag registries.
- Support composite glyphs with very large number of points in hb-draw API.
- Various build fixes.

(From OE-Core rev: fa4238df038d5890dacfa1611c56e5bb399828bb)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
9ebc31e361 gstreamer: upgrade 1.24.4 -> 1.24.5
0001-uvcgadget-Use-g_path_get_basename-instead-of-libc-ba.patch
0002-tests-add-support-for-install-the-tests.patch
refreshed for 1.24.5

Changelog:
 https://gstreamer.freedesktop.org/releases/1.24

(From OE-Core rev: ff2a4c61df810cfb8c3378e83ae19fc3fc642bfb)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
3516ceb189 gdbm: upgrade 1.23 -> 1.24
ptest.patch
refreshed for 1.24.

Changelog:
===========
* New gdbm_load option: --update
* Fix semantics of gdbm_load -r
* Use getline in gdbmtool shell.
* New function: gdbm_load_from_file_ext
* Fix binary dump format for key and/or data of zero size.
* Fix location tracking and recover command in gdbtool.
* Fix possible buffer underflow in gdbmload.
* Ensure any padding bytes in avail_elem structure are filled with 0.
* Improve the documentation.

(From OE-Core rev: 458fda9cc5f871e200bcd33ed33fda4a0ed46ff4)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
792be07a02 dnf: upgrade 4.20.0 -> 4.21.0
0005-Do-not-prepend-installroot-to-logdir.patch
refreshed for 4.21.0

Changelog:
===========
- Add detection for ostree-based systems and warn users about losing changes
- Fix: No traceback when Python interpreter is running with -P, allow -P in shebang lines
- man: Improve upgrade-minimal command docs (RHEL-6417)
- Limit queries to nevra forms when provided by command
- Update the man page entry for the countme option
- Drop collect file for ABRT

(From OE-Core rev: f289b8ef7a59016f630347b184b5507762d4586f)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
04effb2e79 diffoscope: upgrade 271 -> 272
Changelog:
==========
* Move away from using DSA OpenSSH keys in tests; support has been removed
  in OpenSSH 9.8p1.
* Move to assert_diff helper in test_openssh_pub_key.py

(From OE-Core rev: 155c71d3f222d65e69a891612ca8ef710e864826)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
7c05855b5c debianutils: upgrade 5.19 -> 5.20
Changelog:
==========
- acinclude.m4: Bump DEBIANUTILS_VERSION from 5.18 to 5.20.
- installkernel: Recognize "Image" as an uncompressed image basename

(From OE-Core rev: b354439e934b8902bd6ca27b57c1e12887370e88)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
1b9218a6a3 cups: upgrade 2.4.9 -> 2.4.10
Changelog:
===========
- Fixed error handling when reading a mixed "1setOf" attribute.
- Fixed scheduler start if there is only domain socket to listen on

0001-use-echo-only-in-init.patch
0002-don-t-try-to-run-generated-binaries.patch
0004-cups-fix-multilib-install-file-conflicts.patch
refreshed for 2.4.10.

(From OE-Core rev: dd7a978d2d7feb11f6c265ba812c8ca29912ebc6)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
84bacef9a8 createrepo-c: upgrade 1.1.2 -> 1.1.3
Changelog:
 spec: Package Python examples

(From OE-Core rev: 67c01a42ecc7f42fa9c6d2e074a92897ade5daa1)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
3238119af4 ccache: upgrade 4.10 -> 4.10.1
License-Update: Bundle Fmt again

Changelog:
===========
- Fixed prefix command lookup from PATH.
- Fixed detection and usage of system blake3.
- Find CppHttplib named libhttplib.so as well.
- Removed Xcode assembly workaround for zstd.
- Added bundled subset of Fmt again for convenience.
- Removed no longer needed workaround when building downloaded Zstd.
- Documentation improvements
- Clarified that --set-config writes to the configuration file.

(From OE-Core rev: 7f93f95b524f0651c783cfd9487c8962390b372b)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
a2963262b1 btrfs-tools: upgrade 6.8.1 -> 6.9.2
0001-Add-a-possibility-to-specify-where-python-modules-ar.patch
removed since it's included in 6.9.2

Changelog:
==========
* subvol list: fix accidental trimming of subvolume name
* check: revert checking file extent item 'ram_bytes'
* libbtrfsutil:
   * patchlevel version update 1.3.2
   * fix accidentally closing fd passed to subvolume iterator

(From OE-Core rev: c99dc3e11998597b81919f0d634d1548695e1baf)

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>
2024-07-16 11:25:29 +01:00
Wang Mingyu
9d234fd634 base-passwd: upgrade 3.6.3 -> 3.6.4
0001-Add-a-shutdown-group.patch
0005-Add-kvm-group.patch
refreshed for 3.6.4

(From OE-Core rev: 096175565182eb92daee8fc7b92d12aa90c68d6b)

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>
2024-07-16 11:25:29 +01:00
Khem Raj
66158e79e5 gdb: Upgrade to 15.1 release
Improved python support and needs c++17 std in compiler to build

Detailed Release Notee [1]

[1] https://sourceware.org/pipermail/gdb-announce/2024/000140.html

(From OE-Core rev: 0041bc06f8b34c2344b018a292451dcd00c6586b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-16 11:25:29 +01:00
Richard Purdie
480dc1c0df selftest/fortran-helloworld: Fix buildpaths error
There is a buildpaths QA error in the test recipe that somehow didn't show up
in earlier testing. Use a source directory and tweak the build command to
avoid embedding build paths in the generated binary.

(From OE-Core rev: 8f1cfaf2be834217cd1cf5be98f44270c36cc31a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-15 13:12:51 +01:00
Richard Purdie
e665be2ad9 insane: Promote long standing warnings to errors
Most of these warnings have been around and enabled for a long time. In particular,
buildpaths has been like this for two years. I'm aware some layers still have not
been able to resolve all the warnings but I believe that regardless, it is still
time to raise the bar. If the warnings don't get fixed, it is probably a sign
that nobody cares about the recipe and it should be dropped.

For anyone coming here to find out what changed and how to disable it, if
you are going to remove from ERROR_QA and add back to WARN_QA (or just ignore
the warnings), please do it with a layer specific override rather than making
it global. We have fixed these issues in core and intend to keep them all fixed.
If you globally disable the errors, it just means we get patches which end up
regressing things.

You can do things like:

ERROR_QA:remove:layer-mylayername = "buildpaths"

not that I'd recommend it.

Also note that the next version of Yocto Project Compatible will only be
available to layers which are not disabling some set of these errors.

(From OE-Core rev: b79b191cc43a45dde2adb61ea349b426cb2461d1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-14 13:04:29 +01:00
Richard Purdie
f20dfaeb1c icu/perf: Drop SPDX_S variable
These were used by external layers and were needed before we had better
unpack instrumenation and the recent unpack directory changes. Drop
them as obsolete.

(From OE-Core rev: 8dae8778ee14caebea92acd0bebf28c5681e39f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-14 13:03:35 +01:00
Yuri D'Elia
b698371255 bitbake: fetch2/git: Enforce default remote name to "origin"
Enforce the default remote name to "origin", as assumed in numerous
places.

This prevents build failures in case the system/user configuration sets
this to a different value.

(Bitbake rev: 1d7360031164f04887c792fb0b2dd86c6ccfcc23)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:30:07 +01:00
Robert Yang
7bc521ed34 bitbake: bitbake: tests/fetch: Update GitShallowTest for clone_shallow_local()
Update the test cases since the implementation is changed:

* test_shallow_multi_one_uri()
  The a_branch and v0.0 had the same revision, and it required fetch a_branch
  and remove histories of v0.0 which were conflicted, and bitbake reported:
  fatal: no commits selected for shallow requests

  Make a_branch and v0.0 have different revs to fix the problem.

  And now the 'rev^' is not needed, so update self.assertRevCount() as well.

* test_shallow_multi_one_uri_depths()
  Update self.assertRevCount(), now git only fetches the required revs.

* test_shallow_fetch_missing_revs()
  The command is:
  $ git fetch --shallow-exclude=v0.0 master

  But master and v0.0 uses the same revision, so there is no commit to fetch.

* test_shallow_fetch_missing_revs_fails()
  Two unneeded committs are not fetched now:
  - rev^
  - One not specified or required tag.

  So update self.assertRevCount()

(Bitbake rev: 48eff9d9a660ad6b9bd8b53a7dcec600ef42b1d1)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:30:07 +01:00
Robert Yang
e2527cf58f bitbake: fetch2/git: Use git shallow fetch to implement clone_shallow_local()
This patch can make the following settings much more faster:
BB_GIT_SHALLOW = "1"
BB_GENERATE_MIRROR_TARBALLS = "1"

* The previous implementation was:
  - Make a full clone for the repo from local ud.clonedir
  - Use git-make-shallow to remove unneeded revs

  It was very slow for recipes which have a lot of SRC_URIs, for example
  vulkan-samples and docker-compose, the docker-compose can't be done after 5
  hours.

  $ bitbake vulkan-samples -cfetch
  Before: 12 minutes
  Now: 2 minutes

  $ bitbake docker-compose -cfetch
  Before: More than 300 minutes
  Now: 15 minutes

* The patch uses git shallow fetch to fetch the repo from local
  ud.clonedir:
  - For BB_GIT_SHALLOW_DEPTH: git fetch --depth <depth> rev
  - For BB_GIT_SHALLOW_REVS: git fetch --shallow-exclude=<revs> rev

  Then the git repo will be shallow, and git-make-shallow is not needed any
  more.

  And git shallow fetch will download less commits than before since it doesn't
  need "rev^" to parse the dependencies, the previous code always need 'rev^'.

(Bitbake rev: a5a569c075224fe41707cfa9123c442d1fda2fbf)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:30:07 +01:00
Richard Purdie
ae4ec59b3e poky-tiny: Update FULL_OPTIMIZATION to match core changes
DEBUG_FLAGS is no longer needed here (and changed to DEBUG_LEVELFLAG so would break).

(From meta-yocto rev: 74f68f1a91ebfa630909216ac5c25971e7b3841c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:29:37 +01:00
Peter Marko
c862902172 busybox: Patch CVE-2023-42363
Backport patch for CVE-2023-42363.

(From OE-Core rev: 814f97922e1d6c24a36b03ee0e865f2210ff6d7c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Peter Marko
700febff61 busybox: Patch CVE-2021-42380
Backport patch for CVE-2021-42380.
Additionally backport clang regression fix caused by this patch.

(From OE-Core rev: 66543769ff79d81508bb703bd2fc34871a16e2c7)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Oleksandr Hnatiuk
c63b8f28ac icu: remove host references in nativesdk to fix reproducibility
Fix is only done for target. Use same code for nativesdk.

(From OE-Core rev: dc6306883cc2c7d4d98d595442e5bf4037a160c5)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
2c2e1becd6 classes/create-spdx-2.2: Handle empty packages
When combining an SPDX document, the package list might be empty (e.g.
a baremetal image). Handle this case instead of erroring out

(From OE-Core rev: baf4e360f6e65a5e9aff2def69d2a720f38f92b2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
666c1f1048 selftest: sstatetests: Exclude all SPDX tasks
SPDX 3.0 introduces a bunch of new SPDX tasks. Instead of explicitly
enumerating them all, modify the regex to match 'create_.*spdx' which
will cover all of the SPDX 2.0 and SPDX 3.0 tasks

(From OE-Core rev: 1d007eaf0155b5ac1c90a15634f7b1473743a4bd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
af8bca244f classes-recipe/baremetal-image: Add image file manifest
Downstream tasks may want to know what image files were written so write
out a manifest in do_image_complete. The format of the manifest is the
same as the one in image.bbclass

(From OE-Core rev: 4c4f1e020533c26f90e95960745f6de90d77e64e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
f72d264226 classes-recipe: nospdx: Add class
Adds a class that allows recipes to opt out of generating SPDX

(From OE-Core rev: 170277da0dc34e3f797451473ebfbde82922f593)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
2603895931 classes-recipe/image_types: Add SPDX_IMAGE_PURPOSE to images
Adds the variable overrides to set the SPDX image purpose for various
image types

(From OE-Core rev: e1a8f59462d88c92dfdb3632ca95ded094c9472a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
69d7d74ac9 classes-global/staging: Exclude do_create_spdx from automatic sysroot extension
do_create_spdx is a outlier in that it doesn't need the RSS to be
extended just because it depends on do_populate_sysroot. In fact, it
only depends on do_populate_sysroot so it can see the actual recipes
sysroot, and attempting to extend the sysroot can cause problems for
some recipes (e.g. if a recipe does do_populate_sysroot[noexec] = "1")

As such, explicitly exclude do_create_spdx from extending the sysroot
just because it depends on do_populate_sysroot.

(From OE-Core rev: 8b506f327838b885bfeb2cf144f43c8be68b8591)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Joshua Watt
8ec959bb88 classes-recipe/image: Add image file manifest
Downstream tasks may want to know what image files were written by the
do_image family of tasks (e.g. SPDX) so have each task write out a
manifest file that describes the files it produced, then aggregate them
in do_image_complete

(From OE-Core rev: 5e55ed4c5b9d5af3c96b82805af34af1512fc3d1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
0a494c8224 busybox: reconfigure wget https support by default for security
The default busybox wget https support is suboptimal, it silently ignores
checking certificate validity which isn't great for security.

Switch our defaults to disable the internal busybox tls code and the
https support using it and configure the openssl backend instead.

This this is done by spawning an openssl command, we don't need
dependencies on openssl for build. For runtime, we can assume
people would install openssl if they need/want this.

These changes put our default busybox configuration in a more secure
initial set of settings.

[YOCTO #14125]

(From OE-Core rev: 5d4ad13462f12355ff0f2bc1773ab4b1814b165a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
ebb0f1e390 meson: Fix native meson config
When the optimization flags were reduced to a single option, a different
and clearly untested codepath was used where the output was unquoted. This
caused errors when testing meson in the SDK.

Use repr() in the single item case as per the multiple item case to correctly
quote the output and fix build failures.

(From OE-Core rev: 7c2b573e6cbe518f54ea5c3539fc91ed63b80ebf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
a5de8f412c oeqa/selftest/locale: Ensure tests work with ERROR_QA changes
The recent ERROR_QA changes adding build_deps exposed what were warnings in thi
test as it restricts the locales, then builds recipes with locale requirements
that were not met (in bash, gawk and python3).

Increase the list of generated locales to ensure this patches the recipes
being built and hence allowing the build to succeed.

(From OE-Core rev: ebe2df8ab6e9d4087f8ddbffbc84eea6c4405738)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
d153bd264c oeqa/selftest/incompatible_lic: Ensure tests work with ERROR_QA changes
Recent changes to ERROR_QA meant that the build was failing in ways the test
wasn't expecting. Tweak the tests to ensure those failures don't impact the test.

(From OE-Core rev: c206a87f2e7128308e38a046b1dcd8cc43c91125)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Khem Raj
020b1e8116 mesa: Add packageconfig knob to control tegra gallium driver
(From OE-Core rev: f7c9a635b933b3bfc87c686faa7df00bdbf4d9b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Changqing Li
a3518ccb6b multilib.conf: remove appending to PKG_CONFIG_PATH
* Since commit [a23c482cab allarch: only enable allarch when multilib is
not used], allarch recipes will also be installed into
${MLPREFIX}recipe-sysroot, so this appending is not needed.

* This appending also causes some QA errors. Eg: for lib32-php, the
recipe will use 's@${RECIPE_SYSROOT}@@g' to remove host specific path,
this appending makes not all the host specific path are matched.

(From OE-Core rev: e6e6076f1956c711814c14d76194794d950e45f8)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:31 +01:00
Richard Purdie
1cf0974ad2 bitbake.conf: Further cleanup compiler optimization flags
Move the -pipe option out of the optimization flags and directly into
the flags variables since we always use it now.

Also move the debug prefix mapping there to match the nativesdk case
which already does this.

Fix the documentation and two recipe usages to match the change.

(From OE-Core rev: 9badf68d78d995f7d5d4cf27e045f029fc6d4044)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Richard Purdie
3891414b6b bitbake.conf: Drop obsolete debug compiler options
eliminate-unused-debug-types is a compiler default so we no longer
need to specify this. Drop the option. Also drop an obsolete comment
about another debug flag.

(From OE-Core rev: 1d5162689fbfeddb10fa60e4150ca87f1fa2243e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Trevor Gamblin
ca1ce0ee8b python3-pytest-subtests: upgrade 0.12.1 -> 0.13.0
Changelog (https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst):

- Dropped support for EOL Python 3.7.
- Added support for -x/--exitfirst (#134).
- Hide the traceback inside the SubTests.test() method (#131).

The tarball changed to use an underscore instead of a dash, so use
PYPI_PACKAGE to account for it.

(From OE-Core rev: a02e208d6c4935fe1c0707ec1b79934ef2a3cd30)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Rasmus Villemoes
314106d579 openssh: factor out sshd hostkey setup to separate function
Commit 0827c29566 (openssh: allow configuration of hostkey type) broke
our setup. We make use of the 'Include /etc/ssh/sshd_config.d/*.conf'
and put a hostkeys.conf file in there, configuring the types and
locations of the sshd host keys.

With that commit, we now get an extra "HostKey
/etc/ssh/ssh_host_ecdsa_key" line in the sshd_config. And while we
could avoid that by removing all hostkey-* items from PACKAGECONFIG,
other people providing their own sshd_config via a .bbappend now have
their HostKey settings unconditionally removed by the 'sed'
invocations, regardless of PACKAGECONFIG.

To make it easier for downstream layers and BSPs to define (and
preserve) their own logic for placement and type of sshd host keys,
factor out the new logic to a separate shell function. Downstream
layers can then simply override that by an empty function and keep the
behaviour they used to have.

(From OE-Core rev: 09dd5cceecfaa2046f7ed070690b000181723fd2)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Rasmus Villemoes
da04237311 iptables: remove /etc/ethertypes
When building an image including iptable built with the libnftnl
PACKAGECONFIG, one hits

Downloading file:.../oe-rootfs-repo/armv8a/libkmod2 * check_data_file_clashes: Package iptables wants to install file .../rootfs/etc/ethertypes
        But that file is already provided by package  * netbase

This used to be handled by
0003-Makefile.am-do-not-install-etc-ethertypes.patch, but that patch
got removed with the 1.8.9->1.8.10 upgrade (commit 4616ada82e70).

I think the rationale for dropping the patch was wrong; the commit log
talks about xtables.conf, which is indeed gone from upstream, but said
patch didn't change anything about xtables.conf, it did

-dist_conf_DATA        = etc/ethertypes etc/xtables.conf
+dist_conf_DATA        = etc/xtables.conf

However, instead of patching iptables to not install ethertypes, and
having to forward-port that patch, it is much simpler to just remove
the file in this do_install:append.

(From OE-Core rev: 3b9c8d5c26a48123d3845c93f6e04d430569e6a2)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Richard Purdie
a1840d0986 python3: Drop generating a static libpython
This currently puts a 60MB binary into the recipe sysroots in the native
case as well as the implications for the target. Since as far as I know,
we don't need/use this, stop generating it by adding a PACKAGECONFIG. It
can be enabled by anyone who does actually need to use it.

(From OE-Core rev: e42abd3b82c7bac93541b2cf87b553c1a31346cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Chen Qi
6911d1f7af libssh2: remove util-linux-col from ptest dependencies
After util-linux upgrade to 2.40.1, we got the following QA issue
on musl:

  WARNING: libssh2-1.11.0-r0 do_package_qa: QA Issue: libssh2-ptest
  rdepends on util-linux-col, but it isn't a build dependency? [build-deps]

The issue appeared because new version util-linux has disabled
building out col on musl[1]. In short, the reason is that col in
util-linux requires something that musl does not provide.

This 'util-linux-col' dependency was added in 2021, at that time
the libssh2's version is 1.9.0. Now the version is 1.11.0 and I tested
its ptest, it does not require util-linux-col to succeed.

[1] 8886d84e25

(From OE-Core rev: 9007de7e388e269028c7c1722f0d7ee76bc5d251)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Chen Qi
67db5f4f55 util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1
License-Update:
===============
GPL-2.0 is changed to GPL-2.0-only in README.licensing.

The following two patches are removed as they've been there in new release:

  0001-login-utils-include-libgen.h-for-basename-API.patch
  mit-license.patch

Other existing patches are refreshed to avoid patch-fuzz error.

A new PACKAGECONFIG, lastlog2, is added, which serves as a switch to build Y2038
safe lastlog pam module. This is a new functionality added in 2.40.

This 2.40.1 version has the problem of unnecessary remake, causing
intermmittent errors at parallel make. The do_compile:prepend is a
workaround for this. Upstream issue and PR are:
https://github.com/util-linux/util-linux/issues/3061
https://github.com/util-linux/util-linux/pull/3064

do_install is changed to do_install:append, the legacy codes are
removed. They've been there since the born of oe-core. I tested
with ccache, there's no error.

A new dependency, diffutils, is added to ptest. Because the mkswap-offset
test case needs 'cmp' from diffutils.

The tests/ts/misc/enosys test case is deleted for musl. This is because
the test case is comparing error description output and that's libc
specific. Results below can demonstrate the case.
'''
root@qemux86-64:/usr/lib/util-linux/ptest# cat /usr/lib/util-linux/ptest/tests/expected/misc/enosys-ioctl
test_enosys: ioctl r=0 errno=Success
test_enosys: ioctl r=-1 errno=Function not implemented
test_enosys: ioctl r=-1 errno=Inappropriate ioctl for device
test_enosys: ioctl r=-1 errno=Inappropriate ioctl for device
test_enosys: ioctl r=-1 errno=Function not implemented
root@qemux86-64:/usr/lib/util-linux/ptest# cat /usr/lib/util-linux/ptest/tests/output/misc/enosys-ioctl
test_enosys: ioctl r=0 errno=No error information
test_enosys: ioctl r=-1 errno=Function not implemented
test_enosys: ioctl r=-1 errno=Not a tty
test_enosys: ioctl r=-1 errno=Not a tty
test_enosys: ioctl r=-1 errno=Function not implemented
'''

(From OE-Core rev: 2c5f70e7e73362502a7d8d0773fbd04520b26eef)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Chen Qi
052ddf26b1 systemd-boot: upgrade from 255.6 to 256
Patch 0001-src-boot-efi-meson.build-ensure-VERSION_TAG-exists-i.patch
is added to resolve build time error.

(From OE-Core rev: c3f53f641d04109bf88e51e44debb6c74582b5d0)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Chen Qi
74cd617cbb systemd: upgrade from 255.6 to 256
The 'cgroupv2' PACKAGECONFIG is dropped as systemd now only supports
cgroupv2.

The 'kmod' PACKAGECONFIG is now added 'libkmod' as a runtime dependency.
This is because systemd 256 uses dlopen to make use of libkmod, and there's
no way for our library detection codes to know this and add such dependency
automatically. So we add it explicitly.

mime is now inherited because ${datadir}/mime/packages/io.systemd.xml
is a mime type file.

For musl specific patches, most are refreshed. One old patch is dropped,
and four new ones are added.
Newly added:
  build-path.c: avoid boot time segfault for musl
  adjust header inclusion order to avoid redeclaration
  undef stdin for references using stdin as a struct member
  include signal.h to avoid the 'undeclared' error
Dropped:
  src/basic/missing.h: check for missing strndupa
  (drop reason: systemd does not use strndupa any more)

(From OE-Core rev: 89b75b46371d5e9172cb496b461824d8551a2af5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Adrian Freihofer
0dfd37f240 kernel-fitimage: fix handling of empty default dtb
Fix error in run.do_assemble_fitimage_initramfs.2779256:
             line 238: [: =: unary operator expected
if FIT_CONF_DEFAULT_DTB is empty.

(From OE-Core rev: 19a6eea0951404403dcb5d0deeda8558b1337f82)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Adrian Freihofer
a285dac7bc oe-selftest: fitimage fix test_initramfs_bundle
It looks like most of the assertions of this tests were by-passed
because of combinations of invalid regexes and inverted assert
statement. Try to fix.

Use the variables from the kernel recipe instead of potentially invalid
values from get_bb_vars with undefined recipe. Use one get_bb_vars
statement instead of many seaparate calls mainly to improve the duration
of this test case.

Make the test working for an its file with an absolute path to the
kernel binary. This will be needed with one of the following commits and
does not harm in general.

(From OE-Core rev: 741f0cfa4f0025a2823581cab09e0bf14382e54d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Adrian Freihofer
f2579285ce oe-selftest: fitimage cleanup asserts
Use more specific assert statements to make the code more readable and
the error messages more verbose.

Cleanup the asserts of the test case test_initramfs_bundle.

(From OE-Core rev: c7901004138d215612816072f20d367d638d2669)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Adrian Freihofer
2c27b231f9 oe-selftest: fitimage drop test-mkimage-wrapper
Rather than writing hints into log files and verify the hints can be
found, the tests should verify that the artifacts in the deploy folder
are correctly signed. This is a much better test.
u-boot-tools provide a utility fit_check_sign which can verify the
signatures in fit images. Lets use it.

grepping in temp/run. or temp/log. files also does not work if the tasks
runs from sstate and the corresponding run file is not even generated.

(From OE-Core rev: 86e504b4f792eeadd67ea57dd71a62bcb4f16f02)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Adrian Freihofer
7889a5cd4b oe-selftest: fitimage refactor u-boot-tools-native
Eliminate code duplication with a new function.
Use get_bb_var instead of bitbake -e | grep.

(From OE-Core rev: 0c7b7c5c98217b5f139058533159f61d1989d46e)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-13 23:28:30 +01:00
Changqing Li
22b8761c5a vulkan-samples: fix do_compile error when -Og enabled
When debug build is enabled(-Og is used), vulkan-samples do_compile
failed with error:
In function 'ZSTD_compressBlock_lazy_generic',
    inlined from 'ZSTD_compressBlock_greedy' at TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21914:12:
TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21551:30: error: inlining failed in call to 'always_inline' 'ZSTD_HcFindBestMatch_selectMLS': function not considered for inlining
 | FORCE_INLINE_TEMPLATE size_t ZSTD_HcFindBestMatch_selectMLS (
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TOPDIR/tmp-glibc/work/core2-32-wrs-linux/vulkan-samples/git/git/third_party/ktx/lib/basisu/zstd/zstd.c:21736:32: note: called from here
|             size_t const ml2 = searchMax(ms, ip, iend, &offsetFound);

Refer [1], always_inline is not suggested to use with indirect function
call, replace always_inline with inline to fix the issue

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931

(From OE-Core rev: 246de52fe59de0612d1145357c5e904a51363c8c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Stefan Mueller-Klieser
ec25e28613 icu: fix make-icudata package config
The location of files changed during unpackdir transition. Adapt dirs
to fix custom icu data generation.

(From OE-Core rev: bb24c965a55d7e757c1e2a6e76bdb68d2bfb6ce3)

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Chen Qi
83fc33db5e pciutils: remove textrel INSANE_SKIP
The current pciutils does not have this textrel problem any more.

(From OE-Core rev: 48fd3134097ce81c94c1ce67f218d83f1a5c2f6f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Richard Purdie
665fdc4ea9 testimage/postactions: Allow artifact collection to be skipped
It does not always make sense to collect artifacts and data from the
target on failure, e.g. if testing firmware or if the target is not
running an SSH server.

Allow this by setting TESTIMAGE_FAILED_QA_ARTIFACTS to an empty
value.

(From OE-Core rev: 7036f814baa6550e0b1ac2db37fcd51960ee9e48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Martin Jansa
25b01c23c5 hdparm: drop NO_GENERIC_LICENSE[hdparm]
* the hdparm license text was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=e9c1f48af10ccb58251ecc7e041babb99b94d6df

  and now the NO_GENERIC_LICENSE was causing:
  ERROR: hdparm-9.65-r0 do_populate_lic: QA Issue: hdparm: hdparm is a generic license, please don't use NO_GENERIC_LICENSE for it. [license-no-generic]

(From OE-Core rev: 64759473f3e6f3a9f3424575591b83ce9cd14e6c)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Benjamin Szőke
efe5c1b207 mc: fix source URL
new URL for sources: http://ftp.midnight-commander.org/

(From OE-Core rev: 03c4052718a9b8392b25e1770630317b8cf29fbe)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-10 10:52:20 +01:00
Jon Mason
25a6edd381 docs: modify reference from python2.py to python.py
python2.py referenced does not exist.  Change the reference to the
existing python.py oeqa file.

(From yocto-docs rev: 48f8eaf956e6897d714a9f628295bf0a320b3547)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 15:48:55 +01:00
Jörg Sommer
9acacfb264 ref-manual: add DEFAULT_TIMEZONE variable
(From yocto-docs rev: 89323e4d95c7e98c685ad2843f037a291af08b02)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 15:48:55 +01:00
Lee Chee Yang
3be34141ec migration-guides: add release notes for 5.0.2
(From yocto-docs rev: 71af3b43038f04ea35b554dcdb101ce2dd4bca78)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 15:48:55 +01:00
Lee Chee Yang
6dd76da905 migration-guides: add release notes for 4.0.19
add release notes for 4.0.19.

(From yocto-docs rev: ffbefbabb9b50720fec29d30335c58e190e90f16)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 15:48:55 +01:00
Niko Mauno
0b6ca9beef dnf/mesa: Fix missing leading whitespace with ':append'
Mitigate occurrences where ':append' operator is used and leading
whitespace character is obviously missing, risking inadvertent
string concatenation.

(From OE-Core rev: 314041fd126a4800a5a5d9fcd84c525319479256)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-09 14:00:41 +01:00
Alexis Lothoré
6e80b2ab66 oeqa/utils/postactions: transfer whole archive over ssh instead of doing individual copies
Fixes [YOCTO 15536]

The postactions retrieval actions currently rely on scp executed
individually on any file or directory expanded from
TESTIMAGE_FAILED_QA_ARTIFACTS. Unfortunately, symlinks are not preserved
with this mechanism, which lead to big storage space consumption. Things
may go even worse if those symlinks create some circular chains. This
mechanism then needs to be updated to preserve symlinks instead of
following them during copy. There are multiple ways to do it:
- create a local archive on the target and execute scp on this file
- use rsync instead of scp for all files
- create an archive and pipe it to ssh instead of storing it onto the
  target

The first solution may create pressure on targets storage space, while the
second assumes that rsync is installed on the target, which may not be
true. So the third one is a compromise: tar is very likely present, at
least through busybox, and no disk space is used on the target.

Replace the current per-file scp call by a single call to tar run on the
target. Retrieve the generated compressed archive directly from SSH output,
and feed it to another tar process but on host, to uncompress and extract
it at the same place as before.

(From OE-Core rev: 4aeb10aa38efc6768928fbb74985e36e972b8e46)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Alexis Lothoré
e98a6f6812 oeqa/ssh: allow to retrieve raw, unformatted ouput
The ssh target is currently well tailored to easily retrieve textual output
from a command run on a remote target. It could also be used to retrieve
raw data from a command run onto a remote target (for example, to feed this
data directly to another program), but it currently suffers two minor
issues preventing such use case:
- stderr is piped to stdout, so any error log will be mixed in the program
  output
- the final output is decoded as utf-8 and stripped

Allow to return the raw, unmodified output by adding an optional "raw"
parameter. Keep it to False by default to preserve the current behavior.
When enabled, do not return a string but the raw output as bytes.

(From OE-Core rev: 8d05dc6e2284b7ed7c32a8215b9c8bf6f7dabf00)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Changqing Li
5d5297775a pixman: fix do_compile error
When debug build is enabled(-Og is used), pixman-native do_compile
failed with error:
In function ‘combine_inner’,
    inlined from ‘combine_soft_light_ca_float’ at ../pixman-0.42.2/pixman/pixman-combine-float.c:655:1:
../pixman-0.42.2/pixman/pixman-combine-float.c:370:5: error: inlining failed in call to ‘always_inline’ ‘combine_soft_light_c’: function not considered for inlining
  370 |     combine_ ## name ## _c (float sa, float s, float da, float d)

Refer [1], always_inline is not suggested to use with indirect function
call, replace always_inline with __inline__ to fix the issue

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107931

(From OE-Core rev: 4ab0d5c24b32a80432d9cfa6c904027b8a6710b5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Konrad Weihmann
2de2968b8c testexport: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testexport fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: 0c1d098e6dd08fa3a5aafca656457ac6badcef89)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Jose Quaresma
3bbb1ad1ca go: upgrade 1.22.4 -> 1.22.5
- refresh patches with devtool

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.4..go1.22.5
8e1fdea831 (tag: go1.22.5, origin/release-branch.go1.22) [release-branch.go1.22] go1.22.5
c2d4f852ce [release-branch.go1.22] cmd/link: handle dynamic import variables on Darwin in plugin mode
3222951439 [release-branch.go1.22] net/http: send body or close connection on expect-100-continue requests
ceaf26ecce [release-branch.go1.22] cmd/compile: mark pointer to noalg type as noalg
dfe4dbf8c0 [release-branch.go1.22] os/exec: on Windows look for extensions in Run if not already done
3560cf0afb [release-branch.go1.22] runtime: always update stack bounds on cgocallback
5159a7193a [release-branch.go1.22] cmd/compile: put constants before variables in initialization order
11b861e459 [release-branch.go1.22] go/types, types2: report error for floating-point iteration variable
81fc616267 [release-branch.go1.22] crypto/tls: don't call tlsrsakex.IncNonDefault with FIPS
14f0251867 [release-branch.go1.22] cmd/cgo/internal/swig: force use of lld for LTO tests on the builders
ab60a7bc18 [release-branch.go1.22] cmd/cgo/internal/testsanitizers: make the libfuzzer tests all short
4c97e883b5 [release-branch.go1.22] cmd/link: put runtime.end in the last section of data segment
179ccb7042 [release-branch.go1.22] cmd/go: fix go list -u -m all with too new retractions dependency
fe9b3c3399 [release-branch.go1.22] net: add GODEBUG=netedns0=0 to disable sending EDNS0 header
b515c5208b [release-branch.go1.22] go/internal/gccgoimporter: recognize "any" as a builtin type

[1] https://github.com/golang/go/compare/go1.22.4...go1.22.5

(From OE-Core rev: 0a1d4a42282bd9f0bdc8dd53c7865aa81d4a5821)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Jon Mason
8d405ba864 oeqa/runtime/ssh: check for all errors at the end
With the retry for the -SIGTERM, it is possible to still see that error
after the 5th attempt and mark the run a success.  Check for any
non-zero status in the final check and error out to close the gap.
While there, make the error print match the one above and be a little
more verbose.  Also, I'm seeing it take roughly 6 attempts on my local
(very slow) system to pass.  So, increasing the number of attempts to
10.

(From OE-Core rev: 3c3ebe591eef6e0479d623ec2237cfea16db5c80)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-08 09:17:09 +01:00
Richard Purdie
0979646a1b abi_version/package: Bump hashequiv version and package class version
The recent pkgconfig change and subsqeuent fixes have left the hash equivalence
server in a corrupted state with hashes linking the changes beofore and after
the pkgconfig change, breaking reproducibile builds.

Bump the appropriate version numbers to allow us to move on and avoid
build failures and corrupt equivalence data now the underlying issue
was fixed.

(From OE-Core rev: 7b2cdd257132645534642a1461fe14b835eee6e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-05 10:23:05 +01:00
y75zhang
4172c3bdd5 bitbake: fetch/wget: checkstatus: drop shared connecton when catch Timeout error
* to avoid wrong http response in checkstatus function:
   in wget checkstatus() we are using 'HTTPConnectionCache' to share connections
   1. state_file1(exists on http server) use shared connection <shared1> to send request
   2. http_server recieved request of state_file1, but delayed by some reason to sent respone
   3. state_file1 checkstatus() failed by timeout and drop shared connection <shared1>
   4. state_file2(not exists on http server) get shared connection <shared1> and send request
   5. http_server finally send 200 response for state_file1
   6. state_file2 recived 200 response and thought it was exists on http_server

(Bitbake rev: bf6d0282ab88b4edc4b9e58184cd76cce965abbd)

Signed-off-by: y75zhang <yang-mark.zhang@nokia-sbell.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:41 +01:00
Markus Volk
72a9b812c9 libinput: update 1.25.0 -> 1.26.1
Release notes
libinput 1.26.1 is now available. A few semi-exciting things, the rest the usual bugfixes you'd expect for a point release.

Touchpads now special-case Shift for disable-while-typing, so typing keys with shift down will trigger DWT.

Tablets can now be calibrated if libwacom says the tablet is a display tablet. The hid-uclogic kernel driver doesn't
set INPUT_PROP_DIRECT so any device handled by that driver didn't have calibration available. Fixed now, provided
your tablet is recognised by libwacom.

The direction of the first tablet pad relative dial was fixed, it was upside-down.

Our debugging tools now support --set-pressure-range for the new tablet tool pressure range configuration added in
1.26 and --set-calibration for the calibration matrix that's been around for a while. The libinput debug-tablet tool
now also supports all commandline options that debug-events and debug-gui support.

And of course a varied assortment of device specific quirks and fixes.

Release notes
libinput 1.26.0 is now available. It's been a while since the last release but we have a few notable changes in here:

Touchpads can now configure a clickfinger button map, so you can change whether two- or three-finger click means a
right or middle click. See libinput_device_config_click_set_clickfinger_button_map

Tablet pads now have an API for relative dials. These are typically wheel-like (e.g. Huion Inspiroy 2) or ring-like
(e.g. Huion Inspiroy Dial 2) physical devices that send REL_WHEEL and REL_HWHEEL. libinput now provides these via
libinput_event_tablet_pad_get_dial_delta_v120() in much the same manner as the v120-based scroll wheel API.

A new configuration option for tablet tools allow reducing the available logical range. This is useful for users that
want the tool to register only when some physical pressure value is reached, or to reduce the maximum amount of pressure
needed to reach the logical maximum pressure. See libinput_tablet_tool_config_pressure_range_set() and friends.

Tablet tools can now use BTN_STYLUS3 too and tablet pad strip support should now work for non-Wacom devices, where the
kernel driver implements it.

Huion tablets (well, and all vendors that use the 256C vendor id) now have a fallback resolution set. This is going to
be wrong on most devices but at least it will make those tablets work out of the box, instead of failing with the "missing
tablet capabilities: resolution" log message.

And of course a varied assortment of device specific quirks and fixes.

(From OE-Core rev: 341578e76de1189a2373672e76034e1c99c6783e)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Richard Purdie
1ff6168528 oeqa/selftest/reproducibile: Explicitly list virtual targets
We're seeing reproducibility failures where some packages don't appear
in the "from sstate" builds. The common factor is these are all recipes
with PROVIDES = "virtual/XXX".

In a full build from scratch, these are build but in a build from sstate,
there are situations where they aren't. For now, to try and keep builds
working, work around the problem until we can better look into the problem.
It is likely recent taskhash imrovements have caused this to occur more
regularly.

(From OE-Core rev: 68086a333acc54390e4e589ef928dc90da3edb48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Jose Quaresma
687f3022c4 openssh: fix CVE-2024-6387
sshd(8) in Portable OpenSSH versions 8.5p1 to 9.7p1 (inclusive).
Race condition resulting in potential remote code execution.
A race condition in sshd(8) could allow remote code execution as root on non-OpenBSD systems.
This attack could be prevented by disabling the login grace timeout (LoginGraceTime=0 in sshd_config)
though this makes denial-of service against sshd(8) considerably easier.
For more information, please refer to the release notes [1] and the
report from the Qualys Security Advisory Team [2] who discovered the bug.

[1] https://www.openssh.com/txt/release-9.8
[2] https://www.qualys.com/2024/07/01/cve-2024-6387/regresshion.txt

References:
https://www.openssh.com/security.html

(From OE-Core rev: 7ba7c96f31bd81c5d1352136e405e99c3df29ea7)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Richard Purdie
a7d13a3cfa oeqa/runtime/ssh: In case of failure, show exit code and handle -15 (SIGTERM)
Ensure we show the failing exit code in case of failures.

We're seeing autobuilder failures with -15 (SIGTERM) which is probably from
slow boot/init. Retry in these cases for now.

(From OE-Core rev: 127d3bd8d5509ae17e359c1365859fd362ffc74f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Weisser, Pascal.ext
2e9e8f6fb3 qemuboot: Trigger write_qemuboot_conf task on changes of kernel image realpath
The qemuboot.conf file contains the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL. So, it must be recreated in case the
realpath of the referenced kernel image changes.

The variables KERNEL_IMAGE_NAME and KERNEL_IMAGE_BIN_EXT determine the
realpath of the kernel image relative to DEPLOY_DIR_IMAGE. Adding both of
them to the vardeps of the write_qemuboot_conf task triggers the
write_qemuboot_conf task in case the realpath of the kernel image
referenced by QB_DEFAULT_KERNEL changes.

Fixes: [YOCTO 15525]

(From OE-Core rev: f8b3975a9ce36ea7af5fd76243a823da2842415b)

Signed-off-by: "Weisser, Pascal" <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Yi Zhao
e1492d20b1 less: upgrade 643 -> 661
ChangeLog:
https://www.greenwoodsoftware.com/less/news.661.html

License-Update: Update copyright year to 2024

Add perl-module-file-basename to ptest runtime dependency.

(From OE-Core rev: 16f4ebc02857567509610e4d350c451440d44930)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Ulrich Ölmann
b2bc061f7c buildhistory: fix typos
Fix some simple typos found while looking through the code.

(From OE-Core rev: c23cb2d89fcd014d1f08944468c7e2d8a7f3e8b0)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Ross Burton
56ba6da8e1 linux-libc-headers: remove redundant install_headers patch
This was added in the upgrade to 4.19[1] which included three patches
that were taken from the series at [2].

What merged was the second iteration of this series[3] which dropped the
install_headers patch, so we can drop this obsolete patch.

[1] oe-core 11f02b7c6f9854eecd3a49ea47833c8cbffb1581
[2] https://lore.kernel.org/linux-arm-kernel/1544556407-19897-1-git-send-email-Dave.Martin@arm.com/
[3] https://lore.kernel.org/linux-arm-kernel/1546607391-3850-1-git-send-email-Dave.Martin@arm.com/

(From OE-Core rev: 13e1c0d3881d6c9e4057096d41d8b4f4db1b6b97)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Yi Zhao
867f8db6bf libsdl2: upgrade 2.30.3 -> 2.30.4
ChangeLog:
https://github.com/libsdl-org/SDL/releases/tag/release-2.30.4

This is a stable bugfix release, with the following changes:
 * Android rotation will respect user rotation lock preferences
 * Fixed spurious Left-Ctrl key input when the Right Alt key (AltGr) is
   pressed on Windows
 * Added support for the Saitek Cyborg V.3 Rumble Pad in PS3 mode
 * Added support for the Razer Kitsune in PS5 mode
 * Added Linux bindings for the Qanba Drone 2 Arcade Joystick
 * Leave Nintendo Online controllers in simple report mode so they work
   with DirectInput games
 * Enable using libusb for GameCube controllers when available

(From OE-Core rev: bfc938ae8ebfebb0595aa0b810688a140a7ab452)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Richard Purdie
3505bc4881 qemu: Upgrade 9.0.0 -> 9.0.1
(From OE-Core rev: c2be994cbb746ce1b182c68ea7aadff049b6a0d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-04 22:56:15 +01:00
Sakib Sajal
0df57c2c73 blktrace: ask for python3 specifically
python2 has been deprecated, use python3 instead.

(From OE-Core rev: cb550f59a0fb6b41cec2d1bd8a18f788e9ea7de6)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-03 14:57:50 +01:00
Konrad Weihmann
746bf5431b python3-docutils: fix interpreter lines
when compiling a non native variant, latest update
introduced package-qa errors like

ERROR: QA Issue: .../docutils/utils/smartquotes.py contained in package
nativesdk-python3-docutils requires /usr/bin/python3, but no providers
found in RDEPENDS:nativesdk-python3-docutils? [file-rdeps]

Fix that by patching the interpreter lines after install

(From OE-Core rev: f0037d2b2a4b72f279f3fe60c82d4b4044cbc6d5)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-03 14:57:50 +01:00
Peter Marko
742e96ad38 bitbake: fetch/clearcase: remove True option to getVar calls in clearcase module
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

It was probably not found before beacause of the extra "d" parameter.
That seem to be a bug as getVar does not support that.

(Bitbake rev: 720189b810995c5737853458b7eb3779ca0df37e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:37:13 +01:00
Enrico Jörns
287e2ede38 bitbake: bitbake-diffsigs: fix handling when finding only a single sigfile
This fixes the following error when calling 'bitbake-dumpsig' or
'bitbake-diffsigs' when having only a single sigfile available:

| Traceback (most recent call last):
|   File "[..]/poky/bitbake/bin/bitbake-dumpsig", line 171, in <module>
|     files = find_siginfo_task(tinfoil, options.taskargs[0], options.taskargs[1])
|             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|   File "[..]/poky/bitbake/bin/bitbake-dumpsig", line 83, in find_siginfo_task
|     sig2 = latestsigs[1]
|            ~~~~~~~~~~^^^
| IndexError: list index out of range

Handle this by adding (and returning) the path for the second sigfile
only if one is found. This way it will work for both diffsigs and
dumpsig use case.

The calling argparse code already deals with find_siginfo_task()
returning only a single file.
For 'bitbake-dumpsig' it will just dump the single sigfile, for
'bitbake-diffsigs' it will emit a proper error message again:

| ERROR: Only one matching sigdata file found for the specified task (systemd configure)

(Bitbake rev: 25057d33e9131f3214a06bbb316c916c744f8f03)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:27 +01:00
Gauthier HADERER
662cda7e94 populate_sdk_ext.bclass: make sure OECORE_NATIVE_SYSROOT is exported.
Fixes bug 15464.

OECORE_NATIVE_SYSROOT is correctly set up and exported in the SDK's
environment file. But it's then unset in buildtools/environment-setup-*.
The value is restored in the SDK's environment file but is not exported
again.

(From OE-Core rev: 825c996b7995d3ad510933b1a88229831ca5ea29)

Signed-off-by: Gauthier HADERER <ghaderer@wyplay.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Peter Marko
840f9cbe7a flac: fix buildpaths warnings
Generated documentation (html) contain absolute paths cources
using buildpaths warnings.
Replace them with relative links.

The file with root path to sources is in my build
/usr/share/doc/flac/api/dir_c122f5d6544f32779f55e8358fb78605.html
which does not looks as stable name, so replace it in all files.

(From OE-Core rev: c7d826c88933d53d550265f1cc382539c5c52994)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Matthew Bullock
d6a4522e67 openssh: allow configuration of hostkey type
Allow selection of host key types used by openssh via PACKAGECONFIG.
Any combination of hostkey-rsa, hostkey-ecdsa and hostkey-ed25519 can be
specified. Default to just generating ecdsa keys.

The current default generates all three keys. This can take a
significant amount of time on first boot. Having all three keys does not
significantly increase compatability. Also RSA keys are being deprecated
as they are no longer considered secure. Using just an ecdsa key reduces
key generation time by roughly 75%.

(From OE-Core rev: 0827c29566f3ea63715a9f9e4ee2639f4eabe0bd)

Signed-off-by: Matthew Bullock <mbullock@thegoodpenguin.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Jon Mason
a65a3dd4aa oeqa/runtime/ssh: add retry logic and sleeps to allow for slower systems
On exceptionally slow systems, the ssh test can intermittently fail due
to a race between when ping works and the networking applications being
brought up.  To work around this issue, add some retry logic when ssh
fails to connect.  According to the man page of ssh, "ssh exits
with the exit status of the remote command or with 255 if an error
occurred."  So, only retry if the return code is 255, and limit the
number of retries to prevent it looping forever.

(From OE-Core rev: f0fe0b490d309cdf1c97754f85a61b5b948b7f28)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
simit.ghane
ceb6a4ecf9 libgcrypt: Fix building error with '-O2' in sysroot path
Characters like '-O2' or '-Ofast' will be replaced by '-O1' and '-O0'
respectively when compiling cipher and random in the filesystem
paths as well if they happen to contain '-O2' or '-Ofast

If we are cross compiling libgcrypt and sysroot contains such
characters, we would
get compile errors because the sysroot path has been modified.

Fix this by adding blank spaces and tabs before the original matching
pattern in the sed command.

It is difficult to control -O1 for cipher and -O0 for random
at the same time in OE environment along with patch file.
So, keeping same change as it is.

(From OE-Core rev: ecd26bbba36ad715c2a0f20475ebc977ea94746c)

Signed-off-by: simit.ghane <simit.ghane@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Konrad Weihmann
309d1bd935 testimage: fallback for empty IMAGE_LINK_NAME
if IMAGE_LINK_NAME is set empty to disable the symlinking
for image artifacts in deploy, testimage fails, as the path assembly
is incorrect.
In that case fallback to IMAGE_NAME

(From OE-Core rev: c7a4e7e294992acc589c62adcaf6cd32659f2f9b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Primoz Fiser
ba4dd8c51a pulseaudio: Remove from time64.inc exception list
Pulseaudio OSS (Open Sound System) support was causing build issues when
used with GLIBC_64BIT_TIME_FLAGS. However, optional OSS support was
disabled by default with addition of PACKAGECONFIG[oss-output]. Thus
remove pulseaudio from the exception list in time64.inc and allow it to
be Y2038 compatible.

(From OE-Core rev: 67cbec2aa1e7dca1abacf39a22efe85fa47a468d)

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Primoz Fiser
763c6dab33 pulseaudio: Add PACKAGECONFIG for optional OSS support
Add pulseaudio PACKAGECONFIG for optional OSS (Open Sound System) output
support. OSS was a sound system available before ALSA and has since been
deprecated. Lately, this part has started causing build issues when used
with GLIBC_64BIT_TIME_FLAGS. Thus, by default drop OSS output support in
favor of Y2038 compliance.

(From OE-Core rev: c74a7382f4e3c6516c97b1473731a27c57b4e0aa)

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Khem Raj
0bb6e564e0 mesa: Including missing LLVM header
This issue happens with LLVM trunk

(From OE-Core rev: 21b7dae19832b803b2ed918fca602793fb8b63d7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Fabio Estevam
a727d81671 u-boot: upgrade 2024.04 -> 2024.07
Upgrade to U-Boot 2024.07.

(From OE-Core rev: 377e8d7fc019b0b2a0fd020e51741a4543f5f209)

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Thomas Perrot
522aa5de1a opensbi: bump to 1.5
This release has:
- SBI debug triggers (DBTR) extension (Experimental)
- Support to specify coldboot harts in DT
- Relocatable FW_JUMP_ADDR and FW_JUMP_FDT_ADDR
- Smcsrind and Smcdeleg extensions support
- SBIUnit testing framework
- Initial domain context management support
- Platform specific load/store emulation callbacks
-  New trap context
- Improved sbi_trap_error() to dump state in a nested trap
- SBI supervisor software events (SSE) extension (Experimental)
- Simplified wait_for_coldboot() implementation
- Early wakeup of non-coldboot HART in the coldboot path
- Sophgo CV18XX/SG200X series support
- APLIC delegation DT property fix
- Svade and Svadu extensions support
- SBI firmware features (FWFT) extension (Experimental)

Overall, this release mainly adds more ISA extensions, SBI
extensions and other improvements.

(From OE-Core rev: 9922ebd8dcd145af8c7a6b8a5a16dce1ee8e92cb)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Deepthi Hemraj
f024bb10b3 llvm: Fix CVE-2024-0151
(From OE-Core rev: fe1b86ff78090a0214130112abc2d6ea4736bf80)

Signed-off-by: Deepthi Hemraj <Deepthi.Hemraj@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Florian Amstutz
221e778021 u-boot: Fix potential index error issues in do_deploy with multiple u-boot configurations
If i or j have not been unset in do_deploy:prepend functions, images are not correctly
copied to DEPLOYDIR.

(From OE-Core rev: 5a0764eaac90bd62dac4a387eed5eb68f556412f)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Joshua Watt
226ae9288e classes/create-spdx-2.2: Handle SemVer License List Versions
SPDX transitioned the license list to use SemVer visioning, (e.g.
"MAJOR.MINOR.MICRO"), but SPDX 2 only allows "MAJOR.MINOR". For maximum
compatibility, only keep the first two version numbers and discard the
rest which allows it to work with either scheme

(From OE-Core rev: 8757a5eaeaf2b9d7345212d003e5622289b123e6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Joshua Watt
cd000e08b8 licenses: Update to SPDX license version 3.24.0
Updates to the latest version of the SPDX license list and pulls in all
the missing license files

[YOCTO #15502]

(From OE-Core rev: e9c1f48af10ccb58251ecc7e041babb99b94d6df)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Joshua Watt
cc191968a7 scripts/pull-spdx-licenses.py: Add script
Adds a script to pull the SPDX license data and update the license list
JSON data, as well as update the license directory.

(From OE-Core rev: cc2eb66fc0389664501baf57808e23f4cb4ee479)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-02 22:29:13 +01:00
Richard Purdie
3c1c56ec07 native/nativesdk: Stop overriding unprefixed *FLAGS variables
We're currently encouraging an "arms race" with the FLAGS variables since
a recipe might want to set a specific flag for all variants but to do so,
+= won't work due to the assignment in the native/nativesdk class files. This
means recipes are using append.

Since the default variables are constructed out of TARGET_XXX variables and
we redefine these, there is no need to re-define the un-prefixed variables. If
we drop that, the += appends and similar work and recipes don't have to resort
to append.

Change the classes and cleanup a number of recipes to adapt to the change. This
change will result in some flags appearing to some native/nativesdk variants
but that is probably what was originally expected anyway.

(From OE-Core rev: a157b2f9d93428ca21265cc860a3b58b3698b3aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:58:08 +01:00
Bruce Ashfield
45aeae0075 linux-yocto/6.6: fix AMD boot trace
Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
    Author: Bruce Ashfield
    Email: bruce.ashfield@gmail.com
    Subject: cpu/amd: inhibit SMP check for qemux86
    Date: Fri, 28 Jun 2024 12:55:18 -0400

    When booting with kvm enabled on a AMD host, the following
    trace is thrown:

      [    0.084519] ------------[ cut here ]------------
      [    0.084519] WARNING: This combination of AMD processors is not suitable for SMP.
      [    0.084519] WARNING: CPU: 1 PID: 0 at /arch/x86/kernel/cpu/amd.c:341 init_amd+0xaee/0xbcc
      [    0.084519] Modules linked in:
      [    0.084519] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.6.32-yocto-standard #1
      [    0.084519] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014

    This warning is not valid in our configuration and is unnecesarily
    causing issue with debug.

    This has been know for some time (10+ years), but no acceptable
    solutioon has been found upstream:

       https://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01428.html
       https://lkml.org/lkml/2010/3/30/397

    We have a configuration CONFIG_QEMUX86 that has been added for
    situations like this. When that value is defined, we inhibit the
    warning, but leave it as-is for other BSPs.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: f0c03000abb7665352cf107a600da15a112af5fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:03 +01:00
Bruce Ashfield
506f427536 linux-yocto/6.6: update to v6.6.35
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    5f2d0708acd0 Linux 6.6.35
    3466abafa9f4 zap_pid_ns_processes: clear TIF_NOTIFY_SIGNAL along with TIF_SIGPENDING
    2fd6cfb2a4e6 i2c: designware: Fix the functionality flags of the slave-only interface
    572afd43c959 i2c: at91: Fix the functionality flags of the slave-only interface
    a4cd6074aed6 misc: microchip: pci1xxxx: Fix a memory leak in the error handling of gp_aux_bus_probe()
    2cc32639ec34 usb-storage: alauda: Check whether the media is initialized
    3a03ef31c1e9 serial: 8250_dw: Don't use struct dw8250_data outside of 8250_dw
    836e1a9fd8eb serial: 8250_dw: Replace ACPI device check by a quirk
    1d98b6a0b90c serial: 8250_dw: Switch to use uart_read_port_properties()
    f59e2391d3a9 serial: port: Introduce a common helper to read properties
    68a53d1212ed serial: core: Add UPIO_UNKNOWN constant for unknown port type
    1006d1b5eb01 device property: Implement device_is_big_endian()
    dd431c3ac1fc ima: Fix use-after-free on a dentry's dname.name
    0b8fba38bdfb greybus: Fix use-after-free bug in gb_interface_release due to race condition.
    aefd8f343d90 selftests: net: lib: avoid error removing empty netns name
    44bdef23572c selftests: net: lib: support errexit with busywait
    1d650d2c9bcc selftests/net/lib: no need to record ns name if it already exist
    d722ed2530e1 selftests/net/lib: update busywait timeout value
    8a73c08e00fe cachefiles, erofs: Fix NULL deref in when cachefiles is not doing ondemand-mode
    3beccb6a326d remoteproc: k3-r5: Jump to error handling labels in start/stop errors
    bb2f3187e310 selftests: forwarding: Avoid failures to source net/lib.sh
    2a969959b94f selftests/net: add variable NS_LIST for lib.sh
    04f7b9b4d7f8 selftests/net: add lib.sh
    dd782da47076 Revert "fork: defer linking file vma until vma is fully initialized"
    72b5c7f3b358 serial: 8250_pxa: Configure tx_loadsz to match FIFO IRQ level
    0d73477af964 mm/huge_memory: don't unpoison huge_zero_folio
    93d61e1bac0a tick/nohz_full: Don't abuse smp_call_function_single() in tick_setup_device()
    614d397be0cf nilfs2: fix potential kernel bug due to lack of writeback flag waiting
    f8474caf39bd swiotlb: extend buffer pre-padding to alloc_align_mask if necessary
    6c385c1fa0a7 swiotlb: Reinstate page-alignment for mappings >= PAGE_SIZE
    6033fc9522d2 swiotlb: Enforce page alignment in swiotlb_alloc()
    9f2050106f37 xfs: allow cross-linking special files without project quota
    8bb0402836d0 xfs: don't use current->journal_info
    79ba47df4e98 xfs: allow sunit mount option to repair bad primary sb stripe values
    ae609281ecae xfs: ensure submit buffers on LSN boundaries in error handlers
    04fa4269089b xfs: shrink failure needs to hold AGI buffer
    ea365e606231 xfs: fix SEEK_HOLE/DATA for regions with active COW extents
    7f0e5af2690a xfs: fix scrub stats file permissions
    20bccdb03a7b xfs: fix imprecise logic in xchk_btree_check_block_owner
    092571ef9a81 btrfs: zoned: fix use-after-free due to race with dev replace
    069e0cc343da btrfs: zoned: factor out DUP bg handling from btrfs_load_block_group_zone_info
    68713bc70dab btrfs: zoned: factor out single bg handling from btrfs_load_block_group_zone_info
    a139ad664240 btrfs: zoned: factor out per-zone logic from btrfs_load_block_group_zone_info
    f9526760879a btrfs: zoned: introduce a zone_info struct in btrfs_load_block_group_zone_info
    a3be677629e4 pmdomain: ti-sci: Fix duplicate PD referrals
    6fd062713d99 intel_th: pci: Add Lunar Lake support
    ebcef9116484 intel_th: pci: Add Meteor Lake-S support
    c8727ddde12c intel_th: pci: Add Sapphire Rapids SOC support
    37eb9f7cc719 intel_th: pci: Add Granite Rapids SOC support
    3b08df88b00d intel_th: pci: Add Granite Rapids support
    f287b1e34f1d drm/i915: Fix audio component initialization
    7a9883be3b98 drm/i915/dpt: Make DPT object unshrinkable
    1b4a8b89bf67 drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)
    1d2f1123a05e drm/i915/gt: Disarm breadcrumbs if engines are already idle
    42524cc5feef rtla/auto-analysis: Replace \t with spaces
    d32f12e15732 rtla/timerlat: Simplify "no value" printing on top
    8661a7af0499 riscv: rewrite __kernel_map_pages() to fix sleeping in invalid context
    6ee0c842d4ad iio: invensense: fix interrupt timestamp alignment
    955c824d543c iio: adc: axi-adc: make sure AXI clock is enabled
    33187fa1a8bb remoteproc: k3-r5: Do not allow core1 to power up before core0 via sysfs
    2494bc856e7c remoteproc: k3-r5: Wait for core0 power-up before powering up core1
    aa81c7b078e0 dmaengine: axi-dmac: fix possible race in remove()
    4145835ec209 PCI: rockchip-ep: Remove wrong mask on subsys_vendor_id
    3c361f313d69 ocfs2: fix races between hole punching and AIO+DIO
    7ec0e3b86f5a ocfs2: use coarse time for new created files
    518fbd644dab fs/proc: fix softlockup in __read_vmcore
    ba04b459efd1 knfsd: LOOKUP can return an illegal error value
    591d5b12f814 spmi: hisi-spmi-controller: Do not override device identifier
    e293c6b38ac9 vmci: prevent speculation leaks by sanitizing event in event_deliver()
    2d11505e79c7 dma-buf: handle testing kthreads creation failure
    e946428439a0 sock_map: avoid race between sock_map_close and sk_psock_put
    2c581ca0d68f null_blk: Print correct max open zones limit in null_init_zoned_dev()
    5fc6b708ef20 kheaders: explicitly define file modes for archived headers
    fcb88dc66b72 tracing/selftests: Fix kprobe event name test for .isra. functions
    d63e501ac6da riscv: fix overlap of allocated page and PTR_ERR
    7063f15d2ae2 perf auxtrace: Fix multiple use of --itrace option
    809a2ed17179 perf/core: Fix missing wakeup when waiting for context reference
    348008f0043c x86/amd_nb: Check for invalid SMN reads
    d91ddd050826 x86/kexec: Fix bug with call depth tracking
    5c0fb9cb404a irqchip/gic-v3-its: Fix potential race condition in its_vlpi_prop_update()
    6d0881a00d4c clkdev: Update clkdev id usage to allow for longer names
    dbf0787c2f45 mptcp: pm: update add_addr counters after connect
    09469a081715 mptcp: pm: inc RmAddr MIB counter once per RM_ADDR ID
    f1f0a46f8bb8 mptcp: ensure snd_una is properly initialized on connect
    35bcf16b4a28 drm/exynos: hdmi: report safe 640x480 mode as a fallback when no EDID found
    a269c5701244 drm/exynos/vidi: fix memory leak in .get_modes()
    fd880577c6d4 ACPI: x86: Force StorageD3Enable on more products
    5bf196f1936b parisc: Try to fix random segmentation faults in package builds
    a42b0060d6ff drivers: core: synchronize really_probe() and dev_uevent()
    e57c84e156e7 iio: imu: inv_icm42600: delete unneeded update watermark call
    aaf6b327a386 iio: invensense: fix odr switching to same value
    8e472061a32c iio: dac: ad5592r: fix temperature channel scaling value
    24ff87bb9f0b iio: adc: ad9467: fix scan type sign
    d4f3861893f9 x86/boot: Don't add the EFI stub to targets, again
    db20d4e4872b ksmbd: fix missing use of get_write in in smb2_set_ea()
    13b38f9262f5 ksmbd: move leading slash check to smb2_get_name()
    86c9713602f7 misc: microchip: pci1xxxx: fix double free in the error handling of gp_aux_bus_probe()
    ca6660c95624 bnxt_en: Adjust logging of firmware messages in case of released token in __hwrm_send()
    185c72f6b9eb af_unix: Read with MSG_PEEK loops if the first unread byte is OOB
    183ebc167a8a ionic: fix use after netif_napi_del()
    7caefa277172 net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
    a6cc9e9a651b net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
    96d3265fc4f1 net/ipv6: Fix the RT cache flush via sysctl using a previous delay
    9a3eb4816ab9 nvmet-passthru: propagate status from id override functions
    fe1e395563cc block: fix request.queuelist usage in flush
    6b7155458ed2 block: sed-opal: avoid possible wrong address reference in read_sed_opal_key()
    35119b1139e7 net: stmmac: replace priv->speed with the portTransmitRate from the tc-cbs parameters
    d01f39f73bed gve: ignore nonrelevant GSO type bits when processing TSO headers
    b0c95cefd9b6 net: pse-pd: Use EOPNOTSUPP error code instead of ENOTSUPP
    2ad10c2aadb7 scsi: ufs: core: Quiesce request queues before checking pending cmds
    567cfc59e468 x86/uaccess: Fix missed zeroing of ia32 u64 get_user() range checking
    5396ce9a5e68 x86/asm: Use %c/%n instead of %P operand modifier in asm templates
    2ba35b37f780 netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
    b30669fdea0c netfilter: nft_inner: validate mandatory meta and payload
    7ccca396e989 Bluetooth: fix connection setup in l2cap_connect
    599a28fa9ecd Bluetooth: L2CAP: Fix rejecting L2CAP_CONN_PARAM_UPDATE_REQ
    110764a0713e net/mlx5e: Fix features validation check for tunneled UDP (non-VXLAN) packets
    bb5c1b0fbd98 geneve: Fix incorrect inner network header offset when innerprotoinherit is set
    c72660999c17 net dsa: qca8k: fix usages of device_get_named_child_node()
    d61808ac9947 tcp: fix race in tcp_v6_syn_recv_sock()
    b5c8ffc8cfde drm/bridge/panel: Fix runtime warning on panel bridge release
    9460961d8213 drm/komeda: check for error-valued pointer
    f100031fd6a5 net: stmmac: dwmac-qcom-ethqos: Configure host DMA width
    fd2b613bc4c5 liquidio: Adjust a NULL pointer handling path in lio_vf_rep_copy_packet
    47016dcb50e9 net: hns3: add cond_resched() to hns3 ring buffer init process
    689de7c3bfc7 net: hns3: fix kernel crash problem in concurrent scenario
    ef01c26d6f7a net: sfp: Always call `sfp_sm_mod_remove()` on remove
    6797259d9b92 modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o
    6fdc1152afae af_unix: Annotate data-race of sk->sk_state in unix_accept().
    b82c97a79b8e drm/vmwgfx: Don't memcmp equivalent pointers
    ce48b688a8d2 drm/vmwgfx: Remove STDU logic from generic mode_valid function
    15a875ecfc2f drm/vmwgfx: 3D disabled should not effect STDU memory limits
    3ca8e582e03e drm/vmwgfx: Filter modes which exceed graphics memory
    b0b05171de1f drm/vmwgfx: Refactor drm connector probing for display modes
    f677ca8cfefe HID: logitech-dj: Fix memory leak in logi_dj_recv_switch_to_dj_mode()
    1bbadf953fad io_uring/io-wq: avoid garbage value of 'match' in io_wq_enqueue()
    ab702c3483db io_uring/io-wq: Use set_bit() and test_bit() at worker->flags
    7388ae6f26c0 iommu: Return right value in iommu_sva_bind_device()
    c344d7030717 iommu/amd: Fix sysfs leak in iommu init
    30f76bc468b9 HID: core: remove unnecessary WARN_ON() in implement()
    17a6806f606f gpio: tqmx86: fix broken IRQ_TYPE_EDGE_BOTH interrupt type
    12043e85bd71 gpio: tqmx86: store IRQ trigger type and unmask status separately
    01aa7b7a3dd7 gpio: tqmx86: introduce shadow register for GPIO output value
    d69079010813 gpio: tqmx86: fix typo in Kconfig label
    b07a62f8c843 platform/x86: dell-smbios: Fix wrong token data in sysfs
    2c82e21bbc05 drm/panel: sitronix-st7789v: Add check for of_drm_get_panel_orientation
    ca060e255794 nvme: fix nvme_pr_* status code parsing
    beb2dde5e1b9 selftests/tracing: Fix event filter test to retry up to 10 times
    b21cae468849 NFS: add barriers when testing for NFS_FSDATA_BLOCKED
    b1a6e884de15 SUNRPC: return proper error from gss_wrap_req_priv
    c30988e06b15 NFSv4.1 enforce rootpath check in fs_location query
    a9aa5a49c8ed clk: sifive: Do not register clkdevs for PRCI clocks
    dff9b2238969 selftests/ftrace: Fix to check required event file
    3bf0b8030296 cachefiles: flush all requests after setting CACHEFILES_DEAD
    d2d3eb377a5d cachefiles: defer exposing anon_fd until after copy_to_user() succeeds
    527db1cb4cd6 cachefiles: never get a new anonymous fd if ondemand_id is valid
    1d95e5010ce8 cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
    3958679c4915 cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
    a6de82765e12 cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()
    9f5fa40f0924 cachefiles: add restore command to recover inflight ondemand read requests
    e564e48ca299 cachefiles: add spin_lock for cachefiles_ondemand_info
    f740fd943bb1 cachefiles: resend an open request if the read request's object is closed
    33d21f0658cf cachefiles: extract ondemand info field from cachefiles_object
    955190e1851a cachefiles: introduce object ondemand state
    50d0e55356ba cachefiles: remove requests from xarray during flushing requests
    19133f53f199 cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
    d8316838aa06 cxl/region: Fix memregion leaks in devm_cxl_add_region()
    09b4aa2815bf cxl/test: Add missing vmalloc.h for tools/testing/cxl/test/mem.c
    b3f206985a33 HID: nvidia-shield: Add missing check for input_ff_create_memless
    af4cff0dd640 powerpc/uaccess: Fix build errors seen with GCC 13/14
    2ce5341c3699 gve: Clear napi->skb before dev_kfree_skb_any()
    323d2563bde0 scsi: sd: Use READ(16) when reading block zero on large capacity disks
    9079338c5a0d scsi: mpt3sas: Avoid test/set_bit() operating in non-allocated memory
    da097dccaece scsi: mpi3mr: Fix ATA NCQ priority support
    3e9785d3e92b scsi: core: Disable CDL by default
    d5ceeb0b6a71 thunderbolt: debugfs: Fix margin debugfs node creation condition
    d4121290b427 xhci: Apply broken streams quirk to Etron EJ188 xHCI host
    949be4ec5835 xhci: Handle TD clearing for multiple streams case
    0a834fb6dbd8 xhci: Apply reset resume quirk to Etron EJ188 xHCI host
    834c57876cc2 xhci: Set correct transferred length for cancelled bulk transfers
    4598233d9748 jfs: xattr: fix buffer overflow for invalid xattr
    cc30d05b34f9 landlock: Fix d_parent walk
    3380fa014a89 serial: port: Don't block system suspend even if bytes are left to xmit
    b895a1b981cf tty: n_tty: Fix buffer offsets when lookahead is used
    ce356d8d7e91 mei: me: release irq in mei_me_pci_resume error path
    ad47b23e4704 usb: typec: tcpm: Ignore received Hard Reset in TOGGLING state
    04c05d50fa79 usb: typec: tcpm: fix use-after-free case in tcpm_register_source_caps
    b641889cc1cf USB: xen-hcd: Traverse host/ when CONFIG_USB_XEN_HCD is selected
    72a3fe36cf9f USB: class: cdc-wdm: Fix CPU lockup caused by excessive log messages
    43cfac7b88ad io_uring: check for non-NULL file pointer in io_file_can_poll()
    0c9df3df0c88 io_uring/rsrc: don't lock while !TASK_RUNNING
    d18b05eda7fa nilfs2: fix nilfs_empty_dir() misjudgment and long loop on I/O errors
    8394dce13573 nilfs2: return the mapped address from nilfs_get_page()
    39a143a2b072 bpf: fix multi-uprobe PID filtering logic
    7ec535ed8724 eventfs: Update all the eventfs_inodes from the events descriptor
    1c88d94a7a33 irqchip/riscv-intc: Prevent memory leak when riscv_intc_init_common() fails
    85ca483e729d irqchip/riscv-intc: Introduce Andes hart-level interrupt controller
    482095341313 irqchip/riscv-intc: Allow large non-standard interrupt number
    01c987b8282c selftests/mm: compaction_test: fix bogus test success on Aarch64
    3f6ccd40afc4 selftests/mm: log a consistent test name for check_compaction
    d39532e9186a selftests/mm: conform test to TAP format output
    bb9bb13ce64c mm/memory-failure: fix handling of dissolved but not taken off from buddy pages
    fe01748ca6d6 memory-failure: use a folio in me_huge_page()
    130b4b9478c3 firmware: qcom_scm: disable clocks if qcom_scm_bw_enable() fails
    16ece7c5645a ksmbd: use rwsem instead of rwlock for lease break
    6548d543a274 net: ethtool: fix the error condition in ethtool_get_phy_stats_ethtool()
    7e796c3fefa8 ipv6: fix possible race in __fib6_drop_pcpu_from()
    d8011254e9b1 af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
    60db0759c4f5 af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().
    471ec7b77a8d af_unix: Use skb_queue_empty_lockless() in unix_release_sock().
    f1683d07ebd1 af_unix: Use unix_recvq_full_lockless() in unix_stream_connect().
    29fce603b14b af_unix: Annotate data-race of net->unx.sysctl_max_dgram_qlen.
    996ec22ff576 af_unix: Annotate data-races around sk->sk_sndbuf.
    4398f59518ce af_unix: Annotate data-races around sk->sk_state in UNIX_DIAG.
    0ede400c32ae af_unix: Annotate data-race of sk->sk_state in unix_stream_read_skb().
    776fcc45e3f4 af_unix: Annotate data-races around sk->sk_state in sendmsg() and recvmsg().
    3d25de6486f4 af_unix: Annotate data-race of sk->sk_state in unix_stream_connect().
    484e036e1a2c af_unix: Annotate data-races around sk->sk_state in unix_write_space() and poll().
    4e38d6c04943 af_unix: Annotate data-race of sk->sk_state in unix_inq_len().
    45733e981e8c af_unix: Annodate data-races around sk->sk_state for writers.
    8003545ca10d af_unix: Set sk->sk_state under unix_state_lock() for truly disconencted peer.
    040d93848703 net: wwan: iosm: Fix tainted pointer delete is case of region creation fail
    649b63f5daf6 ice: add flag to distinguish reset from .ndo_bpf in XDP rings config
    eab834acb474 ice: remove af_xdp_zc_qps bitmap
    3201ba7d1c8c ice: fix iteration of TLVs in Preserved Fields Area
    b21bb09f8be6 ptp: Fix error message on failed pin verification
    724050ae4b76 net/sched: taprio: always validate TCA_TAPRIO_ATTR_PRIOMAP
    d857df86837a net/mlx5: Fix tainted pointer delete is case of flow rules creation fail
    6ccada6ffb42 net/mlx5: Always stop health timer during driver removal
    e3001df36cd6 net/mlx5: Stop waiting for PCI if pci channel is offline
    3dd41669b300 mptcp: count CLOSE-WAIT sockets for MPTCP_MIB_CURRESTAB
    acdf17546ef8 tcp: count CLOSE-WAIT sockets for TCP_MIB_CURRESTAB
    924f7bbfc5cf vxlan: Fix regression when dropping packets due to invalid src addresses
    54c2c171c11a net: sched: sch_multiq: fix possible OOB write in multiq_tune()
    cba5467442b2 net: phy: Micrel KSZ8061: fix errata solution not taking effect problem
    b03255294e88 net/smc: avoid overwriting when adjusting sock bufsizes
    2d7912f3ac65 octeontx2-af: Always allocate PF entries from low prioriy zone
    d387805d4b4a bpf: Set run context for rawtp test_run callback
    50569d12945f net: tls: fix marking packets as decrypted
    f8dd092e8b47 ipv6: sr: block BH in seg6_output_core() and seg6_input_core()
    db21c1ee6b6d ipv6: ioam: block BH from ioam6_output()
    9ee14af24e67 vmxnet3: disable rx data ring on dma allocation failure
    834aa2c34b8f KVM: SEV-ES: Delegate LBR virtualization to the processor
    b6e4076ca94b KVM: SEV: Do not intercept accesses to MSR_IA32_XSS for SEV-ES guests
    2128bae4ecab KVM: SEV-ES: Disallow SEV-ES guests when X86_FEATURE_LBRV is absent
    91cff53136da bpf: Fix a potential use-after-free in bpf_link_free()
    2ad2f2edb944 bpf: Optimize the free of inner map
    5aa03dd388d1 bpf: Store ref_ctr_offsets values in bpf_uprobe array
    02a255723e6b net: phy: micrel: fix KSZ9477 PHY issues after suspend/resume
    645e643eeb9a net/ncsi: Fix the multi thread manner of NCSI driver
    d7dd9d1f02b2 net/ncsi: Simplify Kconfig/dts control flow
    87cc2514162f ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put()
    52100fd74ad0 ax25: Fix refcount imbalance on inbound connections
    909dc098a754 RISC-V: KVM: Fix incorrect reg_subtype labels in kvm_riscv_vcpu_set_reg_isa_ext function
    5d8622f61ef1 RISC-V: KVM: No need to use mask when hart-index-bit is 0
    b2b1043ac1f5 scsi: ufs: mcq: Fix error output and clean up ufshcd_mcq_abort()
    2f467fefdfae wifi: mac80211: correctly parse Spatial Reuse Parameter Set element
    a05018739a5e wifi: iwlwifi: mvm: don't read past the mfuart notifcation
    29a18d56bd64 wifi: iwlwifi: mvm: check n_ssids before accessing the ssids
    f7773fff6dda wifi: iwlwifi: dbg_ini: move iwl_dbg_tlv_free outside of debugfs ifdef
    bdfa7cf3281b wifi: iwlwifi: mvm: set properly mac header
    1ef2671de723 wifi: iwlwifi: mvm: revert gen2 TX A-MPDU size to 64
    1fd3f32695af wifi: iwlwifi: mvm: don't initialize csa_work twice
    ff2b4dc81e67 wifi: cfg80211: pmsr: use correct nla_get_uX functions
    0ccc63958d83 wifi: cfg80211: Lock wiphy in cfg80211_get_station
    46b7eff59a32 wifi: cfg80211: fully move wiphy work to unbound workqueue
    456bbb8a31e4 wifi: mac80211: Fix deadlock in ieee80211_sta_ps_deliver_wakeup()
    63d5f89bb566 wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects
    c31365597a17 powerpc/uaccess: Fix build errors seen with GCC 13/14
    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: c404775afcb500aa931ace1289df7a194f0778ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:03 +01:00
Bruce Ashfield
8a86afb28c linux-yocto/6.6: update to v6.6.34
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    64ebf485c56b usb: dwc3: core: remove lock of otg mode during gadget suspend/resume to avoid deadlock
    76d42e596d89 Linux 6.6.34
    8353b7f70dd2 smp: Provide 'setup_max_cpus' definition on UP too
    50f3931746b5 selftests: net: more strict check in net_helper
    225de871ddf9 smb: client: fix deadlock in smb2_find_smb_tcon()
    9c3095ad40f9 powerpc/bpf: enforce full ordering for ATOMIC operations with BPF_FETCH
    b48f81d2c3dc ALSA: seq: Fix incorrect UMP type for system messages
    44bc51c08d64 btrfs: fix leak of qgroup extent records after transaction abort
    3d08c52ba188 btrfs: fix crash on racing fsync and size-extending write into prealloc
    e5104cbb146f tracefs: Clear EVENT_INODE flag in tracefs_drop_inode()
    4e84ead3f60a eventfs: Keep the directories from having the same inode number as files
    5ade5fbdbbb1 eventfs: Fix a possible null pointer dereference in eventfs_find_events()
    cbc4dacaa5b1 NFS: Fix READ_PLUS when server doesn't support OP_READ_PLUS
    d6ea0e12befb nfs: fix undefined behavior in nfs_block_bits()
    9191b574d7dc EDAC/igen6: Convert PCIBIOS_* return codes to errnos
    8f84ae504348 EDAC/amd64: Convert PCIBIOS_* return codes to errnos
    0a9007271e3f ALSA: ump: Don't accept an invalid UMP protocol number
    3113ff8e496c ALSA: ump: Don't clear bank selection after sending a program change
    e3ae00ee238b ASoC: SOF: ipc4-topology: Fix input format query of process modules without base extension
    1c7891812d85 genirq/irqdesc: Prevent use-after-free in irq_find_at_or_after()
    aed55acbb929 i3c: master: svc: fix invalidate IBI type and miss call client IBI handler
    e049845096e9 s390/cpacf: Make use of invalid opcode produce a link error
    ab278ff72afc s390/cpacf: Split and rework cpacf query functions
    4c0bfb4e867c s390/ap: Fix crash in AP internal function modify_bitmap()
    b2b685c77ee3 parisc: Define sigset_t in parisc uapi header
    6de4da0f1a5f parisc: Define HAVE_ARCH_HUGETLB_UNMAPPED_AREA
    eea3545abf60 ARM: dts: samsung: exynos4412-origen: fix keypad no-autorepeat
    1a48d7cf6ee5 ARM: dts: samsung: smdk4412: fix keypad no-autorepeat
    0da0e880b8c7 ARM: dts: samsung: smdkv310: fix keypad no-autorepeat
    f7f84721fd77 riscv: dts: starfive: Remove PMIC interrupt info for Visionfive 2 board
    a95df6f04f2c ext4: fix mb_cache_entry's e_refcnt leak in ext4_xattr_block_cache_find()
    b0b47084f5d3 ext4: set type of ac_groups_linear_remaining to __u32 to avoid overflow
    3093e586b019 ext4: Fixes len calculation in mpage_journal_page_buffers
    3194771798ef drm/amdkfd: handle duplicate BOs in reserve_bo_and_cond_vms
    58ce0788c75f sparc: move struct termio to asm/termios.h
    5af198c38712 net: fix __dst_negative_advice() race
    ea303a7af85b kdb: Use format-specifiers rather than memset() for padding in kdb_read()
    e00ec562b0e0 kdb: Merge identical case statements in kdb_read()
    958ba65a3590 kdb: Fix console handling when editing and tab-completing commands
    d373d3c633dc kdb: Use format-strings rather than '\0' injection in kdb_read()
    107e825cc448 kdb: Fix buffer overflow during tab-complete
    4c09df400284 wifi: ath10k: fix QCOM_RPROC_COMMON dependency
    f07224c16678 bonding: fix oops during rmmod
    8b732150f2e3 watchdog: rti_wdt: Set min_hw_heartbeat_ms to accommodate a safety margin
    766975238305 selftests/mm: fix build warnings on ppc64
    0eb43c377af5 selftests/mm: compaction_test: fix incorrect write of zero to nr_hugepages
    c55d3564ad25 mm/vmalloc: fix vmalloc which may return null if called with __GFP_NOFAIL
    2eeff6e36cd3 mm: /proc/pid/smaps_rollup: avoid skipping vma after getting mmap_lock again
    cb3ea7684a43 mm/hugetlb: pass correct order_per_bit to cma_declare_contiguous_nid
    f317e97da981 mm/cma: drop incorrect alignment check in cma_init_reserved_mem
    3e64c37fe391 sparc64: Fix number of online CPUs
    35c8cf7b8a71 rtla/timerlat: Fix histogram report when a cpu count is 0
    bb5afc42c42c intel_th: pci: Add Meteor Lake-S CPU support
    8f893e52b9e0 cpufreq: amd-pstate: Fix the inconsistency in max frequency units
    b54d24eb4a67 tpm_tis: Do *not* flush uninitialized work
    19e85d939001 kmsan: do not wipe out origin when doing partial unpoisoning
    99ed145f4611 mm/ksm: fix ksm_zero_pages accounting
    0a82b46a0172 mm/ksm: fix ksm_pages_scanned accounting
    6c1791130b78 net/9p: fix uninit-value in p9_client_rpc()
    400b8fb66c74 net/ipv6: Fix route deleting failure when metric equals 0
    a19b2bc5d0c4 scsi: core: Handle devices which return an unusually large VPD page count
    6d458d0dcca9 HID: i2c-hid: elan: fix reset suspend current leakage
    90dd0592b3b0 i2c: acpi: Unbind mux adapters before delete
    9ee7a77c150b iomap: fault in smaller chunks for non-large folio mappings
    1f3988ca0d7a filemap: add helper mapping_max_folio_size()
    be0ce3f6ffea mm: fix race between __split_huge_pmd_locked() and GUP-fast
    2e083ef23431 kbuild: Remove support for Clang's ThinLTO caching
    c2d443aa1ae3 crypto: qat - Fix ADF_DEV_RESET_SYNC memory leak
    d14104360c27 crypto: ecrdsa - Fix module auto-load on add_key
    cc3306fb04b1 crypto: ecdsa - Fix module auto-load on add-key
    a68c0c55fa4c clk: qcom: clk-alpha-pll: fix rate setting for Stromer PLLs
    9562dbe5cdbb clk: bcm: rpi: Assign ->num before accessing ->hws
    0dc913217fb7 clk: bcm: dvp: Assign ->num before accessing ->hws
    ca6d6d872a8b LoongArch: Override higher address bits in JUMP_VIRT_ADDR
    ae9e39a2fbf5 LoongArch: Add all CPUs enabled by fdt to NUMA node 0
    93ca96f098f8 KVM: arm64: AArch32: Fix spurious trapping of conditional instructions
    5bff951fedac KVM: arm64: Allow AArch32 PSTATE.M to be restored as System mode
    6660e152e5eb KVM: arm64: Fix AArch32 register narrowing on userspace write
    f79edaf73709 KVM: SVM: WARN on vNMI + NMI window iff NMIs are outright masked
    bb430ea4ba31 Revert "drm/amdkfd: fix gfx_target_version for certain 11.0.3 devices"
    7bc52dce0732 drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms
    f0c5c944c6d8 9p: add missing locking around taking dentry fid list
    4eff07025c84 drm/amdgpu/atomfirmware: add intergrated info v2.3 table
    b8385ff814ca fbdev: savage: Handle err return when savagefb_check_var failed
    bd2ad553f18c drm/fbdev-generic: Do not set physical framebuffer address
    22d04790d656 mmc: sdhci-acpi: Add quirk to enable pull-up on the card-detect GPIO on Asus T100TA
    b5636348f324 mmc: sdhci-acpi: Disable write protect detection on Toshiba WT10-A
    e000578a3ad3 mmc: sdhci-acpi: Fix Lenovo Yoga Tablet 2 Pro 1380 sdcard slot not working
    e236bb53fd6b mmc: sdhci-acpi: Sort DMI quirks alphabetically
    d9ae0aa8ff8f mmc: sdhci: Add support for "Tuning Error" interrupts
    c0a16ff432fe mmc: core: Add mmc_gpiod_set_cd_config() function
    7590da4c04dd mmc: davinci: Don't strip remove function when driver is builtin
    a80d1da923f6 media: v4l: async: Fix notifier list entry init
    001b4825c93b media: v4l: async: Don't set notifier's V4L2 device if registering fails
    87100b092462 media: v4l: async: Properly re-initialise notifier entry in unregister
    dde33147c93a media: v4l2-core: hold videodev_lock until dev reg, finishes
    3e7eeba0d345 media: mxl5xx: Move xpt structures off stack
    77c4cd7e0b38 media: mc: mark the media devnode as registered from the, start
    e80d9db99b7b media: mc: Fix graph walk in media_pipeline_start
    2a24da4cf675 arm64: dts: ti: verdin-am62: Set memory size to 2gb
    3f03a4a9e2f5 arm64: dts: hi3798cv200: fix the size of GICR
    ea17c9aeb6c3 arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
    4c59282ad9d3 wifi: rtlwifi: rtl8192de: Fix endianness issue in RX path
    50ebdaa25932 wifi: rtlwifi: rtl8192de: Fix low speed with WPA3-SAE
    96e544378e16 wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power
    8539d0b03919 wifi: rtl8xxxu: Fix the TX power of RTL8192CU, RTL8723AU
    7994e88dabcb wifi: rtw89: pci: correct TX resource checking for PCI DMA channel of firmware command
    cd2538e5af49 md/raid5: fix deadlock that raid5d() wait for itself to clear MD_SB_CHANGE_PENDING
    f9e0a4ec4b5d arm64: dts: qcom: qcs404: fix bluetooth device address
    49c23519d698 arm64: tegra: Correct Tegra132 I2C alias
    17695c8d5049 ACPI: resource: Do IRQ override on TongFang GXxHRXx and GMxHGxx
    6a283d64b486 soc: qcom: rpmh-rsc: Enhance check for VRM in-flight request
    0a47ba94ec3d thermal/drivers/qcom/lmh: Check for SCM availability at probe
    3d22872e7740 platform/chrome: cros_ec: Handle events during suspend after resume completion
    0c08b92f9827 proc: Move fdinfo PTRACE_MODE_READ check into the inode .permission operation
    d171c85d74c6 fsverity: use register_sysctl_init() to avoid kmemleak warning
    c5a39f16436a ata: pata_legacy: make legacy_exit() work again
    91d930732554 wifi: rtw89: correct aSIFSTime for 6GHz band
    6479b9f41583 bcache: fix variable length array abuse in btree_iter
    5b0a3dc3e878 drm/amdgpu: add error handle to avoid out-of-bounds
    7d12e918f299 media: lgdt3306a: Add a check against null-pointer-def
    be0155202e43 f2fs: fix to do sanity check on i_xattr_nid in sanity_check_inode()
    2c66a89962a0 drm/sun4i: hdmi: Move mode_set into enable
    8474d4b41617 drm/sun4i: hdmi: Convert encoder to atomic
    68de50dc581c selftests: net: List helper scripts in TEST_FILES Makefile variable
    d7e2ad42a056 selftests: net: included needed helper in the install targets
    a38459118746 selftests/net: synchronize udpgro tests' tx and rx connection
    461db4b51c29 vxlan: Fix regression when dropping packets due to invalid src addresses
    417dbd7be383 mm: ratelimit stat flush from workingset shrinker
    15cc248e7efa erofs: avoid allocating DEFLATE streams before mounting
    184873af8791 mptcp: fix full TCP keep-alive support
    89e11fe49fee mptcp: cleanup SOL_TCP handling
    41089d9c8a45 mptcp: avoid some duplicate code in socket option handling
    0af20700561e riscv: signal: handle syscall restart before get_signal
    9399baa02e4b net: sfp-bus: fix SFP mode detect from bitrate
    ed2d2ead1779 afs: Don't cross .backup mountpoint from backup volume
    b8d50770ec03 mmc: core: Do not force a retune before RPMB switch
    cfa73607eb21 drm/i915/hwmon: Get rid of devm
    140cf97204b5 Linux 6.6.33
    c273cae03895 riscv: stacktrace: fixed walk_stackframe()
    3090c06d50ea riscv: prevent pt_regs corruption for secondary idle threads
    af628d43a822 SUNRPC: Fix loop termination condition in gss_free_in_token_pages()
    c775ffab3e53 f2fs: use f2fs_{err,info}_ratelimited() for cleanup
    4647876e7e4e f2fs: write missing last sum blk of file pinning section
    98ed486436a0 perf sched timehist: Fix -g/--call-graph option failure
    fdc455cd0204 drm/msm/dpu: make error messages at dpu_core_irq_register_callback() more sensible
    2948c1e5d5f4 media: vsp1: Remove unbalanced .s_stream(0) calls
    c353aa21f256 nouveau: report byte usage in VRAM usage.
    d0afcca9ced4 RDMA/bnxt_re: Fix the sparse warnings
    f33052802e3d perf evlist: Add perf_evlist__go_system_wide() helper
    95e33c0f617b perf util: Add a function for replacing characters in a string
    1a705491f35c platform/x86/intel-uncore-freq: Don't present root domain on error
    31729546c144 platform/x86/intel/tpmi: Handle error from tpmi_process_info()
    59f86a290838 genirq/cpuhotplug, x86/vector: Prevent vector leak during CPU offline
    66c92af813bc KVM: x86: Don't advertise guest.MAXPHYADDR as host.MAXPHYADDR in CPUID
    d6873acc3e09 x86/pci: Skip early E820 check for ECAM region
    9dce01f386c9 efi: libstub: only free priv.runtime_map when allocated
    2a2f9b87c477 x86/efistub: Omit physical KASLR when memory reservations exist
    2c95241ac5fc ALSA: timer: Set lower bound of start tick time
    b7c4ef7ba313 ALSA: seq: ump: Fix swapped song position pointer data
    e67cae4255e9 hwmon: (shtc1) Fix property misspelling
    d800e1868f3d hwmon: (intel-m10-bmc-hwmon) Fix multiplier for N6000 board power sensor
    e0216316828f drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 panel
    042adfbfe8dc drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel
    442b5ee91a5e drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel
    81c52c0ccc6a powerpc/pseries/lparcfg: drop error message from guest name lookup
    5f1b01a8c8a5 ALSA: seq: Fix yet another spot for system message conversion
    54213c09801e ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
    659ef6fd4934 net: ena: Fix redundant device NUMA node override
    26668c2d449d net: ena: Reduce lines with longer column width boundary
    f826701d02f8 net: dsa: microchip: fix RGMII error in KSZ DSA driver
    2c2e3247e898 spi: stm32: Don't warn about spurious interrupts
    db9312853608 kheaders: use `command -v` to test for existence of `cpio`
    0b01a41e2ce4 drm/i915/gt: Fix CCS id's calculation for CCS mode setting
    d154613d2b3d drm/i915/guc: avoid FIELD_PREP warning
    2b6e818fc609 kconfig: fix comparison to constant symbols, 'm', 'n'
    b939d1e04a90 net/sched: taprio: extend minimum interval restriction to entire cycle too
    aa311596411b net/sched: taprio: make q->picos_per_byte available to fill_sched_entry()
    61134e41db23 netfilter: nft_fib: allow from forward/input without iif selector
    570b4c52096e netfilter: tproxy: bail out if IP has been disabled on the device
    c4f77480e569 netfilter: nft_payload: skbuff vlan metadata mangle support
    75bc6bc559b9 net: ti: icssg-prueth: Fix start counter for ft1 filter
    4448b5eaab86 ALSA: seq: Don't clear bank selection at event -> UMP MIDI2 conversion
    5c3df8c4f45b ALSA: seq: Fix missing bank setup between MIDI1/MIDI2 UMP conversion
    562f8862baea selftests: mptcp: join: mark 'fail' tests as flaky
    99ac814eb13f selftests: mptcp: add ms units for tc-netem delay
    052c9f0c140c selftests: mptcp: simult flows: mark 'unbalanced' tests as flaky
    71e61511c3a5 ice: fix accounting if a VLAN already exists
    98101ca23a35 net: micrel: Fix lan8841_config_intr after getting out of sleep mode
    f0c58df7719f net:fec: Add fec_enet_deinit()
    000a65bf1dc0 bpf: Allow delete from sockmap/sockhash only if update is allowed
    5da6d51d4837 ASoC: cs42l43: Only restrict 44.1kHz for the ASP
    ec361a0ffc33 net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM
    208d04341c8f Octeontx2-pf: Free send queue buffers incase of leaf to inner
    ac325c7f8944 af_unix: Read sk->sk_hash under bindlock during bind().
    302fe8dd147b af_unix: Annotate data-race around unix_sk(sk)->addr.
    f6638e955ca0 enic: Validate length of nl attributes in enic_set_vf_port
    07bbe6668e1e ALSA: hda/realtek: Adjust G814JZR to use SPI init for amp
    cb9c2bd4ec8c ALSA: core: Remove debugfs at disconnection
    b26e0fa2cf8c ALSA: jack: Use guard() for locking
    f58eec14685a bpf: Fix potential integer overflow in resolve_btfids
    a4ee78244445 dma-buf/sw-sync: don't enable IRQ from sync_print_obj()
    de1a0a2d9db8 net/mlx5e: Fix UDP GSO for encapsulated packets
    33933f006d2e net/mlx5e: Use rx_missed_errors instead of rx_dropped for reporting buffer exhaustion
    aa60de63fdd1 net/mlx5e: Fix IPsec tunnel mode offload feature check
    b0a15cde37a8 net/mlx5: Use mlx5_ipsec_rx_status_destroy to correctly delete status rules
    fb035aa9a3f8 net/mlx5: Fix MTMP register capability offset in MCAM register
    e5bdf4eeeb1d net/mlx5: Lag, do bond only if slaves agree on roce state
    07327fcbec97 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8061
    dedc1dfaa6df drm/amd/display: Enable colorspace property for MST connectors
    ca3b4293dcca nvmet: fix ns enable/disable possible hang
    36989c682505 nvme-multipath: fix io accounting on failover
    87d78f7eb76b nvme-tcp: add definitions for TLS cipher suites
    5a91116b0031 dma-mapping: benchmark: handle NUMA_NO_NODE correctly
    34a816d8735f dma-mapping: benchmark: fix node id validation
    856dc7eb7fbc dma-mapping: benchmark: fix up kthread-related error handling
    a9da6ddaef9e kthread: add kthread_stop_put
    1b5234b2241a spi: Don't mark message DMA mapped when no transfer in it is
    0889e6f20986 netfilter: nft_payload: restore vlan q-in-q match support
    5278e4354a5b netfilter: ipset: Add list flush to cancel_gc
    8f365564af89 netfilter: nfnetlink_queue: acquire rcu_read_lock() in instance_destroy_rcu()
    1547183852dc tpm_tis_spi: Account for SPI header when allocating TPM SPI xfer buffer
    ad4b202da2c4 tracing/probes: fix error check in parse_btf_field()
    c3e439cb04cf kasan, fortify: properly rename memintrinsics
    d346e1475703 ice: Interpret .set_channels() input differently
    e155741ec4f5 drivers/xen: Improve the late XenStore init protocol
    46e72ebc6b35 nfc: nci: Fix handling of zero-length payload packets in nci_rx_work()
    87bdc9f6f58b net: relax socket state check at accept time.
    ab67c2fd3d07 tls: fix missing memory barrier in tls_init
    d470a8090476 net: fec: avoid lock evasion when reading pps_enable
    11f1fb814994 Revert "ixgbe: Manual AN-37 for troublesome link partners for X550 SFI"
    20da5bfd669b i3c: master: svc: change ENXIO to EAGAIN when IBI occurs during start frame
    3dc730aa1b1e i3c: master: svc: return actual transfer data len
    46fb7121fc42 i3c: master: svc: rename read_len as actual_len
    fe52ab31f050 i3c: add actual_len in i3c_priv_xfer
    04207a9c64e0 virtio: delete vq in vp_find_vqs_msix() when request_irq() fails
    7871f32b4564 net: lan966x: Remove ptp traps in case the ptp is not enabled.
    c5caa03d86a7 rv: Update rv_en(dis)able_monitor doc to match kernel-doc
    9f2ad88f9b34 arm64: asm-bug: Add .align 2 to the end of __BUG_ENTRY
    69c47b3763af openvswitch: Set the skbuff pkt_type for proper pmtud support.
    ae08aea3f517 pNFS/filelayout: fixup pNfs allocation modes
    02261d3f9dc7 tcp: Fix shift-out-of-bounds in dctcp_update_alpha().
    ef633ecb5452 regulator: tps6594-regulator: Correct multi-phase configuration
    0e44d6cbe8de ipv6: sr: fix memleak in seg6_hmac_init_algo
    d59ae9314b97 af_unix: Update unix_sk(sk)->oob_skb under sk_receive_queue lock.
    35db7c9d01d9 regulator: tps6287x: Force writing VSEL bit
    f46695d3b08e regulator: pickable ranges: don't always cache vsel
    706dff4ff7a4 rpcrdma: fix handling for RDMA_CM_EVENT_DEVICE_REMOVAL
    f3a8f8670fa6 sunrpc: fix NFSACL RPC retry on soft mount
    511811a7d39c nfs: keep server info for remounts
    0d317bcf81a1 NFSv4: Fixup smatch warning for ambiguous return
    57847c2ec5fb ASoC: tas2781: Fix wrong loading calibrated data sequence
    92503b5caab6 ASoC: tas2552: Add TX path for capturing AUDIO-OUT data
    e53a7f8afcbd nfc: nci: Fix uninit-value in nci_rx_work
    f354dc8c7d32 selftests: net: kill smcrouted in the cleanup logic in amt.sh
    f4df8c7670a7 ipv6: sr: fix missing sk_buff release in seg6_input_core
    521d21fa65cb net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled
    1d95dbaa6ee7 x86/kconfig: Select ARCH_WANT_FRAME_POINTERS again when UNWINDER_FRAME_POINTER=y
    3a487e3cab05 perf/arm-dmc620: Fix lockdep assert in ->event_init()
    01f5809c78e6 xen/x86: add extra pages to unpopulated-alloc if available
    d08e87998339 regulator: bd71828: Don't overwrite runtime voltages
    b1bee9931287 blk-cgroup: Properly propagate the iostat update up the hierarchy
    714e59b5456e blk-cgroup: fix list corruption from reorder of WRITE ->lqueued
    d4a60298ac34 blk-cgroup: fix list corruption from resetting io stat
    3652ac87c993 drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations
    6446c1ca2dd2 nouveau: add an ioctl to report vram usage
    929eaf32dde4 nouveau: add an ioctl to return vram bar size.
    38c2fd9aeddc ASoC: mediatek: mt8192: fix register configuration for tdm
    9054c474f9c2 ALSA: hda: cs35l56: Fix lifetime of cs_dsp instance
    f95fde17ed53 ALSA: hda: cs35l56: Initialize all ASP1 registers
    3fd715d61716 ASoC: cs35l56: Fix to ensure ASP1 registers match cache
    6e359be49750 ALSA: hda/cs_dsp_ctl: Use private_free for control cleanup
    1b5cfb411b73 null_blk: Fix the WARNING: modpost: missing MODULE_DESCRIPTION()
    2d062f7468c8 ASoC: tas2781: Fix a warning reported by robot kernel test
    a1955a6df913 drm/msm/a6xx: Avoid a nullptr dereference when speedbin setting fails
    2a09eb7e36cc selftests/powerpc/dexcr: Add -no-pie to hashchk tests
    6ead3eccf67b drm: zynqmp_dpsub: Always register bridge
    f33888b9b686 Revert "drm/bridge: ti-sn65dsi83: Fix enable error path"
    89af84e6514a media: cec: core: avoid confusing "transmit timed out" message
    1af4790bc117 media: cec: core: avoid recursive cec_claim_log_addrs
    cceda163b711 media: cec: cec-api: add locking in cec_release()
    8f40b92f5480 media: cec: cec-adap: always cancel work in cec_transmit_msg_fh
    75aafce64a3a media: sunxi: a83-mips-csi2: also select GENERIC_PHY
    24b9362c9fa5 cxl/region: Fix cxlr_pmem leaks
    d5ac654babea cxl/trace: Correct DPA field masks for general_media & dram events
    8a328396a5fb um: Fix the declaration of kasan_map_memory
    a5cd85608738 um: Fix the -Wmissing-prototypes warning for get_thread_reg
    59e34e390cfd um: Fix the -Wmissing-prototypes warning for __switch_mm
    adb1c558c610 powerpc/pseries: Add failure related checks for h_get_mpp and h_get_ppp
    3d50e4cef2e6 media: flexcop-usb: fix sanity check of bNumEndpoints
    408facc7965e platform/x86: thinkpad_acpi: Take hotkey_mutex during hotkey_exit()
    ec653f4474d7 tools/arch/x86/intel_sdsi: Fix meter_certificate decoding
    8af4923b045b tools/arch/x86/intel_sdsi: Fix meter_show display
    42adfac5d2c7 tools/arch/x86/intel_sdsi: Fix maximum meter bundle length
    c73d3273272b media: mediatek: vcodec: fix possible unbalanced PM counter
    f29a42642069 media: mediatek: vcodec: add encoder power management helper functions
    19bd9537b6bc drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()
    bdd5bbe96782 drm/amdgpu: init microcode chip name from ip versions
    a4c638ab2578 Input: cyapa - add missing input core locking to suspend/resume functions
    d410017a7181 media: stk1160: fix bounds checking in stk1160_copy_video()
    3fe7b95312b3 drm/bridge: tc358775: fix support for jeida-18 and jeida-24
    873f67699114 drm/msm/dpu: Add callback function pointer check before its call
    04c2fca45506 drm/msm/dpu: stop using raw IRQ indices in the kernel output
    3bbe257c466f drm/msm/dpu: make the irq table size static
    a70ce2bb1d46 drm/msm/dpu: add helper to get IRQ-related data
    186a82662d13 drm/msm/dpu: extract dpu_core_irq_is_valid() helper
    50cf1608f184 drm/msm/dpu: remove irq_idx argument from IRQ callbacks
    1fe1c9dc21ee fs/ntfs3: Use variable length array instead of fixed size
    109d85a98345 fs/ntfs3: Use 64 bit variable to avoid 32 bit overflow
    6c8054d59066 fs/ntfs3: Check 'folio' pointer for NULL
    92ce7359f988 um: vector: fix bpfflash parameter evaluation
    434a06c38ee1 um: Add winch to winch_handlers before registering winch IRQ
    e98f29bf0b5f um: Fix return value in ubd_init()
    900d54bced61 drm/meson: gate px_clk when setting rate
    22432baba48a drm/mediatek: dp: Fix mtk_dp_aux_transfer return value
    3f388ca6a434 drm/msm/dpu: Always flush the slave INTF on the CTL
    01d8692b0c34 drm/msm/dsi: Print dual-DSI-adjusted pclk instead of original mode pclk
    755575a42c4f media: ov2680: Do not fail if data-lanes property is absent
    08754dd758d5 media: ov2680: Allow probing if link-frequencies is absent
    a7e0a70ac6d3 media: ov2680: Clear the 'ret' variable on success
    9a496f7d1828 media: v4l: Don't turn on privacy LED if streamon fails
    35556d0e1c61 media: v4l2-subdev: Document and enforce .s_stream() requirements
    4031c57f024a Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation
    063d89156f2d mmc: sdhci_am654: Fix ITAPDLY for HS400 timing
    2b8d2a6e5363 mmc: sdhci_am654: Add ITAPDLYSEL in sdhci_j721e_4bit_set_clock
    3433a340630e mmc: sdhci_am654: Add OTAP/ITAP delay enable
    3525baf3a929 mmc: sdhci_am654: Drop lookup for deprecated ti,otap-del-sel
    fa9a2c696ad1 mmc: sdhci_am654: Write ITAPDLY for DDR52 timing
    57205cf9c18a mmc: sdhci_am654: Add tuning algorithm for delay chain
    b003b8c15cbb Input: ims-pcu - fix printf string overflow
    69f245b86cef dt-bindings: adc: axi-adc: add clocks property
    a291998f8a09 dt-bindings: adc: axi-adc: update bindings for backend framework
    51a2049a2c08 eventfs: Have "events" directory get permissions from its parent
    281eaee393c7 eventfs: Free all of the eventfs_inode after RCU
    14aa4f3efc6e eventfs/tracing: Add callback for release of an eventfs_inode
    e5c80b23523b eventfs: Create eventfs_root_inode to store dentry
    11244a432850 serial: sc16is7xx: fix bug in sc16is7xx_set_baud() when using prescaler
    f0eb53ffd8d9 serial: sc16is7xx: replace hardcoded divisor value with BIT() macro
    c6fecd07435f misc/pvpanic-pci: register attributes via pci_driver
    e9194a954c44 misc/pvpanic: deduplicate common code
    f68f3e3f5c9c iio: accel: mxc4005: Reset chip on probe() and resume()
    43424f70535b iio: accel: mxc4005: allow module autoloading via OF compatible
    e26405d5b266 eventfs: Do not differentiate the toplevel events directory
    64a9a930afe9 drm/amd/display: Revert Remove pixle rate limit for subvp
    242f11be47ab drm/amd/display: Remove pixle rate limit for subvp
    cb9f455e27ed gpiolib: acpi: Fix failed in acpi_gpiochip_find() by adding parent node match
    b3b8ba37529c dt-bindings: PCI: rockchip,rk3399-pcie: Add missing maxItems to ep-gpios
    916cf5d6ae97 s390/boot: Remove alt_stfle_fac_list from decompressor
    2102692eb23f s390/ipl: Fix incorrect initialization of nvme dump block
    b34ea5b97561 s390/ipl: Fix incorrect initialization of len fields in nvme reipl block
    2028823f1d71 s390/vdso: Use standard stack frame layout
    0e035cb818c5 s390/vdso: Create .build-id links for unstripped vdso files
    07423c9b4375 kbuild: fix build ID symlinks to installed debug VDSO files
    adacfc6dec4c kbuild: unify vdso_install rules
    a422869153dd s390/vdso: Generate unwind information for C modules
    6bd72dd0f70c s390/vdso64: filter out munaligned-symbols flag for vdso
    379ec9d95c89 LoongArch: Fix callchain parse error with kernel tracepoint events again
    5af155f9b168 perf pmu: Count sys and cpuid JSON events separately
    4ac93db3dd4d perf pmu: Assume sysfs events are always the same case
    930e16ac95b0 perf tools: Add/use PMU reverse lookup from config to name
    923b83bc8692 perf tools: Use pmus to describe type from attribute
    c5aaeae250d3 perf pmu: "Compat" supports regular expression matching identifiers
    f989dc009070 perf pmu: Move pmu__find_core_pmu() to pmus.c
    d37e53e8c826 perf test: Add a test for strcmp_cpuid_str() expression
    a46c6144117a perf stat: Don't display metric header for non-leader uncore events
    7723485af6de usb: fotg210: Add missing kernel doc description
    f0cdc3e248e3 f2fs: fix to add missing iput() in gc_data_segment()
    1003d16ea271 perf daemon: Fix file leak in daemon_session__control
    c546fef47cd5 libsubcmd: Fix parse-options memory leak
    70d6dca40318 serial: sh-sci: protect invalidating RXDMA on shutdown
    9f9341064a9b f2fs: compress: don't allow unaligned truncation on released compress inode
    8d2fc8ae670a f2fs: fix to release node block count in error path of f2fs_new_node_page()
    329edb7c9e3b f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
    81c975902b15 f2fs: compress: fix error path of inc_valid_block_count()
    b8a742a8bd6d f2fs: introduce get_available_block_count() for cleanup
    5f8e5a096e2b f2fs: deprecate io_bits
    92b24f04d3e5 f2fs: compress: fix to update i_compr_blocks correctly
    9ec45f857a01 perf symbols: Fix ownership of string in dso__load_vmlinux()
    c3cc46563103 perf maps: Move symbol maps functions to maps.c
    c5314cfa9287 perf thread: Fixes to thread__new() related to initializing comm
    9029a775f0d7 perf report: Avoid SEGV in report__setup_sample_type()
    e50576c7e61f perf ui browser: Avoid SEGV on title
    6902179a415a f2fs: fix block migration when section is not aligned to pow2
    40d76c393cca f2fs: support file pinning for zoned devices
    066cec37094d f2fs: kill heap-based allocation
    61330214b227 f2fs: separate f2fs_gc_range() to use GC for a range
    f0248ba6b640 f2fs: use BLKS_PER_SEG, BLKS_PER_SEC, and SEGS_PER_SEC
    42d48304f64e f2fs: support printk_ratelimited() in f2fs_printk()
    6496d63a1641 f2fs: Clean up errors in segment.h
    e02a267a69aa PCI/EDR: Align EDR_PORT_LOCATE_DSM with PCI Firmware r3.3
    84ae90ba37c1 PCI/EDR: Align EDR_PORT_DPC_ENABLE_DSM with PCI Firmware r3.3
    787b7ddf434f dt-bindings: spmi: hisilicon,hisi-spmi-controller: fix binding references
    913a00ec6b09 extcon: max8997: select IRQ_DOMAIN instead of depending on it
    a8860002cae5 perf ui browser: Don't save pointer to stack memory
    88b88dd7d8c2 perf bench internals inject-build-id: Fix trap divide when collecting just one DSO
    cd99864e1f7f i2c: synquacer: Fix an error handling path in synquacer_i2c_probe()
    bb220136ae51 i2c: cadence: Avoid fifo clear after start
    ec3468221efe ppdev: Add an error check in register_device
    b596340b8552 ppdev: Remove usage of the deprecated ida_simple_xx() API
    370c480410f6 stm class: Fix a double free in stm_register_device()
    4e125b96e333 usb: gadget: u_audio: Clear uac pointer when freed.
    453d3fa9266e usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.
    9eb15f24a0b9 dmaengine: idxd: Avoid unnecessary destruction of file_ida
    4ef5468e84d5 dt-bindings: phy: qcom,usb-snps-femto-v2: use correct fallback for sc8180x
    6357221b68e0 dt-bindings: phy: qcom,sc8280xp-qmp-ufs-phy: fix msm899[68] power-domains
    dc14f0a2c61b watchdog: sa1100: Fix PTR_ERR_OR_ZERO() vs NULL check in sa1100dog_probe()
    d47f51eb1fc3 watchdog: bd9576: Drop "always-running" property
    9b1c063ffc07 watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger
    cd283810f6ae pinctrl: qcom: pinctrl-sm7150: Fix sdc1 and ufs special pins regs
    dedf17b3af39 dt-bindings: pinctrl: mediatek: mt7622: fix array properties
    6954ae017718 VMCI: Fix an error handling path in vmci_guest_probe_device()
    b5f31d1470c4 PCI: of_property: Return error for int_map allocation failure
    97ba21401b89 ovl: remove upper umask handling from ovl_create_upper()
    034968dbd867 leds: pwm: Disable PWM when going to suspend
    a10c3d5ff9a3 pwm: Rename pwm_apply_state() to pwm_apply_might_sleep()
    6bb1efff9b17 perf intel-pt: Fix unassigned instruction op (discovered by MemorySanitizer)
    0053891e2f4f PCI: Wait for Link Training==0 before starting Link retrain
    65ce3fad7d59 microblaze: Remove early printk call from cpuinfo-static.c
    6240bd8981c6 microblaze: Remove gcc flag for non existing early_printk.c file
    a758e99cd644 udf: Convert udf_expand_file_adinicb() to use a folio
    7745b1b785aa udf: Remove GFP_NOFS allocation in udf_expand_file_adinicb()
    4d7d12b643c0 fpga: region: add owner module and take its refcount
    0bd22a4966d5 vfio/pci: fix potential memory leak in vfio_intx_enable()
    e642622550c8 i915: make inject_virtual_interrupt() void
    bb6f7de21d4c coresight: etm4x: Fix access to resource selector registers
    3840a3f37a67 coresight: etm4x: Safe access for TRCQCLTR
    0c575997dee0 coresight: etm4x: Do not save/restore Data trace control registers
    42f016cd8593 coresight: etm4x: Do not hardcode IOMEM access for register restore
    720d27664d7c iio: adc: adi-axi-adc: only error out in major version mismatch
    d3513f1261a0 iio: adc: adi-axi-adc: move to backend framework
    184b2967d578 iio: adc: ad9467: convert to backend framework
    5fc4f0c01cb2 iio: add the IIO backend framework
    e1fc56c40068 iio: buffer-dmaengine: export buffer alloc and free functions
    b70042e4dc7f iio: adc: adi-axi-adc: convert to regmap
    864b42f8b3f3 iio: adc: ad9467: use chip_info variables instead of array
    a679a40bd2ec iio: adc: ad9467: use spi_get_device_match_data()
    08f5bd2032c0 iio: pressure: dps310: support negative temperature values
    d3ced099f31d perf test shell arm_coresight: Increase buffer size for Coresight basic tests
    e61cb35f56f9 perf docs: Document bpf event modifier
    0688c4f7c5e8 coresight: etm4x: Fix unbalanced pm_runtime_enable()
    1083681ea208 riscv: dts: starfive: visionfive 2: Remove non-existing TDM hardware
    1145fda91f70 iio: adc: stm32: Fixing err code to not indicate success
    f84122681853 f2fs: fix to check pinfile flag in f2fs_move_file_range()
    5632bdb4e9be f2fs: fix to relocate check condition in f2fs_fallocate()
    116d824f953a f2fs: compress: fix to relocate check condition in f2fs_ioc_{,de}compress_file()
    1d59aa23a3fa f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()
    ff9504c045b5 perf bench uprobe: Remove lib64 from libc.so.6 binary path
    f56632928a6d dt-bindings: PCI: rcar-pci-host: Add missing IOMMU properties
    479e4daae636 dt-bindings: PCI: rcar-pci-host: Add optional regulators
    829afc132f63 perf record: Fix debug message placement for test consumption
    aa4158e31612 perf record: Move setting tracking events before record__init_thread_masks()
    e024e98e81f9 perf evlist: Add evlist__findnew_tracking_event() helper
    28a50a15d1b8 perf tests: Apply attributes to all events in object code reading test
    fca6659b4edc perf tests: Make "test data symbol" more robust on Neoverse N1
    bf386f268b29 arm64: dts: meson: fix S4 power-controller node
    e21a398d22e6 interconnect: qcom: qcm2290: Fix mas_snoc_bimc QoS port assignment
    28f5a08600d0 module: don't ignore sysfs_create_link() failures
    3431d265eab2 serial: sc16is7xx: add proper sched.h include for sched_set_fifo()
    967cb01d0a80 PCI: tegra194: Fix probe path for Endpoint mode
    46c6fc133dc1 greybus: arche-ctrl: move device table to its right location
    749603af8faa serial: max3100: Fix bitwise types
    e8a10089eddb serial: max3100: Update uart_driver_registered on driver removal
    93df2fba6c7d serial: max3100: Lock port->lock when calling uart_handle_cts_change()
    73c6ddb499bb perf annotate: Fix annotation_calc_lines() to pass correct address to get_srcline()
    80e06e547d42 perf annotate: Use global annotation_options
    1157abdc2e03 perf top: Convert to the global annotation_options
    e0af85d60b7a perf report: Convert to the global annotation_options
    dfd02119aef9 perf annotate: Introduce global annotation_options
    260de04387c0 perf annotate: Split branch stack cycles information out of 'struct annotation_line'
    4ddf437cae2c perf machine thread: Remove exited threads by default
    7adc363bc29e perf record: Lazy load kernel symbols
    1f428149492f firmware: dmi-id: add a release callback function
    59767d1e3019 dmaengine: idma64: Add check for dma_set_max_seg_size
    7eeef1e935d2 soundwire: cadence: fix invalid PDI offset
    6ee4ad5dfb15 perf stat: Do not fail on metrics on s390 z/VM systems
    32f615e0a580 usb: typec: ucsi: simplify partner's PD caps registration
    ad864c123b7a usb: typec: ucsi: always register a link to USB PD device
    1ec229afd45c perf annotate: Get rid of duplicate --group option item
    30dc493b8195 counter: linux/counter.h: fix Excess kernel-doc description warning
    d7c4081c54a1 fpga: bridge: add owner module and take its refcount
    2da62a139a62 fpga: manager: add owner module and take its refcount
    4b3609e6c805 f2fs: fix to wait on page writeback in __clone_blkaddrs()
    2b2611a42462 f2fs: multidev: fix to recognize valid zero block address
    ac12df6b9729 phy: qcom: qmp-combo: fix duplicate return in qmp_v4_configure_dp_phy
    518e2c46b5db greybus: lights: check return of get_channel_from_mode
    fe92a949b264 iio: core: Leave private pointer NULL when no private data supplied
    5c53a28ab253 perf probe: Add missing libgen.h header needed for using basename()
    834e603dbe28 perf record: Delete session after stopping sideband thread
    2f593fd9d3cc net: wangxun: fix to change Rx features
    941e1c6d8683 sched/core: Fix incorrect initialization of the 'burst' parameter in cpu_max_write()
    4d9d099ab291 sched/fair: Allow disabling sched_balance_newidle with sched_relax_domain_level
    ee3577c5d33c af_packet: do not call packet_read_pending() from tpacket_destruct_skb()
    f28bdc2ee5d9 netrom: fix possible dead-lock in nr_rt_ioctl()
    57fa96c04ef9 net: qrtr: ns: Fix module refcnt
    4488617e5e99 net: bridge: mst: fix vlan use-after-free
    76282afa17e9 selftests: net: bridge: increase IGMP/MLD exclude timeout membership interval
    1abb37114790 net: bridge: xmit: make sure we have at least eth header len bytes
    00ea83bfb496 modules: Drop the .export_symbol section from the final modules
    4aa2d5fd7ee0 tracing/user_events: Fix non-spaced field matching
    4c40e1b76e6e tracing/user_events: Prepare find/delete for same name events
    2fc3d0ac097b tracing/user_events: Allow events to persist for perfmon_capable users
    3eb127dc408b RDMA/cma: Fix kmemleak in rdma_core observed during blktests nvme/rdma use siw
    e011ea687f2f RDMA/IPoIB: Fix format truncation compilation errors
    382494aa8881 selftests/kcmp: remove unused open mode
    c1d8c429e4d2 SUNRPC: Fix gss_free_in_token_pages()
    a658f011d89d bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
    29feea56dedf RDMA/bnxt_re: Adds MSN table capability for Gen P7 adapters
    9a54460b3394 RDMA/bnxt_re: Update the HW interface definitions
    e300b1b95c93 RDMA/bnxt_re: Remove roundup_pow_of_two depth for all hardware queue resources
    f52e649e933a RDMA/bnxt_re: Refactor the queue index update
    0b0d5701a8bf of: module: add buffer overflow check in of_modalias()
    370a86dc97ef ext4: remove the redundant folio_wait_stable()
    07fa88b0f340 ext4: fix potential unnitialized variable
    f4fb561d52e1 sunrpc: removed redundant procp check
    e873f36ec890 drivers/virt/acrn: fix PFNMAP PTE checks in acrn_vm_ram_map()
    d5c75ededb2d virt: acrn: stop using follow_pfn
    c7cca4c61f44 ext4: avoid excessive credit estimate in ext4_tmpfile()
    caaee1b858c2 x86/insn: Add VEX versions of VPDPBUSD, VPDPBUSDS, VPDPWSSD and VPDPWSSDS
    3d22be008bd1 x86/insn: Fix PUSH instruction in x86 instruction decoder opcode map
    6973cb78f0ca clk: qcom: mmcc-msm8998: fix venus clock issue
    631c54f07d78 clk: qcom: dispcc-sm8550: fix DisplayPort clocks
    e91d89de5e71 clk: qcom: dispcc-sm6350: fix DisplayPort clocks
    7ef714778dd0 clk: qcom: dispcc-sm8450: fix DisplayPort clocks
    65e528a69cb3 lib/test_hmm.c: handle src_pfns and dst_pfns allocation failure
    6d06fc4edfb0 clk: renesas: r9a07g043: Add clock and reset entry for PLIC
    6c7455605a30 clk: renesas: r8a779a0: Fix CANFD parent clock
    8696be3a5f66 IB/mlx5: Use __iowrite64_copy() for write combining stores
    03ff3e23adca RDMA/rxe: Fix incorrect rxe_put in error path
    13c7bb72d372 RDMA/rxe: Allow good work requests to be executed
    21b4c6d4d890 RDMA/rxe: Fix seg fault in rxe_comp_queue_pkt
    63cbb3e7044f clk: qcom: clk-alpha-pll: remove invalid Stromer register offset
    1a91f05ca280 clk: rs9: fix wrong default value for clock amplitude
    dd4b239184ee clk: mediatek: mt8365-mm: fix DPI0 parent
    6f541a89ced8 RDMA/hns: Modify the print level of CQE error
    571f79eb1aae RDMA/hns: Use complete parentheses in macros
    b7f2f6d227ce RDMA/hns: Fix GMV table pagesize
    63da190eeb5c RDMA/hns: Fix UAF for cq async event
    22c915af31bd RDMA/hns: Fix deadlock on SRQ async events.
    db415a39ffdb RDMA/hns: Fix return value in hns_roce_map_mr_sg
    6b4f69399291 iommu: Undo pasid attachment only for the devices that have succeeded
    888b03fcd122 clk: mediatek: pllfh: Don't log error for missing fhctl node
    499569c8ab7f RDMA/mlx5: Adding remote atomic access flag to updatable flags
    5880d8ca57d5 RDMA/mlx5: Uncacheable mkey has neither rb_key or cache_ent
    73c5f64cfa85 clk: samsung: exynosautov9: fix wrong pll clock id value
    205b6dd5b799 media: cadence: csi2rx: configure DPHY before starting source stream
    6040fcea4605 drm/edid: Parse topology block for all DispID structure v1.x
    b4c508666981 drm/rockchip: vop2: Do not divide height twice for YUV
    4b3421c2f6f8 media: uvcvideo: Add quirk for Logitech Rally Bar
    dda6efae161d drm/mipi-dsi: use correct return type for the DSC functions
    04b001fa8b79 drm/panel: simple: Add missing Innolux G121X1-L03 format, flags, connector
    bd4fb19e33c8 drm/bridge: anx7625: Update audio status while detecting
    587acea97512 drm/panel: novatek-nt35950: Don't log an error when DSI host can't be found
    7962ae5aadd5 drm/bridge: dpc3433: Don't log an error when DSI host can't be found
    52334bb44f10 drm/bridge: tc358775: Don't log an error when DSI host can't be found
    30cb32c7ec5e drm/bridge: lt9611uxc: Don't log an error when DSI host can't be found
    ae2ac0aef901 drm/bridge: lt9611: Don't log an error when DSI host can't be found
    95b5eba76efe drm/bridge: lt8912b: Don't log an error when DSI host can't be found
    95f959193c32 drm/bridge: icn6211: Don't log an error when DSI host can't be found
    4486576578db drm/bridge: anx7625: Don't log an error when DSI host can't be found
    656fb206aee2 ASoC: tracing: Export SND_SOC_DAPM_DIR_OUT to its value
    42c22b63056c drm: vc4: Fix possible null pointer dereference
    335cc45ef2b8 drm/arm/malidp: fix a possible null pointer dereference
    cc20c87b04db media: atomisp: ssh_css: Fix a null-pointer dereference in load_video_binaries
    1cc6b956ad36 fbdev: sh7760fb: allow modular build
    983e91ad759e media: v4l2-subdev: Fix stream handling for crop API
    c1a3803e5bb9 media: i2c: et8ek8: Don't strip remove function when driver is builtin
    dd271f136601 media: dt-bindings: ovti,ov2680: Fix the power supply names
    db572c397399 media: ipu3-cio2: Request IRQ earlier
    525be5dc8ee0 drm/msm/dp: Avoid a long timeout for AUX transfer if nothing connected
    554484e46383 drm/msm/dp: allow voltage swing / pre emphasis of 3
    dcf53e6103b2 drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference
    0f070f0c3b54 media: radio-shark2: Avoid led_names truncations
    d8076c9e02bb media: rcar-vin: work around -Wenum-compare-conditional warning
    f987b53c28eb media: ngene: Add dvb_ca_en50221_init return value check
    750e384b9b7b ASoC: Intel: avs: Test result of avs_get_module_entry()
    a1780d8a7c26 ASoC: Intel: avs: Fix potential integer overflow
    7976b78631ee ASoC: Intel: avs: Fix ASRC module initialization
    c81b6d64962a selftests: cgroup: skip test_cgcore_lesser_ns_open when cgroup2 mounted without nsdelegate
    be84945440c9 fbdev: sisfb: hide unused variables
    28049d5a74a8 ASoC: SOF: Intel: mtl: Implement firmware boot state check
    f0bf72d1b49e ASoC: SOF: Intel: mtl: Disable interrupts when firmware boot failed
    02be4ce0d0be ASoC: SOF: Intel: mtl: call dsp dump when boot retry fails
    6bdadbee34d9 ASoC: SOF: Intel: lnl: Correct rom_status_reg
    8aeb3dc8b3cd ASoC: SOF: Intel: mtl: Correct rom_status_reg
    368017b1bff7 ASoC: SOF: Intel: pci-mtl: fix ARL-S definitions
    1ef8f0b414ce ASoC: SOF: Intel: pci-mtl: use ARL specific firmware definitions
    46c15b7130fe ASoC: Intel: common: add ACPI matching tables for Arrow Lake
    f0b4617d80c3 powerpc/fsl-soc: hide unused const variable
    af26ea99019c drm/mediatek: Add 0 size check to mtk_drm_gem_obj
    d5689998a093 drm/meson: vclk: fix calculation of 59.94 fractional rates
    1a7254525ca7 ASoC: kirkwood: Fix potential NULL dereference
    4a1dc9721275 fbdev: shmobile: fix snprintf truncation
    87b8dca6e06f ASoC: mediatek: Assign dummy when codec not specified for a DAI link
    9ceb5bd746e1 mtd: rawnand: hynix: fixed typo
    adbd5da08ec6 mtd: core: Report error if first mtd_otp_size() call fails in mtd_otp_nvmem_add()
    a6498eac492b ASoC: Intel: avs: ssm4567: Do not ignore route checks
    48f3fe137323 ASoC: Intel: Disable route checks for Skylake boards
    4e8c8b37ee84 drm/amd/display: Fix potential index out of bounds in color transformation function
    859da9472b4f drm/panel: atna33xc20: Fix unbalanced regulator in the case HPD doesn't assert
    9429b12dfcbd drm/dp: Don't attempt AUX transfers when eDP panels are not powered
    e71399aa6ce1 drm/lcdif: Do not disable clocks on already suspended hardware
    fc49f4d1a15f dev_printk: Add and use dev_no_printk()
    34d80802cb8e printk: Let no_printk() use _printk()
    5fdc39e02494 drm/omapdrm: Fix console with deferred ops
    c00e8fd74950 fbdev: Provide I/O-memory helpers as module
    e79f933ad162 drm/omapdrm: Fix console by implementing fb_dirty
    ec1723175a5f drm/ci: update device type for volteer devices
    aa03f049d453 drm/ci: add subset-1-gfx to LAVA_TAGS and adjust shards
    101bbe559da5 drm/ci: uprev mesa version: fix container build & crosvm
    45755ef11f03 drm/bridge: Fix improper bridge init order with pre_enable_prev_first
    5af2e235b0d5 Bluetooth: HCI: Remove HCI_AMP support
    75d7ac5e225e Bluetooth: hci_event: Remove code to removed CONFIG_BT_HS
    0a8af30a8672 Bluetooth: Remove usage of the deprecated ida_simple_xx() API
    f03d3322a785 Bluetooth: ISO: Fix BIS cleanup
    dfde465d8907 Bluetooth: qca: Fix error code in qca_read_fw_build_info()
    e231034377bc Bluetooth: compute LE flow credits based on recvbuf space
    3ddf170e4a60 net: micrel: Fix receiving the timestamp in the frame for lan8841
    5f9d2dcf7130 mptcp: SO_KEEPALIVE: fix getsockopt support
    d38625f71950 net: fec: remove .ndo_poll_controller to avoid deadlocks
    965d940fb741 ax25: Fix reference count leak issue of net_device
    38eb01edfdaa ax25: Fix reference count leak issues of ax25_dev
    39da6f09e110 ax25: Use kernel universal linked list to implement ax25_dev_list
    a1bf04458311 riscv, bpf: make some atomic operations fully ordered
    46f17e7d4fb5 s390/bpf: Emit a barrier for BPF_FETCH instructions
    1337ec94bc5a net/mlx5: Discard command completions in internal error
    f9caccdd42e9 net/mlx5: Add a timeout to acquire the command queue semaphore
    e93fc8d959e5 net/mlx5: Reload only IB representors upon lag disable/enable
    66a5f6e09c63 net/mlx5: Enable 4 ports multiport E-switch
    3398a40dccb8 ipv6: sr: fix invalid unregister error path
    6c6b74edc911 ipv6: sr: fix incorrect unregister order
    58fd673b0532 ipv6: sr: add missing seg6_local_exit
    78741b4caae1 net: openvswitch: fix overwriting ct original tuple for ICMPv6
    108ec8bf6483 net: usb: smsc95xx: stop lying about skb->truesize
    0688d4e499be af_unix: Fix data races in unix_release_sock/unix_stream_sendmsg
    8f6f82d6a205 net: ethernet: cortina: Locking fixes
    1ebaa96f97cd selftests: net: move amt to socat for better compatibility
    9d601b81f1fc selftests: net: add missing config for amt.sh
    229d4a32b53e selftests: net: add more missing kernel config
    5de5aeb98f9a eth: sungem: remove .ndo_poll_controller to avoid deadlocks
    11dd90c11ad0 net: ipv6: fix wrong start position when receive hop-by-hop fragment
    68d38724cf53 m68k: mac: Fix reboot hang on Mac IIci
    f3baf0f4f92a m68k: Fix spinlock race in kernel thread creation
    979d764ebdcd net: usb: sr9700: stop lying about skb->truesize
    80cb2f61a613 usb: aqc111: stop lying about skb->truesize
    18f59aab33bc HID: amd_sfh: Handle "no sensors" in PM operations
    9d08e7fd44ca wifi: mwl8k: initialize cmd->addr[] properly
    db9214833e58 x86/numa: Fix SRAT lookup of CFMWS ranges with numa_fill_memblks()
    4c62c6c8a006 kernel/numa.c: Move logging out of numa.h
    0d5cfcede0c9 scsi: qla2xxx: Fix debugfs output for fw_resource_count
    563e60927592 scsi: qedf: Ensure the copied buf is NUL terminated
    204714e68015 scsi: bfa: Ensure the copied buf is NUL terminated
    5386f6734dbc HID: intel-ish-hid: ipc: Add check for pci_alloc_irq_vectors
    c3ae972a22f2 selftests/bpf: Fix pointer arithmetic in test_xdp_do_redirect
    1ec7ccb4cd4b kunit: Fix kthread reference
    2d43d30aafb8 selftests: default to host arch for LLVM builds
    381079197e80 selftests/resctrl: fix clang build failure: use LOCAL_HDRS
    3af6ed233a60 selftests/binderfs: use the Makefile's rules, not Make's implicit rules
    ed74398642fc wifi: nl80211: Avoid address calculations via out of bounds array indexing
    166c9d2eef74 libbpf: Fix error message in attach_kprobe_multi
    35e001ce8492 wifi: mt76: mt7603: add wpdma tx eof flag for PSE client reset
    bdd2255fcfe5 wifi: mt76: mt7603: fix tx queue of loopback packets
    1f29d8571fa1 Revert "sh: Handle calling csum_partial with misaligned data"
    78a12934b721 sh: kprobes: Merge arch_copy_kprobe() into arch_prepare_kprobe()
    6675c541f540 bpf: Add BPF_PROG_TYPE_CGROUP_SKB attach type enforcement in BPF_LINK_CREATE
    b33a81e4ecfb wifi: ar5523: enable proper endpoint verification
    39f8a29330f4 bpf: Fix verifier assumptions about socket->sk
    62eb07923f36 wifi: carl9170: add a proper sanity check for endpoints
    d43a8c7ec084 macintosh/via-macii: Fix "BUG: sleeping function called from invalid context"
    7a44f4944b05 net: give more chances to rcu in netdev_wait_allrefs_any()
    a7678a16c25b drivers/perf: hisi: hns3: Actually use devm_add_action_or_reset()
    be1fa711e59c drivers/perf: hisi: hns3: Fix out-of-bound access when valid event group
    8e9aab249217 drivers/perf: hisi_pcie: Fix out-of-bound access when valid event group
    a80814fe9181 pwm: sti: Simplify probe function using devm functions
    cedd7e536935 pwm: sti: Prepare removing pwm_chip from driver data
    00bb933578ac tcp: avoid premature drops in tcp_add_backlog()
    a47027919d69 net: dsa: mv88e6xxx: Avoid EEPROM timeout without EEPROM on 88E6250-family switches
    d1e3dc19d50f net: dsa: mv88e6xxx: Add support for model-specific pre- and post-reset handlers
    d0e874a34863 wifi: ath10k: populate board data for WCN3990
    abd2e7118519 cpufreq: brcmstb-avs-cpufreq: ISO C90 forbids mixed declarations
    e1dcff6e299f scsi: ufs: core: mcq: Fix ufshcd_mcq_sqe_search()
    51929a8db813 selftests/bpf: Fix a fd leak in error paths in open_netns
    e19681ae6cf9 gfs2: do_xmote fixes
    b68b9dd723db gfs2: finish_xmote cleanup
    d6b412c510ac gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawn
    7c2bc932b60d gfs2: Mark withdraws as unlikely
    0636b34b4458 gfs2: Fix potential glock use-after-free on unmount
    18dfb29644a4 gfs2: Remove ill-placed consistency check
    d312fbf6a24e gfs2: No longer use 'extern' in function declarations
    0db3b4e50241 gfs2: Rename gfs2_lookup_{ simple => meta }
    9db1bdd71441 gfs2: Convert gfs2_internal_read to folios
    d92445b23932 gfs2: Get rid of gfs2_alloc_blocks generation parameter
    09f8c676e4b4 wifi: ath10k: Fix an error code problem in ath10k_dbg_sta_write_peer_debug_trigger()
    55c54269fbd3 dt-bindings: thermal: loongson,ls2k-thermal: Fix incorrect compatible definition
    5b996de139b3 dt-bindings: thermal: loongson,ls2k-thermal: Add Loongson-2K0500 compatible
    27cacfc0818f dt-bindings: thermal: loongson,ls2k-thermal: Fix binding check issues
    2d5ca6e4a287 thermal/drivers/tsens: Fix null pointer dereference
    95575de7dede wifi: ath12k: fix out-of-bound access of qmi_invoke_handler()
    6ae55c7fa6be x86/purgatory: Switch to the position-independent small code model
    6c6c0afd3510 scsi: hpsa: Fix allocation size for Scsi_Host private data
    52c266b486ee scsi: libsas: Fix the failure of adding phy with zero-address to port
    1ea06a34f79c wifi: iwlwifi: mvm: init vif works only once
    f84b9b25d045 cppc_cpufreq: Fix possible null pointer dereference
    c0ed9a711e33 openrisc: traps: Don't send signals to kernel mode threads
    71d865be7c2f udp: Avoid call to compute_score on multiple sites
    edcdeb8a4fdf x86/pat: Fix W^X violation false-positives when running as Xen PV guest
    29681171ff21 x86/pat: Restructure _lookup_address_cpa()
    308fba77bc23 x86/pat: Introduce lookup_address_in_pgd_attr()
    3e99f060cfd2 cpufreq: exit() callback is optional
    99f3af0a1afd tcp: increase the default TCP scaling ratio
    ca19418abcf7 tcp: define initial scaling factor value as a macro
    a7fba17a0596 selftests/bpf: Fix umount cgroup2 error in test_sockmap
    dc03a3755358 x86/boot/64: Clear most of CR4 in startup_64(), except PAE, MCE and LA57
    abea81e6a722 gfs2: Fix "ignore unlock failures after withdraw"
    21d78e4c3661 gfs2: Don't forget to complete delayed withdraw
    673f7120a6e5 ACPI: disable -Wstringop-truncation
    acb5503dbb9c irqchip/loongson-pch-msi: Fix off-by-one on allocation error path
    a9bbafa46c16 irqchip/alpine-msi: Fix off-by-one in allocation error path
    1d4e1fa2f29a locking/atomic/x86: Correct the definition of __arch_try_cmpxchg128()
    040c3a00247d ACPI: LPSS: Advertise number of chip selects via property
    776bad0b1f63 scsi: ufs: core: Perform read back after disabling UIC_COMMAND_COMPL
    92374b6a5af1 scsi: ufs: core: Perform read back after disabling interrupts
    bfd29d5ea6ea scsi: ufs: core: Perform read back after writing UTP_TASK_REQ_LIST_BASE_H
    872f68019bc6 scsi: ufs: cdns-pltfrm: Perform read back after writing HCLKDIV
    8e5ede836b74 scsi: ufs: qcom: Perform read back after writing CGC enable
    d2741b23b1b4 scsi: ufs: qcom: Perform read back after writing unipro mode
    32402b2a9c0b scsi: ufs: qcom: Perform read back after writing REG_UFS_SYS1CLK_1US
    8f01dda10c65 scsi: ufs: qcom: Perform read back after writing reset bit
    b17592380f9d bpf: prevent r10 register from being marked as precise
    7a7d4237e338 bpf: Pack struct bpf_fib_lookup
    f92aebf17026 bpftool: Mount bpffs on provided dir instead of parent dir
    875864670982 wifi: carl9170: re-fix fortified-memset warning
    bc236ebc2ab5 dlm: fix user space lock decision to copy lvb
    0fdbbe7ee7f4 bitops: add missing prototype check
    f3531ac07b4e mlx5: stop warning for 64KB pages
    7dd2a9bb7b75 mlx5: avoid truncating error message
    6541f8ea7623 qed: avoid truncating work queue length
    997a53102a3b enetc: avoid truncating error message
    c5202a38897d ACPI: Fix Generic Initiator Affinity _OSC bit
    2bd572d421e3 sched/fair: Add EAS checks before updating root_domain::overutilized
    c078f2b4921b wifi: iwlwifi: mvm: fix check in iwl_mvm_sta_fw_id_mask
    f0fe67ca7550 wifi: iwlwifi: reconfigure TLC during HW restart
    adde9190997e wifi: iwlwifi: mvm: select STA mask only for active links
    29caa342391c wifi: iwlwifi: mvm: allocate STA links only for active links
    6c166d1646ca wifi: ieee80211: fix ieee80211_mle_basic_sta_prof_size_ok()
    9fa391354a40 x86/boot: Ignore relocations in .notes sections in walk_relocs() too
    22c3d94cd445 wifi: mt76: mt7915: workaround too long expansion sparse warnings
    9cf8052afc94 wifi: ath12k: use correct flag field for 320 MHz channels
    ba3647aa16ae bpftool: Fix missing pids during link show
    424e5ac9761f wifi: ath11k: don't force enable power save on non-running vdevs
    c37466406f07 wifi: brcmfmac: pcie: handle randbuf allocation failure
    014e4e9275de wifi: ath10k: poll service ready message before failing
    e5d98cc3311f block: support to account io_ticks precisely
    99bbbd9aea05 block: fix and simplify blkdevparts= cmdline parsing
    910717920c8c block: refine the EOF check in blkdev_iomap_begin
    e8d340f80977 crypto: qat - specify firmware files for 402xx
    c9566b812c8f md: fix resync softlockup when bitmap size is less than array size
    1fc82121d038 lkdtm: Disable CFI checking for perms functions
    fbadcde1572f soc: qcom: pmic_glink: Make client-lock non-sleeping
    7880dbf4eafe kunit/fortify: Fix mismatched kvalloc()/vfree() usage
    fe3a28db0361 null_blk: Fix missing mutex_destroy() at module removal
    19e9452d731a soc: mediatek: cmdq: Fix typo of CMDQ_JUMP_RELATIVE
    0cac39347f4e firmware: qcom: scm: Fix __scm and waitq completion variable initialization
    8fc7934635bb soc: qcom: pmic_glink: notify clients about the current state
    d02c6eb5d3df soc: qcom: pmic_glink: don't traverse clients list without a lock
    840565b1351a s390/mm: Re-enable the shared zeropage for !PV and !skeys KVM guests
    b410a6c84d84 mm/userfaultfd: Do not place zeropages when zeropages are disallowed
    f32f810dcc19 io-wq: write next_work before dropping acct_lock
    af82d8d2179b jffs2: prevent xattr node from overflowing the eraseblock
    c4f49d3fc18a ARM: configs: sunxi: Enable DRM_DW_HDMI
    afb39909bfb5 rcu: Fix buffer overflow in print_cpu_stall_info()
    32d988f48ed2 rcu-tasks: Fix show_rcu_tasks_trace_gp_kthread buffer overflow
    1319dbd64b73 io_uring: use the right type for work_llist empty check
    a750b846c136 s390/cio: fix tracepoint subchannel type field
    b39d0d661752 crypto: x86/sha512-avx2 - add missing vzeroupper
    1c5bce29d0d9 crypto: x86/sha256-avx2 - add missing vzeroupper
    ba0aa694c332 crypto: x86/nh-avx2 - add missing vzeroupper
    4e9293d660bf crypto: ccp - drop platform ifdef checks
    45b92921759a parisc: add missing export of __cmpxchg_u8()
    fd848dc7e2cf nilfs2: fix out-of-range warning
    2ed750b7ae1b ecryptfs: Fix buffer size for tag 66 packet
    25edcae667c3 firmware: raspberrypi: Use correct device for DMA mappings
    d8c42a6e61d8 mm/slub, kunit: Use inverted data to corrupt kmem cache
    d0f14ae223c2 crypto: bcm - Fix pointer arithmetic
    d142957377c2 openpromfs: finish conversion to the new mount API
    396bc5e54b4f nvmet: prevent sprintf() overflow in nvmet_subsys_nsid_exists()
    daa27fd2e17d ksmbd: fix uninitialized symbol 'share' in smb2_tree_connect()
    4f65f4defe4e epoll: be better about file lifetimes
    71de5fc303a7 nvmet: fix nvme status code when namespace is disabled
    ae451994ba9c nvmet-tcp: fix possible memory leak when tearing down a controller
    b6eaa53f95c2 nvme: cancel pending I/O if nvme controller is in terminal state
    2ab74bf2827b nvmet-auth: replace pr_debug() with pr_err() to report an error.
    57a23adbc4f7 nvmet-auth: return the error code to the nvmet_auth_host_hash() callers
    8871cab467a5 nvme: find numa distance only if controller has valid numa id
    214301d0be27 x86/mm: Remove broken vsyscall emulation code from the page fault code
    6c49ba4025ee drm/amdkfd: Flush the process wq before creating a kfd_process
    de23d906b265 drm/amd/display: Disable seamless boot on 128b/132b encoding
    fefcd1c75baf drm/amd/display: Fix DC mode screen flickering on DCN321
    b6fab47b64f6 drm/amd/display: Add VCO speed parameter for DCN31 FPU
    53a7d15331b0 drm/amd/display: Allocate zero bw after bw alloc enable
    e0760e38474c drm/amd/display: Add dtbclk access to dcn315
    422f3259ac65 drm/amdgpu: Fix VRAM memory accounting
    cc73306bf4bb ALSA: hda: intel-dsp-config: harden I2C/I2S codec detection
    9973c0587149 ASoC: da7219-aad: fix usage of device_get_named_child_node()
    ae14ac3bc076 platform/x86: ISST: Add Grand Ridge to HPM CPU list
    3a83d0d284b9 softirq: Fix suspicious RCU usage in __do_softirq()
    107c893e0a5b ALSA: emu10k1: make E-MU FPGA writes potentially more reliable
    af8dc212f74a bpf, x86: Fix PROBE_MEM runtime load check
    37c275727aef fpga: dfl-pci: add PCI subdevice ID for Intel D5005 card
    964794778606 Input: xpad - add support for ASUS ROG RAIKIRI
    59e9cd63a528 KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
    02c36fe48100 ASoC: rt715-sdca: volume step modification
    be91170bee15 ASoC: rt715: add vendor clear control register
    91a0bd4e9c60 ASoC: cs35l41: Update DSP1RX5/6 Sources for DSP config
    968f6983d41e regulator: vqmmc-ipq4019: fix module autoloading
    5c0b06dca44b regulator: qcom-refgen: fix module autoloading
    b084d3f57748 ASoC: rt722-sdca: add headset microphone vrefo setting
    dace61d6dc59 ASoC: rt722-sdca: modify channel number to support 4 channels
    b642f447cfde ASoC: dt-bindings: rt5645: add cbj sleeve gpio property
    7904b066296a ASoC: rt5645: Fix the electric noise due to the CBJ contacts floating
    f6bb8d6c2a64 ASoC: acp: Support microphone from device Acer 315-24p
    58872c444adc ASoC: SOF: pcm: Restrict DSP D0i3 during S0ix to IPC3
    a73f1e25d581 ALSA: hda: cs35l56: Exit cache-only after cs35l56_wait_for_firmware_boot()
    3ad4d29b6554 regulator: irq_helpers: duplicate IRQ name
    08133330692c ASoC: Intel: bytcr_rt5640: Apply Asus T100TA quirk to Asus T100TAM too
    02580c6afd15 sched/isolation: Fix boot crash when maxcpus < first housekeeping CPU
    1bb875147883 selftests: sud_test: return correct emulated syscall value on RISC-V
    9208e9c8bd0f drm/etnaviv: fix tx clock gating on some GC7000 variants
    b2959fdd3af2 LoongArch: Lately init pmu after smp is online
    976b74fa6084 cpu: Ignore "mitigations" kernel parameter if CPU_MITIGATIONS=n
    d4ed9984871c Revert "net: txgbe: fix clk_name exceed MAX_DEV_ID limits"
    d6a2007376ca Revert "net: txgbe: fix i2c dev name cannot match clkdev"
    39cfce75168c drm/amdgpu/mes: fix use-after-free issue
    67aa2a7b83be drm/amdgpu: Fix the ring buffer size for queue VM flush
    bdbb7611dd2e drm/amdkfd: Add VRAM accounting for SVM migration
    7e1247995853 drm/amd/pm: Restore config space after reset
    04cf241fe5e5 drm/amdgpu: Update BO eviction priorities
    17f689f10fc0 drm/amd/display: Set color_mgmt_changed to true on unsuspend
    85f0812b6d5c net: usb: qmi_wwan: add Telit FN920C04 compositions
    ca2da54610f0 HID: mcp-2221: cancel delayed_work only when CONFIG_IIO is enabled
    e26d4063d223 dt-bindings: rockchip: grf: Add missing type to 'pcie-phy' node
    125c0dcc000f wifi: cfg80211: fix the order of arguments for trace events of the tx_rx_evt class
    ea2121cdc7ab wifi: mac80211: ensure beacon is non-S1G prior to extracting the beacon timestamp field
    0cfadb49ef90 wifi: mac80211: don't use rate mask for scanning
    09133f4b5651 KEYS: asymmetric: Add missing dependencies of FIPS_SIGNATURE_SELFTEST
    21c7e4587e29 KEYS: asymmetric: Add missing dependency on CRYPTO_SIG
    2f103287ef79 ALSA: Fix deadlocks with kctl removals at disconnection
    e644036a3e2b ALSA: core: Fix NULL module pointer assignment at card init
    8d04efceb46f ALSA: hda/realtek: fix mute/micmute LEDs don't work for ProBook 440/460 G11.
    5698ba69326c ksmbd: ignore trailing slashes in share paths
    6772584945b6 ksmbd: avoid to send duplicate oplock break notifications
    579a0c69794b fs/ntfs3: Break dir enumeration if directory contents error
    84906740dc56 fs/ntfs3: Fix case when index is reused during tree transformation
    e4fd2dce71fb fs/ntfs3: Taking DOS names into account during link counting
    df1f6ed23b51 fs/ntfs3: Remove max link count info display during driver init
    a8799662fed1 nilfs2: fix potential hang in nilfs_detach_log_writer()
    f81fd0061066 nilfs2: fix unexpected freezing of nilfs_segctor_sync()
    f9186bba4ea2 nilfs2: fix use-after-free of timer for log writer thread
    d65984358ac0 net: smc91x: Fix m68k kernel compilation for ColdFire CPU
    77237eabdcd9 net: lan966x: remove debugfs directory in probe() error path
    5cd17f0e74cb net: ti: icssg_prueth: Fix NULL pointer dereference in prueth_probe()
    f678c3c33655 tools/nolibc/stdlib: fix memory error in realloc()
    64f0c3bd2dd7 tools/latency-collector: Fix -Wformat-security compile warns
    622ab95fdcfa net: mana: Fix the extra HZ in mana_hwc_send_request
    af3274905b31 ring-buffer: Fix a race between readers and resize checks
    68222d7b4b72 r8169: Fix possible ring buffer corruption on fragmented Tx packets.
    766e3bacc7f9 Revert "r8169: don't try to disable interrupts if NAPI is, scheduled already"
    a9886aad5dfd io_uring: fail NOP if non-zero op flags is passed in
    68a767dd690b Input: try trimming too long modalias strings
    e4a1d0aa0d4d serial: 8520_mtk: Set RTS on shutdown for Rx in-band wakeup
    7e16930d4671 serial: 8250_bcm7271: use default_mux_rate if possible
    c6e1650cf5df speakup: Fix sizeof() vs ARRAY_SIZE() bug
    62c3763dcb03 tty: n_gsm: fix missing receive state reset after mode switch
    774d83b008ec tty: n_gsm: fix possible out-of-bounds in gsm0_receive()
    7b4881da5b19 ftrace: Fix possible use-after-free issue in ftrace_location()
    775de4e954cb selftests/ftrace: Fix BTFARG testcase to check fprobe is enabled correctly
    b1c2d09a40a5 x86/tsc: Trust initial offset in architectural TSC-adjust MSRs
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: b5d18e5da09b889578fb1f004e41869a81e10081)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:03 +01:00
Alexander Kanavin
058c3a6e2b python3: drop deterministic_imports.patch
https://github.com/python/importlib_metadata/issues/489

Upstream discussion revealed that:

- the issue was happening due to a bug in setuptools

- the bug was fixed in setuptools 63 (I confirmed this: empty dist-info
directories no longer seem to trigger any issues if the patch is dropped)

- the patch would obscure any further issues of this kind instead of exposing them
for easy fixing, so they suggest we drop it and report if anything else pops up

(From OE-Core rev: 1a4f25abf29b47949782641c68cc7d3e4136988a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:03 +01:00
Ross Burton
0703fd6c6c librsvg: upgrade to 2.57.3
This is the latest point release in the 2.57.3 stable series.

Version 2.57.3
==============

- #1062 - Limit numOctaves in feTurbulence to avoid unbounded CPU consumption.
- #1064 - Don't panic when a :lang selector has an argument that is
  not a language-range (Lukáš Tyrychtr).

Version 2.57.2
==============

- #1059 - Don't panic when rendering feOffset with a too-large offset.
- #1060 - Don't panic when a decoded image has dimensions of zero.

(From OE-Core rev: 8a5561ea39c395716e9721aa9d98fabbac1a24ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Ross Burton
6a20e23ad9 librsvg: don't try to run target code at build time
The rsvg-loader test binary isn't installed but building it causes a mix
of build host and target code to be executed.  As we don't install the
test, don't build it.

(From OE-Core rev: 78667e67a77df39c2af417e56ebf480962ff2e42)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Khem Raj
4b160cb680 utils.bbclass: Use objdump instead of readelf to compute SONAME
LLVM has changed the ELF header dump format [1], the code in oe_libinstall
relied upon the format and processed the SONAME inside square brackets
e.g.

0x000000000000000e (SONAME)       Library soname: libreadline.so.8

with older readelf from ( llvm <19 or GNU binutils objdump ) we get

0x000000000000000e (SONAME)       Library soname: [libreadline.so.8]

The check in oe_libinstall will now trip over ELF files read by llvm-readelf
from llvm19+

To make it portable which works across GNU binutils and LLVM tools
switch to using objdump -p to dump the ELF file and modify the regexp
accordingly, as an aside, the post processing expression is simplified
too

[1] https://github.com/llvm/llvm-project/pull/96562

(From OE-Core rev: 11ea8dc57f275057e19db564e6c55d2baea980b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Leon Anavi
583f1e55cc u-boot.inc: WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR and B for U-Boot script
and variable UBOOT_ENV_BINARY, for example for boot.scr.

(From OE-Core rev: 62ff94ff40e823065178318133d54e44a3d8a46d)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Guðni Már Gilbert
e2bdb0d529 python3-setuptools: drop python3-2to3 from RDEPENDS
2to3 module was dropped as a dependency in setuptools 58.0

(From OE-Core rev: be952c7b370b064673331e40b4dc0836c9c0b153)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:56:02 +01:00
Peter Marko
c925c8d403 poky-sanity: remove True option to getVar calls
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

(From meta-yocto rev: 672a6bea17fb6e202ccbc1b7ce9a2ebdd6245779)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:53:45 +01:00
Richard Purdie
6be592d2a7 bitbake: codeparser: Skip non-local functions for module dependencies
If modules do something like "from glob import glob" then we end up
checksumming the glob code. That leads to bugs as the code can change
between different python versions for example, leading to checksum
instability.

We should ignore functions not from the current file as implemented
by this change.

(Bitbake rev: 1e6f862864539d6f6a0bea3e4479e0dd40ff3091)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:53:23 +01:00
Richard Purdie
0d49931755 bitbake: codeparser/data: Ensure module function contents changing is accounted for
Currently, if a pylib function changes contents, the taskhash remains
unchanged since we assume the functions have stable output. This is
probably a poor assumption so take the code of the function into account
in the taskhashes. This avoids certain frustrating build failures we've
been seeing in automated testing.

To make this work we have to add an extra entry to the python code parsing
cache so that we can store the hashed function contents for efficiency as
in the python module case, that isn't used as the key to the cache.

The cache version changes since we're adding data to the cache.

(Bitbake rev: b2c3438ebe62793ebabe2c282534893908d520b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-07-01 13:53:23 +01:00
aszh07
058465859e xz: Update LICENSE variable for xz packages
Update LICENSE defined for xz packages to match the license
information provided in the xz COPYING file.

The License information from PACKAGERS file of xz mentions
packages with lzma files are in public domain.They ask to
use GPLv2+, if only it's not possible to mention "PD and GPLv2+".

Include PD license with GPLv2 to packages with lzma content:
xz-dev package contains lzma header
xz-doc package contains lzma man pages
xz packages contains lzma binaries

Links: https://github.com/tukaani-project/xz/blob/v5.4.6/COPYING
       https://github.com/tukaani-project/xz/blob/v5.4.6/PACKAGERS

(From OE-Core rev: 4e5b955def5d9f305f5aba2c68b73287c03fd163)

Signed-off-by: Bhabu Bindu <bindu.bhabu@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Ross Burton
ec0503231f gstreamer1.0: disable flaky baseparser tests
There are three baseparser tests which are causing trouble on the AB,
so disable them as we've filed an upstream bug.

Also fix a typo when we were attempting to disable parser_pull_short_read
where a colon was used instead of a comma.

(From OE-Core rev: 91dbe8d6c57805f38bd287f1b392759df066589b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Khem Raj
315b4ed66d llvm: Update to 18.1.8
Brings following fixes

* 3b5b5c1ec4a3 [libcxx] Align `__recommend() + 1`  by __endian_factor (#90292)
* 72c9425a79fd [libc++][NFC] Rewrite function call on two lines for clarity (#79141)
* 443e23eed24d Bump version to 18.1.8 (#95458)
* 768118d1ad38 [clang-format] Fix a bug in formatting goto labels in macros (#92494)
* 8c0fe0d65ed8 release/18.x: [clang-format] Don't always break before << between str… (#94091)
* 7e6ece9b4f2d [PPCMergeStringPool] Only replace constant once (#92996)
* 1ce2d26cd2e9 Bump version to 18.1.7 (#93723)

(From OE-Core rev: 85a0ebac400fcba497d86c95e5d4d33bd3e0084f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Richard Purdie
e881c552f0 oeqa/runtime/parselogs: Add some kernel log trigger keywords
During testing we're finding some kernel oops messages and other key kernel
errors such as irq issues are not triggering our log parsing.

Add those keywords to the list of things to scan for, making such
failures much more visible.

(From OE-Core rev: ef4623be60226e8caaf7813705aa4941ff354eac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Sreejith Ravi
07eb1bea80 package.py: Add Requires.private field in process_pkgconfig
Currently, the process_pkgconfig() only handles the "Requires" key
field from the .pc file and ignores the "Requires.private" field while
generating the dev dependency chain. This results in a broken dependency
list and requires the installation of recommended packages to resolve
the build dependencies when using the dev IPKs. This increases the
hard disk space usage and download time and installs many unnecessary
packages as part of the recommendations.

This patch ensures that the "Requires.private" field is also considered
when creating the dependency list for the dev IPKs. With this, the dev
IPK will have the proper dependencies listed, eliminating the need to
install recommended packages to resolve the build time dependencies.

Example: usr/lib/pkgconfig/libical.pc
----------
Libs: -L${libdir} -lical -licalss -licalvcal
Libs.private: -lpthread
Requires.private: icu-i18n
----------
Depends field generated for libical-dev
Depends: glib-2.0-dev, libical (= 3.0.7-r0)
------------

When trying to resolve the build time dependency with libical
package using “-dev” ipk generated, it will throw the below error.
-----------
Package icu-i18n was not found in the pkg-config search path.
Perhaps you should add the directory containing `icu-i18n.pc'
to the PKG_CONFIG_PATH environment variable
Package 'icu-i18n', required by 'libical', not found
-----------

This patch will fix the broken dependency list.

-------
libical-dev depends field generated with this patch
Depends: glib-2.0-dev, icu-dev, libical (= 3.0.7-r0)
-------

Other examples of packages generated with broken dev dependency.

libflac-dev : https://packages.debian.org/sid/libflac-dev
Without patch:
Depends: flac (= 1.3.3-r0), libflac, libflac++
with patch:
Depends: flac (= 1.3.3-r0), libflac, libflac++, libogg-dev

libglib2.0-dev : https://packages.debian.org/buster/libglib2.0-dev
without patch:
Depends: libffi-dev, libglib-2.0-0 (= 1:2.62.6-r0), libpcre-dev
with patch:
Depends: libffi-dev, libglib-2.0-0 (= 1:2.62.6-r0), libpcre-dev,
         util-linux-dev, zlib-dev

(From OE-Core rev: 4b5c8b7006aae2162614ba810ecf4418ca3f36b4)

Signed-off-by: Sreejith Ravi <sreejith.ravi087@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Joshua Watt
10917abebf classes/spdx-common: Move SPDX_SUPPLIER
Move the SPDX_SUPPLIER variable to create-spdx-2.2 since it's format
only has meaning in SPDX 2.2 (SPDX 3 uses SPDX_PACKAGE_SUPPLIER with a
different format)

(From OE-Core rev: 628c1e04072178d2c8095e53d5f6600c45a2679f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:35 +01:00
Joshua Watt
d077134b0a binutils-cross-testsuite: Rename to binutils-testsuite
This recipe needs to be renamed because the "-cross-" substring in the
name triggers the cross architecture detection in sstate, but this
recipe is not actually a cross recipe.

(From OE-Core rev: 812c114a8a872ad59b19c7ffb8c1f230fc64c823)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:34 +01:00
Peter Marko
7afa4f50b4 cargo: remove True option to getVar calls
Layer cleanup similar to
https://git.openembedded.org/openembedded-core/commit/?id=26c74fd10614582e177437608908eb43688ab510

(From OE-Core rev: 9a2ed52473a3e4eb662509824ef8e59520ebdefb)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-27 13:03:34 +01:00
Richard Purdie
918c66d8e6 maintainers: Drop go-native as recipe removed
(From OE-Core rev: 1227df3d03a2e959925c3f4016fc5760689262cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-26 15:05:28 +01:00
Wang Mingyu
a1067eff46 rt-tests: upgrade 2.6 -> 2.7
0001-Makefile-Allow-for-CC-and-AR-to-be-overridden.patch
refreshed for 2.7

(From OE-Core rev: 176c1cb4690d6f046db1dfa95a59980532b6ccba)

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>
2024-06-26 14:33:42 +01:00
Wang Mingyu
f8899b935f btrfs-tools: handle rename of inode_includes() from e2fsprogs 1.47.1
To fix the do_compile error,  use the new prefixed macro and add backward compatibility
that would still use inode_includes().

(From OE-Core rev: f53a68271feb8d14148f8bbc3fa18629d0638d07)

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>
2024-06-26 14:33:42 +01:00
Jan Vermaete
75031624f7 python3-websockets: added python3-zipp as RDEPENDS
Because the Python package 'zipfile' was missing.

root@qemux86-64:~# python3 clTraceback (most recent call last):
  File "/home/root/server.py", line 4, in <module>
    from websockets.server import serve
  File "/usr/lib/python3.12/site-packages/websockets/__init__.py", line 6, in <module>
    from .version import version as __version__  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/websockets/version.py", line 3, in <module>
    import importlib.metadata
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 8, in <module>
    import zipfile
ModuleNotFoundError: No module named 'zipfile'

(From OE-Core rev: 2b70884c4c9406084c690b6090810494e91dca37)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-26 14:33:42 +01:00
Kai Kang
d876223293 glibc: fix fortran header file conflict for arm
There is a file conflict for arm when multilib enabled:

| Error: Transaction test error:
|   file /usr/include/finclude/math-vector-fortran.h conflicts between attempted installs of
    lib32-libc6-dev-2.39+git0+312e159626-r0.armv7at2hf_neon and libc6-dev-2.39+git0+312e159626-r0.cortexa72

Install math-vector-fortran.h to the gfortran default search directory
which is arch specific to avoid the conflict.

(From OE-Core rev: d2165543e796d4558c632af24eb7b115bca45969)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-26 14:33:42 +01:00
Tronje Krabbe
e262b51740 rust-target-config: Update data layouts for 32-bit arm targets
update the rust data layout to sync with LLVM [1]
fixes the following build
error:

error: data-layout for target `arm-poky-linux-gnueabi`, `e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64`, differs from LLVM target's `armv7-unknown-linux-gnueabihf` default layout, `e-m:e-p:32:32-Fi8-i64:64-v128:64:128-a:0:32-n32-S64`

meta-rust issue report with rust 1.76 [2]

[1] 308e82eceb
[2]: https://github.com/meta-rust/meta-rust/issues/444

(From OE-Core rev: 802376953ed9f1b3e64b3cf57374c58d7ac68d88)

Signed-off-by: Tronje Krabbe <tkrabbe@jusst.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-26 14:33:42 +01:00
Robert Yang
ac40cb5ee2 bitbake: cache: Remove invalid symlink for bb_cache.dat
The bb_cache.dat might be an invalid symlink when error happens, then
os.path.exists(symlink) would return False for it, the invalid symlink
wouldn't be removed and os.symlink can't update it any more.

Use os.path.islink(symlink) can fix the problem.

(Bitbake rev: 1387d7b9ee3f270488f89b29f36f9f240e44accc)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:51:45 +01:00
Martin Jansa
2346c7ca09 libgfortran.inc: fix nativesdk-libgfortran dependencies
* use virtual/* variables as INHIBIT_DEFAULT_DEPS does to avoid dependency on gcc-cross-
  from nativesdk-libgfortran

* the dependency was added in:
  https://git.openembedded.org/openembedded-core/commit/?id=00fba52c8a6f6383137cf89fc7aa34cc3e2ff45f
  causing:

  build/oe-core $ bitbake -g nativesdk-libgfortran
  NOTE: Resolving any missing task queue dependencies
  ERROR: Nothing PROVIDES 'gcc-cross-x86_64' (but virtual:nativesdk:/OE/build/oe-core/openembedded-core/meta/recipes-devtools/gcc/libgfortran_14.1.bb DEPENDS on or otherwise requires it). Close matches:
  gcc-cross-aarch64
  ...

  with:
  MACHINE=qemuarm64
  FORTRAN:forcevariable = ",fortran"

* after:
  https://git.openembedded.org/openembedded-core/commit/?id=44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3
  nativesdk-libgfortran is pulled as dependency of nativesdk-gcc so this affects
  more people who didn't explicitly use nativesdk-libgfortran before

* the INHIBIT_DEFAULT_DEPS and gcc-runtime was there since gcc-4.8:
  https://git.openembedded.org/openembedded-core/commit/?id=a5e7ee5770b9e0cf719c573efffd874440f74289

(From OE-Core rev: 5ce2e9c66cd2c08e141913ec65386f940353a8c5)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Daniel Semkowicz
0ed32141fe os-release: Fix VERSION_CODENAME in case it is empty
If DISTRO_CODENAME was not set, VERSION_CODENAME field was populated
with unparsed string. This resulted in the following line in os-release
file:

  VERSION_CODENAME="${DISTRO_CODENAME}"

According to systemd documentation, this field is optional.
Fix the problem by setting VERSION_CODENAME conditionally, only if
DISTRO_CODENAME was set.

(From OE-Core rev: 70a0b8bc1d846c857be90ce2e97e60c5ee32558e)

Signed-off-by: Daniel Semkowicz <dse@thaumatec.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Ulrich Ölmann
8de3508743 initramfs-framework: fix typos
Fix typos in debugging and error messages.

(From OE-Core rev: 4995e222ebdc9b5508c2f03a11868f184e4629a0)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Wang Mingyu
8e40d3933e ttyrun: upgrade 2.32.0 -> 2.33.1
Bug Fixes:
- s390-tools: Fix formatting and typos in README.md
- s390-tools: Fix release string

(From OE-Core rev: 9dd58c3b42b50604e79b59d93564260d0c6f892c)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
e3fca29e05 rng-tools: upgrade 6.16 -> 6.17
Changelog:
===========
- mix data fed to the kernel byte-wise from multiple sources
- added option to attempt more persistent use of slow entropy sources
- fix some missing m4 quotes
- improved debug output to show FIPS failures more clearly
- added a named pipe entropy source
- adjusted linux poolsize
- fixed some pkcs11 error messages
- fixed ignorefail and random_step options

(From OE-Core rev: 51f15cde22d3caf77778750f122b94a7cd0fe508)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
54e410fd96 pciutils: upgrade 3.12.0 -> 3.13.0
Changelog:
===========
* lspci decodes CXL 1.1 device link status information.
  This requires a recent kernel which exports rcd_* atributes via
  sysfs.
* Further development of the pcilmr (the link margining utility)
* Dump parsing supports 6-digit domain numbers.
* Bug fixes in PCIe link state reporting.
* Decode more fields in PCIe AER capability.
* Fixed build on Linux systems with musl libc.
* Updated pci.ids.

(From OE-Core rev: cdd6e828cae9b3b1fcf866dfdcf6409426abfe2c)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
bf44a77731 libpcre2: upgrade 10.43 -> 10.44
(From OE-Core rev: b790c3e67bcbcb00449754db7249c251074f16b0)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
492517e7e1 libjitterentropy: upgrade 3.4.1 -> 3.5.0
Lisence-Update: Copyright year updated to 2024.

Changelog:
===========
* add distinction between intermittent and permanent health failure
* add compile time option to allow configuring a mask to reduce the size of
  the time stamp used for the APT

(From OE-Core rev: c57a897c945adda0c4321c7fdab03148f805efba)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
459d283bba libevdev: upgrade 1.13.1 -> 1.13.2
(From OE-Core rev: 6ed4d4936c3279d6cc6e0880b7e186589d08c62c)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
12c36fcefc gstreamer: upgrade 1.24.3 -> 1.24.4
Changelog:
 https://gstreamer.freedesktop.org/releases/1.24

(From OE-Core rev: d40d17200b98adbfdaf9660934f8ca0fbd8d5d7d)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
fa1eddc917 fribidi: upgrade 1.0.14 -> 1.0.15
Changelog:
 Fixed the bad tarball from 1.0.14 with stall include files.

(From OE-Core rev: 5cf2632c3652f503e9d79b21a1ce0a94fb98f713)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
a323834fb9 enchant2: upgrade 2.7.3 -> 2.8.1
Changelog:
- restores an optimization removed in 2.8.0 that reduces the
  frequency with which personal wordlists are reloaded.

(From OE-Core rev: 952609eb258e58121679ec8300e4fbb7749f6a04)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
01b111f5f7 diffoscope: upgrade 267 -> 271
Changelog:
===========
* Drop Build-Depends on liblz4-tool. Thanks, Chris Peterson.
* Update tests to support zipdetails version 4.004 shipped with Perl 5.40.

(From OE-Core rev: c390768293faafc0aa0c991a26f2634aa91b1a7b)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
7ec04e5fb1 createrepo-c: upgrade 1.1.1 -> 1.1.2
(From OE-Core rev: 2ab2ea47359553de184e6c8d78974a96b1f10607)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
1e72a99986 git: upgrade 2.45.1 -> 2.45.2
Changeglog:
============
- send-email: drop FakeTerm hack
- send-email: avoid creating more than one Term::ReadLine object
- ci: drop mention of BREW_INSTALL_PACKAGES variable
- ci: avoid bare "gcc" for osx-gcc job
- ci: stop installing "gcc-13" for osx-gcc
- hook: plug a new memory leak
- init: use the correct path of the templates directory again
- Revert "core.hooksPath: add some protection while cloning"
- tests: verify that `clone -c core.hooksPath=/dev/null` works again
- clone: drop the protections where hooks aren't run
- Revert "Add a helper function to compare file contents"
- Revert "fsck: warn about symlink pointing inside a gitdir"

(From OE-Core rev: 21c3494824a66f5c39b5c12add1aef3915b74e91)

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>
2024-06-25 11:50:58 +01:00
Clément Péron
684ab3c776 openssl: Remove patch already upstreamed
Since the bump to OpenSSL 3.3.1, riscv32 doesn't build anymore due to
the folowing error:
crypto/riscv32cpuid.s:77: Error: symbol `riscv_vlen_asm' is already
defined

This is due to the patch beeing already applied upstream:
Commit: 8702320db98d1346c230aff1282ade3ecdca681a

(From OE-Core rev: 06c4168c7bd6a32cb7de3e003793c8e232714fad)

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Vijay Anusuri
16b73c215f wget: Fix for CVE-2024-38428
Upstream-Status: Backport
[https://git.savannah.gnu.org/cgit/wget.git/commit/?id=ed0c7c7e0e8f7298352646b2fd6e06a11e242ace]

(From OE-Core rev: 3cf32c58a7c506f6aac696ae5c26cbc319e7e1ec)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Wang Mingyu
d0d6a5b196 alsa-ucm-conf: upgrade 1.2.11 -> 1.2.12
Changelog:
===========
- sof-soundwire: fix missing MultiCodec1 initialization and Empty condition
- UCM2: Intel: sof-hda-dsp: Control SOF processing from UCM
- UCM2: SOF: Add example blobs customization for AAEON
- UCM2: Add sample SOF processing configuration blobs
- codecs: qcom-lpass/tx-macro: Move TX1 MODE ctrl to
- ucm2: codecs: wcd937x: add codec sequences
- ucm2: soundwire: add rt722 SDCA device
- ucm2: Qualcomm: x1e80100: add recording via DMIC01
- ucm2: sof-soundwire: Create ALSA config file for hdmi:
- ucm2: Intel/sof-hda-dsp: Create ALSA config file for
- ucm2: common: pcm: Add hdmi.conf to handle the creation
- sof-soundwire: Add basic support for cs42l43's speaker
- qcom: sdm845: MM1: enable jack detection
- qcom: sdm845: MM1: use analog volume controls instead of
- ucm2: Qualcomm: x1e80100: correct headphones
- ucm2: Qualcomm: x1e80100: add number of channels
- Add support for Coachz with HDMI disabled
- USB-Audio: ALC4080: Add support for MSI MEG Z790 Ace
- ucm2: MediaTek: mt8195-sof: Add support for Tomato RT5682s
- sof-soundwire: rt1316/rt1318 - fix channel selection for one amp
- sof-soundwire: rt1308: Fix single amp configuration
- sof-soundwire: fix rt1318 config copy-n-paste error in rt1318spk macro
- sof-soundwire: fix rt1318 config typo in rt1318spk macro
- USB-Audio: ALC4080: add 0b05:1af1 ASUS ROG Strix Z790-A Gaming Wifi II

(From OE-Core rev: 66e53b40f6ecb66916c46fbed17a1eb25f4e4eb5)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
df98e62c73 alsa-plugins: upgrade 1.2.7.1 -> 1.2.12
Changelog:
 disable -ldl check for *BSDs, find <soundcard.h> path

0001-arcam_av.c-Include-missing-string.h.patch
removed since it's included in 1.2.12

License-Update: samplerate: Make LGPL-only

(From OE-Core rev: 004419f3d3ee0aa9ca5c44ae760464729f4a5cd2)

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>
2024-06-25 11:50:58 +01:00
Wang Mingyu
a5e2fd4fe3 alsa-lib: upgrade 1.2.11 -> 1.2.12
0001-topology-correct-version-script-path.patch
removed since it's included in 1.2.12.

Changelog:
- GitHub Actions: Use actions/checkout@v4
- pcm: plug - add automatic conversion for iec958 subframe samples

(From OE-Core rev: 3fc26e927b6a304025aaa1e0bee606bf8c59b125)

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>
2024-06-25 11:50:58 +01:00
Johannes Schneider
1080de9926 systemd: bpf-framework: pass 'recipe-sysroot' to BPF compiler
Pass the "recipe-sysroot" path via the CFLAGS=--sysroot= to the
compiler used by systemd to build the BPF, so that it can find the
needed system includes.

(From OE-Core rev: 25560c19ac7629615adb2b1a71b05d36b0d157d5)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Johannes Schneider
a9138c1f51 systemd: bpf-framework: 'propagate' the '--sysroot=' for crosscompilation
The eBPFs are pre-compiled during the systemd-build with a different
compiler than the cross-compiler used to build systemd itself.

This is either a 'clang-native' or a gcc (bpf-unknown-none) which do
not see the BUILD_CFLAGS, that point to the correct include search
patch. To address this have systemd's meson.build "propagate" the
--system from the C_FLAGS into the BPF compiler call.

(From OE-Core rev: 3a4d5b06f8e4ebf7b4738a99fe6b352bb03a64ae)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Johannes Schneider
182e599dbc systemd: add PACKAGECONFIG for bpf-framework
The bpf-framework is used to pre-compile eBPFs that required for the
systemd.resource-control features RestrictFileSystems=[1] and
RestrictNetworkInterfaces=[2] to work.

Apart from 'clang-native' to compile the eBPFs, the required kernel
switches are described in [3].

Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#RestrictFileSystems=
Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#RestrictNetworkInterfaces=
Link: https://kinvolk.io/blog/2021/04/extending-systemd-security-features-with-ebpf/
(From OE-Core rev: 6f90320bf3028a67d1fd444dfaa62f3888066ea4)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
23dacdb593 MAINTAINERS.md: fix patchtest entry
It still says that patchtest is unmaintained, so remove that line and
clarify the maintainer in the list.

(From OE-Core rev: 04f8e7659e085a52165e1b5ad905974e821ecdd6)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
e8e6d3dd4e maintainers.inc: add self for unassigned python recipes
Add myself as maintainer for the following:

- python3-setuptools
- python3-smmap
- python3-subunit
- python3-testtools

With that, every Python recipe in oe-core has a maintainer assigned.

(From OE-Core rev: f7c4ab54d3ff1895d9fcb9aa20dece5e0661579d)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
7d3d624868 python3-urllib3: upgrade 2.2.1 -> 2.2.2
(From OE-Core rev: 32fdd5673c25084af4ba295b271455cd92ca09d5)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
6d4e668c76 python3-testtools: upgrade 2.7.1 -> 2.7.2
Also add python3-json and python3-compression to RDEPENDS so that the
module imports correctly.

Changelog (https://github.com/testing-cabal/testtools/blob/master/NEWS):

- Treat methodName="runTest" similar to unittest.TestCase,
  fixes compatibility with pytest 8.3. (Natanael Copa, #372)
- Format with ``ruff format``. (Jelmer Vernooij)
- Use ruff for linting. (Jelmer Vernooij)
- Fix compatibility with Python 3.12.1. (Matthew Treinish)
- Deprecate SkippedTest exception. (Stephen Finucane)
- Drop support for Python 3.7. (Jelmer Vernooij)

(From OE-Core rev: 8e68feaee2dcaa5c0d7fdb829fae47f7858dc07b)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
b9a50da842 python3-psutil: upgrade 5.9.8 -> 6.0.0
Changelog: https://github.com/giampaolo/psutil/blob/master/HISTORY.rst

(From OE-Core rev: 02ce0228cdb0a0ad6418e01f68faf9116bd7c17a)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
917757c30e python3-hypothesis: upgrade 6.103.0 -> 6.103.2
Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.103.2 - 2024-06-14
- This patch improves our deduplication tracking across all strategies (pull request #4007). Hypothesis is now less likely to generate the same input twice.

6.103.1 - 2024-06-05
- Account for time spent in garbage collection during tests, to avoid flaky DeadlineExceeded errors as seen in issue #3975.
- Also fixes overcounting of stateful run times, a minor observability bug dating to version 6.98.9 (pull request #3890).

(From OE-Core rev: fe8a9ef0a6159633479b2e73ecb721cd8b854992)

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>
2024-06-25 11:50:58 +01:00
Trevor Gamblin
cd01c91331 dhcpcd: upgrade 10.0.6 -> 10.0.8
Changelog (https://github.com/NetworkConfiguration/dhcpcd/releases):

10.0.8:
- Fixed compile without ARP
- Fixed closefrom test for glibc
- Fixed spelling of ADVERTISEMENT

10.0.7:
- DHCP: use request_time, fallback_time and ipv4ll_time rather than reboot timeout
- DHCP6: Wait for IRT to elapse before requesting advertisments
- DHCPv6: Don't re-INFORM if the RA changes
- privsep: Reduce fd use
- dhcpcd: Add support for arp persist defence by @pradeep-brightsign in #273
- Move dhcp(v4) packet size check earlier by @pemensik in #295
- Define the Azure Endpoint and other site-specific options by @lparkes in #299
- add RFC4191 support by @goertzenator in #297
- dhcpcd: Respect IPV6_PREFERRED_ONLY flag regardless of state by @taoyl-g in #307
- Fix time_offset to be int to match RFC-2132 by @ColinMcInnes in #319
- hooks/30-hostname: Exit with 0 if setting hostname is not needed by @bdrung in #320

(From OE-Core rev: ab134edc9b7a17a7919f91060f3058467abe011c)

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>
2024-06-25 11:50:58 +01:00
Sundeep KOKKONDA
d4d0720233 binutils: stable 2.42 branch updates
Below commits on binutils-2.42 stable branch are updated.

6c360d37662 PR31898 bug in processing DW_RLE_startx_endx
bfda03eed33 aarch64: Remove asserts from operand qualifier decoders

Dropped: 0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch

(From OE-Core rev: e48310aa787f7b710da31023c18c116e5432e378)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:58 +01:00
Jose Quaresma
b5526e682a go: drop the old 1.4 bootstrap C version
Bootstrap [1]
As mentioned in the Go 1.20 release notes, Go 1.22 now requires the final point release of Go 1.20 or later for bootstrap.
We expect that Go 1.24 will require the final point release of Go 1.22 or later for bootstrap.

The default recipe for bootstrap is the go-binary-native as can be seen in:
meta/conf/distro/include/tcmode-default.inc:68:PREFERRED_PROVIDER_go-native ?= "go-binary-native"

Currently if we change it to use the old go-native and compile the go1.4-bootstrap-20170531
it fails:

| Building Go cmd/dist using /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go1.4/go. (go1.4-bootstrap-20170531 linux/amd64)
| can't load package: package ./cmd/dist: found packages build.go (main) and notgo120.go (building_Go_requires_Go_1_20_6_or_later) in /build/workdir/tmp-glibc/work/x86_64-linux/go-native/1.22.3-r0/go/src/cmd/dist

This has been broken for some time but as we used go-binary-native by default it went unnoticed.

[1] https://go.dev/doc/go1.22#bootstrap

(From OE-Core rev: 876d344d2ec3d6ce283d01974146392d76685824)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:57 +01:00
Jose Quaresma
e064205553 go: upgrade 1.22.3 -> 1.22.4
Include fixes for CVE-2024-24790

Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.3..go1.22.4
ace5bb40d0 (tag: go1.22.4) [release-branch.go1.22] go1.22.4
12d5810cdb [release-branch.go1.22] net/netip: check if address is v6 mapped in Is methods
745657509e [release-branch.go1.22] os: RemoveAll: fix symlink race for unix
95389d3d9d [release-branch.go1.22] runtime: x_cgo_getstackbound: initialize pthread attr
cf501ac0c5 [release-branch.go1.22] archive/zip: treat truncated EOCDR comment as an error
cb55d1a0c8 [release-branch.go1.22] cmd/link: add runtime.text.N symbols to macho symbol table in dynlink mode
3c96ae0870 [release-branch.go1.22] runtime: update large object stats before freeSpan in sweep
6b89e7dc5a [release-branch.go1.22] cmd/compile: initialize posBaseMap correctly
185457da9b [release-branch.go1.22] crypto/x509: remove TestPlatformVerifierLegacy tests
3a84293118 [release-branch.go1.22] cmd/compile: avoid past-the-end pointer when zeroing
362dcedfdb [release-branch.go1.22] cmd/go/testdata/script: add darwin skips for selected buildrepro tests
d4a81ec7ee [release-branch.go1.22] cmd/go/testdata/script: clear path in gotoolchain_issue66175
dc8976dd0b [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions
00e6815208 [release-branch.go1.22] cmd/go: download 1.X.0 instead of 1.X during toolchain upgrade.

[1] https://github.com/golang/go/compare/go1.22.3...go1.22.4

(From OE-Core rev: cf139dfec080152a66a9c42bfb9bfca6789909be)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-25 11:50:57 +01:00
Ross Burton
d5e42cf9b6 bash: fix configure checks that fail with GCC 14.1
These configure checks cause compiler errors with GCC 14.1, so they always
fail.  Backport fixes from upstream to solve this.

(From OE-Core rev: 921479032720707f4817e3398e516724bc48b33c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Ross Burton
28def3edba libxcrypt: correct the check for a working libucontext.h
The test fails with GCC 14.1 due to an incompatible pointer assignment,
take a patch submitted upstream to fix this.

(From OE-Core rev: 054304ecb3a8a8ed523bd149f70ed468cf613178)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
cebbe9a638 libacpi: mark patches as inactive-upstream
(From OE-Core rev: 722ac78f151fb6c433379ff50394b34ec06ca816)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
504c42a8d0 dpkg: mark patches adding custom non-debian architectures as inappropriate for upstream
(From OE-Core rev: da9906553c69af0db8b14c39ee224348d539e7b1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
26a03666e9 settings-daemon: submit addsoundkeys.patch upstream and update to a revision that has it
(From OE-Core rev: 0d56c7b444d94778808cce8ede3374b8212b22a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
14a28f72c8 automake: mark new_rt_path_for_test-driver.patch as Inappropriate
The patch is specific to how oe-core runs autotools-generated tests:
by cherry-picking needed bits from builddir and srcdir, then hacking
Makefile with sed until it runs.

As GNU is not interested in installable tests, they wouldn't be
interested in this patch either; and if they become interested,
it's probably going to be done in a whole different way.

(From OE-Core rev: dd13c29bee330d381e1e574351348e526500e396)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
fde7f52fd7 tcp-wrappers: mark all patches as inactive-upstream
(From OE-Core rev: 0bc555fce11e1d25928310961c53aefd407fbd23)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:41 +01:00
Alexander Kanavin
170b1b8a6c glslang: mark 0001-generate-glslang-pkg-config.patch as Inappropriate
Issue is already being independently fixed upstream.

(From OE-Core rev: e65af6571ad49d914c788b73f678e3565faac69e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
79aeb7bbc4 libfm-extra: drop unneeded 0001-nls.m4-Take-it-from-gettext-0.15.patch
nls.m4 is always provided with gettext or gettext-minimal if gettext
class is inherited (and it is).

(From OE-Core rev: bf9503c296a6dca99c6c6f3ae28a7e904499f496)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
6f9820f198 openssh: drop add-test-support-for-busybox.patch
The ptest package is nowadays depending on coreutils
so busybox tweaks are both incomplete and unneeded.

(From OE-Core rev: 2408b0b5ea3090fd151de22c91420210fd7ff48f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
de735e1610 psmisc: remove 0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch
Somewhere on the way it ceased to be needed (checked on musl).

(From OE-Core rev: 0a4bca6412d109eadbb7f754fb4cf4ea4be1f6ba)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
566f4eb180 psmisc: drop duplicate entries
(From OE-Core rev: 63048c0d07e57a8ec8f80da4999124830312d88b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
304fb08db1 psmisc: merge .inc into .bb
(From OE-Core rev: 219508fe9c7f85bb4e03d30b42d0f893967fe2e9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
cb963a0414 glib-networking: submit eagain.patch upstream
(From OE-Core rev: eb3958bab8e1a7307f4de7615ddac8222aaae5b0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
68c15a58ce python3: submit deterministic_imports.patch upstream as a ticket
(From OE-Core rev: d77511cc9add70857e4a9d7237b23d7d6ae14e98)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
6dc57c9113 libnewt: move to meta-oe
There are no consumers in oe-core (after obsolete perf dependency was dropped),
and so no reason to keep it there.

(From OE-Core rev: 8bd19abc01d2cf775da03da90629360f1d0b22a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Alexander Kanavin
d14304384e perf: drop newt from tui build requirements
As the comment says this was used by very old kernels
(pre 3.10), and slang has been the only option for a
long time. Also, correct the option to disable slang TUI.

(From OE-Core rev: a36a84490b943e6f0638c0430ad1eac7740e9be3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Ross Burton
757d04f8ec expect: update code for Tcl channel implementation
Tcl 8.4.0 changed the channel implementation, take a patch submitted
upstream to update the code for the new interface and remove the silencing
of the incompatible assignment error which was due to this issue.

(From OE-Core rev: a56ca08159fbdbc27511376f45720bb8ea068fc4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Ross Burton
3eebf71549 expect: fix configure with GCC 14
The configure script has many fragments that fail to compile with GCC 14,
take a patch submitted upstream to fix these issues.

(From OE-Core rev: 5c21ca789c288662aa3d307b30813cd03cc8c158)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Siddharth Doshi
704507c4e6 libxml2: Upgrade 2.12.7 -> 2.12.8
Changes between 2.12.7 -> 2.12.8
================================
Regression Fixed: parser: Fix performance regression when parsing namespaces

(From OE-Core rev: 15eb0b6531a97f85c1b098fb51de9126f2221248)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Martin Hundeb?ll
2dbe36d3e1 ofono: upgrade 2.7 -> 2.8
Changelog:
 * Release 2.8
 * build: Require at least version 0.66 when building with external ELL
 * qmi: Remove unused shutdown members in qmi_device_qrtr
 * drivers: Use the new license header format
 * plugins: Use the new license header format
 * isimodem: Use the new license header format
 * rilmodem: Use the new license header format
 * mbimmodem: Use the new license header format
 * unit: Use the new license header format
 * tools: Use the new license header format
 * include: Use the new license header format
 * dundee: Use the new license header format
 * core: Use the new license header format
 * qmimodem: Use the new license header format
 * atmodem: Use the new license header format
 * build: Add notifylist.[ch] from ell
 * udevng: Fix detection of USB attached tty devices
 * udevng: Don't crash for non-QMI devices
 * qmimodem: Remove the create exclusive service API
 * voicecall: Fix use after free
 * atmodem: gprs-context: use default PPP ACCM for Quectel serial modems
 * atmodem: sim: Fix CRSM result handling
 * qmi: gprs-context: support bind_mux for pcie devices
 * udevng: Add mhi subsystem detection
 * udevng: add and use get_ifname() for netdev nodes
 * gobi: ensure required properties are provided
 * gobi: Rename KernelDriver to NetworkInterfaceDriver
 * gobi: add / use DeviceProtocol property
 * qmi: Use l_basename instead of basename
 * log: Use l_basename instead of basename
 * build: link dundee with ell
 * log: Handle dladdr failure

License-Update: license header replaced with spdx identifier
(From OE-Core rev: fda6b3ff67b56828f5088667a2e3af0a5ffa6ae5)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Andrey Zhizhikin
08b9170941 devicetree.bbclass: switch away from S = WORKDIR
Since the change done in commit 32cba1cc916a ("insane: Error for S ==
WORKDIR"), usage of WORKDIR is not allowed anymore.

Switch S from WORKDIR to UNPACKDIR as implemented in commit d9328e3b0b06
("recipes: Switch away from S = WORKDIR").

(From OE-Core rev: 7a06069a041a908c1d190f8fb7dd923b86217703)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Etienne Cordonnier
d87082efa5 oeqa/runtime: fix race-condition in minidebuginfo test
Fix this error where 'coredumpctl info' warns that the coredump is still being
processed:

```
AssertionError: 1 != 0 : MiniDebugInfo Test failed: No match found.
-- Notice: 1 systemd-coredump@.service unit is running, output may be incomplete.
```

(From OE-Core rev: ad1ce64f5c1f22a7b10025d8cba20dc74354ac81)

(From OE-Core rev: ed562345d5a5f2edb649028553199f3f7966e19e)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Aleksandar Nikolic
edba6889b4 cve-check: Introduce CVE_CHECK_MANIFEST_JSON_SUFFIX
The variable contains the suffix of the CVE JSON manifest file.
By default, this variable is set to 'json', so the current behavior
is not changed, but enables developers to use some other suffix,
e.g., cve.json (similar to spdx.json).

(From OE-Core rev: d99eee76923659c0b95bf9ef415ae5d44f736d01)

Signed-off-by: Aleksandar Nikolic <an010@live.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Jörg Sommer
44f1b2c56a classes/kernel: No symlink in postinst without KERNEL_IMAGETYPE_SYMLINK
The commit “Use a copy of image for kernel*.rpm if fs doesn't support
symlinks” [1] added postinst and postrm scripts to the kernel package which
create a symlink after package installation. This should not happen if
`KERNEL_IMAGETYPE_SYMLINK` is not `1`.

Background: The u-boot implementation of jffs2 does not support symlinks.
Using a hardlink or removing `${KERNEL_VERSION}` from the file name fails,
because the current postinst script replaces the file with the symlink.

[1] 8b6b95106a

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Yanfei Xu <yanfei.xu@windriver.com>
(From OE-Core rev: 6a763401862d9ee96749ad18378b6344778c2c66)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-24 12:43:40 +01:00
Martin Jansa
5d88faa0f3 bitbake: siggen: catch FileNotFoundError everywhere and ConnectionError also in get_unihashes
* avoids long trace when BB_HASHSERVE points to non-existent socket
  file, e.g.:
  BB_HASHSERVE = "unix:///OE/no-socket.sock"
  or when running the build before starting the bin/bitbake-hashserv.

* now it shows just warnings like it did in kirkstone
  many of them, e.g. 6 just for rebuilding zlib-native, but better than long trace

  for nonexistent socket file:
  WARNING: zlib-native-1.3.1-r0 do_create_spdx: Error contacting Hash Equivalence Server unix:///OE/no-socket.sock: [Errno 2] No such file or directory
  for existing file, but before starting bin/bitbake-hashserv:
  WARNING: zlib-native-1.3.1-r0 do_create_spdx: Error contacting Hash Equivalence Server unix:///OE/hashserv.sock: [Errno 111] Connection refused

ERROR: An uncaught exception occurred in runqueue###############################################################                                                                                                               | ETA:  0:00:00
Traceback (most recent call last):
  File "/OE/build/oe-core/bitbake/lib/hashserv/__init__.py", line 80, in create_client(addr='unix:///OE/no-socket.sock', username=None, password=None):
             if typ == ADDR_TYPE_UNIX:
    >            c.connect_unix(*a)
             elif typ == ADDR_TYPE_WS:
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 241, in Client.connect_unix(path='/OE/no-socket.sock'):
             self.loop.run_until_complete(self.client.connect_unix(path))
    >        self.loop.run_until_complete(self.client.connect())

  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in _UnixSelectorEventLoop.run_until_complete(future=<Task finished name='Task-6' coro=<AsyncClient.connect() done, defined at /OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.
py:150> exception=FileNotFoundError(2, 'No such file or directory')>):

    >        return future.result()

  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 152, in AsyncClient.connect():
             if self.socket is None:
    >            self.socket = await self._connect_sock()
                 await self.setup_connection()
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 85, in connect_sock:
                     sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
    >                sock.connect(os.path.basename(path))
                 finally:
FileNotFoundError: [Errno 2] No such file or directory

ERROR: Running idle function
Traceback (most recent call last):
  File "/OE/build/oe-core/bitbake/lib/hashserv/__init__.py", line 80, in create_client(addr='unix:///OE/no-socket.sock', username=None, password=None):
             if typ == ADDR_TYPE_UNIX:
    >            c.connect_unix(*a)
             elif typ == ADDR_TYPE_WS:
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 241, in Client.connect_unix(path='/OE/no-socket.sock'):
             self.loop.run_until_complete(self.client.connect_unix(path))
    >        self.loop.run_until_complete(self.client.connect())

  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in _UnixSelectorEventLoop.run_until_complete(future=<Task finished name='Task-6' coro=<AsyncClient.connect() done, defined at /OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.
py:150> exception=FileNotFoundError(2, 'No such file or directory')>):

    >        return future.result()

  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 152, in AsyncClient.connect():
             if self.socket is None:
    >            self.socket = await self._connect_sock()
                 await self.setup_connection()
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 85, in connect_sock:
                     sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM, 0)
    >                sock.connect(os.path.basename(path))
                 finally:
FileNotFoundError: [Errno 2] No such file or directory

Summary: There were 2 ERROR messages, returning a non-zero exit code.

1605616 09:29:05.369352 Parse cache valid
1605616 09:30:14.500863 Registering idle function <function BBCooker.buildTargets.<locals>.buildTargetsIdle at 0x7f43988c09a0>
1605616 09:30:14.500927 Removing idle function <bound method Command.runAsyncCommand of <bb.command.Command object at 0x7f43a961c350>>
1605616 09:30:14.573274 Exception Traceback (most recent call last):
  File "/OE/build/oe-core/bitbake/lib/bb/server/process.py", line 435, in idle_thread_internal
    retval = function(self, data, False)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/cooker.py", line 1487, in buildTargetsIdle
    retval = rq.execute_runqueue()
             ^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/runqueue.py", line 1651, in execute_runqueue
    return self._execute_runqueue()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/runqueue.py", line 1567, in _execute_runqueue
    if self.rqdata.prepare() == 0:
       ^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/runqueue.py", line 1290, in prepare
    unihashes = bb.parse.siggen.get_unihashes(ready)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/siggen.py", line 713, in get_unihashes
    with self.client() as client:
  File "/usr/lib/python3.12/contextlib.py", line 137, in __enter__
    return next(self.gen)
           ^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/siggen.py", line 595, in client
    self._client = hashserv.create_client(self.server, **self.get_hashserv_creds())
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/hashserv/__init__.py", line 88, in create_client
    raise e
  File "/OE/build/oe-core/bitbake/lib/hashserv/__init__.py", line 80, in create_client
    c.connect_unix(*a)
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 241, in connect_unix
    self.loop.run_until_complete(self.client.connect())
  File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 152, in connect
    self.socket = await self._connect_sock()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/OE/build/oe-core/bitbake/lib/bb/asyncrpc/client.py", line 85, in connect_sock
    sock.connect(os.path.basename(path))
FileNotFoundError: [Errno 2] No such file or directory
 broke the idle_thread, exiting
1605616 09:30:14.673756 Exiting (socket: True)
1605616 09:30:14.683153 Exiting as we could obtain the lock
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/OE/build/oe-core/bitbake-cookerdaemon.log' mode='a+' encoding='UTF-8'>
sys:1: ResourceWarning: unclosed <socket.socket fd=17, family=1, type=1, proto=0>
ResourceWarning: Enable tracemalloc to get the object allocation traceback

(Bitbake rev: 550c86969e5a137ffef61b08a520a4855232fb1c)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:45:22 +01:00
Benjamin Szőke
aca14abc35 populate_sdk_base: add 7zip archive type for SDK
Added 7zip support and options and extension/type parameter
for it to able to make any custom archive type for SDK archive.

(From OE-Core rev: 02bbc736cf4f097a78afed4c7614000bd058ef3f)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Benjamin Szőke
dbe070b602 archiver.bbclass: Fix work-shared checking for kernel recipes
Source dir can be a symbolic link in some BSP's linux kernel recipe
which points to work-shared path (like linux-fslc in meta-freescale).
Change to use os.path.realpath() in order to get real path of
source dir.

(From OE-Core rev: 9191aa685418af32f003e067ef7c5737a271e3a5)

Signed-off-by: Benjamin Szőke <egyszeregy@freemail.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Jan Vermaete
702c29ba0c python3-mako: added ptest
root@qemux86-64:~# ptest-runner python3-mako
START: ptest-runner
2024-06-16T19:21
BEGIN: /usr/lib/python3-mako/ptest
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_parse_python_expression # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_python_gettext_call # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:PluginExtractTest.test_translator_comment # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_utf8 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_babelplugin.py:MakoExtractTest.test_extract_cp1251 # SKIP babel not installed: skipping babelplugin test
SKIP: test/ext/test_linguaplugin.py:MakoExtractTest.test_extract # SKIP lingua not installed: skipping linguaplugin test
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_2
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_3
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_4
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_5
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_6
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_7
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_8
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_9
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_10
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_11
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_12
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_13
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_14
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_16
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_17
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_18
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_19
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_20
PASS: test/test_ast.py:AstParseTest.test_locate_identifiers_21
PASS: test/test_ast.py:AstParseTest.test_no_global_imports
PASS: test/test_ast.py:AstParseTest.test_python_fragment
PASS: test/test_ast.py:AstParseTest.test_argument_list
PASS: test/test_ast.py:AstParseTest.test_function_decl
PASS: test/test_ast.py:AstParseTest.test_function_decl_2
PASS: test/test_ast.py:AstParseTest.test_function_decl_3
PASS: test/test_ast.py:AstParseTest.test_expr_generate
PASS: test/test_block.py:BlockTest.test_anonymous_block_namespace_raises
PASS: test/test_block.py:BlockTest.test_anonymous_block_in_call
PASS: test/test_block.py:BlockTest.test_named_block_in_call
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_block
PASS: test/test_block.py:BlockTest.test_name_collision_blocks_nested_def
PASS: test/test_block.py:BlockTest.test_name_collision_block_def_toplevel
PASS: test/test_block.py:BlockTest.test_name_collision_def_block_toplevel
PASS: test/test_block.py:BlockTest.test_named_block_renders
PASS: test/test_block.py:BlockTest.test_inherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_named_in_def
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_both
PASS: test/test_block.py:BlockTest.test_inherited_block_nested_inner_only
PASS: test/test_block.py:BlockTest.test_noninherited_block_no_render
PASS: test/test_block.py:BlockTest.test_no_conflict_nested_one
PASS: test/test_block.py:BlockTest.test_nested_dupe_names_raise
PASS: test/test_block.py:BlockTest.test_two_levels_one
PASS: test/test_block.py:BlockTest.test_filter
PASS: test/test_block.py:BlockTest.test_anon_in_named
PASS: test/test_block.py:BlockTest.test_named_in_anon
PASS: test/test_block.py:BlockTest.test_anon_in_anon
PASS: test/test_block.py:BlockTest.test_named_in_named
PASS: test/test_block.py:BlockTest.test_iteration
PASS: test/test_block.py:BlockTest.test_conditional
PASS: test/test_block.py:BlockTest.test_block_overridden_by_def
PASS: test/test_block.py:BlockTest.test_def_overridden_by_block
PASS: test/test_block.py:BlockTest.test_block_args
PASS: test/test_block.py:BlockTest.test_block_variables_contextual
PASS: test/test_block.py:BlockTest.test_block_args_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs_contextual
PASS: test/test_block.py:BlockTest.test_block_pageargs
PASS: test/test_cache.py:CacheTest.test_def
PASS: test/test_cache.py:CacheTest.test_cache_enable
PASS: test/test_cache.py:CacheTest.test_nested_def
PASS: test/test_cache.py:CacheTest.test_page
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_context
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_funcargs
PASS: test/test_cache.py:CacheTest.test_dynamic_key_with_imports
PASS: test/test_cache.py:CacheTest.test_fileargs_implicit
PASS: test/test_cache.py:CacheTest.test_fileargs_deftag
PASS: test/test_cache.py:CacheTest.test_fileargs_pagetag
PASS: test/test_cache.py:CacheTest.test_args_complete
PASS: test/test_cache.py:CacheTest.test_fileargs_lookup
PASS: test/test_cache.py:CacheTest.test_buffered
PASS: test/test_cache.py:CacheTest.test_load_from_expired
PASS: test/test_cache.py:CacheTest.test_namespace_access
PASS: test/test_cache.py:CacheTest.test_lookup
PASS: test/test_cache.py:CacheTest.test_invalidate
PASS: test/test_cache.py:CacheTest.test_custom_args_def
PASS: test/test_cache.py:CacheTest.test_custom_args_block
PASS: test/test_cache.py:CacheTest.test_custom_args_page
PASS: test/test_cache.py:CacheTest.test_pass_context
SKIP: test/test_cache.py:BeakerCacheTest.test_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_enable # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_nested_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_funcargs # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_dynamic_key_with_imports # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_implicit # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_deftag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_pagetag # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_args_complete # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_fileargs_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_buffered # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_load_from_expired # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_namespace_access # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_lookup # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_invalidate # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_def # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_block # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_custom_args_page # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_pass_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_cache_uses_current_context # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:BeakerCacheTest.test_region # SKIP Beaker is required for these tests.
SKIP: test/test_cache.py:DogpileCacheTest.test_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_enable # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_nested_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_funcargs # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_dynamic_key_with_imports # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_implicit # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_deftag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_pagetag # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_args_complete # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_fileargs_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_buffered # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_load_from_expired # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_namespace_access # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_lookup # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_invalidate # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_def # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_block # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_custom_args_page # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_pass_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_cache_uses_current_context # SKIP dogpile.cache is required to run these tests
SKIP: test/test_cache.py:DogpileCacheTest.test_region # SKIP dogpile.cache is required to run these tests
PASS: test/test_call.py:CallTest.test_call
PASS: test/test_call.py:CallTest.test_compound_call
PASS: test/test_call.py:CallTest.test_new_syntax
PASS: test/test_call.py:CallTest.test_ccall_caller
PASS: test/test_call.py:CallTest.test_stack_pop
PASS: test/test_call.py:CallTest.test_conditional_call
PASS: test/test_call.py:CallTest.test_chained_call
PASS: test/test_call.py:CallTest.test_nested_call
PASS: test/test_call.py:CallTest.test_nested_call_2
PASS: test/test_call.py:CallTest.test_nested_call_3
PASS: test/test_call.py:CallTest.test_nested_call_4
PASS: test/test_call.py:CallTest.test_chained_call_in_nested
PASS: test/test_call.py:CallTest.test_call_in_nested
PASS: test/test_call.py:CallTest.test_composed_def
PASS: test/test_call.py:CallTest.test_regular_defs
PASS: test/test_call.py:CallTest.test_call_in_nested_2
PASS: test/test_call.py:SelfCacheTest.test_basic
PASS: test/test_cmd.py:CmdTest.test_stdin_success
PASS: test/test_cmd.py:CmdTest.test_stdin_syntax_err
PASS: test/test_cmd.py:CmdTest.test_stdin_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_success
PASS: test/test_cmd.py:CmdTest.test_file_syntax_err
PASS: test/test_cmd.py:CmdTest.test_file_rt_err
PASS: test/test_cmd.py:CmdTest.test_file_notfound
PASS: test/test_decorators.py:DecoratorTest.test_toplevel
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_contextual
PASS: test/test_decorators.py:DecoratorTest.test_nested
PASS: test/test_decorators.py:DecoratorTest.test_toplevel_decorated_name
PASS: test/test_decorators.py:DecoratorTest.test_nested_decorated_name
PASS: test/test_def.py:DefTest.test_def_noargs
PASS: test/test_def.py:DefTest.test_def_blankargs
PASS: test/test_def.py:DefTest.test_def_args
PASS: test/test_def.py:DefTest.test_def_py3k_args
PASS: test/test_def.py:DefTest.test_inter_def
PASS: test/test_def.py:DefTest.test_toplevel
PASS: test/test_def.py:DefTest.test_def_operations
PASS: test/test_def.py:ScopeTest.test_scope_one
PASS: test/test_def.py:ScopeTest.test_scope_two
PASS: test/test_def.py:ScopeTest.test_scope_four
PASS: test/test_def.py:ScopeTest.test_scope_five
PASS: test/test_def.py:ScopeTest.test_scope_six
PASS: test/test_def.py:ScopeTest.test_scope_seven
PASS: test/test_def.py:ScopeTest.test_scope_eight
PASS: test/test_def.py:ScopeTest.test_scope_nine
PASS: test/test_def.py:ScopeTest.test_scope_ten
PASS: test/test_def.py:ScopeTest.test_scope_eleven
PASS: test/test_def.py:ScopeTest.test_unbound_scope
PASS: test/test_def.py:ScopeTest.test_unbound_scope_two
PASS: test/test_def.py:ScopeTest.test_canget_kwargs
PASS: test/test_def.py:ScopeTest.test_inline_expression_from_arg_one
PASS: test/test_def.py:ScopeTest.test_interpret_expression_from_arg_two
PASS: test/test_def.py:NestedDefTest.test_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_2
PASS: test/test_def.py:NestedDefTest.test_nested_with_args
PASS: test/test_def.py:NestedDefTest.test_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def
PASS: test/test_def.py:NestedDefTest.test_nested_nested_def_2
PASS: test/test_def.py:NestedDefTest.test_outer_scope
PASS: test/test_def.py:ExceptionTest.test_raise
PASS: test/test_def.py:ExceptionTest.test_handler
PASS: test/test_exceptions.py:ExceptionsTest.test_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_text_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_html_error_template_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_closures
PASS: test/test_exceptions.py:ExceptionsTest.test_py_utf8_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_py_unicode_error_html_error_template
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_utf8_format_exceptions_no_pygments
PASS: test/test_exceptions.py:ExceptionsTest.test_mod_no_encoding
PASS: test/test_exceptions.py:ExceptionsTest.test_custom_tback
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_no_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_tback_trace_from_py_file
PASS: test/test_exceptions.py:ExceptionsTest.test_code_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_module_block_line_number
PASS: test/test_exceptions.py:ExceptionsTest.test_alternating_file_names
PASS: test/test_filters.py:FilterTest.test_basic
PASS: test/test_filters.py:FilterTest.test_expr
PASS: test/test_filters.py:FilterTest.test_convert_str
PASS: test/test_filters.py:FilterTest.test_quoting
PASS: test/test_filters.py:FilterTest.test_url_escaping
PASS: test/test_filters.py:FilterTest.test_entity
PASS: test/test_filters.py:FilterTest.test_def
PASS: test/test_filters.py:FilterTest.test_import
PASS: test/test_filters.py:FilterTest.test_import_2
PASS: test/test_filters.py:FilterTest.test_encode_filter
PASS: test/test_filters.py:FilterTest.test_encode_filter_non_str
PASS: test/test_filters.py:FilterTest.test_custom_default
PASS: test/test_filters.py:FilterTest.test_global
PASS: test/test_filters.py:FilterTest.test_block_via_context
PASS: test/test_filters.py:FilterTest.test_def_via_context
PASS: test/test_filters.py:FilterTest.test_text_via_context
PASS: test/test_filters.py:FilterTest.test_nflag
PASS: test/test_filters.py:FilterTest.test_global_json
PASS: test/test_filters.py:FilterTest.test_non_expression
PASS: test/test_filters.py:FilterTest.test_builtins
PASS: test/test_filters.py:BufferTest.test_buffered_def
PASS: test/test_filters.py:BufferTest.test_unbuffered_def
PASS: test/test_filters.py:BufferTest.test_capture
PASS: test/test_filters.py:BufferTest.test_capture_exception
PASS: test/test_filters.py:BufferTest.test_buffered_exception
PASS: test/test_filters.py:BufferTest.test_capture_ccall
PASS: test/test_inheritance.py:InheritanceTest.test_basic
PASS: test/test_inheritance.py:InheritanceTest.test_multilevel_nesting
PASS: test/test_inheritance.py:InheritanceTest.test_includes
PASS: test/test_inheritance.py:InheritanceTest.test_namespaces
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_2
PASS: test/test_inheritance.py:InheritanceTest.test_pageargs_err
PASS: test/test_inheritance.py:InheritanceTest.test_toplevel
PASS: test/test_inheritance.py:InheritanceTest.test_dynamic
PASS: test/test_inheritance.py:InheritanceTest.test_in_call
PASS: test/test_lexer.py:LexerTest.test_text_and_tag
PASS: test/test_lexer.py:LexerTest.test_unclosed_tag
PASS: test/test_lexer.py:LexerTest.test_onlyclosed_tag
PASS: test/test_lexer.py:LexerTest.test_noexpr_allowed
PASS: test/test_lexer.py:LexerTest.test_closing_tag_many_spaces
PASS: test/test_lexer.py:LexerTest.test_opening_tag_many_quotes
PASS: test/test_lexer.py:LexerTest.test_unmatched_tag
PASS: test/test_lexer.py:LexerTest.test_nonexistent_tag
PASS: test/test_lexer.py:LexerTest.test_wrongcase_tag
PASS: test/test_lexer.py:LexerTest.test_percent_escape
PASS: test/test_lexer.py:LexerTest.test_percent_escape2
PASS: test/test_lexer.py:LexerTest.test_percent_escape_with_control_block
PASS: test/test_lexer.py:LexerTest.test_inline_percent
PASS: test/test_lexer.py:LexerTest.test_old_multiline_comment
PASS: test/test_lexer.py:LexerTest.test_text_tag
PASS: test/test_lexer.py:LexerTest.test_def_syntax
PASS: test/test_lexer.py:LexerTest.test_def_syntax_2
PASS: test/test_lexer.py:LexerTest.test_whitespace_equals
PASS: test/test_lexer.py:LexerTest.test_ns_tag_closed
PASS: test/test_lexer.py:LexerTest.test_ns_tag_empty
PASS: test/test_lexer.py:LexerTest.test_ns_tag_open
PASS: test/test_lexer.py:LexerTest.test_expr_in_attribute
PASS: test/test_lexer.py:LexerTest.test_pagetag[,-48]
PASS: test/test_lexer.py:LexerTest.test_pagetag[-47]
PASS: test/test_lexer.py:LexerTest.test_nesting
PASS: test/test_lexer.py:LexerTest.test_code
PASS: test/test_lexer.py:LexerTest.test_code_and_tags
PASS: test/test_lexer.py:LexerTest.test_expression
PASS: test/test_lexer.py:LexerTest.test_tricky_expression
PASS: test/test_lexer.py:LexerTest.test_dict_expression_issue_400_regression
PASS: test/test_lexer.py:LexerTest.test_tricky_code
PASS: test/test_lexer.py:LexerTest.test_tricky_code_2
PASS: test/test_lexer.py:LexerTest.test_tricky_code_3
PASS: test/test_lexer.py:LexerTest.test_tricky_code_4
PASS: test/test_lexer.py:LexerTest.test_tricky_code_5
PASS: test/test_lexer.py:LexerTest.test_tricky_code_6
PASS: test/test_lexer.py:LexerTest.test_control_lines
PASS: test/test_lexer.py:LexerTest.test_control_lines_2
PASS: test/test_lexer.py:LexerTest.test_long_control_lines
PASS: test/test_lexer.py:LexerTest.test_unmatched_control
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_2
PASS: test/test_lexer.py:LexerTest.test_unmatched_control_3
PASS: test/test_lexer.py:LexerTest.test_ternary_control
PASS: test/test_lexer.py:LexerTest.test_integration
PASS: test/test_lexer.py:LexerTest.test_comment_after_statement
PASS: test/test_lexer.py:LexerTest.test_crlf
PASS: test/test_lexer.py:LexerTest.test_comments
PASS: test/test_lexer.py:LexerTest.test_docs
PASS: test/test_lexer.py:LexerTest.test_preprocess
PASS: test/test_lookup.py:LookupTest.test_basic
PASS: test/test_lookup.py:LookupTest.test_subdir
PASS: test/test_lookup.py:LookupTest.test_updir
PASS: test/test_lookup.py:LookupTest.test_directory_lookup
PASS: test/test_lookup.py:LookupTest.test_no_lookup
PASS: test/test_lookup.py:LookupTest.test_uri_adjust
PASS: test/test_lookup.py:LookupTest.test_uri_cache
PASS: test/test_lookup.py:LookupTest.test_check_not_found
PASS: test/test_lookup.py:LookupTest.test_dont_accept_relative_outside_of_root
PASS: test/test_lookup.py:LookupTest.test_checking_against_bad_filetype
PASS: test/test_loop.py:TestLoop.test__FOR_LOOP
PASS: test/test_loop.py:TestLoop.test_loop_demo
PASS: test/test_loop.py:TestLoop.test_nested_loops
PASS: test/test_loop.py:TestLoop.test_no_loop
PASS: test/test_loop.py:TestLoop.test_out_of_context_access
PASS: test/test_loop.py:TestLoop.test_parent_loops
PASS: test/test_loop.py:TestLoopStack.test__pop
PASS: test/test_loop.py:TestLoopStack.test__push
PASS: test/test_loop.py:TestLoopStack.test__top
PASS: test/test_loop.py:TestLoopStack.test_enter
PASS: test/test_loop.py:TestLoopStack.test_exit
PASS: test/test_loop.py:TestLoopContext.test___len__
PASS: test/test_loop.py:TestLoopContext.test_cycle
PASS: test/test_loop.py:TestLoopContext.test_even
PASS: test/test_loop.py:TestLoopContext.test_first
PASS: test/test_loop.py:TestLoopContext.test_index
PASS: test/test_loop.py:TestLoopContext.test_last
PASS: test/test_loop.py:TestLoopContext.test_odd
PASS: test/test_loop.py:TestLoopContext.test_reverse_index
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_disabled_override_lookup
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_template
PASS: test/test_loop.py:TestLoopFlags.test_loop_enabled_override_lookup
PASS: test/test_lru.py:LRUTest.testlru
PASS: test/test_namespace.py:NamespaceTest.test_inline_crossreference
PASS: test/test_namespace.py:NamespaceTest.test_inline_assignment
PASS: test/test_namespace.py:NamespaceTest.test_inline_arguments
PASS: test/test_namespace.py:NamespaceTest.test_inline_not_duped
PASS: test/test_namespace.py:NamespaceTest.test_dynamic
PASS: test/test_namespace.py:NamespaceTest.test_template
PASS: test/test_namespace.py:NamespaceTest.test_module
PASS: test/test_namespace.py:NamespaceTest.test_module_2
PASS: test/test_namespace.py:NamespaceTest.test_module_imports
PASS: test/test_namespace.py:NamespaceTest.test_module_imports_2
PASS: test/test_namespace.py:NamespaceTest.test_context
PASS: test/test_namespace.py:NamespaceTest.test_overload
PASS: test/test_namespace.py:NamespaceTest.test_getattr
PASS: test/test_namespace.py:NamespaceTest.test_in_def
PASS: test/test_namespace.py:NamespaceTest.test_in_remote_def
PASS: test/test_namespace.py:NamespaceTest.test_dont_pollute_self
PASS: test/test_namespace.py:NamespaceTest.test_inheritance
PASS: test/test_namespace.py:NamespaceTest.test_inheritance_two
PASS: test/test_namespace.py:NamespaceTest.test_attr
PASS: test/test_namespace.py:NamespaceTest.test_attr_raise
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_1
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_2
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_3
PASS: test/test_namespace.py:NamespaceTest.test_custom_tag_case_sensitive
PASS: test/test_namespace.py:NamespaceTest.test_expr_grouping
PASS: test/test_namespace.py:NamespaceTest.test_ccall
PASS: test/test_namespace.py:NamespaceTest.test_ccall_2
PASS: test/test_namespace.py:NamespaceTest.test_import
PASS: test/test_namespace.py:NamespaceTest.test_import_calledfromdef
PASS: test/test_namespace.py:NamespaceTest.test_closure_import
PASS: test/test_namespace.py:NamespaceTest.test_import_local
PASS: test/test_namespace.py:NamespaceTest.test_ccall_import
PASS: test/test_namespace.py:NamespaceTest.test_nonexistent_namespace_uri
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_normal
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_adjusted
PASS: test/test_pygen.py:GeneratePythonTest.test_generate_combo
PASS: test/test_pygen.py:GeneratePythonTest.test_multi_line
PASS: test/test_pygen.py:GeneratePythonTest.test_false_unindentor
PASS: test/test_pygen.py:GeneratePythonTest.test_backslash_line
PASS: test/test_pygen.py:WhitespaceTest.test_basic
PASS: test/test_pygen.py:WhitespaceTest.test_blank_lines
PASS: test/test_pygen.py:WhitespaceTest.test_open_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quote_with_comments
PASS: test/test_pygen.py:WhitespaceTest.test_quotes_with_pound
PASS: test/test_pygen.py:WhitespaceTest.test_quotes
PASS: test/test_runtime.py:ContextTest.test_locals_kwargs
PASS: test/test_template.py:MiscTest.test_crlf_linebreaks
PASS: test/test_template.py:EncodingTest.test_escapes_html_tags
PASS: test/test_template.py:EncodingTest.test_unicode
PASS: test/test_template.py:EncodingTest.test_encoding_doesnt_conflict
PASS: test/test_template.py:EncodingTest.test_unicode_arg
PASS: test/test_template.py:EncodingTest.test_unicode_file
PASS: test/test_template.py:EncodingTest.test_unicode_file_code
PASS: test/test_template.py:EncodingTest.test_unicode_file_lookup
PASS: test/test_template.py:EncodingTest.test_unicode_bom
PASS: test/test_template.py:EncodingTest.test_unicode_memory
PASS: test/test_template.py:EncodingTest.test_unicode_text
PASS: test/test_template.py:EncodingTest.test_unicode_text_ccall
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_expr_file
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_code
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_controlline
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_tag
PASS: test/test_template.py:EncodingTest.test_unicode_literal_in_def
PASS: test/test_template.py:EncodingTest.test_input_encoding
PASS: test/test_template.py:EncodingTest.test_encoding
PASS: test/test_template.py:EncodingTest.test_encoding_errors
PASS: test/test_template.py:EncodingTest.test_read_unicode
PASS: test/test_template.py:PageArgsTest.test_basic
PASS: test/test_template.py:PageArgsTest.test_inherits
PASS: test/test_template.py:PageArgsTest.test_includes
PASS: test/test_template.py:PageArgsTest.test_context_small
PASS: test/test_template.py:PageArgsTest.test_with_context
PASS: test/test_template.py:PageArgsTest.test_overrides_builtins
PASS: test/test_template.py:PageArgsTest.test_canuse_builtin_names
PASS: test/test_template.py:PageArgsTest.test_builtin_names_dont_clobber_defaults_in_includes
PASS: test/test_template.py:PageArgsTest.test_dict_locals
PASS: test/test_template.py:IncludeTest.test_basic
PASS: test/test_template.py:IncludeTest.test_localargs
PASS: test/test_template.py:IncludeTest.test_viakwargs
PASS: test/test_template.py:IncludeTest.test_include_withargs
PASS: test/test_template.py:IncludeTest.test_within_ccall
PASS: test/test_template.py:IncludeTest.test_include_error_handler
PASS: test/test_template.py:UndefinedVarsTest.test_undefined
PASS: test/test_template.py:UndefinedVarsTest.test_strict
PASS: test/test_template.py:UndefinedVarsTest.test_expression_declared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_nonstrict
PASS: test/test_template.py:UndefinedVarsTest.test_traditional_assignment_plus_undeclared
PASS: test/test_template.py:UndefinedVarsTest.test_list_comprehensions_plus_undeclared_strict
PASS: test/test_template.py:UndefinedVarsTest.test_dict_comprehensions_in_function_plus_undeclared_strict
PASS: test/test_template.py:StopRenderingTest.test_return_in_template
PASS: test/test_template.py:ReservedNameTest.test_names_on_context
PASS: test/test_template.py:ReservedNameTest.test_names_in_template
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_context
PASS: test/test_template.py:ReservedNameTest.test_exclude_loop_template
PASS: test/test_template.py:ControlTest.test_control
PASS: test/test_template.py:ControlTest.test_blank_control_1
PASS: test/test_template.py:ControlTest.test_blank_control_2
PASS: test/test_template.py:ControlTest.test_blank_control_3
PASS: test/test_template.py:ControlTest.test_blank_control_4
PASS: test/test_template.py:ControlTest.test_blank_control_5
PASS: test/test_template.py:ControlTest.test_blank_control_6
PASS: test/test_template.py:ControlTest.test_blank_control_7
PASS: test/test_template.py:ControlTest.test_blank_control_8
PASS: test/test_template.py:ControlTest.test_blank_control_9
PASS: test/test_template.py:ControlTest.test_blank_control_10
PASS: test/test_template.py:ControlTest.test_blank_control_11
PASS: test/test_template.py:ControlTest.test_commented_blank_control_1
PASS: test/test_template.py:ControlTest.test_commented_blank_control_2
PASS: test/test_template.py:ControlTest.test_commented_blank_control_3
PASS: test/test_template.py:ControlTest.test_commented_blank_control_4
PASS: test/test_template.py:ControlTest.test_commented_blank_control_5
PASS: test/test_template.py:ControlTest.test_commented_blank_control_6
PASS: test/test_template.py:ControlTest.test_commented_blank_control_7
PASS: test/test_template.py:ControlTest.test_commented_blank_control_8
PASS: test/test_template.py:ControlTest.test_commented_blank_control_9
PASS: test/test_template.py:ControlTest.test_commented_blank_control_10
PASS: test/test_template.py:ControlTest.test_multiline_control
PASS: test/test_template.py:GlobalsTest.test_globals
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_utf8_file_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_memory_runtime
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_syntax
PASS: test/test_template.py:RichTracebackTest.test_unicode_file_runtime
PASS: test/test_template.py:ModuleDirTest.test_basic
PASS: test/test_template.py:ModuleDirTest.test_callable
PASS: test/test_template.py:ModuleDirTest.test_custom_writer
PASS: test/test_template.py:FilenameToURITest.test_windows_paths
PASS: test/test_template.py:FilenameToURITest.test_posix_paths
PASS: test/test_template.py:FilenameToURITest.test_dont_accept_relative_outside_of_root
PASS: test/test_template.py:ModuleTemplateTest.test_module_roundtrip
PASS: test/test_template.py:TestTemplateAPI.test_metadata
PASS: test/test_template.py:TestTemplateAPI.test_metadata_two
PASS: test/test_template.py:PreprocessTest.test_old_comments
PASS: test/test_template.py:LexerTest.test_via_template
PASS: test/test_template.py:LexerTest.test_via_lookup
PASS: test/test_template.py:FuturesTest.test_future_import
PASS: test/test_template.py:EscapeTest.test_percent_escape
PASS: test/test_template.py:EscapeTest.test_percent_escape2
PASS: test/test_template.py:EscapeTest.test_inline_percent
PASS: test/test_template.py:EscapeTest.test_listcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_setcomp_in_func_strict
PASS: test/test_template.py:EscapeTest.test_generator_in_func_strict
PASS: test/test_template.py:EscapeTest.test_dictcomp_in_func_strict
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir
PASS: test/test_tgplugin.py:TestTGPlugin.test_basic_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_subdir_dot
PASS: test/test_tgplugin.py:TestTGPlugin.test_string
PASS: test/test_tgplugin.py:TestTGPlugin.test_render
PASS: test/test_util.py:UtilTest.test_fast_buffer_write
PASS: test/test_util.py:UtilTest.test_fast_buffer_truncate
PASS: test/test_util.py:UtilTest.test_fast_buffer_encoded
PASS: test/test_util.py:UtilTest.test_read_file
PASS: test/test_util.py:UtilTest.test_load_module
PASS: test/test_util.py:UtilTest.test_load_plugin_failure
PASS: test/testing/test_config.py:BasicConfigTest.test_coercions
PASS: test/testing/test_config.py:BasicConfigTest.test_values
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_file
PASS: test/testing/test_config.py:BasicConfigTest.test_error_on_loading_from_nonexistent_section
PASS: test/testing/test_config.py:BooleanConfigTest.test_values
PASS: test/testing/test_config.py:UnsupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:SupportedTypesConfigTest.test_values
PASS: test/testing/test_config.py:TypeMismatchConfigTest.test_error_on_load
PASS: test/testing/test_config.py:MissingItemConfigTest.test_error_on_load
============================================================================
Testsuite summary
DURATION: 40
END: /usr/lib/python3-mako/ptest
2024-06-16T19:21
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 83a7c016ec83d3220bc3c3d8bdf3a103fd5b6eca)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Yi Zhao
4c0bc216e1 debianutils: upgrade 5.17 -> 5.19
ChangeLog:

5.19:
* update-shells: Avoid duplicate lines when package shells contain both
  aliased and canonical shells.

5.18
* po4a/po/fr.po: Updated french translations for manpages.
* d/control: Bump standards version from 4.6.2 to 4.7.0.
* acinclude.m4: Bump DEBIANUTILS_VERSION from 5.17 to 5.18.

(From OE-Core rev: b238242e327e9dcf3c3741cc164d1e681ce97316)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Yi Zhao
e5f14a6995 logrotate: upgrade 3.21.0 -> 3.22.0
ChangeLog:
https://github.com/logrotate/logrotate/releases/tag/3.22.0

 * fix calculations for time differences
 * fix extension for zip compression
 * fix omitted copy for logs with mail and rotate 0
 * fix wrongly skipping copy with copytruncate and compress
 * fix ambiguities between mode, UID and GID parsing when not specifying
   all options
 * fix hang when encountering a named pipe
 * on prerotate failure logs are preserved instead of rotated
 * in case a configuration file was skipped due to unsafe permissions
   the exit status after rotattion will be 1
 * the state is no longer written to non-regular files
 * the systemd timer now correctly utilizes load distribution
 * add dateformat specifier %z for timezone offsets
 * change default mode for created olddir directories to 0755
 * support quoted user and group names in su, create, and createolddir

(From OE-Core rev: f856ed2095818401bacdbfcf9b0c2265a415f2a1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Dmitry Baryshkov
29f38b334d ffmpeg: backport patch to fix errors with GCC 14
On ARMv7 compilation of ffmpeg breaks if Vulkan support is enabled.
Backport a patch from the trunk to fix compilation issues:

| src/libavcodec/vulkan_av1.c: In function 'vk_av1_create_params':
| src/libavcodec/vulkan_av1.c:214:43: error: initialization of 'long long unsigned int' from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   214 |         .videoSessionParametersTemplate = NULL,
|       |                                           ^~~~
| src/libavcodec/vulkan_av1.c:214:43: note: (near initialization for '(anonymous).videoSessionParametersTemplate')
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_av1.o] Error 1
| make: *** Waiting for unfinished jobs....
| src/libavcodec/vulkan_decode.c: In function 'ff_vk_decode_prepare_frame':
| src/libavcodec/vulkan_decode.c:191:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   191 |     vkpic->img_view_ref  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:192:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   192 |     vkpic->img_view_out  = NULL;
|       |                          ^
| src/libavcodec/vulkan_decode.c:193:26: error: assignment to 'VkImageView' {aka 'long long unsigned int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
|   193 |     vkpic->img_view_dest = NULL;
|       |                          ^
| make: *** [/oe/build/tmp-rpb_wayland-glibc/work/armv7at2hf-neon-linaro-linux-gnueabi/ffmpeg/6.1.1/ffmpeg-6.1.1/ffbuild/common.mak:81: libavcodec/vulkan_decode.o] Error 1

(From OE-Core rev: 52001cabd021b7c856acf426b668b99a72561de0)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Khem Raj
41bc9f693e gawk: Remove References to /usr/local/bin/gawk
Also replace the hashbangs using /bin/gawk to use
${bindir}/gawk

This fixes issues such as
https://github.com/riscv/meta-riscv/issues/384

(From OE-Core rev: 9f58ad97f6587322b716de1c9dc409bb4e1376f0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Kai Kang
da616e302e gfortran: update runtime dependencies
It fails to run both `gcc` and `gfortran` with errors:

| root@qemux86-64:~# x86_64-poky-linux-gcc a.c
| x86_64-poky-linux-gcc: fatal error: cannot execute 'as': posix_spawnp: No such file or directory

then add binutils which provides `as` to RDEPENDS of gcc.

libgfortran-dev provides libgfortran.spec which required by gfortran:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: cannot read spec file 'libgfortran.spec': No such file or directory

And gcc provides liblto_plugin.so:

| root@qemux86-64:~# gfortran hello.f95
| gfortran: fatal error: '-fuse-linker-plugin', but liblto_plugin.so not found

(From OE-Core rev: 44fc7aa1468ff042739cc5a91c84ef5c2a09e0a3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Andrew Fernandes
e288d1b223 gtk+: add missing libdrm dependency
Fixes [YOCTO #15513]

When built without the wayland feature, gtk4 does not
build due to a missing explicit dependency on libdrm.

(From OE-Core rev: b32290d9bbcfccc9b85fa5acbeaee5d32d9a9091)

Signed-off-by: Andrew Fernandes <andrew@fernandes.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Kai Kang
5aa7391d85 gcc: remove g77/f77
g77/f77 has been removed from gcc 4.0.0 via commit:

* b4117c30610 Makefile.def, [...]: Remove all mention of libf2c.

When set

    FORTRAN = ",f77"

it complains with error:

| The following requested languages could not be built: f77
| Supported languages are: c,c,c++,fortran,go,lto,m2,objc,obj-c++

So remove g77/f77 from gcc recipes.

[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=b4117c30610

(From OE-Core rev: 6469c6a00066af24c87ec5dd7994ebbc610c3782)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Trevor Gamblin
849386c44d python3: skip test_multiprocessing/test_active_children test
This test is causing problems on the Autobuilder, so disable it for now.

(From OE-Core rev: ac000b00ec615b3e51dda8d819015d5e7110ed88)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Khem Raj
5cb8d94644 gcc: Fix typo in increment expression in unicode from libstdc++
This issue is seen when libstdc++ headers are used by clang18
see - https://github.com/llvm/llvm-project/issues/92586

(From OE-Core rev: 1506b779014b09ffd618b2e5d95aa00ff91d6f45)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Adithya Balakumar
c79c8ce71c wic/partition.py: Set hash_seed for empty ext partition
Although setting hash_seed is handled for the rootfs plugin case, but
this is missed when deploying an empty ext partition.

(From OE-Core rev: 0202fb594fb05098cb8d8b6088e63beb40b5906e)

Signed-off-by: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Khem Raj
7fb8509c5a gstreamer1.0-plugins-bad: Fix build with musl
(From OE-Core rev: e1338eeb0c2d1e4a76c3efc9eb969e0edf9fe106)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Siddharth Doshi
35faffd46c cups: Upgrade 2.4.8 -> 2.4.9
CVE's Fixed by upgrade:
CVE-2024-35235 cups: Cupsd Listen arbitrary chmod 0140777

Other Changes between 2.4.8 -> 2.4.9
====================================
https://github.com/OpenPrinting/cups/blob/2.4.x/CHANGES.md

(From OE-Core rev: 6e1f6b7166f4a17bbf99f4b17cb9ed1fba9bbf39)

Signed-off-by: Siddharth Doshi <sdoshi@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-18 08:44:41 +01:00
Tim Orling
41780c62d2 ref-manual: add RECIPE_UPDATE_EXTRA_TASKS variable
Document the new RECIPE_UPDATE_EXTRA_TASKS variable
and give cargo-update-recipe-crates as a concrete
example.

(From yocto-docs rev: 9cc4e395571dcef58d9d8545c08d9fdf8070bb32)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-16 22:49:21 +01:00
Michael Opdenacker
5020a0f560 documentation/README: refer to doc package requirements
Refer to package requirements for building documentation
from supported distributions. The simple instructions
previously listed no longer work on Ubuntu 24.04, for example.

(From yocto-docs rev: c474f211a9a9ab9399627558b801d7546ebcd52b)

Signed-off-by: Michael Opdenacker <michael@opdenacker.org>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-16 22:48:18 +01:00
Aleksandar Nikolic
9ece314372 ref-manual: introduce CVE_CHECK_REPORT_PATCHED variable
(From yocto-docs rev: f585a68a8f35f31814e408dd973ea7345adbbacf)

Signed-off-by: Aleksandar Nikolic <an010@live.com>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-16 22:48:18 +01:00
Jasper Orschulko
5d737bf584 dev-manual: Add info on build env initialization
Going through the docs we a new trainee, we noticed that the build
initialization is only mentioned in the quick build
(https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html) but not
in the in-depth getting started documentation.

While this is repeatedly mentioned later on, e.g. in the "building" section,
you might easily end up somewhere where this has not been mentioned yet.

E.g. in our case this was:

https://docs.yoctoproject.org/dev-manual/layers.html# (which comes right
after the "setup" chapter)
->
https://docs.yoctoproject.org/dev-manual/layers.html#creating-a-general-layer-using-the-bitbake-layers-script
(which is linked right at the top)

To avoid any confusion I think it best to mention this required step
directly in the "start" document.

(From yocto-docs rev: d7a36b7b8e770ae45b991698d588f9522ba59b4e)

Signed-off-by: Jasper Orschulko <jasper@fancydomain.eu>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-16 22:48:18 +01:00
Alexandre Truong
0df9d22928 recipe style guide: add recommendation for patches without signature
>From discussion [0], the presence of git version signature at the end of
patches has been questionned. To avoid a bit more noise, the setting git
format.signature is added to the documentation and its use is
recommended.

[0]: https://lists.openembedded.org/g/openembedded-core/topic/106323318#msg199967

(From yocto-docs rev: 7da39b91a0f20cb7215d51e00c098f3dc13180fd)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-16 22:48:18 +01:00
Changqing Li
838ca52a74 systemd: fix wrong path of tmp.mount
According to meson.build, tmp.mount is installed under
"prefixdir/'lib/systemd/system'", but for 64bit system, rootlibdir is
/usr/lib64/systemd/system, this make tmp.mount not removed, and /tmp
still mounted as tmpfs filesystem. Fixed by using rootlibexecdir, which
is /usr/lib/systemd/system.

(From OE-Core rev: b44734c889b1b09fbbaea4d9195026707c55cbee)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Richard Purdie
4d50069d78 oeqa/sdk/case: Ensure DL_DIR is populated with artefacts if used
Where we're using DL_DIR in sdk archive to try and cache testing artefacts,
copy into the cache so that it gets populated and this doesn't have to be done
manually. Currently we're making a lot of repeat requests to github as this
wasn't being populated.

(From OE-Core rev: a3284958a2cc6c90a5fac26976bddc23f821c972)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Ross Burton
38feae1adb curl: rewrite ptest installation
The latest libtool upgrade appears to have resulted in intermediate files
containing build paths. This wouldn't normally be a problem but the
curl-ptest package is populated by copying ${B}/tests/ which includes all
of the intermediate objects, so this causes buildpath warnings.

Rewrite the ptest installation to install just the pieces we need: the
test harness, utility scripts, and the test data.  We do not need the
libcurl unit tests nor the HTTP server tests, as we don't run those.

Remove all of the explicitly disabled tests, as many of these were for
tests that run curl-config or scan the source code, neither of which are
available at ptest time.  Instead use keyword exclusions to skip them.

Tell the test runner to use the system curl instead of symlinking in the
binary.

Don't copy curl-config, skipping these minor tests is acceptable.

Remove the RDEPENDS on bash, nothing needs this now we're not shipping a
build tree.

(From OE-Core rev: ace380501d3ef62a9e94e2bd4e880cbfaddac02c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Ross Burton
4574919d30 scripts/makefile-getvar: add script to get values from Makefiles
There is often a need to extract a value from a Makefile, and standard
GNU Make doesn't provide a way to do this.  This script lets you access
values from Makefiles directly:

$ makefile-getvar curl/tests/server/Makefile noinst_PROGRAMS
getpart resolve rtspd sockfilt sws tftpd fake_ntlm socksd disabled mqttd

(From OE-Core rev: 881aa40d12d9dde73a932277093e5ceca8eb5c68)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Trevor Gamblin
b82d066887 python3: skip test_concurrent_futures/test_deadlock
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: 291f37808f1a2b2fdc8190696867f974994457c0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
c16d3b930f oe-selftest: add RECIPE_UPDATE_EXTRA_TASKS test
Add test_devtool_upgrade_recipe_update_extra_tasks test case
to test upgrade of python3-guessing-game from v0.1.0 to v0.2.0
which will exercise the update_crates task during the upgrade.

Add python3-guessing-game_git.bb.upgraded and
python3-guessing-game-crates.inc.upgraded  which are the 0.2.0
variants.

Check that the new recipe file has the expected differences.

Check that the new -crates.inc file has the expected differences,
which should be reproducible because of Cargo.lock.

(From OE-Core rev: d14368bc775cbf5142c1312dfc2076e328381aef)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
1ba3586bbe meta-selftest: add python3-guessing-game
Add v0.1.0 of python3-guessing-game which is used as the baseline
for an upgrade to v0.2.0 in test_devtool_upgrade_recipe_update_extra_tasks
test case.

(From OE-Core rev: f62e74a00de892bf4c10f641f734b57c0017a871)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
5676d39218 cargo-update-recipe-crates: add RECIPE_UPDATE_EXTRA_TASKS
When we upgrade a recipe that inherits cargo-update-recipe-crates and
the upstream Cargo.toml/Cargo.lock have been changed, we need to run
the update_crates task or else the devtool upgrade (and therefore
AUH upgrade) will fail.

Add "do_update_crates" task to RECIPE_UPDATE_EXTRA_TASKS for all
recipes that inherit this class.

(From OE-Core rev: 0156ab3e009fa789c629f6c0ab06fcf21add94f8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
82d07928fe devtool upgrade: enable RECIPE_UPDATE_EXTRA_TASKS
For some recipes, such as those that inherit cargo-update-recipe-crates,
we need to run additional tasks once the new sources have been unpacked.

Introduce a new variable RECIPE_UPDATE_EXTRA_TASKS which is a space-
delimited list of tasks to run after the new sources have been
unpacked in scripts/lib/devtool/upgrade.py ugrade() method.

(From OE-Core rev: 59894f3b5b0bc257837d7ce4ea684f1d8c382cec)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-13 09:11:17 +01:00
Tim Orling
ddc86a93da bitbake: test_project_page: fix failing test_single_layer_page
The test_single_layer_page test case consistently fails. It is not obvious why
but if we change the argument in the following from 8 to 7 it passes.

  url = reverse("layerdetails", args=(TestProjectPage.project_id, 8))

E       selenium.common.exceptions.TimeoutException: Message: An element matching "#change-notification" should be visible
=========================== short test summary info ============================
FAILED ../bitbake/lib/toaster/tests/functional/test_project_page.py::TestProjectPage::test_single_layer_page

(Bitbake rev: c7e12145d8ea641925e3c06ba4f11c2dae66288a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Tim Orling
82596bb8a0 bitbake: toaster test_cerate_new_project: add scarthgap
In line with changes in gen_fixtures.py:

* Add projectscarthgap
  - Add Scarthgap to slot 1.
* Move Kirkstone down to slot 4
* Drop projectdunfell
  - Drop EOL Dunfell from slot 5

(Bitbake rev: a4ae788f95d8e54713528374a9171c636aa747c5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Tim Orling
761a03a7b2 bitbake: taoster: update fixtures for scarthgap, current
gen_fixtures.py:
* Add Scarthgap to slot #1
* Drop EOL Mickledore
* Move Kirkstone to lower slot
* Drop optional slot for EOL Dunfell

Refresh oe-core.xml and poky.xml

(Bitbake rev: 11c7214a292cd296eed5490b6726e672f9179131)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 21:15:50 +01:00
Dan McGregor
b67fced09d gcc: Allow using libc++
With the addition of the C++ runtime setting added recently, allow
gcc to use libc++ as its runtime. There's some minor fixes still
required, such as allowing setting the unwinder library. But this
allows for testing libc++ with gcc.

(From OE-Core rev: f84ae97e2bc081c972e78ee4a958f21111dbbfb6)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:57:19 +01:00
Richard Purdie
068ca2f2eb selftest/spdx: Fix for SPDX_VERSION addition
Update the test for the addition of SPDX_VERSION to the deploy path.

(From OE-Core rev: 055e8c21908127722abad9e992d6408d8697a119)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
717a427807 classes/spdx-common: Return empty list from extract_licenses
This is nicer as the normal return type is a list, so the calling code
doesn't have to deal with a None sometimes and a list others.

(From OE-Core rev: e200aa9cc6ceb8ca58ef239a1a5565287b38ce55)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
37c9adaf80 classes/spdx-common: Add SPDX version to path
Since multiple versions of SPDX are available, use the version in the
path

(From OE-Core rev: 35c061a4514905b3ebbb7f0633a584927519445c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Joshua Watt
92b202c246 classes/spdx-common: Move common SPDX to new class
Moves SPDX code that can be shared between different SPDX versions into
a common class

(From OE-Core rev: 769a390adc9fc0b52978abe0f19f885967af0117)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:16:03 +01:00
Aleksandar Nikolic
a43f15565b install-buildtools: update base-url, release and installer version
Update the following default values:
- DEFAULT_BASE_URL (https instead of http)
- DEFAULT_RELEASE (5.0.1)
- DEFAULT_INSTALLER_VERSION (5.0.1)

(From OE-Core rev: b2ebb965a5aa128b05ed7ddc9216171463777732)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Aleksandar Nikolic
062c289efa install-buildtools: fix "test installation" step
The "Test installation" step fails with some harmless error messages
(see [1]). This can however make a user think that the buildtools
have not been installed correctly.

Two reasons for the error messages:
- some envvars in the environment-setup-<arch>-pokysdk-linux file
  start and end with double quotes (e.g., PATH) and are as such
  written into python os.environ. This leads that their usage is
  not valid later when testing the installation. This patch removes
  the double quotes before writing, if they are present.
- if installation directory (install_dir), given through the option
  --directory, is given as a relative path, checking if the path to
  a tool (e.g., gcc) in buildtools starts it will always fail. This
  patch converts the install_dir variable to an absolute path.

[1]
ERROR: Something went wrong: tar not found in ./build-tools
ERROR: Something went wrong: installation failed

(From OE-Core rev: e4eb0b14ecf9bd2fba13260441c9d86eb348f41e)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Aleksandar Nikolic
cedb7197cc install-buildtools: remove md5 checksum validation
No need to validate with the md5 checksum, as the file is not even
uploaded to the Yocto release webpage (the download never failed due
to a wrong indentation of an else statement). For validation purposes,
use the sha256 checksum only.

(From OE-Core rev: b740d2f9d40aef1e18c022d1e82b4fb2c5c1fc22)

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Khem Raj
ecad518092 ltp: Fix build break with clang on risv64
(From OE-Core rev: 760d181ca2fd35f2f46d61e3a47f266e35b17efe)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:32 +01:00
Tim Orling
d3b60a8615 python3-zipp: upgrade 3.18.2 -> 3.19.2
https://github.com/jaraco/zipp/blob/main/NEWS.rst

v3.19.2
* No significant changes.

v3.19.1
* Bugfixes
  - Improved handling of malformed zip files. (#119)

v3.19.0
* Features
  - Implement is_symlink. (#117)

https://github.com/jaraco/zipp/compare/v3.18.2...v3.19.2

(From OE-Core rev: 7601939b6fcd26ddb1f1eb26d5f301fd4fa4cae8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
b79ac158b6 python3-typing-extensions: upgrade 4.11.0 -> 4.12.2
https://github.com/python/typing_extensions/blob/main/CHANGELOG.md

Release 4.12.2 (June 7, 2024)
  * Add typing_extensions.get_annotations, a backport of
    inspect.get_annotations that adds features specified by PEP 649. Patch
    by Jelle Zijlstra.
  * Fix regression in v4.12.0 where specialization of certain generics with
    an overridden __eq__ method would raise errors. Patch by Jelle Zijlstra.
  * Fix tests so they pass on 3.13.0b2

Release 4.12.1 (June 1, 2024)
  * Preliminary changes for compatibility with the draft implementation of
    PEP 649 in Python 3.14. Patch by Jelle Zijlstra.
  * Fix regression in v4.12.0 where nested Annotated types would cause
    TypeError to be raised if the nested Annotated type had unhashable
    metadata. Patch by Alex Waygood.

Release 4.12.0 (May 23, 2024)
  * This release is mostly the same as 4.12.0rc1 but fixes one more
    longstanding bug.
  * Fix incorrect behaviour of typing_extensions.ParamSpec on Python 3.8
    and 3.9 that meant that isinstance(typing_extensions.ParamSpec("P"),
    typing.TypeVar) would have a different result in some situations
	depending on whether or not a profiling function had been set using
	sys.setprofile. Patch by Alex Waygood.

https://github.com/python/typing_extensions/compare/4.11.0...4.12.2

(From OE-Core rev: ca85febfc97459f04c178a870e064170ba3f1e27)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
e48160d6f9 python3-requests: upgrade 2.32.1 -> 2.32.3
https://requests.readthedocs.io/en/latest/community/updates/#release-history

2.32.3 (2024-05-29)
  * Bugfixes - Fixed bug breaking the ability to specify custom SSLContexts
    in sub-classes of HTTPAdapter. (#6716)
  * Fixed issue where Requests started failing to run on Python versions
    compiled without the ssl module. (#6724)

2.32.2 (2024-05-21)
  * Deprecations - To provide a more stable migration for custom HTTPAdapters
    impacted by the CVE changes in 2.32.0, we’ve renamed _get_connection to a
	new public API, get_connection_with_tls_context. Existing custom
	HTTPAdapters will need to migrate their code to use this new API.
	get_connection is considered deprecated in all versions of
	Requests>=2.32.0.
  * A minimal (2-line) example has been provided in the linked PR to ease
    migration, but we strongly urge users to evaluate if their custom adapter
	is subject to the same issue described in CVE-2024-35195. (#6710)

https://github.com/psf/requests/compare/v2.32.1...v2.32.3

(From OE-Core rev: 8ed50a4e723fce8fb4e51463f1316c0d500e5476)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
feeb7282a9 python3-packaging: upgrade 24.0 -> 24.1
What's Changed
 - pyupgrade/black/isort/flake8 → ruff by @DimitriPapadopoulos in #769
 - Add support for Python 3.13 and drop EOL 3.7 by @hugovk in #783
 - Bump the github-actions group with 4 updates by @dependabot in #782
 - Fix typo in _parser docstring by @pradyunsg in #784
 - Modernise type annotations using FA rules from ruff by @pradyunsg
   in #785
 - Document markers.default_environment() by @edgarrmondragon in #753
 - Bump the github-actions group with 3 updates by @dependabot in #789
 - Work around platform.python_version() returning non PEP 440 compliant
   version for non-tagged CPython builds by @sbidoul in #802

https://github.com/pypa/packaging/compare/24.0...24.1

(From OE-Core rev: fe1fac5e49308a64c1a1c90e0e892203514a9ba9)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
08a58a7d73 python3-more-itertools: upgrade 10.2.0 -> 10.3.0
https://github.com/more-itertools/more-itertools/compare/v10.2.0...v10.3.0

https://more-itertools.readthedocs.io/en/stable/versions.html

10.3.0
* New functions
  - powerset_of_sets(), dft(), and idft() (thanks to rhettinger)
  - join_mappings() (thanks to NeilGirdhar and rhettinger)
  - doublestarmap() (thanks to Skeen, monk-time, DamianB-BitFlipper, and ergoithz)
  - unique() (thanks to rhettinger)

* Changes to existing functions
  - collapse(), chunked_even(), ichunked(), padded(), and windowed() were optimized and improved (thanks to james-wasson)
  - totient() was optimized (thanks to rhettinger)
  - roundrobin() was updated and improved (thanks to rhettinger)
  - all_equal() now accepts a key parameter.
  - The docs for value_chain() were improved (thanks to bjrtx)
  - The type annotations for countable were improved (thanks to aidanholm)

* Other changes
  - Unit tests were improved (thanks to haukex)
  - Some documentation issues were fixed (thanks to bjrtx and DimitriPapadopoulos)

(From OE-Core rev: 3a15dc1e34625523f4aa87b9483bb6304682d0ab)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
423d065be1 python3-certifi: upgrade 2024.2.2 -> 2024.6.2
https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02

* Various dependabot updates to dependencies
* Test against Python 3.12 stable and 3.13-dev
* Added 3.12 classifier

(From OE-Core rev: eb2d7da0aa8df7788db1ee15b0f8af8a88c09fa2)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Tim Orling
8eae3a9ee9 python3-cryptography: upgrade 42.0.7 -> 42.0.8
* Refresh 0001-pyproject.toml-remove-benchmark-disable-option.patch
* Also upgrade python3-cryptography-vectors

42.0.8 - 2024-06-04
  * Updated Windows, macOS, and Linux wheels to be compiled with OpenSSL 3.2.2.

https://cryptography.io/en/latest/changelog/#v42-0-8
https://github.com/pyca/cryptography/compare/42.0.7...42.0.8

(From OE-Core rev: 90c171a599b9800f2cfa5c8764f19358d7b4590c)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
055867b327 ccache: 4.9.1 -> 4.10
* Remove 0001-xxhash.h-Fix-build-with-gcc-12.patch since there is no xxhash in
  ccache by default any more.

* License-Update:
  - Update LIC_FILES_CHKSUM becaue a few third party licenses have been removed:
  $ git diff --stat v4.9.1..v4.10 LICENSE.adoc
    LICENSE.adoc | 222 +++++++++---------------------
    1 file changed, 15 insertions(+), 207 deletions(-)

  And add more licenses for third party files.

* Add required recipe fmt and xxhash to DEPENDS.

* Set ENABLE_TESTING=OFF since it requires doctest which is not present in oe.

(From OE-Core rev: 2de4229793df26c9d058885a422cf88f00046d45)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
e2961db409 fmt: Add it from meta-oe for ccache 4.10
It is required by ccache 4.10, from cmake/Dependencies.cmake:
find_package(Fmt 8.0.0 MODULE REQUIRED)

(From OE-Core rev: 473b80caab466538557796c188554ea1dc0a0480)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Robert Yang
b6362a9fe6 quilt: 0.67 -> 0.68
* Remove backported patches:
  fix-grep-3.8.patch.
  faildiff-order.patch
  0001-test-Fix-a-race-condition-in-merge.test.patch

* Add coreutils to RDEPENDS:quilt-ptest to fix ptest error:
  $ ln -P
  ln: invalid option -- 'P'

  The busybox' ln doesn't have option '-P', so use coreutils to fix it.

(From OE-Core rev: 9a0a684bb470aad2f1c44d0f1f84cb33910d5189)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Trevor Gamblin
5a5e22f078 python3-pytest: upgrade 8.2.1 -> 8.2.2
Changelog (https://docs.pytest.org/en/stable/changelog.html):

Bug Fixes
- #12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
- #12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
- #12381: Fix possible “Directory not empty” crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.

Improved Documentation
- #12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
- #12356: Added a subsection to the documentation for debugging flaky tests to mention lack of thread safety in pytest as a possible source of flakyness.
- #12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.

(From OE-Core rev: e875ac5114eaf6582dfba93802e2e0144c08aeaa)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Trevor Gamblin
d547fe7b7b python3: upgrade 3.12.3 -> 3.12.4
This release contains numerous security updates and fixes to
regressions. Changelog:

https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4-final

Results of ptests in core-image-ptest-python3 (qemux86-64):

== Tests result: SUCCESS ==

26 tests skipped:
    test.test_asyncio.test_windows_events
    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
    test.test_gdb.test_misc test.test_gdb.test_pretty_print
    test_asdl_parser test_clinic test_devpoll test_idle test_ioctl
    test_kqueue test_launcher test_msilib test_startfile test_tcl
    test_tix test_tkinter test_ttk test_ttk_textonly test_turtle
    test_winapi test_winconsoleio test_winreg test_wmi

9 tests skipped (resource denied):
    test_curses test_ossaudiodev test_smtpnet test_socketserver
    test_urllib2net test_urllibnet test_winsound test_xmlrpc_net
    test_zipfile64

454 tests OK.

Total duration: 2 min 45 sec
Total tests: run=41,470 skipped=1,548
Total test files: run=480/489 skipped=26 resource_denied=9
Result: SUCCESS
DURATION: 165
END: /usr/lib/python3/ptest
2024-06-10T17:03
STOP: ptest-runner
TOTAL: 1 FAIL: 0

(From OE-Core rev: 012aeee398af4d4cce4012f71007cfb31266dd6c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Martin Jansa
0670ea7be8 insane: add patch-status to default ERROR_QA
* it's enabled for patches in oe-core for very long time and I was using
  it for many other layers as well, so most layers should be in good
  shape

* it's also possible to disable it for individual layer as shown
  by oe-core in:
  https://git.openembedded.org/openembedded-core/commit/meta/classes-global/insane.bbclass?h=scarthgap&id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3

(From OE-Core rev: b7fb91c797ab37a029b8dd1eb7277a7468bc97ed)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-12 16:08:31 +01:00
Jonas Gorski
46b5c2ea6c linuxloader: add -armhf on arm only for TARGET_FPU 'hard'
There are two types of soft FPU options for arm, soft and softfp, and if
using the latter the wrong dynamic loader will be used.

E.g. go will link against ld-linux-armhf.so.3, but libc6 will only ship
a ld-linux.so.3, so go programs will fail to start.

Fix this by instead checking for TARGET_FPU being 'hard' and then
applying the suffix.

(From OE-Core rev: 07b4c7a2bd23f8645810e13439e814caaaf9cd94)

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Ross Burton
9f48761d68 procps: fix build with new glibc but old kernel headers
If you're building procps with a newer glibc (with pidfd_open()) but
older kernel headers (say 4.x, before __NR_pidfd_open) then procps will
fail to build because of a typo in configure.ac.

(From OE-Core rev: b1f522cd659af375828a61de1d0c06ad62398983)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Markus Volk
d84084c1ec ell: update 0.65 -> 0.66
ver 0.66:
	Fix issue with handling event callback when stopping ACD.
	Fix issue with handling ICMPv6 DNS and domain lists.
	Add support for notification lists.

(From OE-Core rev: 560bd2f0f02bbb0791fc03496266f9ff77c2aa77)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Markus Volk
bf511fc240 xcb-util-errors: add recipe
This adds xcb-errors which is an optional dependency for wlroots

(From OE-Core rev: 2cbe7abefbb8bdf4881012555661f57d3b90d587)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Victor Kamensky
7ab949f94c systemtap: fix systemtap-native build error on Fedora 40
Backport of couple patches from upstream.

(From OE-Core rev: cc486f26db46c562e35f770c16edf3f4035e536e)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-11 11:41:33 +01:00
Khem Raj
d6afc28dee grub,grub-efi: Remove -mfpmath=sse on x86
This option fails with clang compiler when testing for soft-float because
OE enforces this option via CCARGS however, gtub's
makefile/configure does disable all sse options when checking for
soft-float support, but it can not disable -mfpmath=sse as its inserted
by OE, therefore remove it in recipe

Fixes build errors seen with clang/musl like on x86
error: the 'sse' unit is not supported with this instruction set

(From OE-Core rev: ad76da4ff6d7110747b620621ae3728de9905465)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 15:59:29 +01:00
Martin Jansa
582b2627a8 selftest: add Upstream-Status to .patch files
(From OE-Core rev: e5e5561c178a565b3aa7cb540fe1c8f71917c882)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:24 +01:00
Kirill Yatsenko
510eb2c375 iptables: fix save/restore symlinks with libnftnl PACKAGECONFIG enabled
When the libnftnl PACKAGECONFIG is enabled, the "iptables" symlink is correctly
points to xtables-nft-multi, however the "iptables-save" and
"iptables-restore" are still point to the xtables-legacy-multi.

So, when the "iptables" command is used it's using the nftables backend
where is the "iptables-save/restore" are using the legacy backend.

This is not consistent with other distros (e.g. Ubuntu).

The issue was identified when testing the UFW firewall with nftables backend.

(From OE-Core rev: 6579e4333b74232d8b576c399eab88e37da881ac)

Signed-off-by: Kirill Yatsenko <kiriyatsenko@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Kai Kang
f241982cc6 cmake-qemu.bbclass: fix if criterion
It always executes the scripts whether 'qemu-usermode' in
'MACHINE_FEATURES' or not. Fix the criterion to make it work.

(From OE-Core rev: 9e163246dcbbd2187c9ba28432c613b0d6c850c6)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Ross Burton
66c8d2b625 pciutils: rewrite recipe
The upstream Makefiles are bespoke so need to be handheld, but this
recipe has workarounds for code removed a decade ago.

Add more PACKAGECONFIGs for the other configuration options (zlib, kmod),
and use hwdb by default (non-systemd builds also have hwdb, as it's part
of eudev too).

Instead of using 'make -e', pass the variables that we want the Makefile
to respect explicitly (CC, CFLAGS, etc).

Construct an appropriate HOST so that lib/configure does the right thing
without needing patches.

This now results in text relocations (apparently from the versioned
symbols in libpci), so add an INSANE_SKIP for that.

Update the homepage URL.

(From OE-Core rev: e943b74ffe0fd2c37e35540a2d6bd92a1dd61a3a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Tim Orling
06746aead8 python3-babel: upgrade 2.14.0 -> 2.15.0
* Override S and PYPI_SRC_URI as upstream tarball is now "babel"
  instead of "Babel", but we still need PYPI_PACKAGE to be "Babel"
  for the upstream version check to work.

What's Changed
* Drop support for Python 3.7 (EOL since June 2023) by @akx in #1048
* Upgrade GitHub Actions by @cclauss in #1054
* Improve .po IO by @akx in #1068
* Use CLDR 44 by @akx in #1071
* Allow alternative space characters as group separator when parsing
  numbers by @ronnix in #1007
* Include Unicode license in locale-data and in documentation by @akx
  in #1074
* Encode support for the "fall back to short format" logic for time
  delta formatting by @akx in #1075
* Prepare for 2.15.0 release by @akx in #1079

https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0

License-Update: copyright years

(From OE-Core rev: d00b0dad53992fc44ae2bfb6031932d678590ebc)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Tim Orling
f7499e51a0 python3-meson-python: ugprade 0.15.0 -> 0.16.0
https://github.com/mesonbuild/meson-python/compare/0.15.0...0.16.0

(From OE-Core rev: 00c573aea329d1330778e668b6be94cafdb16526)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-10 14:27:23 +01:00
Ross Burton
a41948e86d site: move ac_cv_func_posix_getpwnam_r to libc files
As with the other ac_cv_func_posix_* functions, this is specific to the
libc and not the architecture.

(From OE-Core rev: 2e190f4e443d6c6e44c3f775ff74e8d14e880a59)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
9a8d48d65c site: fix ac_cv_uint typo
Copy-pasting has resulted in a ac_cv_uint -> ac_cv_unit typo spreading
across the mips* site files, fix this.

(From OE-Core rev: 2b50faa9e7c3fea8480d608c4ef8c24837c7f52a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
5bcc84deb4 insane: show cleaned build paths in more tests
A few tests were still manually cleaning their build paths, change them
to use package_qa_clean_path().

(From OE-Core rev: f6550c3ee1bc076015d85db36b3d281e6a7ace9d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
6033372944 site: remove obsolete dbus entry
The check for working abstract sockets was removed from dbus in 2017[1]
and dbus-glib in 2014[2].

[1] 6a6521746b
[2] e4a163431f

(From OE-Core rev: bb9d25a90287efa13b3ae4ca6edbbe319c597491)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
19feb66490 site: remove obsolete evolution-data-server entries
evolution-data-server hasn't used autoconf since 2016 (from 3.23.1), so
remove the now redundant entries for it.

(From OE-Core rev: e0f31024b4455d116fd00d84a6e046067ae4ff1d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:43 +01:00
Ross Burton
d587968b01 site: remove libc definitions in nios2-linux
These assignments are libc-specific not architecture specific, so are
already set in the glibc and musl site files.

(From OE-Core rev: ad54be28c075fab7097f0deb00c11487a4b926db)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Ross Burton
2c7663d724 site: move ac_cv_func_fnmatch_works to libc files
ac_cv_func_fnmatch_works (as set by AC_FUNC_FNMATCH) checks if the libc
has a POSIX-compliant fnmatch() implementation. This isn't architecture
specific, so move the definition to common-glibc and common-musl after
verifying the correct result.

(From OE-Core rev: b81ae7affa25eaad016c3ed347a9c4fef0bfee45)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Benjamin Bara
b6fe561023 gstreamer1.0-plugins-bad: adapt webrtc audio dependency
Since d5755744 (MR !2943; landed in 1.23.1), gstreamer switched to
webrtc-audio-processing-1. This fixes:

./gst-plugins-bad-1.24.3/ext/webrtcdsp/meson.build:7:13: ERROR: Dependency "webrtc-audio-processing-1" not found, tried pkgconfig

(From OE-Core rev: 28f8502727ef29ee2fc52fc739af9c4be9ef0ee1)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Trevor Gamblin
6b70da17e3 python3-docutils: upgrade 0.20.1 -> 0.21.2
License-Update: Change from PSF 2.x to ZPL-2.1, add CC0

A few notable things change with this upgrade:

- docutils now uses the Zope 2.1 license instead of PSF 2.1.1
- It now uses flit as the build backend
- The do_install append is no longer needed, as the rst2* endpoints
  lacking the .py extension are included
- python3-pprint is added to RDEPENDS

Changelog: https://docutils.sourceforge.io/RELEASE-NOTES.html

(From OE-Core rev: 38f2293304fbd884d4653f7746bc1d5a9bac12c1)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Chen Qi
2cd48e3e77 findutils: upgrade from 4.9.0 to 4.10.0
autoconf-2.73.patch is dropped as it's not needed any more.

The run-ptest script is fixed. Instead copying function definitions
from init.cfg file, we should just install init.cfg file in the ptest
package. The coreutils-getlimits is added as a runtime dependency of
the ptest package because the getlimits command is needed.

(From OE-Core rev: aaf3655266e05b0e21dee55757041d2daa2778b3)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Chen Qi
149584beef coreutils: split out coreutils-getlimits
Previously, the noinst_PROGRAM getlimits is put in coreutils-ptest
package in order to execute the ptest. However, this command might
also be needed by other ptest packages. As an example, findutils
4.10.0 ptest pacakge would need this command. So we split it out
into a new package.

(From OE-Core rev: 7bc06eed72ceb55d2c5342e9130e39bd15c04b9a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Etienne Cordonnier
c5b985c953 selftests: add test_minidebuginfo_qemu
test_systemd_coredump_minidebuginfo was getting skipped in CI, because the feature isn't enabled per default in any image at the moment.
Add this selftest so that test_systemd_coredump_minidebuginfo gets executed in CI.

(From OE-Core rev: 377603886f0d975ec23f32ee462693d4e3370aaf)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Ross Burton
46c0ed2fad python3-cython: remove redundant .inc file
There is no python-cython recipe in core, so merge the .bb and .inc.

(From OE-Core rev: 6c2cf318289cbd8c2732f8f7ddaa6750ab0f0276)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Ross Burton
4928c4806f python3-cryptodome: remove redundant PYPI_PACKAGE_EXT
This is the default value, so remove it.

(From OE-Core rev: e665d9831f9dc300def0955a1431ae110c8e8189)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Michael Opdenacker
5a0591b674 maintainers.inc: update self e-mail address
(From OE-Core rev: 0d4a435141c71710e479b7f49c38aba9f57cd1d7)

Signed-off-by: Michael Opdenacker <michael@opdenacker.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 23:21:42 +01:00
Rudolf J Streif
d0b02cf801 bitbake: fetch2/wget: Canonicalize DL_DIR paths for wget2 compatibility
Some distributions (namely Fedora Core 40) have started replacing
wget with wget2. There are some changes to wget2 that make it
incompatible with wget:

1. ftp/ftps is not supported anymore
2. progress 'dot' is not yet supported
3. Relative paths in -P and -O are not correctly dealt with

Item 1: Is already dealt with since Scarthgap by only adding the
option --passive-ftp when the URL specifies ftp/sftp. While that
won't help if ftp/sftp is actually required it at least does
not break http/https downloads.

Item 2: While not supported it at least does not break the operation.

Item 3: If there are relative path components in -P or -O then wget2
only deals with them correctly if there is one, and only one, relative
path component at the beginning of the path:

-P ./downloads     works
-P ../downloads    works
-P ../../downloads does not work
-P ./../downloads  does not work
-P /home/user/downloads/../downloads does not work

In cases where there are more than one relative path component at
the beginning of the path and/or one or more reltaive path
component somewhere in the middle or end of the path, wget2 aborts
with the message Internal error: Unexpected relative path: '<path>')

Such can happen if DL_DIR includes relative path components e.g.
DL_DIR = "${TOPDIR}/../../downloads".

This patch canonicalizes DL_DIR before it is passed to wget.

(Bitbake rev: 3e4208952b086adc510e78c1c5f9cf4550d79dc9)

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 13:45:43 +01:00
Richard Purdie
fd250d236a bitbake: runqueue: Avoid save_unitaskhashes
The save comes with an IO overhead which can slow down the rehash loop in bitbake
a lot. We only needed to do this when recipes were doing unihash cache copying. Now
they aren't doing that, drop this IO pain point.

(Bitbake rev: dfc15ef99302dea22a051c9eb8398ffd5cf1fc20)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 13:45:43 +01:00
Richard Purdie
6208d986bc bitbake: siggen: Drop copy_unihashes function
The code in OE-Core using this has been replaced with something more fit
for purpose. Drop these function calls as they were never a great idea in the
first place and cause IO slowdown for runqueue needing to sync the cache.

(Bitbake rev: 2c8fa57778c4bd2a5c48a60b701ac57de4289cb2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-07 13:45:43 +01:00
Richard Purdie
c5f6bee07c cve-exclusion: Drop the version comparision/warning
Since the CVE repository is no longer being updated, drop the warning
comparision since it is no longer valid.

(From OE-Core rev: 9a232a9c3023dfec7e2d2c7e384d64006d1cf1af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 21:45:14 +01:00
Ross Burton
f4812083f5 gawk: update patch status
(From OE-Core rev: 6d9052884f6eefdf65acbca76e1c39556d77a1af)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 21:12:57 +01:00
Khem Raj
e847c83117 python3: Drop empty patch
The fix brought by this patch is already part of python 3.12.3
therefore drop it.

(From OE-Core rev: c029da173044c58169484ba220f7d8afeaec3063)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Kai Kang
b46075a150 multilib.bbclass: replace deprecated e.data with d
Replace deprecated e.data with d in multilib.bbclass and
multilib_global.bbclass.

Remove event check in function multilib_virtclass_handler_vendor in
multilib_global.bbclass. The function flag 'eventmask' has been set
with 'bb.event.ConfigParsed', so no need to check the event any more.

(From OE-Core rev: 8d87662d676a2b9ef921cb49ea6edc07b37410e2)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Denys Dmytriyenko
ac7d68e52a weston: upgrade 13.0.0 -> 13.0.1
Weston 13.0.1, a bug fix release for 13.0.0 has been released.

Full changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-April/043575.html

(From OE-Core rev: a43f4f98aeba01f05157f7784e366a964d2f766f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Denys Dmytriyenko
a4714409d7 wayland: upgrade 1.22.0 -> 1.23.0
This is the official release for Wayland 1.23.

Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes
the following new features:

- A mechanism to set the size of the internal connection buffer used by
  libwayland
- An enum-header mode for wayland-scanner to generate headers with only enums
- wayland-scanner now generates validator functions for enums on the server
  side
- Protocols can now indicate with a "deprecated-since" XML attribute that a
  request, event or enum entry is deprecated
- An API to set a name for a queue to aid debugging
- wl_client_get_user_data() and wl_client_set_user_data() to more easily attach
  custom data to a client
- OpenBSD support
- A wl_shm.release request for proper cleanup of this global

Changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html

(From OE-Core rev: 0123debc0f54e3692fe3fc1416cb5a3fa4620020)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Tim Orling
43f7fde774 python3-maturin: upgrade 1.5.1 -> 1.6.0
* Refresh python3-maturin-crates.inc

1.6.0 - 2024-06-04
* Detect compiling from Linux gnu to Linux musl as cross compiling in #2010
* Add musllinux support to generate-ci in #2011
* Add uv support to develop command in #2015
* Add support for AIX target in #2030
* Remove rust-cpython support in #2044
* Add a global -v option in #2080
* Detect target based on interpreter for pep517 build-wheel in #2088
* Use base executable when possible in PEP 517 build in #2094

https://github.com/pyo3/maturin/compare/v1.5.1...v1.6.0

(From OE-Core rev: 6bfea504150466bb04c47eee834bdcc2c622f26e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Enrico Jörns
1d5b4d19c7 wic: bootimg-efi: fix error handling
If we check for empty variables, it does not make sense to print their
content in case they are empty.

Additionally, the error message in the 'kernel' check attempted to print
the wrong variable ('target') which was not even defined, yet.

Also, raising WicError doesn't require an extra newline.

(From OE-Core rev: f31cf475d0235f42d73aeec07694f79b9937fd76)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Enrico Jörns
4f600110ee wic: engine.py: use raw string for escape sequence
Fixes:

| poky/scripts/lib/wic/engine.py:362: SyntaxWarning: invalid escape sequence '\/'

(From OE-Core rev: e33d7241f6c2897e930aff41e18b154891197ab9)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Enrico Jörns
008b5bffdf oeqa/core: remove duplicate 'os' import
(From OE-Core rev: f1362fe26cc8adc09d15ea2a854af6590728c683)

Signed-off-by: Enrico Jörns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Enrico Jorns
03cad9cc19 oeqa/utils/commands: extend docstring for runqemu context manager
Usage and arguments are not necessarily self-explaining, thus add a bit
of documentation here.

(From OE-Core rev: 62343333d50b75ad04a4220bcf0990e0a89996a0)

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Changqing Li
e773e53b72 man-pages: upgrade 6.06 -> 6.8
* drop 0001-man.ml-do-not-use-dev-stdin.patch since upstream already fix
the issue, refer [1]

* drop 0001-GNUmakefile-use-env-from-PATH.patch since upstream already
fix the issue, refer [2], and drop depends on coreutils-native

[1] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/share/mk/install/man.mk?id=9524f0f63badd896ccf6da7d79511100d86c4721
[2] https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/GNUmakefile?id=fee8e186e3878c6e9827233efde90bc115801aa3

(From OE-Core rev: 52133f32b3b27074329b90cd17655ea789cd2581)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:04 +01:00
Peter Marko
bddb08f20b openssl: Upgrade 3.3.0 -> 3.3.1
Handles CVE-2024-4741

Removed included backports.

Release information:
https://github.com/openssl/openssl/blob/openssl-3.3/NEWS.md#major-changes-between-openssl-330-and-openssl-331-4-jun-2024

(From OE-Core rev: 3c7f8f87741702d50e29a5858802f74c5f4aab49)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Quentin Schulz
99c8d22928 linux-firmware: add new package for Mali CSFFW Valhall firmware
This firmware is necessary for closed-source mali blob + drivers and
open-source Panthor (via Mesa + Linux kernel) drivers.

(From OE-Core rev: b0c354fd6aa470295c259de58a2a27680264e4a3)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Quentin Schulz
cdcfdc1dc5 linux-firmware: update to 20240513
Update the linux-firmware recipe to the most recent upstream tag.

LICENSE.amdgpu md5 checksum changed because they bumped the Copyright
year[1].

Some of qcom-sdm845-modem files got replaced by a symlink to their
counterpart in ath10k/WCN3990/hw1.0/. The same happened to files in
qcom-qcm2290-wifi, but to ath10k/WCN3990/hw1.0/qcm2290/. Finally,
qcom-qrb4210-wifi also got its file symlinked to
ath10k/WCN3990/hw1.0/qrb4210/ which in turn is a symlink to
ath10k/WCN3990/hw1.0/qcm2290/.[2] This meant that qrb4210-wifi now
RDEPENDS on qcm2290-wifi for the target of the links to be present when
installing it, and also that sdm845-modem and qcm2290-wifi packages have
to be before the ath10k catch-all package.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=9442c72e361c1e1130a19248598ad6ab5282ba09
[2] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?id=650e88378e76d5fad3997a5398f1ade47a74d924
(From OE-Core rev: f65e01a0c7ebb9a34806fd7a582eb7ed98ce3e3e)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Trevor Gamblin
44b22843b0 python3-trove-classifiers: upgrade 2024.5.17 -> 2024.5.22
Changelog:

3674fe0 Add Trove classifier for Django 5.1 (#179)

(From OE-Core rev: 2b1cb77fbd500de460606092cd727044d5dbcdcb)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Trevor Gamblin
ee7921c574 python3-hypothesis: upgrade 6.102.4 -> 6.103.0
There are three releases since 6.102.4.

Changelog (https://hypothesis.readthedocs.io/en/latest/changes.html):

6.103.0 - 2024-05-29

- This release migrates the shrinker to our new internal representation,
  called the IR layer (pull request #3962). This improves the shrinker’s
  performance in the majority of cases. For example, on the Hypothesis
  test suite, shrinking is a median of 1.38x faster.
- It is possible this release regresses performance while shrinking
  certain strategies. If you encounter strategies which reliably shrink
  more slowly than they used to (or shrink slowly at all), please open
  an issue!
- You can read more about the IR layer at issue #3921.

6.102.6 - 2024-05-23

- This patch fixes one of our shrinking passes getting into a rare O(n)
  case instead of O(log(n)).

6.102.5 - 2024-05-22

- This patch fixes some introspection errors new in Python 3.11.9 and
  3.13.0b1, for the Ghostwriter and from_type().

(From OE-Core rev: fc78eccf808014e60bc56bd7966ab00e5a7f9a80)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Etienne Cordonnier
32ce07d3f5 oeqa/runtime: make minidebuginfo test work with coreutils
The test was failing with core-image-full-cmdline which uses sleep from coreutils instead of sleep from busybox.

(From OE-Core rev: 8497edf0c56da34ea7b7509b8fcd46fcba2fd0e3)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-06 11:56:03 +01:00
Richard Purdie
b6b66ca07b bitbake: tests/fetch: Tweak test to match upstream repo url change
Upstream changed their urls, update our test to match.

(Bitbake rev: dc391b86540ec5e0a0f1d811c776a22d443b1c06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-05 18:33:42 +01:00
Trevor Gamblin
7040223b09 patchtest: selftest: fix patch files
Recent changes to the selftest-hello recipe caused the patchtest
selftest patches to not apply cleanly, which in turn meant several tests
weren't being fully executed or were reporting unexpected PASS/SKIP.

Update all of the test patch files to use a newer baseline and apply
cleanly again.

(From OE-Core rev: d73373d8a590d68e448af2e9ac600adc85777604)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-05 16:47:58 +01:00
Richard Purdie
5fc59beaec build-appliance-image: Update to master head revision
(From OE-Core rev: e068ba7d6b91237f9dabc2050c9473bed311690c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 21:37:25 +01:00
Richard Purdie
06cba9abc4 openssl: Add passthrough variables to work with bitbake
Now that bitbake uses websockets over SSL as hashserv and is correctly
limiting hash equivalence only to things in the orginal SDK, bitbake builds
from buildtools can fail due to broken SSL from buildtools.

The issue is that the relocation variables are being removed from the
environment. This could be fixed within bitbake or it could be fixed
within the SDK environment. This patch does the latter for now. We
really need to improve openssl relocation within the SDK in general.

Fixing this has become more urgent to fix failing builds in automated
testing.

(From OE-Core rev: 6a20667c166fa3d7e2b6e8e8b442dec0fc75f349)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 21:37:13 +01:00
Richard Purdie
424c43070d oeqa/runtime/ltp: Drop groups that were removed in new version
The io, cap_bounds and filecaps groups were removed in latest version
of ltp. Tweak the test class to match.

(From OE-Core rev: d5460f15cbc56e52cbbc09785a777278208da7f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 13:49:14 +01:00
Yi Zhao
ef28580d82 ltp: upgrade 20240129 -> 20240524
ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20240524

Drop backport patches.

(From OE-Core rev: 65013262019b013d88cf7f191b1d9ce6de615347)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 13:49:14 +01:00
Joshua Watt
c88bee1a5e bitbake: asyncrpc: Use client timeout for websocket open timeout
The default connection timeout for websockets is 10 seconds, so use the
provided client timeout instead (which defaults to 30 seconds).

(Bitbake rev: 23681775e5941e54ebead469addf708fca1e6beb)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:05:20 +01:00
Richard Purdie
6a8a554476 nasm: Upgrade 2.16.01 -> 2.16.03
(From OE-Core rev: 4a5b6e8dd315b2281afb232410db585d431be00f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
277c26d8f0 python3-jinja2: Upgrade 3.1.3 -> 3.1.4
Switch to use flit core since upstream changed.

They also changed the capitalisation under pypi.

The license didn't change but the file was renamed, probably as it wasn't
rst.

(From OE-Core rev: e352680528b18c3cdae26233bef7cddc2771d42d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Martin Hundebøll
c3703889e4 qemu: upgrade 8.2.1 -> 9.0.0
Remove pacthes accepted upstream, and refresh the remaining ones. Remove
patches required by ubuntu 18.04, as those are unmaintainable.

Remove CVE status for CVEs not applicable to the new version.

RP: Remove the hppa-firmware{,64}.img files as they cause strip failures
and SDK relocation errors. We don't support PARISC anyway, if anyone needs
them they can write the changes needed.

(From OE-Core rev: ca2ae68aad88d77cde0670467c4966dbb98d05c0)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Konrad Weihmann
3bb4c6bd18 insane: error out on UNPACKDIR = WORKDIR
as this will clear WORKDIR and create race conditions
across various handling tasks

(From OE-Core rev: 1cf99ce3f79b2c96bdef5aa9b69c2b3ead7e46f1)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Dmitry Baryshkov
6b44e5bfa1 site/x86_64-linux: add ac_cv_func_fnmatch_works
Other arch-specific caches have ac_cv_func_fnmatch_works. Add it to
x86_64 cache too, otherwise cabextract fails to build ([1])

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/3893/steps/14/logs/stdio

(From OE-Core rev: a5aeaf02eff9ddaa95cf53e727c166ac7516ca31)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Yi Zhao
5aba8ca773 libcap: upgrade 2.69 -> 2.70
Release notes for 2.70
* setcap changes to make it harder to set invalid file capabilities
* Lots of documentation fixes
* Fix c89 compilation syntax for the C code in the libraries
* libpam has deprecated providing the _pam_overwrite() function, so use
  memset() instead

(From OE-Core rev: 1117c2c252344c092e4cbf16599699bce55770de)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Bruce Ashfield
86705a293c lttng-modules: update to 2.13.13 and fix for 6.10+
Bumping lttng-modules to 2.13.13, which allows us to drop some
upstream patches.

We also import 4 patches that are required to build against 6.10.

(From OE-Core rev: afca89e93f402f5c17a1b9eb0bc7c7fffdda49a2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Bruce Ashfield
54c6f81ad4 linux-yocto-dev: bump to v6.10
(From OE-Core rev: 51458300559efed13b1a3661d607e3d0404f3612)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
06af1bdc30 libtool: Drop obsolete configure/compile prepends
The introduction of sstate and recipe specific sysroots made the configure
prepends obsolete and unneeded. The compile prepend has been there for over
a decade and is also likely obsolete. Remove the whole lot, we look into any
issues that arise.

(From OE-Core rev: d6a22998e47bcceee3fc3edc72eb2df2970dabfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
f2a5850a80 libtool-native: Drop obsolete systroot config
I can't see any reason this configure like for a sysroot is needed in
the native config and it doesn't make any sense. Drop it as
obsolete/unneeded.

(From OE-Core rev: 67aea7bb485efe6187a255d74c100890333074f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
b4e430a42e autotools/libtool: Drop libtool sysroot patch as not needed
libtool auto detects the sysroot from gcc's parameters or configuration so we
don't need to pass in this configuration separately to libtool.

Whilst the option names do conflict with gcc/binutils, that is an issue for those
projects to resolve, not us. Upstream libtool did reject the patch. We can
drop this patch and simplify our code.

(From OE-Core rev: 7c8553f81bccc3e8c2bb1116ee1e89f5f8af4c9e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
80d4ed954a libtool: 2.4.7 -> 2.5.0
Whilst this is an alpha release, it makes sense for us to
stay close to upstream.

We can drop a lot of merged patches which is great to see.

During testing, one bug showed up, particularly on mip64 due
to an issue with FILECMD being changed to use AC_CHECK_PROG
incorredly. A patch has been added for that and sent upstream.

(From OE-Core rev: d572297c5810fb248af633014eac96f8ea0a739e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Richard Purdie
652e3028d9 sstatesig/populate_sdk_ext: Improve unihash cache handling
Copying in the bb_unihashes cache file was at best a hack and creates a number of
challenges. One is staying in sync with bitbake since it may not have saved the
most recent version of the file. A second is a determinism problem since there may
be more entries in the file than the SDK should have had access to.

To improve the situation, add code to write the data into the locked-sigs.inc file
such that even when locked-sigs aren't used, the right hash mappings are injected
by the get_cached_unihash call.

The functions in copy_buildsystem need to be updated to preserve data they're not
editting.

(From OE-Core rev: 11373def3171e75b3b74ef694da213dd21f3064c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-04 12:04:52 +01:00
Robert Yang
56c578f664 git: 2.44.1 -> 2.45.1
Rebased 0001-config.mak.uname-do-not-force-RHEL-7-specific-build-.patch

(From OE-Core rev: 903cc51746262be4b71261e0ad66cf5a49af2186)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Quentin Schulz
0c3d9ff24f kernel-yocto: fix incorrect debug message for defconfig in WORKDIR
Right before this message is printed, the in-tree defconfig is checked
against the one in WORKDIR. If it is different, and therefore either
provided through SRC_URI or patched, then the message is printed.
Therefore, the debug message is incorrect and should say that a patched
defconfig was detected and overwritten.

Fixes: 004da4c6c602 ("kernel-yocto: split meta data gathering into patch and config phases")
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: f25717bff291ca225a70e63d3266656d8e643531)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Emil Kronborg
93b8b92ba6 insane.bbclass: remove leftover variables and comment
The code that used these variable and the comment was introduced in
commit b44d32ef41 ("insane.bbclass: Portions of code were not running,
fix this and sync with OE.dev. Also add tests for bad sysroot rpaths in
binaries"). Later, in commit 17dae13fabe2 ("insane.bbclass: Fix ELF
bitsize comparison"), some of that code was removed again, but not the
variables and the comment.

(From OE-Core rev: 730d00b0d1d1d617b62900be12fa034bb41fc48b)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Emil Kronborg
920537c840 insane.bbclass: fix HOST_ variable names
Commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system") updated the variables themselves, but not
their names. To prevent confusion, match the Python variable name to the
BitBake variable name.

(From OE-Core rev: f5bebc96580ec74d10bc96b4265357ebc9bcd6ad)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Emil Kronborg
20c3889573 insane.bbclass: remove skipping of cross-compiled packages
After commit cd25e5544ca3 ("insane: use HOST_ variables, not TARGET_ to
determine the cross system"), this check is no longer necessary. The
introduction of HOST_ variables ensures architecture compatibility is
correctly checked.

(From OE-Core rev: 6e1ddeb05dcd5ff77e0f5526a6e56a484daa4864)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Lei Maohui
35b139f554 run-postinsts.service: Removed --no-reload to fix reload warning when users execute systemctl in the first boot.
This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.

(From OE-Core rev: 28a7064403f2433ef3cb4d52b03dd73437f2d665)

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Joshua Watt
dd148a0a4e lib: package: Replace ":" in file names
The purpose of this translation API is to make sure that the file name
can be used in a bitbake variable without adding special meaning,
therefore the ":" should also be replaced since it is the override
separator

(From OE-Core rev: b87eb329f20e40c1658460af7ff649aa099f0f36)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Joshua Watt
242be0888c lib: package: Add file_reverse_translate
Adds API to reverse the removal of special characters from file names so
it can be correctly done in multiple places without open-coding it.

Replace the translation done in the package_rpm.bbclass with the new API

(From OE-Core rev: 4cb7e93c624987d146aaf626ce8e99568e938a70)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-06-03 07:47:04 +01:00
Simone Weiß
af6d28d2b0 sanity: Check if tar is gnutar
In sanity.bbclass the tar version is checked as tar needs to be recent enough
for reproducible builds. Tar could also be provided by other means then gnutar,
but we mean the version of gnutar in the check. Hence we also should ensure
that the installed tar is gnutar.

[YOCTO #14205]

(From OE-Core rev: bdef30bd887cd208d7822dd7853d33e24a6b7a4c)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Etienne Cordonnier
afe7a3a384 oeqa/runtime: fix regression in minidebuginfo test
The builtin command "sleep" was getting executed instead of the busybox binary.
Hence "pidof sleep" was empty and the test was failing.

(From OE-Core rev: 3188f3f0718b8a59bc9e3cae4cdf74e82bdb86c3)

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Simone Weiß
e3e7862f0b tzdata: Add tzdata.zi to tzdata-core package
Additionally build and package tzdata.zi info file, as e.g. Systemd expects it
to be present.

[YOCTO #15172]

(From OE-Core rev: a57c7062c9b70361486898974beba4682cf4a76d)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Joshua Watt
a8dbfa2739 sstatesig: Drop BB_HASHSERVE_MAX_PARALLEL
Drops support for this variable since bitbake no longer supports
parallel queries to the hash equivalence server

(From OE-Core rev: b0769794ca858baa6e814e81b14cf542c33d3a09)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Bruce Ashfield
9bff1e97c7 linux-yocto/6.6: cfg: introduce Intel NPU fragment
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: features/intel-npu: introduce Intel NPU fragment
    Date: Wed, 15 May 2024 13:44:57 +0800

    Add config fragment for the  system with an 14th generation
    Intel CPU (Meteor Lake) or newer. It will allow users to
    enable Intel NPU (formerly called Intel VPU)
    which is a CPU-integrated inference accelerator for
    Computer Vision and Deep Learning applications.

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: d01f4d2d7b95d6e8c65e5c9c5cef4b69cb079859)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Bruce Ashfield
31b7432392 linux-yocto/6.6: update to v6.6.32
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    91de249b6804 Linux 6.6.32
    3ffef551160a block: add a partscan sysfs attribute for disks
    d6b6dfff6cda block: add a disk_has_partscan helper
    fe4549b1d6ac Docs/admin-guide/mm/damon/usage: fix wrong example of DAMOS filter matching sysfs file
    71483049de80 docs: kernel_include.py: Cope with docutils 0.21
    1266e5a8f5bc admin-guide/hw-vuln/core-scheduling: fix return type of PR_SCHED_CORE_GET
    1c652e1e1067 KEYS: trusted: Do not use WARN when encode fails
    26c6d7dc8c6a remoteproc: mediatek: Make sure IPI buffer fits in L2TCM
    642069561ea5 serial: kgdboc: Fix NMI-safety problems from keyboard reset code
    40b963e45cbb usb: typec: tipd: fix event checking for tps6598x
    2f95dfb647a8 usb: typec: ucsi: displayport: Fix potential deadlock
    a202b26d9531 net: usb: ax88179_178a: fix link status when link is set to down/up
    ec96bcf5f96a usb: dwc3: Wait unconditionally after issuing EndXfer command
    71df2cb2869d binder: fix max_thread type inconsistency
    c364e7a34c85 drm/amdgpu: Fix possible NULL dereference in amdgpu_ras_query_error_status_helper()
    f9b877a7ee31 erofs: reliably distinguish block based and fscache mode
    3924179ba933 erofs: get rid of erofs_fs_context
    fcb05fee0006 bpf: Add missing BPF_LINK_TYPE invocations
    f70d849b679b kselftest: Add a ksft_perror() helper
    7b4bd57cf005 mmc: core: Add HS400 tuning in HS400es initialization
    e62835264d03 KEYS: trusted: Fix memory leak in tpm2_key_encode()
    ad3f7986c5a0 Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()
    cfe560c7050b Bluetooth: L2CAP: Fix slab-use-after-free in l2cap_connect()
    4d29fd53a0cb ice: remove unnecessary duplicate checks for VF VSI ID
    0ca683f921a9 ice: pass VSI pointer into ice_vc_isvalid_q_id
    3a7ac4902917 net: ks8851: Fix another TX stall caused by wrong ISR flag handling
    7e4f50dfc98c drm/amd/display: Fix division by zero in setup_dsc_config
    d4a079d1466d smb: smb2pdu.h: Avoid -Wflex-array-member-not-at-end warnings
    5a65254c4c4a ksmbd: add continuous availability share parameter
    07e76ea1799c cifs: Add tracing for the cifs_tcon struct refcounting
    2004e41cd2c4 smb: client: instantiate when creating SFU files
    01bce099af0f smb: client: fix NULL ptr deref in cifs_mark_open_handles_for_deleted_file()
    dbd2df36cd67 smb3: add trace event for mknod
    8aff8b8b177d smb311: additional compression flag defined in updated protocol spec
    a9aa7a776efc smb311: correct incorrect offset field in compression header
    c1f3c8204e6f cifs: Move some extern decls from .c files to .h
    39bdc4197acf ksmbd: fix potencial out-of-bounds when buffer offset is invalid
    9e4937cbc150 ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    74dc3e5bf6e1 ksmbd: Fix spelling mistake "connction" -> "connection"
    27b40b7bfcd1 ksmbd: fix possible null-deref in smb_lazy_parent_lease_break_close
    8b2326963da7 cifs: remove redundant variable assignment
    1598a015c761 cifs: fixes for get_inode_info
    91cdeb0d4baf cifs: defer close file handles having RH lease
    8df4bcdb0a42 ksmbd: add support for durable handles v1/v2
    665e85883098 ksmbd: mark SMB2_SESSION_EXPIRED to session when destroying previous session
    eb4a05e3c34b smb: common: simplify compression headers
    fdd938b2b468 smb: common: fix fields sizes in compression_pattern_payload_v1
    e8aee4f4d2e3 smb: client: negotiate compression algorithms
    25f3604fcd62 smb3: add dynamic trace point for ioctls
    c057a809e128 smb: client: return reparse type in /proc/mounts
    582524019459 smb: client: set correct d_type for reparse DFS/DFSR and mount point
    97db41604555 smb: client: parse uid, gid, mode and dev from WSL reparse points
    7449d736bbbd smb: client: introduce SMB2_OP_QUERY_WSL_EA
    b93ac66fa236 smb: client: Fix a NULL vs IS_ERR() check in wsl_set_xattrs()
    df0a8a192510 smb: client: add support for WSL reparse points
    831ffbd1c7b5 smb: client: reduce number of parameters in smb2_compound_op()
    84c597f7f98c smb: client: fix potential broken compound request
    db0f1c0770bc smb: client: move most of reparse point handling code to common file
    c1468c7e0ab9 smb: client: introduce reparse mount option
    1e60bc0e9543 smb: client: retry compound request without reusing lease
    b6e27f7fc245 smb: client: do not defer close open handles to deleted files
    f93d145f9002 smb: client: reuse file lease key in compound operations
    cfb8f73da601 smb: client: get rid of smb311_posix_query_path_info()
    a90f37e3d7ac smb: client: parse owner/group when creating reparse points
    e4232010b13a smb3: update allocation size more accurately on write completion
    fff4045e712b smb: client: handle path separator of created SMB symlinks
    1b5f2928cc6b cifs: update the same create_guid on replay
    75417833bb3e ksmbd: Add kernel-doc for ksmbd_extract_sharename() function
    cdd7870a5fd5 cifs: set replay flag for retries of write command
    433042a91f93 cifs: commands that are retried should have replay flag set
    a5df7820310b smb: client: delete "true", "false" defines
    5cf3fddbd368 smb: Fix some kernel-doc comments
    b4ca2942a0a4 cifs: new mount option called retrans
    de2cadf4bffa smb: client: don't clobber ->i_rdev from cached reparse points
    6789c8387676 cifs: new nt status codes from MS-SMB2
    b96ea433fff4 cifs: pick channel for tcon and tdis
    36f8070c9bdb cifs: minor comment cleanup
    8358f46bef22 cifs: remove redundant variable tcon_exist
    67ed045c5f40 ksmbd: vfs: fix all kernel-doc warnings
    d4caa984c971 ksmbd: auth: fix most kernel-doc warnings
    42430638ace6 cifs: remove unneeded return statement
    8e6a3999e6d5 cifs: get rid of dup length check in parse_reparse_point()
    774c6452475e cifs: Pass unbyteswapped eof value into SMB2_set_eof()
    88e07de246fa smb3: Improve exception handling in allocate_mr_list()
    d53fcb485f4b cifs: fix in logging in cifs_chan_update_iface
    304ff3c1b07c smb: client: handle special files and symlinks in SMB3 POSIX
    870c73abef4b smb: client: cleanup smb2_query_reparse_point()
    00ecebcb86d8 smb: client: allow creating symlinks via reparse points
    a158bb66b137 smb: client: optimise reparse point querying
    02bcf865cc53 smb: client: allow creating special files via reparse points
    886b7fb4556d smb: client: extend smb2_compound_op() to accept more commands
    da70c1d3c584 smb: client: Fix minor whitespace errors and warnings
    abea3c9ac8c6 smb: client: introduce cifs_sfu_make_node()
    a7b537b3be9f cifs: fix use after free for iface while disabling secondary channels
    bb536892dadd Missing field not being returned in ioctl CIFS_IOC_GET_MNT_INFO
    210c8b9d496e smb3: minor cleanup of session handling code
    cc3035d092eb smb3: more minor cleanups for session handling routines
    b74c8d9be35a smb3: minor RDMA cleanup
    9c88aae1e44c cifs: print server capabilities in DebugData
    69a1669a6ba1 smb: use crypto_shash_digest() in symlink_hash()
    5b3c76351b49 Add definition for new smb3.1.1 command type
    c5c63108a868 SMB3: clarify some of the unused CreateOption flags
    6bd52f41d804 cifs: Add client version details to NTLM authenticate message
    e3d332aaf898 Linux 6.6.31
    9fd0198f7ef0 md: fix kmemleak of rdev->serial
    b02372814ad6 Revert "selftests/bpf: Add netkit to tc_redirect selftest"
    7e0a32287741 mm/hugetlb: fix DEBUG_LOCKS_WARN_ON(1) when dissolve_free_hugetlb_folio()
    845cf1c76987 btrfs: do not wait for short bulk allocation
    25777f3f4e1f keys: Fix overwrite of key expiration on instantiation
    9fda5aed60a0 dmaengine: idxd: add a write() method for applications to submit work
    8cacaaa47568 dmaengine: idxd: add a new security check to deal with a hardware erratum
    c516453577d0 VFIO: Add the SPR_DSA and SPR_IAX devices to the denylist
    7bcba557d5c3 Bluetooth: qca: fix firmware check error path
    6b63e0ef4d3c Bluetooth: qca: fix info leak when fetching fw build id
    ba307abed5e0 Bluetooth: qca: fix info leak when fetching board id
    9d23305f8610 Bluetooth: qca: generalise device address check
    c3a38d10b9ea Bluetooth: qca: fix NVM configuration parsing
    427281f9498e Bluetooth: qca: add missing firmware sanity checks
    2d8823700413 Bluetooth: qca: fix wcn3991 device address check
    3019a9d3d27b Bluetooth: qca: fix invalid device address check
    cc6f5aa151b3 eventfs: Do not treat events directory different than other directories
    0c56915c042a tracefs: Still use mount point as default permissions for instances
    5f91fc82794d tracefs: Reset permissions on remount if permissions are options
    100117279c1d ksmbd: do not grant v2 lease if parent lease key and epoch are not set
    329081691fc2 ksmbd: avoid to send duplicate lease break notifications
    b2ed54957161 ksmbd: off ipv6only for both ipv4/ipv6 binding
    8a5e88cbde3f spi: microchip-core-qspi: fix setting spi bus clock rate
    e9f867739b41 regulator: core: fix debugfs creation regression
    a2da0e5c516b nvme-pci: Add quirk for broken MSIs
    377f3a9a3d03 mm/userfaultfd: reset ptes when close() for wr-protected ones
    468971c3f4b8 mm: use memalloc_nofs_save() in page_cache_ra_order()
    73b58d9d0c8d selftests/mm: fix powerpc ARCH check
    513f8dc02eec x86/apic: Don't access the APIC when disabling x2APIC
    6555d7c06e7c hwmon: (pmbus/ucd9000) Increase delay from 250 to 500us
    b6dbfd5bcc26 net: fix out-of-bounds access in ops_init
    8d0ab6426189 arm64: dts: qcom: sa8155p-adp: fix SDHC2 CD pin configuration
    af8af93c6a4f drm/amd/display: Fix incorrect DSC instance for MST
    7be093e45215 drm/amd/display: Handle Y carry-over in VCP X.Y calculation
    ca82830e4533 drm/i915/bios: Fix parsing backlight BDB data
    be59b2d3d975 drm/i915/gt: Automate CCS Mode setting during engine resets
    b0624c032a02 drm/i915/audio: Fix audio time stamp programming for DP
    7b5fd3af4a25 drm/vmwgfx: Fix invalid reads in fence signaled events
    e10644f8ada4 drm/vmwgfx: Fix Legacy Display Unit
    306e99777886 drm/ttm: Print the memory decryption status just once
    4b4cff994a27 drm/amdkfd: don't allow mapping the MMIO HDP page with large pages
    1a88c18da464 Revert "drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()"
    5e2af67d8445 drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()
    636a47adcf74 mei: me: add lunar lake point M DID
    785c2392c51e clk: sunxi-ng: a64: Set minimum and maximum rate for PLL-MIPI
    547263745e15 clk: sunxi-ng: common: Support minimum and maximum rate
    ad066c9b0630 slimbus: qcom-ngd-ctrl: Add timeout for wait operation
    a69e1bdd777c dyndbg: fix old BUG_ON in >control parser
    ca3cb178678b ASoC: ti: davinci-mcasp: Fix race condition during probe
    f811ed9af993 ASoC: tegra: Fix DSPK 16-bit playback
    00d1a1bc1f82 net: bcmgenet: synchronize UMAC_CMD access
    51b72afb0db9 net: bcmgenet: synchronize use of bcmgenet_set_rx_mode()
    8b3845de02f9 net: bcmgenet: synchronize EXT_RGMII_OOB_CTRL access
    ef31b4647ee9 xtensa: fix MAKE_PC_FROM_RA second argument
    ffd4917c1edb tipc: fix UAF in error path
    f8a139656c95 e1000e: change usleep_range to udelay in PHY mdic access
    5d6ad8f8efea kmsan: compiler_types: declare __no_sanitize_or_inline
    5eba2638a28d iio: accel: mxc4005: Interrupt handling fixes
    762da5255680 iio: pressure: Fixes BME280 SPI driver data
    b79fc1882386 iio:imu: adis16475: Fix sync mode setting
    3bd0de0bb87d dt-bindings: iio: health: maxim,max30102: fix compatible check
    c57824d4fe07 workqueue: Fix selection of wake_cpu in kick_pool()
    daad878a509d mptcp: only allow set existing scheduler for net.mptcp.scheduler
    aa0c07c1f20e mptcp: ensure snd_nxt is properly initialized on connect
    ac6cf3ce9b7d mm/slab: make __free(kfree) accept error pointers
    6c9c7c1e63b1 maple_tree: fix mas_empty_area_rev() null pointer dereference
    6a911b8884c0 btrfs: set correct ram_bytes when splitting ordered extent
    e42004fd29e5 btrfs: add missing mutex_unlock in btrfs_relocate_sys_chunks()
    5e651695c3c7 firewire: ohci: fulfill timestamp for some local asynchronous transaction
    a34dd17da9d2 ALSA: hda/realtek: Fix mute led of HP Laptop 15-da3001TU
    789326cafbd1 usb: typec: tcpm: Check for port partner validity before consuming it
    b16abab1fb64 usb: typec: tcpm: unregister existing source caps before re-registration
    24e2f570f2c8 usb: typec: tcpm: clear pd_event queue in PORT_RESET
    000f99445553 usb: dwc3: core: Prevent phy suspend during init
    2d8466c9a8bb usb: xhci-plat: Don't include xhci.h
    1a15d6e242bd usb: gadget: f_fs: Fix a race condition when processing setup packets.
    73c05ad46bb4 usb: gadget: f_fs: Fix race between aio_cancel() and AIO request complete
    7a54e5052bde usb: gadget: uvc: use correct buffer size when parsing configfs lists
    2f2886aedeec usb: gadget: composite: fix OS descriptors w_value logic
    63533549ff53 USB: core: Fix access violation during port device removal
    7fce5501d7fc usb: ohci: Prevent missed ohci interrupts
    480c3abbba36 usb: Fix regression caused by invalid ep0 maxpacket in virtual SuperSpeed device
    d5f0c5ea3fc3 usb: typec: ucsi: Fix connector check on init
    4184b7d85422 usb: typec: ucsi: Check for notifications after init
    148ed8b4d64f Reapply "drm/qxl: simplify qxl_fence_wait"
    1fe60ee70943 firewire: nosy: ensure user_length is taken into account when fetching packet contents
    0b76a4f72362 btrfs: fix kvcalloc() arguments order in btrfs_ioctl_send()
    0c7ed3ed35ee drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2
    52c1af381cb8 drm/amdgpu: Fix comparison in amdgpu_res_cpu_visible
    7e3030774431 drm/amd/display: Atom Integrated System Info v2_2 for DCN35
    883e4bbf06eb gpiolib: cdev: fix uninitialised kfifo
    309364bc3205 gpiolib: cdev: relocate debounce_period_us from struct gpio_desc
    95ca7c90eaf5 gpiolib: cdev: Fix use after free in lineinfo_changed_notify
    6c83a8f236ec dm/amd/pm: Fix problems with reboot/shutdown for some SMU 13.0.4/13.0.11 users
    1b9e8de483bc drm/connector: Add \n to message about demoting connector force-probes
    fa2d2e2d8eae drm/meson: dw-hdmi: add bandgap setting for g12
    dbe2cf9f09ab drm/meson: dw-hdmi: power up phy on device init
    7019a6416518 net: dsa: mv88e6xxx: add phylink_get_caps for the mv88e6320/21 family
    5c623fe05348 net: hns3: fix kernel crash when devlink reload during initialization
    5a0298f5001b net: hns3: fix port vlan filter not disabled issue
    f806911c220b net: hns3: use appropriate barrier function after setting a bit value
    5d73b414a08a net: hns3: release PTP resources if pf initialization failed
    8ed439067001 net: hns3: change type of numa_node_mask as nodemask_t
    06ce87195a05 net: hns3: direct return when receive a unknown mailbox message
    c9a5a9aa7a45 net: hns3: using user configure after hardware reset
    5df93c029a90 net/smc: fix neighbour and rtable leak in smc_ib_find_route()
    e31b25cc2066 ipv6: prevent NULL dereference in ip6_output()
    4b27116882f5 ipv6: annotate data-races around cnf.disable_ipv6
    d183f297cbb5 hsr: Simplify code for announcing HSR nodes timer setup
    1c2b0f0823f8 net-sysfs: convert dev->operstate reads to lockless ones
    8745a8d74ba1 ipv6: fib6_rules: avoid possible NULL dereference in fib6_rule_action()
    f39c49d06596 dt-bindings: net: mediatek: remove wrongly added clocks and SerDes
    1721afe2ad68 rxrpc: Only transmit one ACK per jumbo packet received
    fa6dbe25e211 rxrpc: Fix congestion control algorithm
    59881e57a722 rxrpc: Fix the names of the fields in the ACK trailer struct
    438d7ceb4523 selftests: test_bridge_neigh_suppress.sh: Fix failures due to duplicate MAC
    2ee2fc6786bc selftests/net: convert test_bridge_neigh_suppress.sh to run it in unique namespace
    68c8ba16ab71 ipv6: Fix potential uninit-value access in __ip6_make_skb()
    1ce60741d7e1 net: bridge: fix corrupted ethernet header on multicast-to-unicast
    6900f0ed0321 nfc: nci: Fix kcov check in nci_rx_work()
    ee9e39a6cb3c phonet: fix rtm_phonet_notify() skb allocation
    d4c6b1807ce6 hwmon: (corsair-cpro) Protect ccp->wait_input_report with a spinlock
    d5ad144fd1ef hwmon: (corsair-cpro) Use complete_all() instead of complete() in ccp_raw_event()
    7d1e7803cb1c hwmon: (corsair-cpro) Use a separate buffer for sending commands
    206003c748b8 rtnetlink: Correct nested IFLA_VF_VLAN_LIST attribute validation
    ae87f661f3c1 net: ks8851: Queue RX packets in IRQ handler instead of disabling BHs
    955b5b6c54d9 Bluetooth: l2cap: fix null-ptr-deref in l2cap_chan_timeout
    1f7ebb69c1d6 Bluetooth: HCI: Fix potential null-ptr-deref
    a85a60e62355 Bluetooth: msft: fix slab-use-after-free in msft_do_close()
    012363cb1bec Bluetooth: Fix use-after-free bugs caused by sco_sock_timeout
    6e48faad92be tcp: Use refcount_inc_not_zero() in tcp_twsk_unique().
    f47d0d32fa94 tcp: defer shutdown(SEND_SHUTDOWN) for TCP_SYN_RECV sockets
    ee0ce7573e50 ARM: 9381/1: kasan: clear stale stack poison
    4a9771c0fb5a xfrm: Preserve vlan tags for transport mode software GRO
    db71ca93259d qibfs: fix dentry leak
    9b332c72299f SUNRPC: add a missing rpc_stat for TCP TLS
    1c172ac7afe4 blk-iocost: do not WARN if iocg was already offlined
    8fb763886756 net:usb:qmi_wwan: support Rolling modules
    aff9dba5e8ce drm/radeon: silence UBSAN warning (v3)
    c06575055ea4 platform/x86: ISST: Add Granite Rapids-D to HPM CPU list
    1f4a2c7f4a54 drm/nouveau/dp: Don't probe eDP ports twice harder
    ca6b0d99cda0 gpio: lpc32xx: fix module autoloading
    1f9c976e942b fs/9p: drop inodes immediately on non-.L too
    427ede281390 clk: Don't hold prepare_lock when calling kref_put()
    ac259d3fa3e5 gpio: crystalcove: Use -ENOTSUPP consistently
    d77f56b649fc gpio: wcove: Use -ENOTSUPP consistently
    6a451fc5e6e6 powerpc/crypto/chacha-p10: Fix failure on non Power10
    48cf6a991431 9p: explicitly deny setlease attempts
    d1250e00e1fe fs/9p: fix the cache always being enabled on files with qid flags
    dbf68fd7e392 fs/9p: translate O_TRUNC into OTRUNC
    e55c601af3b1 fs/9p: only translate RWX permissions for plain 9P2000
    055ea43860e6 iommu: mtk: fix module autoloading
    08bedfbc1b50 smb3: fix broken reconnect when password changing on the server by allowing password rotation
    82f9e213b124 Drivers: hv: vmbus: Don't free ring buffers that couldn't be re-encrypted
    6466a0f6d235 uio_hv_generic: Don't free decrypted memory
    a56fe6113263 hv_netvsc: Don't free decrypted memory
    8e62341f5c45 Drivers: hv: vmbus: Track decrypted status in vmbus_gpadl
    6123a4e8e25b Drivers: hv: vmbus: Leak pages if set_memory_encrypted() fails
    dce583c5bdc7 selftests: timers: Fix valid-adjtimex signed left-shift undefined behavior
    b6f6626528fe amd/amdkfd: sync all devices to wait all processes being evicted
    a624829bba27 drm/amdgpu: Fix VCN allocation in CPX partition
    951a498fa993 drm/amd/display: Skip on writeback when it's not applicable
    c0beff4e35af drm/amdgpu: implement IRQ_STATE_ENABLE for SDMA v4.4.2
    1e2c28e74a82 drm/amdgpu: Refine IB schedule error logging
    037e72e7d7d2 tools/power/turbostat: Fix uncore frequency file string
    f91955da8117 MIPS: scall: Save thread_info.syscall unconditionally on entry
    1061afd58184 gpu: host1x: Do not setup DMA for virtual devices
    ce0e99cae00e blk-iocost: avoid out of bounds shift
    2eab8da937db scsi: hisi_sas: Handle the NCQ error returned by D2H frame
    2f35afac2773 scsi: target: Fix SELinux error when systemd-modules loads the target module
    14e731533b39 memblock tests: fix undefined reference to `BIT'
    85907602db5f memblock tests: fix undefined reference to `panic'
    63e58e5aef23 memblock tests: fix undefined reference to `early_pfn_to_nid'
    54403a77c28b btrfs: always clear PERTRANS metadata during commit
    570bff14e740 btrfs: make btrfs_clear_delalloc_extent() free delalloc reserve
    9678a79d1406 tools/power turbostat: Fix warning upon failed /dev/cpu_dma_latency read
    8a91872a547a tools/power turbostat: Print ucode revision only if valid
    77619a7ace53 tools/power turbostat: Fix Bzy_MHz documentation typo
    52b3541b3513 tools/power turbostat: Increase the limit for fd opened
    95973a9b647c tools/power turbostat: Fix added raw MSR output
    5982887de60c firewire: ohci: mask bus reset interrupts between ISR and bottom half
    dec0c371b46a ata: sata_gemini: Check clk_enable() result
    9872ab5b1e0e vboxsf: explicitly deny setlease attempts
    2f11e24abcf7 net: bcmgenet: Reset RBUF on first open
    e1d38cde2b7b block: fix overflow in blk_ioctl_discard()
    c5d5160d7e00 ALSA: line6: Zero-initialize message buffers
    85bb85801910 scsi: ufs: core: Fix MCQ mode dev command timeout
    684500f29f01 scsi: libsas: Align SMP request allocation to ARCH_DMA_MINALIGN
    cf311e2486c7 scsi: ufs: core: WLUN suspend dev/link state error recovery
    47b5b69f4aee regulator: tps65132: Add of_match table
    de2a108def74 ASoC: SOF: Intel: hda-dsp: Skip IMR boot on ACE platforms in case of S3 suspend
    49ce8b629775 kbuild: Disable KCSAN for autogenerated *.mod.c intermediaries
    926e8bc0cfef selftests/ftrace: Fix event filter target_func selection
    608e13706c8b bpf: Check bloom filter map value size
    41dc67915966 drm/amdkfd: range check cp bad op exception interrupts
    d64496242370 drm/amdkfd: Check cgroup when returning DMABuf info
    1ea068f5b69e btrfs: return accurate error code on open failure in open_fs_devices()
    c885ab23206b scsi: bnx2fc: Remove spin_lock_bh while releasing resources after upload
    f09318244c6c scsi: mpi3mr: Avoid memcpy field-spanning write WARNING
    845d179992fc net: mark racy access on sk->sk_rcvbuf
    94f80a8ec15e wifi: iwlwifi: mvm: guard against invalid STA ID on removal
    b83db8e756de wifi: iwlwifi: read txq->read_ptr under lock
    99046794a617 wifi: mac80211: fix prep_connection error path
    ff9580efb5da wifi: cfg80211: fix rdev_dump_mpp() arguments order
    954a654a3377 wifi: mac80211: fix ieee80211_bss_*_flags kernel-doc
    6eb0d6e6d38c gfs2: Fix invalid metadata access in punch_hole
    e29758e73ef3 scsi: lpfc: Use a dedicated lock for ras_fwlog state
    e8bf2c05e8ad scsi: lpfc: Release hbalock before calling lpfc_worker_wake_up()
    8a1d8deaa40e scsi: lpfc: Replace hbalock with ndlp lock in lpfc_nvme_unregister_port()
    4aba3ca53ba4 scsi: lpfc: Update lpfc_ramp_down_queue_handler() logic
    5e6079164922 scsi: lpfc: Remove IRQF_ONESHOT flag from threaded IRQ handling
    76337eb8daee scsi: lpfc: Move NPIV's transport unregistration to after resource clean up
    ff54c87f32f2 scsi: ufs: core: Fix MCQ MAC configuration
    8d6a1c8e3de3 KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
    d082321d0d73 KVM: arm64: vgic-v2: Use cpuid from userspace as vcpu_id
    f2a6b3ed20f2 swiotlb: initialise restricted pool list_head when SWIOTLB_DYNAMIC=y
    802b13b79ab1 powerpc/pseries/iommu: LPAR panics during boot up with a frozen PE
    3b59a759436a powerpc/pseries: make max polling consistent for longer H_CALLs
    0b82eb134d29 clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change
    a6df6bd30458 clk: qcom: smd-rpm: Restore msm8976 num_clk
    78b6092d7834 net: gro: add flush check in udp_gro_receive_segment
    af276a5ac8e9 net: gro: fix udp bad offset in socket lookup by adding {inner_}network_offset to napi_gro_cb
    7f7b0ebb37af net: gro: parse ipv6 ext headers without frag0 invalidation
    5db08343ddb1 ipv4: Fix uninit-value access in __ip_make_skb()
    fa695db33417 drm/panel: ili9341: Use predefined error codes
    1055cdd5750e drm/panel: ili9341: Respect deferred probe
    c6be5383fb83 drm/panel: ili9341: Correct use of device property APIs
    e28dd1e1bf3e s390/qeth: Fix kernel panic after setting hsuid
    935bcb52ec10 vxlan: Pull inner IP header in vxlan_rcv().
    614c5a5ae45a tipc: fix a possible memleak in tipc_buf_append
    73f81e5a2203 rxrpc: Clients must accept conn from any address
    cfe34d86ef97 net: core: reject skb_copy(_expand) for fraglist GSO skbs
    65fbc7a11d06 net: bridge: fix multicast-to-unicast with fraglist GSO
    a30659f1576d spi: fix null pointer dereference within spi_sync
    4fd8cd4154a2 drm/amdgpu: fix doorbell regression
    6cc5dde9bb95 net: dsa: mv88e6xxx: Fix number of databases for 88E6141 / 88E6341
    6792e5b48323 cxgb4: Properly lock TX queue for the selftest.
    84b38f488366 s390/cio: Ensure the copied buf is NUL terminated
    7db626d2730d ALSA: hda: intel-sdw-acpi: fix usage of device_get_named_child_node()
    76ae951d94e7 ASoC: meson: cards: select SND_DYNAMIC_MINORS
    8ad705b120ce ASoC: meson: axg-tdm-interface: manage formatters in trigger
    52a31a05c1c2 ASoC: meson: axg-card: make links nonatomic
    d7801bd9c89e ASoC: meson: axg-fifo: use threaded irq to check periods
    af8e6bbf66da ASoC: meson: axg-fifo: use FIELD helpers
    0ba4fd45991a vxlan: Add missing VNI filter counter update in arp_reduce().
    843210300967 vxlan: Fix racy device stats updates.
    a89e4db53569 net: qede: use return from qede_parse_actions()
    40fbad8885a0 net: qede: use return from qede_parse_flow_attr() for flow_spec
    b633de6ae98b net: qede: use return from qede_parse_flow_attr() for flower
    c1b9c6be4793 net: qede: sanitize 'rc' in qede_add_tc_flower_fltr()
    32ac5cac5de9 ALSA: emu10k1: fix E-MU dock initialization
    9fc627064211 ALSA: emu10k1: move the whole GPIO event handling to the workqueue
    d4b9262fb93e ALSA: emu10k1: factor out snd_emu1010_load_dock_firmware()
    8db345cfb6c6 ALSA: emu10k1: fix E-MU card dock presence monitoring
    c698e482457e Fix a potential infinite loop in extract_user_to_sg()
    53163e2adb93 s390/vdso: Add CFI for RA register to asm macro vdso_func
    23e25d2fc777 net l2tp: drop flow hash on forward
    696d18bb5972 nsh: Restore skb->{protocol,data,mac_header} for outer header in nsh_gso_segment().
    0a0285cee11c octeontx2-af: avoid off-by-one read from userspace
    e19478763154 bna: ensure the copied buf is NUL terminated
    e22e25820fa0 xdp: use flags field to disambiguate broadcast redirect
    487c4e9a553f s390/mm: Fix clearing storage keys for huge pages
    819c33d7751f s390/mm: Fix storage key clearing for guest huge pages
    27f69caa62aa ASoC: codecs: wsa881x: set clk_stop_mode1 flag
    6f85e9b7151a ASoC: Intel: avs: Set name of control as in topology
    54bfc9ef60c6 riscv, bpf: Fix incorrect runtime stats
    a554fef56c0b bpf, arm64: Fix incorrect runtime stats
    f75a57065570 spi: hisi-kunpeng: Delete the dump interface of data registers in debugfs
    9072aab6e8d6 spi: axi-spi-engine: fix version format string
    deccbe39b56f spi: axi-spi-engine: use common AXI macros
    3915124910c5 spi: axi-spi-engine: move msg state to new struct
    0174c1c4384c spi: axi-spi-engine: use devm_spi_alloc_host()
    03a7d3cf0496 spi: axi-spi-engine: simplify driver data allocation
    ab7722458e8c spi: spi-axi-spi-engine: Use helper function devm_clk_get_enabled()
    fe4bfff1cd72 bpf: Fix a verifier verbose message
    57b736fcbb0e nvme: fix warn output about shared namespaces without CONFIG_NVME_MULTIPATH
    0d34c688b00d ASoC: SOF: Intel: add default firmware library path for LNL
    180ffe229325 ASoC: SOF: Introduce generic names for IPC types
    b5a291e5591e regmap: Add regmap_read_bypassed()
    b397a0ab8582 bpf, skmsg: Fix NULL pointer dereference in sk_psock_skb_ingress_enqueue
    2166cb2e21f2 bpf, kconfig: Fix DEBUG_INFO_BTF_MODULES Kconfig definition
    79b9afd95e28 regulator: change devm_regulator_get_enable_optional() stub to return Ok
    bdeb1b446df0 regulator: change stubbed devm_regulator_get_enable to return Ok
    83fdf050ef03 regulator: mt6360: De-capitalize devicetree regulator subnodes
    026e24cf3173 pinctrl: devicetree: fix refcount leak in pinctrl_dt_to_map()
    109b9ecdcb04 power: supply: mt6360_charger: Fix of_match for usb-otg-vbus regulator
    48e52633d519 power: rt9455: hide unused rt9455_boost_voltage_values
    fc8cbe3a58a0 pinctrl: baytrail: Fix selecting gpio pinctrl state
    8a1f89c98dcc nfs: Handle error of rpc_proc_register() in nfs_net_init().
    260333221cf0 nfs: make the rpc_stat per net namespace
    53a0365c9f9f nfs: expose /proc/net/sunrpc/nfs in net namespaces
    c4d324c414c2 sunrpc: add a struct rpc_stats arg to rpc_create_args
    30287d2018b4 pinctrl: mediatek: paris: Rework support for PIN_CONFIG_{INPUT,OUTPUT}_ENABLE
    d02587173690 pinctrl: mediatek: paris: Fix PIN_CONFIG_INPUT_SCHMITT_ENABLE readback
    558c8039fdf5 pinctrl: core: delete incorrect free in pinctrl_enable()
    70b145d68e27 pinctrl/meson: fix typo in PDM's pin name
    4b1357a2770e pinctrl: pinctrl-aspeed-g6: Fix register offset for pinconf of GPIOR-T
    a381ee26d7c7 Bluetooth: qca: add support for QCA2066
    2af84c46b9b8 eeprom: at24: fix memory corruption race condition
    4d5ace787273 eeprom: at24: Probe for DDR3 thermal sensor in the SPD case
    00d2715aaa8c rust: kernel: require `Send` for `Module` implementations
    244822c09b4f wifi: nl80211: don't free NULL coalescing rule
    a4dec33d27fb rust: macros: fix soundness issue in `module!` macro
    738ea6d9ca0a rust: module: place generated init_module() function in .init.text
    cce311f8bbbf mtd: limit OTP NVMEM cell parse to non-NAND devices
    26e2fe4cab10 nvmem: add explicit config option to read old syntax fixed OF cells
    ed56e266d3c6 dmaengine: Revert "dmaengine: pl330: issue_pending waits until WFP state"
    867818dd132e dmaengine: pl330: issue_pending waits until WFP state
    7c76aad68f6d kselftest: Add a ksft_perror() helper
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: e904fb7891b4020e7820d0a21f666fc2dbd9b8b0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Bruce Ashfield
9f3bbeacad linux-libc-headers: bump to v6.9
(From OE-Core rev: 78dac2c1f037921c58ccc6efcbf540a92d0fcfcf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Bruce Ashfield
a9990e11d7 linux-yocto/6.6: intel configuration changes
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: features/intel-pinctrl: add pinctrl driver for Intel Meteor Lake
    Date: Thu, 9 May 2024 13:01:25 +0800

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: bsp/intel-corei7-64: enable Intel IOMMU support
    Date: Thu, 9 May 2024 13:01:38 +0800

    Enable Intel IOMMU driver for intel-corei7-64 machine.

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 1bf24b687f0cd4952eb75b95dd596aa3f11867d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Bruce Ashfield
0a0fcabb15 linux-yocto/6.6: update to v6.6.30
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    7c76aad68f6d kselftest: Add a ksft_perror() helper
    5697d159afef Linux 6.6.30
    15aa09d6d846 bounds: Use the right number of bits for power-of-two CONFIG_NR_CPUS
    57c34bf73128 net/mlx5e: Advertise mlx5 ethernet driver updates sk_buff md_dst for MACsec
    6c3020dc817f macsec: Detect if Rx skb is macsec-related for offloading devices that update md_dst
    ee5dde3aa2fd macsec: Enable devices to advertise whether they update sk_buff md_dst during offloads
    bbc8486eb230 Revert "riscv: kdump: fix crashkernel reserving problem on RISC-V"
    be9857a4d280 ovl: fix memory leak in ovl_parse_param()
    3caf7f49f10f phy: qcom: qmp-combo: fix VCO div offset on v5_5nm and v6
    e3425674ff68 i2c: smbus: fix NULL function pointer dereference
    470d347b14b0 sched/eevdf: Prevent vlag from going out of bounds in reweight_eevdf()
    2cf53d801da7 sched/eevdf: Fix miscalculation in reweight_entity() when se is not curr
    dc21662b5b34 sched/eevdf: Always update V if se->on_rq when reweighting
    73224a5d2180 phy: ti: tusb1210: Resolve charger-det crash if charger psy is unregistered
    b008e327fa57 riscv: Fix loading 64-bit NOMMU kernels past the start of RAM
    a0f0dbbb1bc4 riscv: Fix TASK_SIZE on 64-bit NOMMU
    e4c881d2127c riscv: fix VMALLOC_START definition
    f976eca36cdf dmaengine: idxd: Fix oops during rmmod on single-CPU platforms
    8e3c94767cad dma: xilinx_dpdma: Fix locking
    758071a35d9f dmaengine: idxd: Convert spinlock to mutex to lock evl workqueue
    0e532b993a05 phy: qcom: m31: match requested regulator name with dt schema
    1da7f6abd3ba phy: rockchip: naneng-combphy: Fix mux on rk3588
    743cf2f19d96 phy: rockchip-snps-pcie3: fix clearing PHP_GRF_PCIESEL_CON bits
    d3d3723d70c1 phy: rockchip-snps-pcie3: fix bifurcation on rk3588
    78fe49bd4259 phy: freescale: imx8m-pcie: fix pcie link-up instability
    73e4d4f6f7e2 phy: marvell: a3700-comphy: Fix hardcoded array size
    610f175d2e16 phy: marvell: a3700-comphy: Fix out of bounds read
    935d4c7cdc56 soundwire: amd: fix for wake interrupt handling for clockstop mode
    4b80c0260bde idma64: Don't try to serve interrupts when device is powered off
    6e98921f6f2f dmaengine: tegra186: Fix residual calculation
    3053b681b678 dmaengine: owl: fix register access functions
    2431b5f2650d mm: turn folio_test_hugetlb into a PageType
    25c5f2e05e8e x86/tdx: Preserve shared bit on mprotect()
    2b56188d9bfb phy: qcom: qmp-combo: Fix VCO div offset on v3
    c219ef43672d phy: qcom: qmp-combo: Fix register base for QSERDES_DP_PHY_MODE
    db4ecbf8ee43 mtd: diskonchip: work around ubsan link failure
    1d2809e5d918 udp: preserve the connected status if only UDP cmsg
    8986ea353956 fbdev: fix incorrect address computation in deferred IO
    b2916e14bd5c stackdepot: respect __GFP_NOLOCKDEP allocation flag
    fefe98d3afc4 net: b44: set pause params only when interface is up
    ca958a1b1552 ethernet: Add helper for assigning packet type when dest address does not match device address
    3ecf2249e6e4 ACPI: CPPC: Fix access width used for PCC registers
    6a8fda8a7339 ACPI: CPPC: Fix bit_offset shift in MASK_VAL() macro
    1b890ae474d1 ACPI: CPPC: Use access_width over bit_width for system memory accesses
    03170e657f62 irqchip/gic-v3-its: Prevent double free on error
    d7d7284c2a7c drm/amdgpu: Fix leak when GPU memory allocation fails
    65356a1cc496 drm/amdgpu: Assign correct bits for SDMA HDP flush
    b33d7aaa2d3d drm/amdgpu/sdma5.2: use legacy HDP flush for SDMA2/3
    9b338b25b388 arm64: dts: rockchip: enable internal pull-up for Q7_THRM# on RK3399 Puma
    e64c81111fe9 arm64: dts: qcom: sm8450: Fix the msi-map entries
    93cf1e2e32d2 arm64: dts: qcom: sc8280xp: add missing PCIe minimum OPP
    c15b5c6fabcb LoongArch: Fix access error when read fault on a write-only VMA
    2c733bb795dd LoongArch: Fix callchain parse error with kernel tracepoint events
    8292f4f8dd1b cpu: Re-enable CPU mitigations by default for !X86 architectures
    3a63cee1a5e1 btrfs: fix information leak in btrfs_ioctl_logical_to_ino()
    e498cc00e6b7 btrfs: scrub: run relocation repair when/only needed
    73aa8ea03ac9 btrfs: fix wrong block_start calculation for btrfs_drop_extent_map_range()
    5e2239fef688 btrfs: fallback if compressed IO fails for ENOSPC
    29e94f295bad HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up
    699f8958dece smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
    0fcf7e219448 smb3: missing lock when picking channel
    39ad3d61d23e smb: client: Fix struct_group() usage in __packed structs
    92abee9c4201 mm: support page_mapcount() on page_has_type() pages
    1eb691e806e7 mm: create FOLIO_FLAG_FALSE and FOLIO_TYPE_OPS macros
    56b99a52229d mmc: sdhci-msm: pervent access to suspended controller
    f6c5d21db16a mm/hugetlb: fix missing hugetlb_lock for resv uncharge
    87fc30db0a2b mtd: rawnand: qcom: Fix broken OP_RESET_DEVICE command in qcom_misc_cmd_type_exec()
    67459f1a707a Bluetooth: qca: fix NULL-deref on non-serdev setup
    6b47cdeb786c Bluetooth: qca: fix NULL-deref on non-serdev suspend
    e0813f22c30b Bluetooth: btusb: Add Realtek RTL8852BE support ID 0x0bda:0x4853
    4eb706b1b443 Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
    ece94c74e4bf rust: remove `params` from `module` macro example
    4805d764f904 kbuild: rust: force `alloc` extern to allow "empty" Rust files
    2eed4381ee41 kbuild: rust: remove unneeded `@rustc_cfg` to avoid ICE
    3a9337459645 rust: make mutually exclusive with CFI_CLANG
    c34a8052afe5 rust: init: remove impl Zeroable for Infallible
    37ca196aa4d8 rust: don't select CONSTRUCTORS
    3b1ce482e2e6 x86/cpu: Fix check for RDPKRU in __show_regs()
    cec11fa2eb51 fork: defer linking file vma until vma is fully initialized
    612fbf658803 selftests/seccomp: Handle EINVAL on unshare(CLONE_NEWPID)
    f4b1e2cc9fd4 selftests/seccomp: Change the syscall used in KILL_THREAD test
    003af8c23fca selftests/seccomp: user_notification_addfd check nextfd is available
    be383effaee3 Squashfs: check the inode number is not the invalid value of zero
    331b6339c485 squashfs: convert to new timestamp accessors
    ab65b0cf0324 drm/ttm: stop pooling cached NUMA pages v2
    ded1ffea5213 mm, treewide: introduce NR_PAGE_ORDERS
    4c5eaf0cad27 drm/amdgpu: fix visible VRAM handling during faults
    f85a55fb87c2 drm/amdgpu: add shared fdinfo stats
    a4ae24cd04a8 drm: add drm_gem_object_is_shared_for_memory_stats() helper
    9e898211704c mm/madvise: make MADV_POPULATE_(READ|WRITE) handle VM_FAULT_RETRY properly
    49db746d3988 mm/gup: explicitly define and check internal GUP flags, disallow FOLL_TOUCH
    67d2212b6b89 KVM: x86/pmu: Set enable bits for GP counters in PERF_GLOBAL_CTRL at "RESET"
    6393087d931d KVM: x86/pmu: Zero out PMU metadata on AMD if PMU is disabled
    753a277ea086 af_unix: Suppress false-positive lockdep splat for spin_lock() in __unix_gc().
    4e40e624961a tls: fix lockless read of strp->msg_ready in ->poll
    77df3da37d42 net: ethernet: ti: am65-cpts: Fix PTPv1 message type on TX packets
    740717774dc3 ice: fix LAG and VF lock dependency in ice_reset_vf()
    2f7cc2dfc159 iavf: Fix TC config comparison with existing adapter TC config
    a91892696f58 i40e: Report MFS in decimal base instead of hex
    8d6105f63788 i40e: Do not use WQ_MEM_RECLAIM flag for workqueue
    94b00cd6b89b net: ti: icssg-prueth: Fix signedness bug in prueth_init_rx_chns()
    9dfe29373391 net: phy: dp83869: Fix MII mode failure
    8260c980aee7 netfilter: nf_tables: honor table dormant flag from netdev release event path
    cf1a368d190a ARM: dts: imx6ull-tarragon: fix USB over-current polarity
    62041d20f92e eth: bnxt: fix counting packets discarded due to OOM and netpoll
    de1aaefa75be mlxsw: spectrum_acl_tcam: Fix memory leak when canceling rehash work
    ab4ecfb62733 mlxsw: spectrum_acl_tcam: Fix incorrect list API usage
    e890456051fe mlxsw: spectrum_acl_tcam: Fix warning during rehash
    0ae8ff7b6d42 mlxsw: spectrum_acl_tcam: Fix memory leak during rehash
    3da432f3a3d3 mlxsw: spectrum_acl_tcam: Rate limit error message
    311eeaa7b9e2 mlxsw: spectrum_acl_tcam: Fix possible use-after-free during rehash
    feabdac2057e mlxsw: spectrum_acl_tcam: Fix possible use-after-free during activity update
    136fc524eccd mlxsw: spectrum_acl_tcam: Fix race during rehash delayed work
    79736f57da3c mlxsw: spectrum_acl_tcam: Fix race in region ID allocation
    99a9e7fbaf7f mlxsw: Use refcount_t for reference counting
    eaa5e164a211 net: openvswitch: Fix Use-After-Free in ovs_ct_exit
    36054132dfb0 ipvs: Fix checksumming on GSO of SCTP packets
    cd212ca265b3 Bluetooth: qca: set power_ctrl_enabled on NULL returned by gpiod_get_optional()
    1e9a69f247f9 Bluetooth: hci_sync: Using hci_cmd_sync_submit when removing Adv Monitor
    80dfef128cb9 Bluetooth: btusb: mediatek: Fix double free of skb in coredump
    882d614ac6bf Bluetooth: MGMT: Fix failing to MGMT_OP_ADD_UUID/MGMT_OP_REMOVE_UUID
    62e3a7cbd8e6 Bluetooth: hci_event: Fix sending HCI_OP_READ_ENC_KEY_SIZE
    190d33b0a634 Bluetooth: btusb: Fix triggering coredump implementation for QCA
    e4ce6ebc6ea1 gpio: tegra186: Fix tegra186_gpio_is_accessible() check
    2497bebf3110 net: phy: mediatek-ge-soc: follow netdev LED trigger semantics
    2aacd4de4547 net: gtp: Fix Use-After-Free in gtp_dellink
    209967f5f06e net: usb: ax88179_178a: stop lying about skb->truesize
    8240c7308c94 ipv4: check for NULL idev in ip_route_use_hint()
    5e53816d0f87 net: fix sk_memory_allocated_{add|sub} vs softirqs
    fe1e83811c4f net: make SK_MEMORY_PCPU_RESERV tunable
    6a65f015ee48 tools: ynl: don't ignore errors in NLMSG_DONE messages
    4fee8fa86a15 ax25: Fix netdev refcount issue
    cffee39d3615 NFC: trf7970a: disable all regulators on removal
    0142cbb87cf6 net: dsa: mv88e6xx: fix supported_interfaces setup in mv88e6250_phylink_get_caps()
    b50bb5039223 cxl/core: Fix potential payload size confusion in cxl_mem_get_poison()
    e33625b9b598 bnxt_en: Fix the PCI-AER routines
    96ef6582223a bnxt_en: refactor reset close code
    7e8e0e0ea4a2 bridge/br_netlink.c: no need to return void function
    d68dc711d84f icmp: prevent possible NULL dereferences from icmp_build_probe()
    1fb855ae29c0 ARM: dts: microchip: at91-sama7g5ek: Replace regulator-suspend-voltage with the valid property
    94346efd78e8 mlxsw: core_env: Fix driver initialization with old firmware
    ac60e9041177 mlxsw: core: Unregister EMAD trap using FORWARD action
    09040baf8779 net: bcmasp: fix memory leak when bringing down interface
    b5fa073ae9da vxlan: drop packets from invalid src-address
    3ccbec645deb net: libwx: fix alloc msix vectors failed
    21221985378d wifi: mac80211: fix unaligned le16 access
    83a137e6a273 wifi: mac80211: remove link before AP
    115cd0965446 wifi: mac80211_hwsim: init peer measurement result
    1960e9e9c215 drm/gma500: Remove lid code
    bd7e8e5f3031 wifi: iwlwifi: mvm: return uid from iwl_mvm_build_scan_cmd
    2565820d72ee wifi: iwlwifi: mvm: remove old PASN station when adding a new one
    154be74e589c wifi: mac80211: split mesh fast tx cache into local/proxied/forwarded
    1ba4d2adf1aa wifi: mac80211: clean up assignments to pointer cache.
    80ea4ee9f99c ARC: [plat-hsdk]: Remove misplaced interrupt-cells property
    37e204285732 gpio: tangier: Use correct type for the IRQ chip data
    4de13788ee60 arm64: dts: qcom: sc8180x: Fix ss_phy_irq for secondary USB controller
    9f9d12a8153a arm64: dts: rockchip: regulator for sd needs to be always on for BPI-R2Pro
    ff3e2ca62bd7 arm64: dts: mediatek: mt2712: fix validation errors
    ed427ce58d44 arm64: dts: mediatek: mt7986: prefix BPI-R3 cooling maps with "map-"
    81559c9de353 arm64: dts: mediatek: mt7986: drop invalid thermal block clock
    5a3aa5df8663 arm64: dts: mediatek: mt7986: reorder nodes
    76bb245892ce arm64: dts: mediatek: mt7986: drop "#reset-cells" from Ethernet controller
    b42af715c014 arm64: dts: mediatek: mt7986: drop invalid properties from ethsys
    b626cfb65159 arm64: dts: mediatek: mt7986: reorder properties
    7327c4f0884c arm64: dts: mediatek: mt7622: drop "reset-names" from thermal block
    847afa33a2be arm64: dts: mediatek: mt7622: fix ethernet controller "compatible"
    999d7695d85e arm64: dts: mediatek: mt7622: fix IR nodename
    837f0b9ae29e arm64: dts: mediatek: mt7622: fix clock controllers
    13f40798f1a7 arm64: dts: mediatek: mt8183-kukui: Use default min voltage for MT6358
    a594104da204 arm64: dts: mediatek: mt8195-cherry: Update min voltage constraint for MT6315
    9d0b70b5b2b5 arm64: dts: mediatek: mt8192-asurada: Update min voltage constraint for MT6315
    0c29f85ad1d7 arm64: dts: mediatek: cherry: Describe CPU supplies
    a61f1a579960 arm64: dts: mediatek: cherry: Add platform thermal configuration
    2928d2baf24e arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex1
    49785030e34f arm64: dts: mediatek: mt8195: Add missing gce-client-reg to mutex
    346ffd2d39c8 arm64: dts: mediatek: mt8195: Add missing gce-client-reg to vpp/vdosys
    550ad9aa3ac9 arm64: dts: mediatek: mt8192: Add missing gce-client-reg to mutex
    88b162518b86 arm64: dts: mediatek: mt8183: Add power-domains properity to mfgcfg
    4142a160b08c arm64: dts: rockchip: Remove unsupported node from the Pinebook Pro dts
    11c51d2944df arm64: dts: rockchip: enable internal pull-up on PCIE_WAKE# for RK3399 Puma
    6eb4c12f1152 arm64: dts: rockchip: fix alphabetical ordering RK3399 puma
    5fa8b9f97b9c arm64: dts: rockchip: enable internal pull-up on Q7_USB_ID for RK3399 Puma
    82fe6445df8b arm64: dts: rockchip: set PHY address of MT7531 switch to 0x1f
    4fb8d6e8e26c HID: logitech-dj: allow mice to use all types of reports
    b7e3f0cbe1d7 HID: intel-ish-hid: ipc: Fix dev_err usage with uninitialized dev->devc
    fc1860a1bf6c cifs: reinstate original behavior again for forceuid/forcegid
    551496743a57 smb: client: fix rename(2) regression against samba
    4a5c16d06593 cifs: Fix reacquisition of volume cookie on still-live connection
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 94bc5c798ea701332575cb66a546a4f1e1224d90)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Martin Jansa
31b4ec9fd6 db: ignore implicit-int and implicit-function-declaration issues fatal with gcc-14
* many configure tests (which might not fail before) are failing with gcc-14:
  # grep implicit build/config.log
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
  conftest.c:50:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  conftest.c:50:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  conftest.c:53:9: error: implicit declaration of function 'msem_init' [-Wimplicit-function-declaration]
  conftest.c:54:9: error: implicit declaration of function 'msem_lock' [-Wimplicit-function-declaration]
  conftest.c:55:9: error: implicit declaration of function 'msem_unlock' [-Wimplicit-function-declaration]
  conftest.c:56:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
  conftest.c:56:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch]
  conftest.c:50:9: error: implicit declaration of function '_spin_lock_try' [-Wimplicit-function-declaration]
  conftest.c:51:9: error: implicit declaration of function '_spin_unlock' [-Wimplicit-function-declaration]

* I have noticed this on db-native build on host with gcc-14
  where it caused fatal do_configure error:
  http://errors.yoctoproject.org/Errors/Details/784164/

  checking for mutexes... UNIX/fcntl
  configure: error: Support for FCNTL mutexes was removed in BDB 4.8.

  the config.log confirms it's because implicit-int:

  configure:22798: checking for mutexes
  configure:22925: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -O2 -pipe  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/include -D_GNU_SOURCE -D_REENTRANT -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -L/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/OE/build/oe-core/tmp-glibc/work/x86_64-linux/db-native/5.3.28/recipe-sysroot-native/lib                         -Wl,-O1 conftest.c  -lpthread >&5
  conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int]
     47 | main() {
        | ^~~~
  configure:22925: $? = 1
  configure: program exited with status 1

* comparing target db with and without this change shows following diff
  in log.do_configure:

  db $ diff 5.3.28*/temp/log.do_configure
  268c268
  < checking for mutexes... POSIX/pthreads/library
  ---
  > checking for mutexes... POSIX/pthreads/library/x86_64/gcc-assembly
  271c271
  < checking for atomic operations... no
  ---
  > checking for atomic operations... x86/gcc-assembly

(From OE-Core rev: 6108da955e7c553247ff5356cf1c990b3d334edf)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Richard Purdie
2feb9e20e4 sstate/buildhistory: Fix plaindirs handling to occur before SSTATEPOSTINSTFUNCS
buildhistory is showing issues where plaindirs installed files (such as package
listings) are not reliably being handled with installs from sstate.

The reason is that plaindirs is being handled after SSTATEPOSTINSTFUNCS
instead of before it, meaning the files visible in a non-sstate accelerated
code run are different to show from an accelerated run.

This can be observed by the missing files lists for packages in buildhistory, both
in from scratch builds and in builds from sstate. In builds where sstate is installed
over an existing build directory, the files are present though, so there is a
determinism problem.

Fix this by moving the code into sstate_install, this is the only call
site for the funciton.

Since the move needs prepdir, move that as well as it's call site,
being careful to handle the two different definitions of SSTATE_INSTDIR. The
version originally in the function was obsolete and was causing the postinstfuncs
to run in an incorrect directory. The only user is buildhistory and it wasn't
sensitive to cwd however so this happened not to cause a problem. Fix the
code to use the correct location.

(From OE-Core rev: 62ee349cf18532dac8736488752c00e89de78fcd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Richard Purdie
3220a20b98 sstate: Drop intercept functions support
The only user was siteconfig which has been removed. The API was horrible
and we don't want to encourage this kind of usage.

(From OE-Core rev: cfbfd0b2e89eb71783c55a1be4a7e63e6cd82c2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Richard Purdie
6b9eb4e9f0 siteconfig: Drop siteconfig class/code/support
The siteconfig code was only used for 5 cache values. The complexity added to sstate
to support this code was considerable and the runtime much more significant than
any benefit the cache files would have added. Drop the support for this which
was only used minimally for ncurses and zlib.

(From OE-Core rev: f3766dc038f7ba9780ddaf5eb8d27385ea31d7d0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:58:36 +01:00
Richard Purdie
8fc598580e busybox: Disable CONFIG_TC for poky-tiny
It fails to build with 6.8 kernel headers onwards and is disabled in
our standard builds so match those.

(From meta-yocto rev: f1d9f4d8d6f6d0c1937f690ed184b4334ab7c1fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:57:42 +01:00
Richard Purdie
f24ffc087b bitbake: tests/fetch: Tweak to work on Fedora40
On Fedora40, "localhost" sometimes resolves to ::1 and sometimes to 127.0.0.1
and python only binds to one of the addresses, leading to test failures.

Use 127.0.0.1 explicitly to avoid problems of the name resolution, we're trying
to test things other than the host networking.

(Bitbake rev: 9adc6da42618f41bf0d6b558d62b2f3c13bedd61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Richard Purdie
f81127b619 bitbake: fetch2/wget: Fix failure path for files that are empty or don't exist
When we intercepted the file download to a temp file, we broke the
exist/size checks which need to happen before the rename. Correct
the ordering.

For some reason, python 3.12 exposes this problem in the selftests
differently to previous versions.

(Bitbake rev: c56bd9a9280378bc64c6a7fe6d7b70847e0b9e6d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Joshua Watt
c2d2ae7b1d bitbake: hashserv: client: Fix changing stream modes
When switching from normal mode to stream mode, skip calling
self._set_mode() again because this will cause a recursion into the
_set_mode() function and causes problems.

Also cleanup some of the error checking during this process

This bug affected when a client would attempt to switch from one stream
mode to another, and meant that the server would get an invalid message
from the client. This would cause the server to disconnect the client,
and the client would then reconnect in normal mode which was the mode it
wanted anyway and thus it would carry on without any errors. This made
the bug not visible on the client side, but resulting in a lot of
backtrace JSON decoding exceptions in the server logs.

(Bitbake rev: 1826bc41ab3369ac40034c5eaf698748b769b881)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Joshua Watt
5a308474c2 bitbake: siggen: Batch unihash_exists checks
Similar to looking up unihashes, use the batch API when checking if a
unihash exists to speed up lookups

(Bitbake rev: 0ac521ff37b578f7487bca0eccc7dc9e5974991b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Joshua Watt
247d08ae07 bitbake: asyncrpc: Remove ClientPool
Batching support on the client side has proven to be a much more
effective way of dealing with server latency than multiple client
connections and is also much nicer on the server, so drop the client
pool support from asyncrpc and the hash server

(Bitbake rev: 6f80560f1c7010d09fe5448fdde616aef8468102)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Joshua Watt
f618d1dfd7 bitbake: siggen: Drop client pool support
Drops support for client pools, since batching support in the client
code has proven to be much more effective

(Bitbake rev: 85dafaf8e070459f7de7bfb37300d8b60a27002e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Richard Purdie
2ff7af74bc bitbake: bitbake: Drop older python version compatibility code
cooker: We can call multiprocessing close() unconditionally and tweak a
comment give 3.8 is now the minimum version.

lib/bb: We can drop the logger addition code only needed before 3.6

asyncrpc/hashserv: Since the minimum version is 3.8, we can drop the
conditional code.

(Bitbake rev: 16f4386400f88ba50605307961c248bef09895c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Richard Purdie
277e07d1cc bitbake: cooker: Improve handling errors during parsing when profiling
We've seeing profiling tracebacks when parse errors occur during
profiling. Try and avoid these but not processing invalid profiles.

(Bitbake rev: 171bd9dd575307fbd61b5179ad86131d76add067)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 16:56:25 +01:00
Richard Purdie
eacebfc169 bitbake: lib/bs4: Avoid soupsieve warning
(Bitbake rev: 8e444cd9913d1ee0672b5583e263e5927c3221df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 13:09:54 +01:00
Richard Purdie
12fa81e8d6 bs4: Update to 4.12.3 from 4.4.1
It makes sense to switch to a more recent version and keep up to date
with upstream changes and things like new python version support.

(Bitbake rev: f5462156036e71911c66d07dbf3303cde862785b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-31 12:43:18 +01:00
Changqing Li
99ff46cc9b gettext: fix a parallel build issue
Occasionally, gettext will build failed with error:
In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71,
                 from ../../../gettext-0.22.5/gettext-runtime/intl/log.c:24:
./libgnuintl.h:98:1: error: unterminated comment
   98 | /* The user can define _INTL_RE
      | ^
./libgnuintl.h:17: error: unterminated #ifndef
   17 | #ifndef _LIBINTL_H

In file included from ../../../gettext-0.22.5/gettext-runtime/intl/gettextP.h:71,
                 from ../../../gettext-0.22.5/gettext-runtime/intl/langprefs.c:25:
./libgnuintl.h:98:1: error: unterminated comment
   98 | /* The user can define _INTL_RE
      | ^
./libgnuintl.h:17: error: unterminated #ifndef
   17 | #ifndef _LIBINTL_H

It is a parallel build issue caused by missing dependencies, backport
patch to fix it.

(From OE-Core rev: e18fc96f9d4c0a0525c21371d3f36e8dfe008b35)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Markus Volk
e034d3ff56 libadwaita: update 1.5.0 -> 1.5.1
=============
Version 1.5.1
=============

- AdwAboutDialog/Window
  - Fix an outdated appstream reference in docs
- AdwActionRow
  - Mention .property in docs
- AdwAlertDialog
  - Fix the accessible role
  - Fix initial focus
- AdwAvatar
  - Fix portrait avatars on hidpi
- AdwBin
  - Fix a potential focus issue
- AdwBreakpoint
  - Fix add_setter() annotations
- AdwCarousel
  - Fix a build warning
- AdwComboRow
  - Fix initial checkmark
  - Handle model changes properly
- AdwDialog
  - Fix accessibility warnings
  - Make shortcuts work when there are no focusable widgets
  - Correctly restore focus when opening a dialog from a menu
  - Fix GtkWindow:deletable=false hiding close buttons in dialogs
- AdwExpanderRow
  - Fix get_title_lines() and get_subtitle_lines() return types
  - Fix remove() docs
- AdwOverlaySplitView
  - Unmap sidebar when it's hidden
- AdwPreferencesGroup
  - Fix a potential focus issue
  - Fix :header-group annotations and notifications
- AdwPreferencesPage
  - Fix a potential focus issue
- AdwTabView
  - Document :close-page return value
  - Fix a leak when closing the last page
- AdwViewStack
  - Fix a typo in docs
- Docs
  - Update screenshots
- Stylesheet
  - Fix entry progress bars
- Add missing return annotations
- Translation updates
  - Brazilian Portuguese
  - Hindi
  - Kabyle
  - Portuguese
  - Slovak

(From OE-Core rev: 301470de9a1a6a44de9a3d7c815e86dba162da68)

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>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
653b03a5a9 cmake: upgrade 3.28.3 -> 3.29.3
License-update: copyright years

(From OE-Core rev: 7fc1826d28732cab39def3216764671c24d2dcb5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Mark Hatle
293cb9b25b binutils: Fix aarch64 disassembly abort
Code backported from binutils development tree.

  aarch64: Remove asserts from operand qualifier decoders [PR31595]

  Given that the disassembler should never abort when decoding
  (potentially random) data, assertion statements in the
  `get_*reg_qualifier_from_value' function family prove problematic.

  ...

(From OE-Core rev: 00f3d8495a1d8fe44336b53c5a9d9a5f8a8d5664)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Robert Joslyn
b33dcf1123 libgloss: Do not apply non-existent patch
When newlib and libgloss were updated to 4.3.0, SRC_URI was updated to
append a fix-rs6000-cflags.patch file when building on PowerPC, but this
file was not added to the repo.

Remove appending the missing patch.

(From OE-Core rev: 64561d8b81233a19df5f51d26dfbcd15835bec1f)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
b29ae5ebe9 libomxil: remove the recipe
Now-removed gstreamer omx plugin was the only consumer, and it's all very obsolete and
hasn't seen development in years.

(From OE-Core rev: 63535ce55141e7d4184a1f19efc3f49946f506ae)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
46a8430b9e gstreamer1.0: update 1.22.11 -> 1.24.3
Drop gstreamer1.0-omx recipe as upstream has removed it:
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4976

kate plugin dropped from bad.

amrnb/amrwb moved from ugly to good.

(From OE-Core rev: 9c21815339afb85f558d8a1e0365614320cdc7d7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
cd83165cf4 gtk-doc: upgrade 1.33.2 -> 1.34.0
Drop merged patch.

(From OE-Core rev: 98ff632754a1c230623c825e187c78741a2f9d8b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
4acc13e88a meson: upgrade 1.3.1 -> 1.4.0
(From OE-Core rev: 697ab91da6cae370af5269f32cdfc14e88f2b37b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
907f8a2461 xserver-xorg: upgrade 21.1.12 -> 21.1.13
(From OE-Core rev: 78dc14599a65075a40c26df4bf9d2bb33a237ca9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
5bdebccd39 libxcb: upgrade 1.16.1 -> 1.17.0
(From OE-Core rev: 47f6da4a9a10e9607d458665baf5cf83451e7b66)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
0a5d7ba4a0 icu: upgrade 74-2 -> 75-1
License-update: copyright years

(From OE-Core rev: 828b25dd17cd148ff0c1f852d6581359e5b6ee20)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
79f67e4b8f zstd: upgrade 1.5.5 -> 1.5.6
Drop patch that was merged upstream.

(From OE-Core rev: eeed9f6a8e83eb29da8cb69a25dd690712e3ac1b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
0cb8e7cfc2 mobile-broadband-provider-info: upgrade 20230416 -> 20240407
Convert to meson.

(From OE-Core rev: 643c7c2219886253857fdc7618d5db12ddc0e9de)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
49868698b3 pinentry: update 1.2.1 -> 1.3.0
License-update: formatting, FSF address

(From OE-Core rev: 7e2b529fff1aee883d95c3cf97300c8d8b5830d3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
90d169ff48 libgit2: update 1.7.2 -> 1.8.1
License-update: additional MIT-licensed components

(From OE-Core rev: 2981033469d2a4e97fbe691f97c582771841c56e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Alexander Kanavin
ab0b75eeda boost: update 1.84.0 -> 1.85.0
(From OE-Core rev: cac4bf50f900d226e07bd0bf96002796e0c8d383)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Martin Hundeb?ll
622d2b57f5 classes: image_types: quote variable assignment needed by dash
The change in commit 39fc503036
("classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()")
assigns $@ to a local variable without quoting it. While this works with
bash, it fails with dash. Here, only the first token of $@ is assigned
to the variable, and the reamining tokens are passed as arguments to the
"local" keyword.

Fix it by adding the missing quotes.

(From OE-Core rev: 14ca134f9f72d518c9180156a8efac19f8bb3ab0)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Changqing Li
8f741e6237 ghostscript: upgrade 10.03.0 -> 10.03.1
Patch release to address security bugs:
CVE-2024-33869
CVE-2023-52722
CVE-2024-33870
CVE-2024-33871
CVE-2024-29510

(From OE-Core rev: 9a424fbcdc0c792ff3b99bf0e8a5e380582f53bc)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Robert Joslyn
73d029e1d2 curl: Update to 8.8.0
Remove backported patch that is upsteam in this version. Disable test
1481 since it requires --libcurl option that is disabled by default.
Remove --disable-ntlm-wb option since support for ntlm_wb was removed in
this version

(From OE-Core rev: f193e89cd957f0f0f7d8e9450b59061bf2e800c7)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Chen Qi
f12859b0e8 libnl: change HOMEPAGE
http://www.infradead.org/~tgr/libnl/ stops at 2014, the
current official home page should be the github one.

(From OE-Core rev: cfe7659e4c553c51d39322b378ac7fb2891c2dc6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Chen Qi
b79a8eb7c9 kmod: upgrade from 31 to 32
kmod now installs symlinks in 'make install'.
https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git/commit/?
id=e98cef6f3f8cd6f8bfb26d147b2c209297453cca

Changes are made in do_install to ensure that we can to continue to
use sbin. This is because our kernel has: CONFIG_MODPROBE_PATH='/sbin/modprobe'.
We'll need to sync our kmod path settings with our kernel config. Otherwise,
things would fail. For example, libnl's some ptest cases fail.

(From OE-Core rev: 99e0a6ed8a08faa86116fbb8989bbb234bd7fc53)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Robert Yang
071db3ae8e strace: upgrade 6.8 -> 6.9
This patch is made by AUH and rebased the following patches:
0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch
0001-strace-fix-reproducibilty-issues.patch
0002-tests-Replace-off64_t-with-off_t.patch
Makefile-ptest.patch
ptest-spacesave.patch
skip-load.patch
update-gawk-paths.patch

(From OE-Core rev: 5efe057e6cf0b5f217d9a5af0cec93b92435ad62)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 09:04:14 +01:00
Joshua Watt
e16d690e77 bitbake: hashserv: server: Add support for SO_REUSEPORT
SO_REUSEPORT is a socket option that allows multiple servers to listen
on the same TCP port, and the kernel will automatically load balance the
connections between them. This is particularly helpful for the hash
server since it runs in a single thread. To take advantage of a
multi-core server, multiple servers can be started in parallel with this
option (up to 1 per CPU) and the kernel will load balance between them.

(Bitbake rev: d72d5a7decb489e2af0ebc43cfea0ca3e4353e9b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 07:38:10 +01:00
Joshua Watt
76a63bd031 bitbake: siggen: Enable batching of unihash queries
Uses the batching API of the client to reduce the effect of latency when
making multiple queries to the server

(Bitbake rev: a54734b4ac2ddb3bce004e576cf74d6ad6caf62a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 07:38:10 +01:00
Joshua Watt
29c2cd4d54 bitbake: hashserv: client: Add batch stream API
Changes the stream mode to do "batch" processing. This means that the
sending and reciving of messages is done simultaneously so that messages
can be sent as fast as possible without having to wait for each reply.
This allows multiple messages to be in flight at once, reducing the
effect of the round trip latency from the server.

(Bitbake rev: e768d0f17bdb97f6ff013ec3a41f182fecd47a55)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-30 07:38:10 +01:00
Yoann Congal
8fc967d0c7 migration-5.1: add the recommended pattern for S/UNPACKDIR definition
(From yocto-docs rev: 9fb708986cb9019062078f8a34288c44f2667dbd)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Lee Chee Yang
cad8556566 migration-notes: add release notes for 5.0.1
add release notes for 5.0.1

(From yocto-docs rev: 9ca8ae1aae8d98ca2c9d2e67b3e07b49de9c20f6)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Michael Opdenacker
bebe947dd5 migration-5.1.rst: preliminary description of UNPACKDIR changes
(From yocto-docs rev: ac7a35edbd20ba2d1789ff77b53484ad34cc0850)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Michael Opdenacker
c3d154813b ref-manual: introduce UNPACKDIR variable
Note that this doesn't touch the "Source Fetching" section
in overview-manual/concepts.rst yet, as the unpack implementation
may not be finalized yet.

(From yocto-docs rev: 2c892663c3e2d72493ee29898e99335a1e45c01f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Michael Opdenacker
90e510aee7 migration-guides: placeholder files for 5.1
(From yocto-docs rev: f3ab2c5ec975683383cd8129a607c3e1e8c68053)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Trevor Gamblin
e35c8d53fb ref-manual: variables: document PYPI_PACKAGE_EXT, PYPI_SRC_URI
These are variables that some Python recipes are starting to use, but
there is no documentation for them currently in the reference manual.

(From yocto-docs rev: 78cde86cc31f238b8b31569ac9df2eeb15ef5e33)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Noe Galea
66aac2588d manuals: document NVDCVE_API_KEY variable
Add brief documentation of NVDCVE_API_KEY variable, that was added
in 4.2.3, and emphasize that its use results in lower NVD API request
times.

(From yocto-docs rev: 9c7b452441bad2d7c929383d4665dfddb8f7ea72)

Signed-off-by: Noe Galea <ngalea@thegoodpenguin.co.uk>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Andrew Murray <amurray@thegoodpenguin.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Lee Chee Yang
b392401b46 release-notes-4.0.18: specify backported license
Align with finalized text-based release notes.

(From yocto-docs rev: 0ee5078d1f042d3dc57e7b3b15174398c574b8a5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-29 20:58:49 +01:00
Joshua Watt
d31c64296d bitbake: bb: Use namedtuple for Task data
Task dependency data is becoming unwieldy with the number of indices it
contains. Convert it to use a named tuple instead, which allows members
to be indexed by a named property or an index (which allows it to retain
backward compatibility).

(Bitbake rev: 26446cca4d22734c3f1b328a205c169dadb7e494)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Joshua Watt
e598b2d135 bitbake: bitbake-hashclient: Improve ping command line options
Adds a --quiet option to suppress the message for each ping, and report
the median ping time.

(Bitbake rev: 3c85b5e2d9b9c39507ed362aaa115b7f6f155966)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Richard Purdie
e9400f091c bitbake: runqueue: Improve rehash get_unihash parallelism
Improve the rehash code to query unihashes in parallel since this is more
efficient on slower links.

(Bitbake rev: c1949d5350342eaaf6ab988d7bfba99496d55523)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Richard Purdie
6a0a2c4618 bitbake: runqueue: Process unihashes in parallel at init
Improve the runqueue init code to call unihash queries in parallel since
this is faster and more efficient, particularly on slower links with longer
round trip times.

The call to the function from cooker is unneeded since that function calls
prepare() and hence this functionality will already have run, so drop
that obsolete call.

(Bitbake rev: 721c97a115a7a4bf21955be79391bd6e0099f40e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Richard Purdie
d89b436835 bitbake: runqueue: Allow rehash loop to exit in case of interrupts
The initial hash serve loop exits in the case where interrupts are present
but probably checks a bit too often. Tweak that and also allow the slow
rehash loop to break on interrupt, improving bitbake Ctrl+C response.

(Bitbake rev: 4534365591fd17bcc2b684900863b67bc69519ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Richard Purdie
2824b5e667 bitbake: runqueue: Add timing warnings around slow loops
With hashserve enabled, there are two slow paths/loops, one at initial runqueue
generation and also during the rehash process when new outhashes are found.

Add timing information at the hashserve log level for when these loops
take longer than 30s or 60s overall. This will leave evidence in the logs when
things are running particularly slowly.

(Bitbake rev: 6c357ede08e0b2a93bdaad2c1d631994faf2b784)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 23:46:21 +01:00
Alexander Kanavin
c7a5673e2d selftest/rust: correctly form the PATH environment variable
There were two issues here:

- the path to native python was not included, so the test
suite was running with host python, causing failures due to
host python being given native libraries:
https://autobuilder.yoctoproject.org/typhoon/#/builders/148/builds/1711/steps/12/logs/stdio
(rust recipe uses native python throughout)

- tmp/hosttools was listead ahead of native-sysroot/usr/bin

(From OE-Core rev: aec96b5aec8d6b4a5ae8a719ca05bb727a6197cb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 15:09:01 +01:00
Alexander Kanavin
3f69d525d8 rust: build the default set of tools
Setting it explicitly replaces rust's default choice which is rustdoc
(needed for example in selftests and otherwise expected to be present
in typical rust installations):

https://github.com/rust-lang/rust/blob/master/config.example.toml#L320

This addresses some of the rust selftest failures but not all. Help
is appreciate to restore the selftest.

Unfortunately, this also breaks rust reproducibility (or rather exposes
that it was never properly fixed, as explained here:
https://lists.openembedded.org/g/openembedded-core/message/199288
)

(From OE-Core rev: 58eaf2ee6c0809bf0a0d3c1d177e62bda7241651)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 15:09:01 +01:00
Alexander Kanavin
a7bf118441 rust: use rust-snapshot binaries only in rust-native
Otherwise, use rust-native and cargo-native binaries as that allows
our native tweaks in them to be used for target/nativesdk rust -
same as for everything else written in rust.

In particular, this allows building target rust with
cargo-native that includes important reproducibility tweaks.

Unfortunately, this also breaks rust selftest, and that
is partially addressed by the following commit.

[YOCTO #15185]

(From OE-Core rev: 8f2230cb51fe22ef4711a56fecfab4858c04e35b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 15:09:01 +01:00
Alexander Kanavin
d419566eda rust: add reproducibility patch to eliminate host leakage
[YOCTO #15185]

(From OE-Core rev: 924df18b47e9a69fa295bafe37bdb39d8eaea2bb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 15:09:01 +01:00
Marlon Rodriguez Garcia
1d86845c41 bitbake: ui/buildinfohelper: Add exception treatment to fix missing target_file
Based on the discution on  https://lists.yoctoproject.org/g/toaster/message/6157
in some cases the value for Target_file could be missing and is needed to bypass
it to finish build.

(Bitbake rev: c60f6d20911632b41473f7c8577949be2f99ad80)

Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:43:51 +01:00
Richard Purdie
ae589a1e37 pseudo: Update to pull in python 3.12+ fix
Pull in a fix which avoids syntax warnings with python 3.12.

(From OE-Core rev: 51aa0217e595939f15bd3ffd7625907aef142c05)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Richard Purdie
7ec8dcfcef layer.conf: Add os-release to SIGGEN_EXCLUDERECIPES_ABISAFE
This rebuilds whenever DISTRO_VERSION changes (i.e. any commit is made)
and systemd depends upon it so lots of things end up rebuilding which
isn't necessary,

(From OE-Core rev: 002a2a9d977ed5b86138333c567d25616d38c60b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Tim Orling
5dce3a34b0 pythonn3-rpds-py: enable ptest
* Add RDEPENDS for ptest from tests/requirements.txt
* Tests take ~14 seconds, so add to PTEST_FAST

(From OE-Core rev: 6a1c551629defd3c241b30452496c580501dc781)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Tim Orling
09c7337ea2 python3-rpds-py: upgrade 0.18.0 -> 0.18.1
https://github.com/crate-py/rpds/compare/v0.18.0...v0.18.1

* Refresh -crates.inc

(From OE-Core rev: f476c2d986ff4a2b89348fe1e5628300ff212f3a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Khem Raj
f57addd5e1 systemd.bbclass: Clarify error message
When this error is triggered, its a bit vague in specifying where the
issue is e.g.

ERROR: nbd-3.26.1-r0 do_package: nbd does not appear in package list, please add it

Some packages may intentionally remove PN from packages and find it
confusing as to why the system is still asking this to be in PACKAGES

(From OE-Core rev: 025a5e4529dff37a6423d305b12b7a51ceedd9e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Tim Orling
992659911b python3-bcrypt: upgrade 4.1.2 -> 4.1.3
https://github.com/pyca/bcrypt/compare/4.1.2...4.1.3

Upstream release notes:
Bump Rust dependency versions

* Drop 0001-Bump-pyo3-from-0.20.0-to-0.20.3-in-src-_bcrypt-746.patch -- merged
* Refresh -crates.inc

(From OE-Core rev: d2404135fd263947bcfd448657d3d0312e12122a)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Quentin Schulz
7a28f7d717 mmc-utils: fix URL
The current mmc-utils git URL still (for now?) redirects to the URL in
this patch, but the homepage doesn't, so let's just migrate both to the
new URL.

(From OE-Core rev: 59870f6d87bb516d74081fde1c670e4838e6e134)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Victor Kamensky
d3d266dec9 systemtap: upgrade 5.0 -> 5.1
removed all backported patches

(From OE-Core rev: 322cab17151bbc8ce05ca8a14cb34d600d1bb934)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Ross Burton
306337e035 oeqa/manual: remove obsolete CROPS and Eclipse manually testing scripts
The Eclipse plugin is very dead, we don't need to carry the manual test
guide for it.

CROPS has its own automated testing, nobody is doing the testing by hand.

(From OE-Core rev: f74a634f199782ce5fa3023d02079c1534bc4aeb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Khem Raj
71f3468f80 systemd-bootchart: Fix build on musl
(From OE-Core rev: 8243183f807d0f50d2cbd2add41d32ffc47857b3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Khem Raj
d79dfb7579 kexec-tools: Fix build with GCC-14 on musl
(From OE-Core rev: 704f51f72c301bd081a635dbe94e52aa97ffb827)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:24 +01:00
Wang Mingyu
6327a50e03 xwayland: upgrade 23.2.6 -> 24.1.0
(From OE-Core rev: 04ccb375e6ff6f01b842818fa130bd5cb2be7e18)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
db2dca7a2a wireless-regdb: upgrade 2024.01.23 -> 2024.05.08
(From OE-Core rev: 0823e8ea83ac907b37bc9eb0ec7dc32862997eff)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
036624701a shaderc: upgrade 2024.0 -> 2024.1
Changelog:
===========
- Update dependencies
- Propagate test/install options to Glslang

(From OE-Core rev: 3410d8864429ca8cd9e63775b0f6e788b6a0405b)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
19eb32540b python3-zipp: upgrade 3.18.1 -> 3.18.2
(From OE-Core rev: b1565222ac6d59af2c395207d82af5cf289d0629)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
e5aef53b1a python3-mako: upgrade 1.3.3 -> 1.3.5
Changelog:
- Reverted the fix for #400 as it caused new issues when traversing
  some bracketed situations.

(From OE-Core rev: 3f840ff8f3ff4b25077e788f94995c9982f667f2)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
673de9f5b2 python3-lxml: upgrade 5.2.1 -> 5.2.2
Changelog:
===========
- The test_feed_parser test could fail if lxml_html_clean was not installed.
- The minimum CPU architecture for the Linux x86 binary wheels was set back to
  "core2", without SSE 4.2.
- If libxml2 uses iconv, the compile time version is available as etree.ICONV_COMPILED_VERSION.

(From OE-Core rev: 322de0498af81fb8cd62be1d517d3269e7ed1f9b)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
e5fc4e7cb9 python3-jsonschema: upgrade 4.21.1 -> 4.22.0
Changelog:
============
- Improve best_match (and thereby error messages from jsonschema.validate) in
  cases where there are multiple sibling errors from applying anyOf / allOf
- (Micro-)optimize equality checks when comparing for JSON Schema equality by
  first checking for object identity, as == would.

(From OE-Core rev: 4143346f3975504895a568569927af9884797231)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
026d372bf8 ninja: upgrade 1.12.0 -> 1.12.1
Changelog:
===========
- Screen updates extremely slow on Windows
- Dry run error if the build directory does not exist
- New critical path scheduler performance improvements

(From OE-Core rev: ac98c4850b8bf3eb6c87fbace1f038a52a6162e9)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
9512264e87 nghttp2: upgrade 1.61.0 -> 1.62.0
Changelog:
 https://github.com/nghttp2/nghttp2/releases/tag/v1.62.0

(From OE-Core rev: 3401e3ce13b9148d00f75331c90ec4555a55545e)

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>
2024-05-28 09:38:24 +01:00
Wang Mingyu
644987f072 msmtp: upgrade 1.8.25 -> 1.8.26
Changelog:
===========
- Add support for SCRAM-SHA-256-PLUS and SCRAM-SHA-1-PLUS authentication, and
  prefer SCRAM methods over the PLAIN method because of their superior
  properties.
- With --read-envelope-from, a Resent-From header is now used if it is present
  and appears before any From header

(From OE-Core rev: 10057cd37f0216f1963474a149e9d3bdd8d99ede)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
84b596c208 mesa: upgrade 24.0.5 -> 24.0.7
Changelog:
 https://docs.mesa3d.org/relnotes/24.0.7.html

(From OE-Core rev: 55d962ff7e3475d2c46e1a76d9efa55e1de6e940)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
9c4eba504f llvm: upgrade 18.1.5 -> 18.1.6
Changelog:
==========
- Fixes issues where LLVM is either generating the incorrect thunk for a
  function with aligned parameters or didn't correctly pass through the
  return value when StructRet was used.
- -Xclang -target-feature -Xclang +unaligned-scalar-mem can be used to enable
  unaligned scalar memory accesses for CPUs that do not support unaligned
  vector accesses. -mno-strict-align will enable unaligned scalar and vector
  memory accesses.
- Don't replace an aliasee with an alias that has weak linkage. This avoids
  incorrect linkage that can lead to using the wrong symbols during linking time.
- This patch fixes build failures when compiling AVX512 code using
  -march=native on machines without AVX512.
- Fixes crash in AArch64 backend when having true or false as operand for a
  fcmp instruction on IR level.
- Fixes compiler crash when user specifies -mno-evex512 with AVX512 features
  but no AVX512VL.
- Fixes a bug that tries to do VBROADCAST_LOAD for f16 without AVX2.

(From OE-Core rev: 3cd5c40f5736506b2cfc23b180fa915b01d8220c)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
5753640959 libxmlb: upgrade 0.3.18 -> 0.3.19
Changelog:
============
- Add xb_version_string() to get the runtime ABI version
- Add the runtime version as the default XMLb invalidation GUID

(From OE-Core rev: 1d304dd55ca9c306346a058f60810828b78aaaba)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
26c28238cc libxml2: upgrade 2.12.6 -> 2.12.7
Changelog:
=========
- Fix buffer overread with 'xmllint --htmlout'
- xmllint: Fix --pedantic option
- save: Handle invalid parent pointers in xhtmlNodeDumpOutput

(From OE-Core rev: 64e16e2ca71a4dcf285f3dc36789077aa3beaf50)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
29f307088c libslirp: upgrade 4.7.0 -> 4.8.0
(From OE-Core rev: c1e109eac0c7fa729ca8751c351306cba5f58564)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
240d3cd7a9 libgpg-error: upgrade 1.48 -> 1.49
Changelog:
============
* Two new functions to improve the logging interface.
* Add a "trunc" keyword to gpgrt_log_printhex.
* Avoid an endless loop in the argparser due to a conf file read error.

(From OE-Core rev: ca95c0731056bf1299e6a0cb293c904da643f887)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
c333aed69f libedit: upgrade 20230828-3.1 -> 20240517-3.1
(From OE-Core rev: 661d9e84e3236870126f9d6a3bc67376b2a1c696)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
368ebc1b3b iw: upgrade 6.7 -> 6.9
(From OE-Core rev: 27261cda1232ef1a84d1b0d8ba52dc9eb578db81)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
ef77c07b6e iproute2: upgrade 6.8.0 -> 6.9.0
(From OE-Core rev: f516215f213d809cf89bc8e2e3b36119a80bee63)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
051e1bd593 gtk+3: upgrade 3.24.41 -> 3.24.42
Changelog:
===========
* GtkFileChooser:
 - Avoid warnings about floating refs
 - Improve performance of recursive search
 - Populate search model in an idle

* GtkGLArea:
 - Fix a regression in transparency handling

* Printing:
 - Avoid accessing freed printers

* Accessibility:
 - Drop support for the deprecated atk_focus_tracker

* Wayland:
 - Fix monitor sizes
 - Fix a crash related to tablet removal
 - Infer resizable edges for tiled windows
 - Always commit soon after acking a configure

* Windows:
 - Avoid committing NULL strings to IME

* gdk:
 - Use css cursor names as far as possible
 - Sync DND cursor use with GTK4

* macOs:
 - Fix cocoa pasteboard constants

* build:
 - Allow building against sysprof-capture-4

* Translation updates:
 Georgian
 Hebrew
 Kabyle
 Persian

(From OE-Core rev: 2f4cdc1ef16f1b86f5632fded21792d71d58de16)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
fb0f9a5a28 ed: upgrade 1.20.1 -> 1.20.2
Changelog:
=============
- main_loop.c (command_s): Fix g/x/s/x/x, which failed to skip the
  final newline, printing lines twice.

(From OE-Core rev: d726710f7b1d707a55777d486bf06b0021f9dcfb)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
66952b26d3 dnf: upgrade 4.19.2 -> 4.20.0
Changelog:
==========
- Prepare man pages for switch to dnf5 as the default package manager
- Do not add user site-packages directory to sys.path
- Remove --duplicates and --oldinstallonly exit with 0 when nothing to remove
- repoquery: Fix loading filelists when -f is used
- Prepare for switch of dnf5 in Rawhide

(From OE-Core rev: 07bd7732e5d4b08f43956dc58d3d457a6707ecdc)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
815b14fc13 dmidecode: upgrade 3.5 -> 3.6
Changelog:
============
- Use -DALIGNMENT_WORKAROUND on arm.
- Read SMBIOS entry point via kenv on DragonFly BSD.
- Support for SMBIOS 3.6.0. This includes new memory device types, new
  processor upgrades, and Loongarch support.
- Support for SMBIOS 3.7.0. This includes new port types, new processor
  upgrades, new slot characteristics and new fields for memory modules.
- Add bash completion.
- Decode HPE OEM records 197, 239 and 245.
- Implement options --list-strings and --list-types.
- Update HPE OEM records 203, 212, 216, 221, 233, 236, 237, 238 and 242.
- Update Redfish support.
- Bug fixes:
  Fix option --from-dump for user root
  Fix enabled slot characteristics not being printed
- Minor improvements:
  Print slot width on its own line
  Use standard strings for slot width

(From OE-Core rev: 8f4a5c380e9c0400e9c8a6a0ea4203358fd3b2e8)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
0753f11241 diffoscope: upgrade 265 -> 267
Changelog:
===========
* Use "xz --list" to supplement the output when comparing .xz archives;
  essential when some underlying metadata differs.
* Actually append the xz --list after the container differences, as it
  simplifies tests and the output.
* Add 7zip to <!nocheck> Build-Depends in debian/control.
* Update copyright years.
* Maintain an in-header boolean state to determine whether to drop
  from-file/to-file lines. This fixes an issue where HTML differences were
  being inadvertendly neglected.
* Include "xz --verbose --verbose" (ie. double --verbose) output, not just
  the single --verbose.
* Only include "xz --list" output if the xz has no other differences.

(From OE-Core rev: 577d2f29c4bbeb182d45331dbe77b15758746d00)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
99ee302777 createrepo-c: upgrade 1.1.0 -> 1.1.1
Changelog:
===========
* Add detection of %posttrans and %pretrans scriptlet from rpm header
* Onboard packit tests
* Build ARM packages for all Python versions
* Fix minor bug w/ new API

(From OE-Core rev: 66c422c2c5c21d32664666bdf50964078e57bd14)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
317913076d btrfs-tools: upgrade 6.8 -> 6.8.1
Changelog:
===========
* mkfs: fix writing on zoned device when block-group-tree is selected
* tune: fix writing on zoned device with option --convert-to-block-group-tree
* check:
   * more progress and error messages
   * unify handling of unknown command line options with other commands
* subvolume delete: remove options --delete-qgroup and --no-delete-qgroup
  (added in 6.6.3), qgroup deletion does not always work due to delayed
  background processing of subvolume or set value in
  sysfs:ggroup/drop_subtree_threshold
* other:
   * misc refactoring
   * error handling fixes reported by gcc -fanalyzer
   * documentation updates
   * new and updated tests

(From OE-Core rev: 8fd6322166d9e7d9e1ba61e18dd0b28db1fb95a7)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
abe4176108 bind: upgrade 9.18.26 -> 9.18.27
Changelog:
=========
* Skip to next RRSIG if signature has expired or is in
  the future rather than failing immediately.
* Implement signature jitter for dnssec-policy.

(From OE-Core rev: ccf45d3cbd06abd48ca2c82a790587457021e6e3)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
1e54869f05 bash-completion: upgrade 2.13.0 -> 2.14.0
Changelog:
=============
* _comp_{compgen,xfunc}:** use 'declare -F --' for arbitrary funcs
* _comp_{load,realcommand}:** handle option-like command name
* available_interfaces:** strip only trailing colon from entries
* bash_completion,conftest:** use 'complete -p --' for arbitrary cmds
* fio:** engines completion
* ip:** Complete link change as well as set
* ip:** Don't stop at proxy and nomaster in neigh
* scp remote_files:** do not filter generated paths with "$cur"
* scp remote_files:** localize variable 'cur'
* ssh-keygen:** handling of bundled short options
* ssh-keygen:** make work with custom IFS
* ssh-keygen:** suggest -O arg completions depending on mode
* use -- to pass arbitrary cmdnames to '_comp_load'
* use 'pathcmd=$(type -P -- "$1")' for arbitrary cmds

(From OE-Core rev: 90b365f307dcb952e744c44e44198142266d2d70)

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>
2024-05-28 09:38:23 +01:00
Wang Mingyu
a639023d64 appstream: upgrade 1.0.2 -> 1.0.3
Changelog:
===========
 * qt: Fix relocation of Config.cmake files
 * cli: check-syscompat: Recognize available required controls as available
 * validator: Guard issue emission functions with G_GNUC_PRINTF
 * validator: Always use secure string formatting for issue emit function
 * utils: Explicitly set format style when installing catalog metadata
 * Suppress static-analyzer drawing wrong conclusions on GCC 14

(From OE-Core rev: be566cf0fecba34f1f792cbf060143be710970ee)

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>
2024-05-28 09:38:23 +01:00
Martin Hundeb?ll
d5123a2564 ofono: upgrade 2.4 -> 2.7
Remove 0001-mbim-add-an-optional-TEMP_FAILURE_RETRY-macro-copy.patch as
TEMP_FAILURE_RETRY usage has been removed in upstream commit 765c6655
("treewide: Use L_TFR macro").

Remove 0002-mbim-Fix-build-with-ell-0.39-by-restoring-unlikely-m.patch
as likely()/unlikely() has been removed in upstream commit dbbbebf9
("mbimmodem: Remove usage of likely and unlikely").

Remove the do_configure:prepend() that purges the bundled ell directory,
as it isn't needed when passing --enable-external-ell in EXTRA_OECONF.

(From OE-Core rev: 9e018a52ab325dd15f129666fcf8a728fc7c7ec0)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Martin Hundeb?ll
ddc22a9a56 ell: upgrade 0.64 -> 0.65
Remove do_configure:prepend() that creates build-aux, as that isn't
needed.

(From OE-Core rev: ada7c35c17866d4f22918dd75c5fd75a2fad2b88)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Igor Opaniuk
024205238e initramfs-framework: support force reboot if fatal error occurs
Add support for force reboot in the case of fatal error. In some cases
it's better to force reboot (especially when hw watchdog is not
engaged) instead of waiting for 3600 seconds, for example in order to
trigger some recovery procedure during next boot procedure
(after unsuccessful OTA update etc).

ALso fix indendation issues in the fatal() function implementation.

(From OE-Core rev: 6990855e91f2d5891e95995f3f4a1c3b5891c619)

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alejandro Hernandez Samaniego
40d1877faf newlib: Use mcmodel=medany for RISCV64
It was previously discovered that mcmodel=medany should be used for RISCV64,
however this was only being set for the applications themselves, but not for
newlib, this meant that we ended up with C library that used a code model and
an application that used another one which is not something we want.

Pass mcmodel=medany when building newlib for RISCV64 as well.

Also, s/CFLAGS/TARGET_CFLAGS to standarize across recipes, the variable
expansion provides no functional difference at this point.

(From OE-Core rev: 3ed0a2fab5dbc37dd352ead8846da6aae5de5c20)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Sundeep KOKKONDA
09b5bafd0d glibc: stable 2.39 branch updates.
Below commits on glibc-2.39 stable branch are updated.
c7c3f5bf80 LoongArch: Fix undefined `__memset_aligned` reference in ld.so linking.
32969a2b36 socket: Add new test for connect
2db79c96ba libsupport: Add xgetpeername
ab4ef4421f x86_64: Fix missing wcsncat function definition without multiarch (x86-64-v4)
97bb89668d Force DT_RPATH for --enable-hardcoded-path-in-tests
71149c2a2e elf: Only process multiple tunable once (BZ 31686)
f8e4623421 Add a test to check for duplicate definitions in the static library
8b005d7869 i686: Fix multiple definitions of __memmove_chk and __memset_chk
8323a83abd i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk
5141d4d83c Revert "i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk"
c16871e662 Revert "i686: Fix multiple definitions of __memmove_chk and __memset_chk"
fa616ea373 Revert "Add a test to check for duplicate definitions in the static library"
ff110b2591 Add a test to check for duplicate definitions in the static library
ad92c483a4 i686: Fix multiple definitions of __memmove_chk and __memset_chk
3148714ab6 i586: Fix multiple definitions of __memcpy_chk and __mempcpy_chk

(From OE-Core rev: b33b29cc6a41ce5ce8c8648bbb6799e323c77b8b)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Sundeep KOKKONDA
e3dfeabee3 binutils: stable 2.42 branch updates.
Below commits on binutils-2.42 stable branch are updated.
6224493e457 Re: PR26978, Inconsistency for strong foo@v1 and weak foo@@v1
d125f967537 hppa: Implement PA 2.0 symbolic relocations for long displacements
884fb5373a1 x86/APX: Remove KEYLOCKER and SHA promotions from EVEX MAP4
d816fda3cbd aarch64: Remove B16B16, SVE2p1 and SME2p1
cb11047e34a Re: Move bfd_init to bfd.c
818bcf40efb print cached error messages using _bfd_error_handler
831be495ef1 aarch64: Fix the 2nd operand in gcsstr and gcssttr instructions.

(From OE-Core rev: 09ffa1dc5311e4d8a6765f50045999e34131ca9f)

Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Ola x Nilsson
02f6d0793a oeqa/selftest/devtool: add test for modifying recipes using go.bbclass
go.bbclass uses a special do_unpack function that causes the git root
to be different from S.  Verify that it unpacks as expected.

[ YOCTO #15483 ]

(From OE-Core rev: fab0c737b95b8d0c0bbf58336bc308776c956406)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Yogita Urade
4a43386905 libarchive: upgrade 3.7.3 -> 3.7.4
Changelog:
=========
   rar: Fix OOB in rar e8 filter
   zip: Fix out of boundary access
   7zip: Limit amount of properties
   bsdtar: Fix error handling around strtol() usages
   passphrase: Improve newline handling on Windows
   passphrase: Never allow empty passwords
   rar: Fix "File CRC Error" when extracting specific rar4 archives
   xar: Avoid infinite link loop
   zip: Update AppleDouble support for directories
   zstd: Implement core detection

(From OE-Core rev: 7aa9d2e94dd05de51384a4f5d05118c2b4308cbd)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Soumya Sambu
2e91950f78 git: upgrade 2.44.0 -> 2.44.1
Addresses the security issues - CVE-2024-32002, CVE-2024-32004,
CVE-2024-32020,CVE-2024-32021 and CVE-2024-32465

Changelog:
==========
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.44.1.txt

(From OE-Core rev: 767f9515013790c9a6b945fae9de03c9e5b89b80)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
13fadb36f6 glib-2.0: remove obsolete 0001-Set-host_machine-correctly-when-building-with-mingw3.patch
This as well has been solved via
https://git.yoctoproject.org/poky/commit/?id=f6a35934540e910794b8729ecc278189a39b710f

(From OE-Core rev: a140f108eca447ea708bad80ece953adb2d6aa78)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Yi Zhao
86a297c631 gnu-efi: upgrade 3.0.17 -> 3.0.18
* Drop backport patches.
* Refresh patches.

(From OE-Core rev: 89088a504052f7b748d12a37372aea5ceeb790da)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Yi Zhao
e0d8072636 libsdl2: upgrade 2.30.2 -> 2.30.3
Changelog:
https://github.com/libsdl-org/SDL/releases/tag/release-2.30.3

This is a stable bugfix release, with the following changes:
 - Fixed Win+V handling (pasting from clipboard history) on Windows
 - Fixed Caps Lock and Backspace key mapping for the Colemak keyboard layout on Windows
 - Fixed mouse warp on XWayland
 - Reduced startup time when scanning for game controllers on Linux
 - Fixed building with C89 compilers
 - Fixed building with the GDK SDK on Windows

(From OE-Core rev: 9411077494934a2baac8872fc17268d49b6f9a45)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Yi Zhao
0e26265e2c dropbear: upgrade 2024.84 -> 2024.85
Changelog:
https://matt.ucc.asn.au/dropbear/CHANGES

This release fixes build regressions in 2024.84:
 - Fix build failure when SHA1 is disabled
 - Fix build failure when DROPBEAR_CLI_PUBKEY_AUTH disabled
 - Update debian/ directory with changed paths

(From OE-Core rev: 62ad8e8217548d7f9aab506a3611ef41f4881cf3)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
2b5b15886b elfutils: remove unneeded 0006-Fix-build-on-aarch64-musl.patch
Verified on qemuarm64/musl (as the patch says).

(From OE-Core rev: b5744391c128afe91aac78bbfedc04cb0ebe342d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
edce7b6ee5 x264: update to latest revision on official git
The mirror was out of date; meanwhile x264 remains in active development.

Drop unsuitable x32 patch and declare x264 incompatible with the target
(by every sign it's an extinct target; if not so please work with upstream
to develop a solution there).

Replace don-t-default-to-cortex-a9-with-neon.patch with a configure
option passing in target compiler options so that configure can make
correct decisions and we don't have to patch it.

(From OE-Core rev: 1018619f1b18f8045ae84d65d16becf3fe21ffe0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
c0c78a4cd1 iptables: correctly enable libnetfilter_conntrack support
This is done via configure option, and makes
0004-configure.ac-only-check-conntrack-when-libnfnetlink-.patch
unnecessary, as both libnetfilter_conntrack and libnfnetlink
are enabled in lockstep.

(From OE-Core rev: 04ffb341864b443544e9f594248c0c785f601a55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
640dafd0c4 iptables: remove unneeded 0002-iptables-xshared.h-add-missing-sys.types.h-include.patch
Somewhere on the way it ceased to be necessary.

(From OE-Core rev: b5a32b5744b4ebb1bdc8937e5ebbc35dced0b1a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
854429b571 iptables: submit 0001-configure-Add-option-to-enable-disable-libnfnetlink.patch upstream
(From OE-Core rev: 67f6c3534a18520f3b7c5eed27dc2744c5bf44c2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
0ed1fc4417 perl: submit the rest of determinism.patch upstream
(From OE-Core rev: 5c00500618fa50eeb5e3e956e1fb5f4af562c1a7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
afe0ae0afc gdb: remove unneeded 0006-resolve-restrict-keyword-conflict.patch
Somewhere on the way the issue solved itself.

(From OE-Core rev: 541e31bcadaf08579109b332ad760d9924bb6ac5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
b09396f08f grub: remove unneeded 0001-Disable-mfpmath-sse-as-well-when-SSE-is-disabled.patch
Verified on qemux86 and qemux86-64 with grub and grub-efi.

(From OE-Core rev: d06ee594e1bbe15b3a45c9efaaddb1e869a69cb3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
e896d87b0f grub: mark grub-module-explicitly-keeps-symbole-.module_license.patch as a workaround
(From OE-Core rev: 6307adb5b0644845f4062c21ac5717eb62a61dd3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
058b6d735b vorbis: mark patch as Inactive-Upstream
(From OE-Core rev: 618bb8994d66d7d24cca2fb6885a510d69406437)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
5b79ba0148 kexec-tools: submit 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch upstream
(From OE-Core rev: d28861326dd8d23914571dc0be8e70899927deea)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
fedcea900e mesa: remove obsolete 0001-meson.build-check-for-all-linux-host_os-combinations.patch
The patch was submitted upstream
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28895
but further investigation revealed that the problem had been solved properly
in meson.class:
https://git.yoctoproject.org/poky/commit/?id=6bf674374d568b2419a4c6eef00d893028878881

(From OE-Core rev: 020345d63f0ffd3ed2b046bbb5e09b5359b24dd6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Ross Burton
21435c2199 fribidi: upgrade 1.0.13 -> 1.0.14
* Updated Unicode tables to version 15.1

(From OE-Core rev: 332276679c9a004158929e03d9263e9ef66816e9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Ross Burton
3547b54783 gdk-pixbuf: upgrade 2.42.11 -> 2.42.12
- Fix a build failure (Christian Heusel)
- Fix occasional build failures (Benjamin Gilbert)
- ani: Reject files with multiple INA or IART chunks (Benjamin Gilbert)
- ani: Reject files with multiple anih chunks (Benjamin Gilbert, CVE-2022-48622)
- ani: validate chunk size (Benjamin Gilbert)
- Translation updates

(From OE-Core rev: c5b202b0aef56ecf7982887c54b4ecbc4bbe73ae)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Ross Burton
9c96fa8b1e python3-hatchling: upgrade 1.24.1 -> 1.24.2
* Add .venv to the list of directories that cannot be traversed
* Output from the core Application utility now writes to stderr

(From OE-Core rev: 52a5247c9da9ff15c5e7e700c3a8e719d0ae763d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Jose Quaresma
65d1e79019 go: upgrade 1.22.2 -> 1.22.3
Upgrade to latest 1.22.x release [1]:

$ git --no-pager log --oneline go1.22.2..go1.22.3
adbfb672ba (tag: go1.22.3) [release-branch.go1.22] go1.22.3
fa0292d252 [release-branch.go1.22] cmd/go: disallow -lto_library in LDFLAGS
947e43e371 [release-branch.go1.22] Revert "cmd/compile: don't combine loads in generated equality functions"
9d2e28501c [release-branch.go1.22] cmd/compile: don't combine loads in generated equality functions
93d8777d24 [release-branch.go1.22] net: check SkipAdditional error result
3f4af1ff0e [release-branch.go1.22] runtime: use bootstrapRand to initialize hashkey
a7ff78d585 [release-branch.go1.22] cmd/compile: bail PGO method lookup on interface types
12c1177045 [release-branch.go1.22] cmd/internal/obj/ppc64: fix incorrect int to int64 conversion when checking MOVD opcodes
d6c972ad41 [release-branch.go1.22] net/http: update bundled golang.org/x/net/http2
a65a2bbd8e [release-branch.go1.22] all: tidy dependency versioning after release

[1] https://github.com/golang/go/compare/go1.22.2...go1.22.3

(From OE-Core rev: 18062def5b65e02d6dc0570734055c100445b6f2)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Philip Lorenz
e51697ef90 package_manager: Share more common DEB / IPK code
Avoid code duplication by making `extract` a shared method (and
retrieving the package manager specific input via an abstract method).
Additionally, follow Python conventions and prefix class internal
methods with "_" to indicate that they shouldn't be called externally.

(From OE-Core rev: c4b126e216dfe8251ec55074be78188fcc3fcea8)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Philip Lorenz
f7e9eb03d2 package_manager: Move OpkgDpkgPM into common module
The OpkgDpkgPM class was introduced to share common functionality
between the Opkg and Debian package manager implementations. However,
for unknown reasons , the refactoring done in
5bc67f5502 duplicated the common class
into the deb and ipk modules. Undo this part of the change by moving the
common base class into a newly created module.

The two variants did not diverge a lot (next to the payload name
generalization, the Debian variant missed
17e2eaed03) and as such no regressions
should be expected.

(From OE-Core rev: c7830c5879f6fa68fa9f47ee59b7bf7f2d276c81)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Philip Lorenz
b2a59134dc ipk: Fix clean up of extracted IPK payload
It turns out that the IPK payload tarball was actually cleaned up in the
concrete package manager implementation (most likely because at some
point Debian and IPK packages used different compression algorithms).

Globbing removes this ambiguity so move the removal of the payload into
the common extract method.

(From OE-Core rev: 1e2b02a54f482159e21902eeb997b21e00e9588e)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Ricardo Simoes
e414b34e5d libusb1: Set CVE_PRODUCT
This commit sets the CVE_PRODUCT variable to "libusb" to match the
product name used in the NIST CPE database [1].

[1]: https://nvd.nist.gov/products/cpe/search

(From OE-Core rev: 1cb4efdb0fd67167005c1d0c5de89559a4ffabdf)

Signed-off-by: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Naveen Saini
ef938f1bd6 gstreamer1.0-plugins-bad: rename onevpl-intel-gpu -> vpl-gpu-rt
Upstream has been renamed to vpl-gpu-rt.

(From OE-Core rev: 54c144e467f34936cbdf6edef78db66460ff2bc5)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
f4663a02e5 selftest/sstatetests: move exception list for cache objects to the parent class
This is useful not just in cdn/local cache tests, but also in the build bundle test,
and so should be applied by default.

(From OE-Core rev: 37f0ba71868ef1907883ab751c82ba222fbc87da)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
c149c74605 selftest/sstatetests: separate sstate presence check into its own class
This allows reusing the check function in tests other than CDN/local mirror
ones, such as sstate bundle testing.

(From OE-Core rev: 8a4ab4c063f307b480d98c6aac1e76cde0b9e99e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:23 +01:00
Alexander Kanavin
11762e4dc3 bblayers/makesetup: move check for existence of git remotes to oe-setup-layers plugin
This helps when making a local copy of all the layers: it's fine to
not have any remotes configured in that case.

Also correct the mistake in accessing 'contains_this_file' property:
it may not necessarily exist, and if so, it should default to False.

(From OE-Core rev: 639df31e57b7f3da2d475cbae9a79d45755dede6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:22 +01:00
Alexander Kanavin
8332fd532f bblayers/makesetup: include local repository paths in discovered layer repo data
This can be useful when the caller needs to know where the repos actually
are on local disk (for example to make a local copy of them or obtain
additional information about them).

This field however should be removed from the json output in oe-setup-layers
plugin, as it is host-specific and not part of the schema.

(From OE-Core rev: ee33ebf6140ad13e401c2cccbb106a22043be356)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:22 +01:00
Alexander Kanavin
f82c933a4b bblayers/makesetup: raise exceptions when errors happen
Otherwise the calling code can only issue a generic, unhelpful
erorr message, and it's difficult to tell what went wrong
if logger.error output is obscured or redirected.

(From OE-Core rev: 155fe6bda2d715aa616fa8db922dbaa11ebb8080)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:22 +01:00
Zoltan Boszormenyi
2490d0c12c cdrtools-native: Fix build with GCC 14
Add a patch to fix do_configure with GCC 14.
Disable building cdda2wav because it doesn't build with GCC 14.

(From OE-Core rev: 0fbe1766abb00edeb8ec9a0c8bdb4e723be4f352)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-28 09:38:22 +01:00
Ninette Adhikari
f66f8fa9f6 oe-build-perf-report: Add commit hash link to chart tooltip
Update tooltip to include the commit hash link to the poky repository

(From OE-Core rev: 1187a460c2608369df8de08fe52a5542e4ab6ecd)

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-24 16:59:31 +01:00
Joshua Watt
5f602c1bd5 bitbake: bitbake-hashclient: Improve stress statistics reporting
Improves the way statistics are reported for the stress test. This makes
it easier to compare them to the ping test

(Bitbake rev: ce166ae25793c11b0a190c531bef0c296fd74497)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:27:08 +01:00
Joshua Watt
76421d5742 bitbake: bitbake-hashclient: Add ping command
Adds a ping subcommand to bitbake-hashclient which can be useful to
measure connection latency

(Bitbake rev: 337487fdffae92091fc33b2346d46c39db5a130f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:27:08 +01:00
Richard Purdie
7812f104db bitbake: fetch/npmsw: The fetcher shouldn't have any knowledge of S
I don't know why there is hardcoded knowledge of S in the fetcher but there
shouldn't be and the OE unpack changes highlight this doing things it
shouldn't.

Drop the S reference and use rootdir which is the only place it should
be touching.

(Bitbake rev: 84f102954e10a3390fca9c26d5c3c639e952a2c9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:27:08 +01:00
Richard Purdie
d7748e6390 useradd-example: Fix S = WORKDIR reference
Update not to use S = WORKDIR after that was no longer allowed.

(From OE-Core rev: 50f78cb9de68cd4317f34321dfdb06d72ce5d3c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Guðni Már Gilbert
dfa482f199 python3-requests: cleanup RDEPENDS
Drop the following dependencies from RDEPENDS:
- python3-ndg-httpsclient
- python3-pyasn1
- python3-pyopenssl

Add a missing dependency into RDEPENDS:
- python3-certifi

Additional fix HOMEPAGE, the old link doesn't work

(From OE-Core rev: 44183892cdfeb8d0231b90bd6990dabe77da7473)

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Yi Zhao
4125ad9a2d libcap-ng-python: upgrade 0.8.4 -> 0.8.5
Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

(From OE-Core rev: 98151fbd4864fb5c6728b7faed0ad83723f962ef)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Yi Zhao
f96001fd4f libcap-ng: upgrade 0.8.4 -> 0.8.5
Changelog:
https://people.redhat.com/sgrubb/libcap-ng/ChangeLog

 - Remove python global exception handler since it's deprecated
 - Make the utilities link against just built libraries
 - Remove unused macro in cap-ng.h

Drop backport patch fix-issues-with-swig-4-2.patch.
Backport a patch to fix build for libcap-ng-python.

(From OE-Core rev: 0263fd8193e51e54a4598ea3811c3c0a6e781f85)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Khem Raj
a1d4f0b105 openssl: Fix build on riscv
GCC-14 unearths this bug which is already fixed upstream so backport it

(From OE-Core rev: 0d5c61a1f5099639acf58b33288f466ce47847b5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Thomas Perrot
c7e81b8067 maintainers.inc: maintainer for opensbi
(From OE-Core rev: 3f5ed2e76f8fdf8c5aa35601f45b215820f79c5a)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Changqing Li
e2a2a6432f ptest-runner: Bump to 2.4.4 (95f528c)
Changes in 2.4.4:
95f528c utils.c: run_ptests improve error handling on ptests iteration
c48e5fc utils.c: run-ptests improve pseudo-terminal handling

(From OE-Core rev: 48b30dc6237c952020d70976199d7f87545b6189)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Tim Orling
b31f7fd4ae python3-cryptography: upgrade 42.0.5 -> 42.0.7
Also upgrade python3-cryptography-vectors
Refresh python3-cryptography-crates.inc

42.0.7 - 2024-05-06
Restored Windows 7 compatibility for our pre-built wheels. Note that we
do not test on Windows 7 and wheels for our next release will not support
it. Microsoft no longer provides support for Windows 7 and users are
encouraged to upgrade.

42.0.6 - 2024-05-04
Fixed compilation when using LibreSSL 3.9.1.

https://cryptography.io/en/latest/changelog/#v42-0-7
https://cryptography.io/en/latest/changelog/#v42-0-6
https://github.com/pyca/cryptography/compare/42.0.5...42.0.7

(From OE-Core rev: e4b16965cea57f72554c2e71ec07091afeeec9d8)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
d80224d83b maintainers.inc: transfer some python recipes to tgamblin
Change maintainer for the following recipes to tgamblin:

python3-hypothesis
python3-pygments
python3-pytest
python3-referencing
python3-pyproject-metadata
python3-setuptools-scm
python3-sphinx

(From OE-Core rev: 3eb971975a369a1b46070e4d063c0c8cfc0d3885)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
90e97c5442 python3-trove-classifiers: upgrade 2024.4.10 -> 2024.5.17
PYPI_PACKAGE is added since the upstream now uses an underscore in the
package name.

Changelog (https://github.com/pypa/trove-classifiers/releases):

- Add Trove classifier for Python 3.14 (#178)

(From OE-Core rev: bc27e247cf169cb3f91b953f4741f6af3fc25499)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
2cd0e0b17c python3-sphinx: upgrade 7.2.6 -> 7.3.7
License-Update: Update copyright year, add .rst extension

There are many changes brought in by this uprev, in particular with the
major release 7.3.0, which contains many bugfixes and new features. Changelog:
https://www.sphinx-doc.org/en/master/changes.html#release-7-3-7-released-apr-19-2024

(From OE-Core rev: f864348e57bfc47b92f80ab7eba977d126f52d66)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
7a1be7ee51 python3-setuptools-scm: upgrade 8.0.4 -> 8.1.0
PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog: https://github.com/pypa/setuptools_scm/releases/tag/v8.1.0

(From OE-Core rev: fa1cd6b172233615a6346b6fa777cfb141a4962b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
94597191f3 python3-pyproject-metadata: upgrade 0.7.1 -> 0.8.0
PYPI_PACKAGE is updated since the upstream now uses an underscore in the
package name.

Changelog (https://pep621.readthedocs.io/en/stable/changelog.html#id1):

  - Support specifying the metadata_version as 2.1, 2.2, or 2.3
  - Always normalize extras following PEP 685
  - Preserve the user-specified name style in the metadata. .canonical_name added to get the normalized name
  - Require “version” in the dynamic table if unset (following PEP 621)
  - Support extras using markers containing “or”
  - Support empty extras
  - Using .as_rfc822() no longer modifies the metadata object
  - Fix email-author listing for names containing commas
  - Separate core metadata keywords with commas, following the (modified) spec
  - An error message reported project.license instead of project.readme
  - Produce slightly cleaner tracebacks Fix a typo in an exception message
  - Subclasses now type check correctly
  - The build backend is now flit-core

(From OE-Core rev: 1379db3fd060a0407919fde680922045443913e0)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
7b7ffde50d python3-requests: upgrade 2.31.0 -> 2.32.1
Also transition to using python_setuptools_build_meta.

Changelog: https://requests.readthedocs.io/en/latest/community/updates/#release-history

(From OE-Core rev: 5c64da0ac62e780d0525c1a373aed706496a9a19)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
d6c11c404b python3-referencing: upgrade 0.34.0 -> 0.35.1
Changelog: https://referencing.readthedocs.io/en/stable/changes/#v0-35-1

- Ensure that Registry.contents() also raises NoSuchResource exceptions
  for nonexistent resources, not KeyError (which is an implementation
  detail).

(From OE-Core rev: 476216e965dd5aa848183cff597dbd40490efbcf)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
b63b86e140 python3-pytest: upgrade 8.2.0 -> 8.2.1
Changelog: https://docs.pytest.org/en/stable/changelog.html#pytest-8-2-1-2024-05-19

- Improvements
    #12334: Support for Python 3.13 (beta1 at the time of writing).
- Bug Fixes
    #12120: Fix PermissionError crashes arising from directories which are not
            selected on the command-line.
    #12191: Keyboard interrupts and system exits are now properly handled during
            the test collection.
    #12300: Fixed handling of ‘Function not implemented’ error under squashfuse_ll,
            which is a different way to say that the mountpoint is read-only.
    #12308: Fix a regression in pytest 8.2.0 where the permissions of
            automatically-created .pytest_cache directories became rwx------ instead
	    of the expected rwxr-xr-x.
- Trivial/Internal Changes
    #12333: pytest releases are now attested using the recent Artifact Attestation
	    <https://github.blog/2024-05-02-introducing-artifact-attestations-now-in-public-beta/>
	    support from GitHub, allowing users to verify the provenance of pytest’s
	    sdist and wheel artifacts.

(From OE-Core rev: c30dceacaa4c502bf52885e37ef049dc8839f211)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
07d6e23e0d python3-pygments: upgrade 2.17.2 -> 2.18.0
2.18.0 offers new/updated lexers and various other improvements.
Changelog:

https://pygments.org/docs/changelog/

(From OE-Core rev: 58ce774d6899e3bd7f3f67c81830caca7f596d70)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Trevor Gamblin
a6dcd48922 python3-hypothesis: upgrade 6.100.1 -> 6.102.4
Changelog: https://hypothesis.readthedocs.io/en/latest/changes.html

(From OE-Core rev: 4f7e18dca8dacd5cfa206b01bb27f27bada3806c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Richard Purdie
bde5c8d7bc base/insane: Move S/B checks to more logical place in insane class
(From OE-Core rev: f8f3315d58f9ec7824961d1f6f96d39c449b9578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Richard Purdie
29d6993b14 base/bitbake.conf: Move S/B to PSEUDO_IGNORE_PATHS unconditionally
Now S and B can't be set to WORKDIR, add to PSEUDO_IGNORE_PATHS unconditionally
and simplify the code.

(From OE-Core rev: 26cd2d56261827ad8d07e2145e95f82422accac2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Richard Purdie
5ef61d10d3 insane: Add error for B = WORKDIR
This was never a good idea and would have mostly happened from S = WORKDIR
however explictly disallow it and error if anyone tries.

(From OE-Core rev: e3c2c1fac904bb518d85e10a2ac0177c81cbf7e8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Richard Purdie
7033add161 usbinit: Drop recipe
This recipe is poorly named, it is a gadget ethernet driver. Gadget ethernet
is of questionable use now and usbinit isn't referenced/used anywhere within
OE-Core. Drop it.

(From OE-Core rev: 1ffd62b6198ba7967793f7fa3d5a31380c3d5d96)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-23 11:26:39 +01:00
Richard Purdie
c174208db9 insane: Error for S == WORKDIR
Where a recipe uses WORKDIR as S, exit with a fatal error since the
code is no longer safe for this layout.

(From OE-Core rev: 32cba1cc916ad530c5e6630a927e74ca6f06289b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 22:26:30 +01:00
Richard Purdie
569f8e09f0 recipetool/devtool: Update to work correctly with UNPACKDIR
Tweak recipetool and devtool to correctly use UNPACKDIR. This allows some
simplification of the code. This patch makes things basically work but there
are likely deeper improvements that can be made now that WORKDIR != UNPACKDIR.

(From OE-Core rev: d2eeaa88b27a2875c419591d1d91bcc85d7b129c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 22:26:30 +01:00
Richard Purdie
d24a7d0fb1 base: Switch UNPACKDIR to a subdir of WORKDIR
Change do_unpack to unpack files to a subdirectory of WORKDIR instead of WORKDIR
itself. There are several good reasons for this but it is mainly about being able
to isolate the output of the unpack task and tell the files apart from other things
which are created in workdir (logs, sysroots, temp dirs and more).

This means that when the do_unpack task reruns, we can clean UNPACKDIR and know
we have a standard point to start builds from.

It also makes code in tools like devtool and recipetool easier.

To reduce the impact to users, if a subdirectory under UNPACKDIR matches
the first subdirectory under WORKDIR of S, that directory is moved into position
inside WORKDIR. This preserves the behaviour of S = "${WORKDIR}/git",
S = "${WORKDIR}/${BPN}" and other commonly used source directory setups.

The directory is moved since sadly many autotools based projects can't cope with
symlinks in their paths.

The patch also updates reproducible and SOURCE_DATE_EPOCH handling to
match the new potential source locations. We can get rid of the horrible
list of hardcoded directories in WORKDIR to ignore from that code.

(From OE-Core rev: b84eec5c4cbf4b39d6712800dd0d2fe5337721cb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 22:26:29 +01:00
Martin Jansa
94168037a1 cdrtools-native: fix build with gcc-14
Fixes:
http://errors.yoctoproject.org/Errors/Details/770525/
| checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works... no
| configure: error: installation or configuration problem: C compiler cannot create executables.
| RULES/rules.cnf:70: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf: No such file or directory
| make: *** [RULES/rules.cnf:59: incs/amd-ryzen-threadripper-3970x-32-core-processor-linux-cc/rules.cnf] Error 1
| make: *** Waiting for unfinished jobs....

where config.log show it's caused by gcc-14:

configure:1189: checking whether the C compiler (gcc  -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe ) works
configure:1211: gcc  -o conftest -isystem/OE/build/oe-core/tmp-glibc/work/x86_64-linux/cdrtools-native/3.01/recipe-sysroot-native/usr/include -O2 -pipe  -D_GNU_SOURCE  conftest.c   1>&5
configure:1208:1: error: return type defaults to 'int' [-Wimplicit-int]
configure: failed program was:

main(){return(0);}

(From OE-Core rev: 094273bd7d1768e14fbdcd2f239bee14c630a625)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Michael Halstead
b77236fdeb yocto-uninative: Update to 4.5 for gcc 14
(From OE-Core rev: f5638681cef7e250ac64832dbe791418d97f05ba)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Ross Burton
3d2ade560b gawk: fix readline detection
The code fragment used to detect readline in cross builds doesn't compile
cleanly with GCC 14.1, so readline is never enabled.

Add missing includes so the test works, and readline can be enabled.

(From OE-Core rev: a6e7c3ce700b82c57f1102187fea6b387339eca3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Ross Burton
73da265381 curl: skip FTP tests in run-ptest
It looks like something related to FTP in curl, be it the protocol itself
or the harness, is unstable under load.  We've been seeing random failures
in automated QA, and Debian does too.

Until this issue is resolved, disable all of the FTP tests on the hope
that this is the underlying common factor.

(From OE-Core rev: 28035987fad5a673e35b346e043e66d04f64ef5d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
3bc1f08392 vulkan-volk: upgrade to 1.3.283.0
https://github.com/zeux/volk/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 3c047d9c78bc25d491eb7683cfd84291e96282fe)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
fece04c86a vulkan-utility-libraries: upgrade to 1.3.283.0
https://github.com/KhronosGroup/Vulkan-Utility-Libraries/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 1478fc03f302e650aa5363710fd209b8e6f61c07)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
08725c5ca9 vulkan-validation-layers: upgrade to 1.3.283.0
branch=vulkan-sdk-1.3.283

https://github.com/KhronosGroup/Vulkan-ValidationLayers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 6fe89df4cbc0dd23e1b412c93a59d3e2c50d45bb)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
bd1f761d20 spirv-tools: upgrade to 1.3.283.0
https://github.com/KhronosGroup/SPIRV-Tools/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 7fc9e8bd171a2208f20de9ba31cfa05bc2b29761)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
3f45ab67bd spirv-headers: upgrade to 1.3.283.0
https://github.com/KhronosGroup/SPIRV-Headers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 2f76b544f0679d95a1a1f4b8870a82bbd185746e)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
92be871fa9 vulkan-tools: upgrade to 1.3.283.0
https://github.com/KhronosGroup/Vulkan-Tools/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

[RP: fix branch]
(From OE-Core rev: 8e697a8fd9272420d2975b6e923a52fb0584c251)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
58396952e3 vulkan-loader: upgrade to 1.3.283.0
https://github.com/KhronosGroup/Vulkan-Loader/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

[RP: fix branch]
(From OE-Core rev: c5af929b0f6df24b3dde1ee9159e0ab630727173)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
e17a2151e1 vulkan-headers: upgrade to 1.3.283.0
https://github.com/KhronosGroup/Vulkan-Headers/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283

(From OE-Core rev: 36bdffee982b94c7f6b437e65ee504dfe7017a74)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Tim Orling
48f0e1c321 glslang: upgrade to 1.3.283.0
https://github.com/KhronosGroup/glslang/compare/vulkan-sdk-1.3.280.0...vulkan-sdk-1.3.283.0

(From OE-Core rev: d20f96e6026b7851439a52e25f2837c40ced5863)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:27 +01:00
Ross Burton
e1fa32477d toolchain-scripts: export the target endianism and word size
Some build systems (notably, Meson) like to be told when cross-compiling
what the target endian and word size is.  We don't have these exported
via the variables, so add them using siteinfo as a source of data.

(From OE-Core rev: c2fee816cae6dbedcb40f15be4a1b9ee91757a64)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Ross Burton
b53b198840 meson: don't use deprecated pkgconfig variable
As with a previous change to the class[1], the "pkgconfig" entry is now
deprecated and "pkg-config" should be used instead.

[1] oe-core d64b307891422e290bbe821d4303b3af526bbe17

(From OE-Core rev: 3e441544f1aa7258718a1cadd6836d9cd9dc65ab)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Ross Burton
d2e7656f4f oeqa/sdk: remove unused imports from test cases
Remove redundant imports.

(From OE-Core rev: b6223259458578d8b967aff11d3263dfed496708)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Ross Burton
fd2714953d oeqa/sdk: rename test cases
Instead of having a test called eg "assimp", rename it to "cmake" as the
point of the test is to verify that CMake works.  This should make it
clearer what the tests are actually exercising.

(From OE-Core rev: ccf7fdc0e5b6df218b319f972cd5ba142c06c243)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Felix Nilsson
4b62fa0f52 base-files: profile: fix error sh: 1: unknown operand
Handle errors when SHLVL isn't set.

(From OE-Core rev: 5df53fcfe3b70a5312fced3fcc1ba6290f2ee794)

Signed-off-by: Felix Nilsson <felixn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Chen Qi
857f34eb49 cups: upgrade from 2.4.7 to 2.4.8
(From OE-Core rev: ce1319344cc64b2ffcccba27423e61c93a3c6a36)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Chen Qi
bdf0866eef shadow: upgrade from 4.15.0 to 4.15.1
0001-lib-copydir-copy_entry-use-temporary-stat-buffer.patch is dropped
as it has been merged and is in this new release.

(From OE-Core rev: 921b010e6e4b3a61779d8c10eb38966560f665f5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Chen Qi
060bc9d4d4 pciutils: upgrade from 3.11.1 to 3.12.0
configure.patch is rebased against the new version.

(From OE-Core rev: 88ab0efeda625892f393576fbcc87e9b517103f5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Chen Qi
679387aedf systemd/systemd-boot: upgrade from 255.4 to 255.6
musl patches are refreshed to avoid 'patch-fuzz' error.

(From OE-Core rev: 6bc5e3f3cd882c81c972dbd27aacc1ce00e5e59a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Alejandro Hernandez Samaniego
775530999a tclibc-newlib: update security cflags override
It appears that it is no longer necessary to disable security cflags for
newlib targets, with the exception of RISCV architectures where the linker
does not support PIE

(From OE-Core rev: 94a3459c77ad48caab42ca816d984fe467042ce3)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Anuj Mittal
4f8c553cdb glib-2.0: upgrade 2.80.0 -> 2.80.2
(From OE-Core rev: edd83b608c2e86b3c0e7d2ce864786efeb1d0540)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Anuj Mittal
78220bd161 stress-ng: upgrade 0.17.07 -> 0.17.08
(From OE-Core rev: 88c553c0d2d646a3bfc6a5ffd3fb32bd66f3d319)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Anuj Mittal
d283021fbf harfbuzz: upgrade 8.4.0 -> 8.5.0
(From OE-Core rev: 6bebbf2ac30b7f6fb6bb540eaf183ecc81cc86b7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Alexander Kanavin
8240d506fc rust: correctly link rust-snapshot into build/stage0
This does not seem to be used in regular builds, but is beneficial
in rust selftest, where it allows dropping a custom patch
that is unsuitable for upstream (and was rejected by them).

Also remove an obsolete comment that seems related to the code
but describes something that was resolved long time ago.

I have confirmed that the rust selftest continues to pass with just
this one commit on top of master (as the following changes do break
the selftest).

(From OE-Core rev: bf5732e2b235ce06fa1f24fe8f0dbcbc068500e3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Peter Marko
95e812313f ncurses: Upgrade 6.4 -> 6.5
Removed 4 backported patched included in this release.
Updated patches by devtool.

License-Update: copyright years refreshed

(From OE-Core rev: e9962f7033f717591a168e694311523c82c67608)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Peter Marko
d803a25c82 ncurses: switch to new mirror
github.com/mirror/ncurses is not updated for over a year.
Switch to new mirror from Thomas Dickey (ncurses maintainer).

Sources are identical.

Updated upstream check regex by:
* changed dot to underscore as this repo is tagged like this
* added v prefix to not propose updates to some old tags
* removed third part to not propose updates to development snapshots

(From OE-Core rev: ea801be31d051b558fde52f7d6dccf2cd416afb9)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Peter Marko
962d8eebb7 openssl: patch CVE-2024-4603
Advisory: https://github.com/advisories/GHSA-85xr-ghj6-6m46

(From OE-Core rev: f136006676750ac653cd7804396614210d1e5120)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-22 10:21:26 +01:00
Michael Opdenacker
fa9689923f bitbake: prserv: add bitbake selftests
Run them with "bitbake-selftest prserv.tests"

(Bitbake rev: 34287fbf3d6be813aa5b767f540e4662f0d8d18d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
ae0725577d bitbake: prserv: import simplification
Simplify the importone() hook:
- to make it independent from the "history" mode which is
  client specific.
- remove the "history" parameter
- we want all values to be imported for binary
  reproducibility purposes.
- using the store_value() function (which warrants
  you don't save the same value twice and doesn't write
  when you're using a read-only server) is enough.

(Bitbake rev: 000704a53470ab1ead840403b5531f22ebf1fd49)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
3be2201de5 bitbake: prserv: store_value() improvements
Add a test_checksum_value() to test whether
a (version, pkgarch, checksum, value) entry already
exists in the database.

This is used to protect the store_value() function from
an error when trying to store a duplicate entry in the database.

Also check whether the current database is open in read-only mode.

(Bitbake rev: b7f6c085a7cf8ac83695242a0299e2d5f7abc69a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
0d6dd343de bitbake: prserv: avoid possible race condition in database code
Remove a possible race condition by allowing a read-only
server to create the PR table anyway. This avoids a failure
if both a read-only and read-write server try to access
an empty database at the same time.

(Bitbake rev: b171caec5ebbe579bf4b8b2005930240ae5c8ce2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Joshua Watt <jpewhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
65757c9e20 bitbake: prserv: enable database sharing
sqlite3 can allow multiple processes to access the database
simultaneously, but it must be opened correctly. The key change is that
the database is no longer opened in "exclusive" mode (defaulting to
shared mode). In addition, the journal is set to "WAL" mode, as this is
the most efficient for dealing with simultaneous access between
different processes. In order to keep the database performance,
synchronous mode is set to "off". The WAL journal will protect against
incomplete transactions in any given client, however the database will
not be protected against unexpected power loss from the OS (which is a
fine trade off for performance, and also the same as the previous
implementation).

The use of a database cursor enabled to remove the _execute() wrapper.
The cursor automatically makes sure that the query happens in an atomic
transaction and commits when finished.

This also removes the need for a "dirty" flag for the database and
for explicit database syncing, which simplifies the code.

(Bitbake rev: 385833243c495dc68ec26a963136c1ced3f272d0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
4cbce9cdf7 bitbake: prserv: add "upstream" server support
Introduce a PRSERVER_UPSTREAM variable that makes the
local PR server connect to an "upstream" one.

This makes it possible to implement local fixes to an
upstream package (revision "x", in a way that gives the local
update priority (revision "x.y").

Update the calculation of the new revisions to support the
case when prior revisions are not integers, but have
an "x.y..." format."

Set the comments in the handle_get_pr() function in serv.py
for details about the calculation of the local revision.

This is done by going on supporting the "history" mode that
wasn't used so far (revisions can return to a previous historical value),
in addition to the default "no history" mode (revisions can never decrease).

Rather than storing the history mode in the database table
itself (i.e. "PRMAIN_hist" and "PRMAIN_nohist"), the history mode
is now passed through the client requests. As a consequence, the
table name is now "PRMAIN", which is incompatible with what
was generated before, but avoids confusion if we kept the "PRMAIN_nohist"
name for both "history" and "no history" modes.

Update the server version to "2.0.0".

(Bitbake rev: 48857ec3e075791bd73d92747c609a0a4fda0e0c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
5f99010e41 bitbake: prserv: move code from __init__ to bitbake-prserv
This script was the only user of this code.

(Bitbake rev: 19a5595e3f70d61fd6fa414f9fd5b413a02de37b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Michael Opdenacker
48d38aef22 bitbake: prserv: declare "max_package_pr" client hook
Add missing declaration for the max_package_pr client hook

(Bitbake rev: 0d4443359ec38ff98b7fbae0b0948d14f74523ce)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Tim Orling <ticotimo@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:23:43 +01:00
Antonin Godard
1aa8276c64 bitbake: tests.codeparser: add tests for shell expansions
Tests quotes around `` and $() expansions, nested and multiple
expansions, and that escaped quotes are treated as characters by the
parser.

(Bitbake rev: d98130cb4d500c495bc692c56dde3e019f36320a)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:14:41 +01:00
Antonin Godard
dd98d156ca bitbake: codeparser: remove redundant list conversion
(Bitbake rev: 89712949de9476e4674864a8dcd6862fefe92eae)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:14:41 +01:00
Antonin Godard
03742d7cb3 bitbake: codeparser: support shell substitutions in quotes
The current shell substitution mechanism only works without quotes. For
example:

  var1=$(cmd1 ...)

Will work and add `cmd1` to the correspondind `run.do_*` file.

However, although quite common, this syntax is not supported:

  var1="$(cmd1 ...)"

This commit adds this feature by adding a step to process_words() to
check whether we are dealing with quotes first, and by iterating on
what's between them to detect new shell substitution candidates. These
candidates are tested and parsed like before in the next step. The
original `part` being part of the candidates means the syntax
var1=$(cmd1 ...) is still valid.

(Bitbake rev: f56e1a37b2ba1773ed308043d7eb073cc2e6c06e)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 14:14:41 +01:00
Ross Burton
98471a91e8 genericarm64: depend on u-boot in testimage
genericarm64 supports runqemu, so testimage should work. However, out of
the box it does not:

runqemu - ERROR - BIOS .../tmp/deploy/images/genericarm64/u-boot.bin not found

That is because we make the user explicitly build the qemu-targetting u-boot
to avoid the confusing situation where they have real hardware but the
deploy directory contains a u-boot for qemu.

In automated testing situations, however, we can be a bit more helpful
and make testimage depend on u-boot. This will lead to u-boot binaries
being in deploy, but at this point the user is already running the images
inside a qemu.

Reported-by: James McGregor <James.McGregor2@arm.com>
(From meta-yocto rev: 90b45c62d34396a20078b55d7d36f66b4e2177f7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:09:05 +01:00
Richard Purdie
62c5172036 tiny-init: Stop using S == WORKDIR
(From meta-yocto rev: 48fbd32e201667de886b9d5c14807d3958152482)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:09:05 +01:00
Emil Kronborg
2f3dafe8aa gtk+3: add gtk+ to CVE_PRODUCT
While the plus in GTK+ was dropped in GTK4 and onwards [1], it is still
necessary for GTK3. This is also reflected upstream where two versions
exist: http://ftp.gnome.org/pub/gnome/sources/gtk+ and
http://ftp.gnome.org/pub/gnome/sources/gtk.

[1]: https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html

(From OE-Core rev: 378e1f415855feabe88b168e14f8d367f388e4bc)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:05 +01:00
Rasmus Villemoes
5d535e9e27 git: set --with-gitconfig=/etc/gitconfig for -native builds
Commit 6c2ae2346db0 (kern-tools: depend on git-replacement-native)
broke our kernel builds. For saving space and time, we have a DL_DIR
shared between multiple users/buildbots, not all of which run with the
same uid (and with appropriate sticky bits set so that files
downloaded by one user become owned by a common group and are readable
by others). This works fine also for git sources because the docker
images we use all have a /etc/gitconfig with

  [safe]
    directory = *

But with the mentioned commit, the host's git is no longer used for
do_unpack (nor for do_fetch if re-building and sysroot has already
been populated by a previous build), causing spurious "fatal: detected
dubious ownership..." failures.

Currently, the path where the git-native binary searches for system
gitconfig is the sysroot from it was built, which obviously doesn't
contain a /etc/gitconfig. As for the nativesdk variant, respect the
host's /etc/gitconfig if present.

(From OE-Core rev: 572f511f7ff02fb559ac42d2d5dbd09fec478d97)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:05 +01:00
Richard Purdie
2b56108d0d gcc-runtime: libgomp fix for gcc 14 warnings with mandb selftest
ERROR: gcc-runtime-14.1.0-r0 do_package: QA Issue: gcc-runtime: Files/directories were installed but not shipped in any package:
  /usr/share/info
  /usr/share/info/libgomp.info-2
  /usr/share/info/libgomp.info-1

(From OE-Core rev: 4f73ddd6c276dcd579d2113db1974d446dbf7751)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:05 +01:00
Richard Purdie
41eb98ac61 oeqa/sdk/assimp: Upgrade and fix for gcc 14
To enable this test to work with gcc 14, pass the option to make
warnings non-fatal. Also upgrade to version 5.4.1 from 5.3.1.

(From OE-Core rev: c3df6287ae26dc9d7f11eb7e26fdbcaefe4dfead)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:05 +01:00
Ross Burton
4eac8c0c0e oeqa/sdkext/devtool: replace use of librdfa
librdfa hasn't had a commit for a decade now and as such has problems
with modern compilers (specifically gcc 14.1).  Switch the recipe
creation test to something much simpler that we also control: dbus-wait.

(From OE-Core rev: d801de1f702d8d0def55011b5b6ad39d85f978f1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Khem Raj
d21c857d5b gcc: Upgrade to GCC 14.1 release
This is major release upgrade. major changes are listed in [1]
and it has a list of bugs [2] fixed as well

This release may differ in significant ways from prior gcc releases
where it may require port the code to gcc 14, there is a porting guide [3]
available.

[1] https://gcc.gnu.org/gcc-14/changes.html
[2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=14.0
[3] https://gcc.gnu.org/gcc-14/porting_to.html

(From OE-Core rev: fc48aa30e91ffe94f1012fe108fb1db5233a0bc0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Bruce Ashfield
0bd4acbdd4 systemd: fix build against 6.9 libc-headers
When building against the 6.9 linux-libc-headrs the following build
issue was hit:

  | Program check-filesystems.sh found: YES (build/tmp/work/cortexa57-poky-linux/systemd/255.4/git/src/basic/check-filesystems.sh)
  |
  | ../git/src/basic/meson.build:238:8: ERROR: Problem encountered: Unknown filesystems defined in kernel headers:
  |
  | Filesystem found in kernel header but not in filesystems-gperf.gperf: PID_FS_MAGIC

Upstream already has this fixed, so we backport the commit.

(From OE-Core rev: 5a8a116b270d26ce50429aa32f2883a9d2fd1206)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
1cd1698fbe linux-yocto: Avoid QA check
The kernel has special handling of ${S} and it is therefore expected to be empty
at do_unpack time. For now, ignore this QA check until the kernel unpack process
can be more standardised.

(From OE-Core rev: f2f3f965d6d5fc19b357891e8c55473782124662)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
8e071ad43f go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX
The go class has its own fork of the base unpack code. At the time I was
told this was fine, it now isn't as that code is changing.

Rather than have a fork, put the path magic into a variable and then go
recipes can just set SRC_URI appropriately, e.g.:

git://go.googlesource.com/example;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}

This avoids having special case hacks in the class and makes everything
a little more obvious.

(From OE-Core rev: cc4ec43a2b657fb4c58429ab14f1edc2473c1327)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
510daf16bc build-appliance-image: Remove warning about S not existing
Disable the qe checks the cause a warning about S not existing as this
recipe is special case where that doens't matter.

(From OE-Core rev: 99db8d07c74e1580242add9fd9b6f77f1b893b27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
a5cea4c0b4 recipes: Ensure S is set to a valid directory
Several recipes have S pointing at a directory that does not exist.
Set S in these cases to somethig valid making the metadata and
recipe behaviour more consistent.

Tweak one of the QA test diff offsets to match the changed recipe.

(From OE-Core rev: 22f1f5849a9a3bf287dbe8933546e52e39ddc86e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
992a5dd04c systemd-conf: Convert to use a dedicated UNPACKDIR
Avoid:

WARNING: systemd-conf-1_1.0-r0 do_unpack: systemd-conf: the directory ${WORKDIR}/${BP}
(tmp/work/genericarm64-poky-linux/systemd-conf/1.0/systemd-conf-1.0) pointed to by
the S variable doesn't exist - please set S within the recipe to point to where the
source has been unpacked to

by using a dedicated unpack directory for sources.

(From OE-Core rev: 7804eb02bccc5f7f9f84f41ce782bfcfd94bfcc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
6d77296d83 devtool: Drop oe-local-files and simplify
The only real reason for oe-local-files was to support S = WORKDIR. With changes to
drop support for that, it makes sense to simplify devtool and to try and make both
the code and the processes/workflows simpler.

This patch drops support for S = WORKDIR, removes oe-local-files and then updates
the test cases to match this new situation.

At the code level, we assume we can always now track code changes using git and
that things committed into git are handled as patches (as before) but delta against
HEAD is saved as specific file level changes to the recipe.

One test is disabled as it is no longer approproate. It is being keped until we can
make WORKDIR != UNPACKDIR at which point it should be revisited.

(From OE-Core rev: ce8190c519052fed10b5233697b69a75868db45a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
d6ae8d2004 recipes: Switch away from S = WORKDIR
Where recipes use S = ${WORKDIR}, change them to set UNPACKDIR to
a subdir of WORKDIR and make S point at this instead.

I've chosen not to force S into any standard UNPACKDIR we may pick in
future just so the S = UNPACKDIR case is clearly visible by the
directory naming under WORKDIR as that should aid usability.

(From OE-Core rev: d9328e3b0b062f0621de3d114584b44f384a1c02)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
71c6db8e65 recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do
so in preparation for changing the default value of UNPACKDIR.

(From OE-Core rev: 1f18b9a512800860d5153d89eb82b56388efad6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
c6c1ed6ba0 dwarfsrcfiles: Switch to S = UNPACKDIR
Since the recipe uses a single source file, use UNPACKDIR = ${S}.

(From OE-Core rev: e302088dc08b230fe841a3447348f4dd7eff964d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-21 12:08:04 +01:00
Richard Purdie
4758e1c43a bitbake: cooker: Ensure generateTaskDepTreeData fails for NoProvider
If an invalid provider is requested, error out early rather than trying
to build partial runqueue data structures as the taskdep UI will have
exited after seeing the bad provider.

(Bitbake rev: a478087998cb794cc4e31189b3ce07973d3949bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-17 11:56:40 +01:00
Richard Purdie
d0ea89b312 selftest/cases/runtime_test: Exclude centos-9 from virgl tests
Similarly to centos 8, centos 9 doesn't support the render device we need
for this test.

(From OE-Core rev: c2be3afabf84f287c90b61ae2509728a6634fb8f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-17 08:54:22 +01:00
Richard Purdie
92d8c7c553 bitbake: parse: Improve/fix cache invalidation via mtime
We have been seeing obscure failures in devtool, particularly on newer
autobuilder workers where it appears the cache is assumed to be valid
when it shouldn't be.

We're using the 'seconds' granulation mtime field which is not really
a good way of telling if a file has changed. We can switch to the "ns"
version which is better however also add in inode number and size as
precautions. We already have all this data and tuples are fast so there
isn't really any cost to do so.

This hopefully fixes [YOCTO #15318].

(Bitbake rev: d9e5d313c79500e3c70ab9c3239b6b2180194f67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-16 23:25:55 +01:00
Richard Purdie
4144a12c26 at: Tweak UNPACKDIR reference
${UNPACKDIR}/${BP} is ${S} so use the correct variable.

(From OE-Core rev: 57a4eb564446721fde05d7d619e2dc9bf5b79c5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-16 11:06:01 +01:00
Richard Purdie
229951e1da bitbake: asyncrpc/client: Fix websockets minimum version for python 3.10
python 3.10 support is only available in websockets 10.0 and later:

08d8011132

Update the version for this case. This avoids failures on Ubuntu 22.04.

(Bitbake rev: 0e4767c4a880408750e1a6855270c5a4eef8383d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-16 10:52:43 +01:00
Ross Burton
8a04f529f2 oeqa/selftest/debuginfod: use localpkgfeed to speed server startup
Sometimes the debuginfod selftest fails due to a timeout, because it
spends too long scanning a huge deploy directory that due to what tests
were ran previously can contain 30K packages.

The test only needs a subset of the feed, so use the new localpkgfeed
class to construct a minimal feed before running the test.

[ YOCTO #14937 ]

(From OE-Core rev: 855376f518b28248ccd82ef5b2e89e6a8c970542)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ross Burton
41e59c53c5 selftest/classes: add localpkgfeed class
This class can be used to construct a subset of a deployed package feed
for use in tests which iterate the deploy directory, and as such a huge
feed of 30K+ packages can result in very slow tests.

(From OE-Core rev: c5486d6ad32457f09c104d5dd31314bd570912d3)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ross Burton
6582436a1d lib/oe/package-manager: allow including self in create_packages_dir
This function is typically used to construct a limited feed for image
creation, but there are other cases when you might want a limited feed
and include the current recipe's packages in it.

To ensure that existing behaviour is preserved, add a boolean to control
this behaviour and default it to False.

(From OE-Core rev: aada7fda2b118152d82b1ab295d92b8251afe4ac)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ross Burton
a9dd9f92ba enchant2: upgrade to 2.7.3
Upstream NEWS:

  This release is made with Vala 0.56.17 (previous versions were made with
  0.56.0). This works around a bug in `valac` that generates code which causes
  an error in GCC >=14 and Clang >= 16.

(From OE-Core rev: 6eca600a402d20ac1905681f344e8f1a70cdb5b9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Anton Almqvist
9a894dac19 devtool: modify: Catch git submodule error for go code
One of the git submodule commands failed for source extracted for
recipes using go.bbclass.  The root cause is probably the path set up
by go_do_unpack which makes S and gitroot not match.

This patch does not fix the root problem, but at least it is no worse
than before the git submodule support.

The extracted source will still have two .git folders, one in S
created by devtool and one in the go path which will contain the tru
git history.

[ YOCTO #15483 ]

(From OE-Core rev: fe242408af40dd1f6e47d9b2b232bdc76756c80a)

Signed-off-by: Anton Almqvist <antonal@axis.com>
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Guðni Már Gilbert
7c211b1803 python3-pycparser: cleanup RDEPENDS
- Drop python3-pprint, the source code no longer imports this module
- Drop python3-ply, ply package is bunled into pycparser, making the external python3-ply
dependency not useful. This seems to have been changed a long time ago in version 2.09 (2012.12.27)

Note about python3-netclient: It can be removed at a later date. There is one 'unused' import
for base64 in the ply source. Once that is cleaned up, python3-netclient can be removed.

(From OE-Core rev: 03de1f0b8fa810fc9fe8d66db1614ff1b3f9be0f)

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Khem Raj
b7a9250590 valgrind: Upgrade to 3.23.0
Drop backports already available in this release

This release supports X86/Linux, AMD64/Linux, ARM32/Linux, ARM64/Linux,
PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux,
MIPS64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android,
X86/Solaris, AMD64/Solaris, AMD64/MacOSX 10.12, X86/FreeBSD, AMD64/FreeBSD
and ARM64/FreeBSD  There is also preliminary support for X86/macOS 10.13,
AMD64/macOS 10.13 and nanoMIPS/Linux.

* ==================== CORE CHANGES ===================

* --track-fds=yes will now also warn about double closing of file
  descriptors. Printing the context where the file descriptor was
  originally opened and where it was previously closed.

* --track-fds=yes also produces "real" errors now which can be
  suppressed and work with --error-exitcode. When combined with
  --xml the xml-output now also includes FdBadClose and FdNotClosed
  error kinds (see docs/internals/xml-output-protocol5.txt).

* The option --show-error-list=no|yes now accepts a new value all.
  This indicates to also print the suppressed errors.
  This is useful to analyse which errors are suppressed by which
  suppression entries.
  The valgrind monitor command 'v.info all_errors' similarly now
  accepts a new optional argument 'also_suppressed' to show
  all errors including the suppressed errors.

* ================== PLATFORM CHANGES =================

* Added ARM64 support for FreeBSD.

* ARM64 now supports dotprod instructions (sdot/udot).

* AMD64 better supports code build with -march=x86-64-v3.
  fused-multiple-add instructions (fma) are now emulated more
  accurately. And memcheck now handles __builtin_strcmp using 128/256
  bit vectors with sse4.1, avx/avx2.

* S390X added support for NNPA (neural network processing assist)
  facility vector instructions VCNF, VCLFNH, VCFN, VCLFNL, VCRNF and
  NNPA (z16/arch14).

* X86 recognizes new binutils-2.42 nop patterns.

* ==================== TOOL CHANGES ===================

* The none tool now also supports xml output.

* ==================== FIXED BUGS ====================

The following bugs have been fixed or resolved.  Note that "n-i-bz"
stands for "not in bugzilla" -- that is, a bug that was reported to us
but never got a bugzilla entry.  We encourage you to file bugs in
bugzilla (https://bugs.kde.org/enter_bug.cgi?product=valgrind) rather
than mailing the developers (or mailing lists) directly -- bugs that
are not entered into bugzilla tend to get forgotten about or ignored.

283429  ARM leak checking needs CLEAR_CALLER_SAVED_REGS
281059  Cannot connect to Oracle using valgrind
328563  make track-fds support xml output
362680  --error-exitcode not honored when file descriptor leaks are found
369723  __builtin_longjmp not supported in clang/llvm on Android arm64 target
390269  unhandled amd64-darwin syscall: unix:464 (openat_nocancel)
401284  False positive "Source and destination overlap in strncat"
428364  Signals inside io_uring_enter not handled
437790  valgrind reports "Conditional jump or move depends on uninitialised
        value" in memchr of macOS 10.12-10.15
460616  disInstr(arm64): unhandled instruction 0x4E819402 (dotprod/ASIMDDP)
463458  memcheck/tests/vcpu_fnfns fails when glibc is built for x86-64-v3
463463  none/tests/amd64/fma fails when executed on a x86-64-v3 system
466762  Add redirs for C23 free_sized() and free_aligned_sized()
466884  Missing writev uninit padding suppression for _XSend
471036  disInstr_AMD64: disInstr miscalculated next %rip on RORX imm8, m32/64, r32/6
471222  support tracking of file descriptors being double closed
474160  If errors-for-leak-kinds is specified, exit-on-first-error should only exit
        on one of the listed errors.
475498  Add reallocarray wrapper
476025  Vbit expected test results for Iop_CmpGT64Ux2 are wrong
476320  Build failure with GCC
476331  clean up generated/distributed filter scripts
476535  Difference in allocation size for massif/tests/overloaded-new between
        clang++/libc++ and g++/libstdc++
476548  valgrind 3.22.0 fails on assertion when loading debuginfo file
        produced by mold
476708  valgrind-monitor.py regular expressions should use raw strings
476780  Extend strlcat and strlcpy wrappers to GNU libc
476787  Build of Valgrind 3.21.0 fails when SOLARIS_PT_SUNDWTRACE_THRP is
        defined
476887  WARNING: unhandled amd64-freebsd syscall: 578
477198  Add fchmodat2 syscall on linux
477628  Add mremap support for Solaris
477630  Include ucontext.h rather than sys/ucontext.h in Solaris sources
477719  vgdb incorrectly replies to qRcmd packet
478211  Redundant code for vgdb.c and Valgrind core tools
478624  Valgrind incompatibility with binutils-2.42 on x86 with new nop patterns
        (unhandled instruction bytes: 0x2E 0x8D 0xB4 0x26
478837  valgrind fails to read debug info for rust binaries
479041  Executables without RW sections do not trigger debuginfo reading
480052  WARNING: unhandled amd64-freebsd syscall: 580
480126  Build failure on Raspberry Pi 5 / OS 6.1.0-rpi7-rpi-v8
480405  valgrind 3.22.0 "m_debuginfo/image.c:586 (set_CEnt):
        Assertion '!sr_isError(sr)' failed."
480488  Add support for FreeBSD 13.3
480706  Unhandled syscall 325 (mlock2)
481127  amd64: Implement VFMADD213 for Iop_MAddF32
481131  [PATCH] x86 regtest: fix clobber lists in generated asm statements
481676  Build failure on Raspberry Pi 5 Ubuntu 23.10 with clang
481874  Add arm64 support for FreeBSD
483786  Incorrect parameter indexing in FreeBSD clock_nanosleep syscall wrapper
484002  Add suppression for invalid read in glibc's __wcpncpy_avx2() via wcsxfrm()
484426  aarch64: 0.5 gets rounded to 0
484480  False positives when using sem_trywait
484935  [patch] Valgrind reports false "Conditional jump or move depends on
        uninitialised value" errors for aarch64 signal handlers
485148  vfmadd213ss instruction is instrumented incorrectly (the remaining
        part of the register is cleared instead of kept unmodified)
485487  glibc built with -march=x86-64-v3 does not work due to ld.so strcmp
485778  Crash with --track-fds=all and --gen-suppressions=all
n-i-bz  Add redirect for memccpy

To see details of a given bug, visit
  https://bugs.kde.org/show_bug.cgi?id=XXXXXX
where XXXXXX is the bug number as listed above.

(From OE-Core rev: faf48ef489ef3c4d0b2ee3a6aa9ef8911523db90)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ninette Adhikari
cf0c866b51 oe-build-perf-report: Add dark mode
Update css to add dark mode when window prefers-color-scheme is dark.

(From OE-Core rev: ed02a235d42202279ad5e4e3153247f9e5e2bba8)

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ninette Adhikari
20fafa0854 oe-build-perf-report: Update chart tooltip and chart type
- Update chart tooltip format to show value as size in MB for 'rootfs size'
and timestamp for 'tmpdir size'
- Add commit number to tooltip
- Update chart type to 'step chart' instead of 'line chart'

(From OE-Core rev: fb41cbbe6008e442b6eac77308eadeae327eed7d)

Signed-off-by: Ninette Adhikari <ninette@thehoodiefirm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ninette Adhikari
314a220280 oe-build-perf-report: Improve report styling and add descriptions
Styling updates are added including page margin, labels for x and y axis, tooltip, and section descriptions.

(From OE-Core rev: 2a2568fcf1a3f8e467bd814f4fb13dffae8ec61d)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ninette Adhikari
99861c17e7 oe-build-perf-report: Display more than 300 commits and date instead of commit number
- This commit updates measurement statistics data to include start_time so that time can be displayed instead of commit numbers on the chart.
- It also updates default commit history length to 300.

(From OE-Core rev: 64275a41c37130aaaacc5e592f94a1afe057119b)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ninette Adhikari
836b4b57d6 oe-build-perf-report: Add apache echarts to make report interactive
- Add Apache echarts (https://echarts.apache.org/en/index.html) library to create build performance charts.
- Restructure data to time and value array format so that it can be used by echarts.
- This commit also converts test duration to minutes to map against the values axis.
- Zoom is added to the line charts.

(From OE-Core rev: 63c9321832aae79d20a4ddd199a4a1385f81de53)

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-15 16:39:19 +01:00
Ross Burton
79ab2413e0 cpio: mark CVE-2023-7216 as disputed
Upstream consider the behaviour described in this CVE as intentional,
and provide an option to stop it.

(From OE-Core rev: 6c99147037ba8ca424ee42520183bd2bd55c7056)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-14 12:43:23 +01:00
Robert Kovacsics
ec478262ac sdk: Fix path length limit to match reserved size
There were two different interpreter lengths in use, make them match.

(From OE-Core rev: b175f9cdc3d87bef5c89cc337c2a7e2674732b29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-14 12:43:23 +01:00
Jookia
136f0ee780 populate_sdk_ext.bbclass: Fix undefined variable error
The variable uninative_checksum is returned without being set, causing a
build error. Set it to None by default instead.

(From OE-Core rev: 69ead1f2d403e6a0e5365ce4e89288f846d3ef33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-14 12:12:45 +01:00
Richard Purdie
12ea266a92 oeqa/systemd_boot: Ensure ssh-pregen-hostkeys are available for the test
Since ssh-pregen-hostkeys is now restricted to qemu machines, add in configuration
allowing it to become available for this test on genericx86-64.

(From meta-yocto rev: b65a1e39dea6d215221f400709f7f3f4c110a948)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:53 +01:00
Khem Raj
194a365a6b linux-yocto: Enable team net driver
Its needed to run libteam ptests

(From OE-Core rev: 7cd8e04b23b562746665577174799d42ded45d93)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Richard Purdie
29debb80ea ssh-pregen-hostkeys: Limit to qemu machines by default
There are potential security issues from using pre-generated host keys. We made
the recipe available for autobuilder testing purposes but concerns remain about
how easily this could end up in production.

I thought we'd already done this, but limit the recipe to qemu* machines,
which means any real hardware trying to use it will need to be a bit more
explicit about it and specifically enable it.

(From OE-Core rev: b0405972d4fd6fa12f90afea5ecb9a50c01c21c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Trevor Gamblin
cec77d941e patchtest: utils: remove unused functions
Specifically, remove four things:

- get_subject_prefix(): This function is only being used once (in the next
function found in the module), so remove it for easier
comprehension/maintenance.
- exec_cmd: the backend for executing a custom command
- exec_cmds: for running multiple calls to exec_cmd
- CmdException: A custom exception class specifically for exec_cmd

These are only used to execute git commands, but GitPython can be used
to handle all of that more efficiently, so remove them.

(From OE-Core rev: e2fabdd6d53ee30a67992bd966961f423f18a388)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Trevor Gamblin
9c4e350797 patchtest: tests: update bugzilla_entry_format.fail testfile
Update the test file to target a more stable README file.

(From OE-Core rev: 3d0649ea8ca9dde982ee67aa866170ea4297ef4c)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Trevor Gamblin
9132e3904a patchtest: repo: refactor to use GitPython
The repo module currently uses a custom _exec() function in order to run
various git commands as part of the patchtest setup/test process. These
can more efficiently be done with the GitPython module, so use that
instead and reduce the amount of custom code to be maintained for
patchtest in the process. Some specifics replaced using GitPython:

- get branch list
- use repo.active_branch to determine current branch
- use execute() for checkout, merge check, abort, rev-parse, reset

The _exec() function is removed entirely with this change.

(From OE-Core rev: 8ab3a0d7cb68746d7b7e1c7ff8bdf9a84a4d075d)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Trevor Gamblin
e73ea1a868 patchtest: requirements.txt: add GitPython
GitPython provides some simple utilities for retrieving repo
configurations that can replace the manual work that patchtest currently
does. Add it to the requirements so that the source can make use of it.

(From OE-Core rev: dd4e4adfe91333fbd52d1441e2864a570e0dd073)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Alexander Kanavin
6090e1fc7d glib-2.0: correct deprecated man/gtk-doc options
(From OE-Core rev: f5caef60b4e85134eef1f8398fa240f52d845770)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Alexander Kanavin
393ff34301 glib/gobject-introspection: update 2.78.4 -> 2.80.0, 1.78.1 -> 1.80.0
With these versions, which need to be updated in lockstep, upstream has
relocated glib introspection data from g-i tree to glib tree and made
its generation a part of the overall glib build. This creates a circular
dependency, where g-i tools are linked with glib, but glib needs the tools
to build its g-i data. (I don't know why the two source trees
couldn't be simply merged into one, or g-i data for glib couldn't be generated
inside g-i build against sysroot glib).

Upstream is suggesting building glib twice, first without building g-i data,
then building g-i and linking it with that version, then building
the final glib, and that's what is being done here (via the new
glib-initial recipe, which is sysroot-only, and is not pulled in
via indirect dependencies either).

Other glib changes:
0001-Do-not-write-bindir-into-pkg-config-files.patch restores
writing bindir variable into glib.pc file (meson only writes
it out if other variables depend on it, and this custom patch
removes that dependency).

0001-girepository-introspection-correctly-install-.gir-fi.patch
ensures correct installation of .gir into something else
than $datadir (useful in multilib).

Merge previous glib .bb into .inc, so that glib and glib-initial
recipes could be cleanly separated with no duplication.

Convert from gtk-doc to gi-docgen, and manpages from xmlto to
docutils.

(From OE-Core rev: 57c307536f67dcfb5d4a5488ca1e77a943ba1368)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Richard Purdie
521a3f727c insane: Fix case where S doesn't exist
If S doesn't exist, do_qa_patch would fail. Fix the code to not fail
in this situation.

(From OE-Core rev: 4041d91b63ff2315657499e22c74ec90adbf9e19)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 16:28:35 +01:00
Ross Burton
45e819b4d4 libportal: fix rare build race
There is a build race where the libportal.vapi is not always generated
before it is needed to build libportal-gtk*.vapi. Backport the fix from
upstream.

[ YOCTO #15479 ]

(From OE-Core rev: 2d984e52cded09647b210bd79cfec9deb4b7b589)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Philip Lorenz
f0b560e0a5 lib/package_manager/ipk: Do not hardcode payload compression algorithm
The chosen payload compression algorithm can be changed by overriding
`OPKGBUILDCMD`. Ensure that package extraction deals with this by
globbing for "data.tar.*" to select the actual payload tarball.

(From OE-Core rev: 2ad05635a6da403b4fadcc126fe7734067c12c73)

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Khem Raj
8dac1e9777 zip: Fix build with gcc-14
zip's configure fails to link this piece of test code:

  int main() { return closedir(opendir(".")); }

with GCC-14 because it now treats implicit declaration of function
as error, unline older GCC version where it was just a warning
and this test would build fine.

Remove 0002-unix.c-Do-not-redefine-DIR-as-FILE.patch which
is now unnecessary.

(From OE-Core rev: 3422411eb750c7e960b81676637cfb321dbadefb)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Khem Raj
82929750a6 strace: Use locale-base-en-us for locale
locale-base-en-us is available on musl as well therefore, not need
to make it glibc specific anymore.

(From OE-Core rev: 123ea0953346a5dd209818827021ffe4bcc95392)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Khem Raj
ad5140064e iproute2: Fix build with GCC-14
(From OE-Core rev: 127df0ac9b55fa2a7f3269934854f805843d01cc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Khem Raj
fe46b49809 ltp: Fix build with GCC-14
(From OE-Core rev: 5d3bea7f817aee6eb053eccc22f5c35f8a3d3668)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Martin Jansa
c629ee6b92 lrzsz connman-gnome libfm: ignore various issues fatal with gcc-14
work arounds for:
oe-core/meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb:do_compile
oe-core/meta/recipes-connectivity/connman/connman-gnome_0.7.bb:do_compile
oe-core/meta/recipes-support/libfm/libfm_1.3.2.bb:do_compile

http://errors.yoctoproject.org/Errors/Build/183127/

More fixes on ML (especially for -native with gcc-14 on host)
cdrtools: https://lists.openembedded.org/g/openembedded-core/message/198899
syslinux: https://lists.openembedded.org/g/openembedded-core/message/198901

(From OE-Core rev: 856ffc7d0893c1dc549baf401899947f70d31896)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Khem Raj
20845b0066 python3: Treat UID/GID overflow as failure
This fixes ptest failures on 32bit architectures

AssertionError:
Failed ptests:
{'python3': ['test_extractall_none_gid',
             'test_extractall_none_gname',
             'test_extractall_none_mode',
             'test_extractall_none_mtime',
             'test_extractall_none_uid',
             'test_extractall_none_uname',
             'setUpClass',
             'python3']}

(From OE-Core rev: 43104b547cb79693c83df0882773ae8dd74b1d35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Markus Volk
613928bbb5 gtk4: update 4.14.2 -> 4.14.4
Overview of Changes in 4.14.4, 02-05-2024
=========================================

* GtkGraphicsOffload:
 - Don't crash without a child

* Icontheme:
 - Make symbolic svg loading more efficient
 - Handle color-free symbolics more efficiently

* Accessibility:
 - Make the gtk-demo sidebar search more accessible
 - Stop emitting focus events

* GDK:
 - Support XDG_ACTIVATION_TOKEN
 - dmabuf: Be more defensive when importing unknown formats to G
 - dmabuf: Use narrow range for YUV

* GSK:
 - gpu: Handle  tiny offscreens correctl

* Build:
 - Fix many ubsan warning

* macOS
 - Fix problems with events handed back to the OS
 - Respect GDK_DEBUG=default-settings

* Translation updates:
 German
 Indonesian
 Kabyle
 Korean
 Lithuanian
 Russian

Overview of Changes in 4.14.3, 18-04-2024
=========================================

* GtkShortcutManager:
 - Track the propagation phase of added controllers

* Accessibility:
 - Implement GtkAccessibleRange for scrollbars

* X11:
 - Fix some confusing debug messages
 - Drop a no-longer-relevant optimization that was interfering with
   getting the current window manager capabilities

* Tools:
 - Support generating pdf in gtk4-rendernode-tool

* Translation updates:
 Basque
 Brazilian Portuguese
 Georgian
 Hebrew
 Kabyle
 Persian
 Polish
 Slovenian
 Swedish
 Ukrainian

(From OE-Core rev: 142346d5e420e2ea17826c9951b443849a535a31)

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>
2024-05-13 15:42:27 +01:00
Khem Raj
397870f8dd llvm: Switch to using release tarballs
git checkouts are in excess of 3G, which is not
ideal for everyone to download/clone, instead switch to
fetching release tarball which is ~126M as of 18.1.5 release

(From OE-Core rev: 800e6576e4f3af10846af13c2f217f986c1afdb4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Archana Polampalli
3f96e1a734 xserver-xorg: upgrade 21.1.11 -> 21.1.12
This release contains security fixes for

* CVE-2024-31080
* CVE-2024-31081
* CVE-2024-31082
* CVE-2024-31083

Changelog:
===========
101caa1b0 (tag: xorg-server-21.1.12) xserver 21.1.12
117315640 render: fix refcounting of glyphs during ProcRenderAddGlyphs
0e34d8ebc Xquartz: ProcAppleDRICreatePixmap needs to use unswapped length to send reply
cea92ca78 Xi: ProcXIPassiveGrabDevice needs to use unswapped length to send reply
8a7cd0e3e Xi: ProcXIGetSelectedEvents needs to use unswapped length to send reply
5ca3a9513 Xext: SProcSyncCreateFence needs to swap drawable id too
5d7272f05 Allow disabling byte-swapped clients
8a46a463f Initialize Mode->name in xf86CVTMode()
f653d9a0a hw/xfree86: fix NULL pointer refrence to mode name
8b75ec34d dix: Fix use after free in input device shutdown

https://lists.x.org/archives/xorg-announce/2024-April/003497.html

(From OE-Core rev: 12dfa6889a1c322d0e20fd9b7638dcb861e032f2)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Ross Burton
ee2c48fe3e gstreamer1.0: skip another known flaky test
The baseparse:parser_pull_short_read test is known to be unreliable,
according to the list of known bad tests in gst-devtools.

Also clean up an incorrect comment.

(From OE-Core rev: be58657b3ee32af5a00f6bfecb9264751915dabd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Ross Burton
f911076708 curl: locale-base-en-us isn't glibc-specific
The musl-locales package provides this too, so we can depend without a
libc override.

(From OE-Core rev: c8f1d51f4eb6df6c041707d38f60549d13ddab7f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Guðni Már Gilbert
a23cf50510 python3-pyopenssl: drop python3-six from RDEPENDS
Python 2.7 support was dropped in version 22.0.0
python3-six was dropped as a dependency in 22.0.0

(From OE-Core rev: 6eab37a0cdcc6071f79aa5c8198df0b2ba23dd7a)

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Guðni Már Gilbert
6ea457052c python3-bcrypt: drop python3-six from RDEPENDS
Python 2.7 support was dropped in version 3.2.0 and
python3-six dependency was subsequently dropped in version 3.2.1

(From OE-Core rev: 50757cc95b3062f11a7455af33e7a7e74ea1d0f7)

Signed-off-by: Guðni Már Gilbert <gudnimar@noxmedical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-13 15:42:27 +01:00
Quentin Schulz
13078ea23f docs: brief-yoctoprojectqs: explicit version dependency on websockets python module
We now check that the websockets module version is at least 9.1 in
bitbake itself so we can specify more precisely what "recent version"
means.

While at it, list which distributions have a recent enough websockets
python module in their package feed and give some hint at how to support
other distributions.

Cc: Quentin Schulz <foss+yocto@0leil.net>
(From yocto-docs rev: 9a14157c4d723da0970cfd4bbb2c9500d3e692e0)

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 11:57:14 +01:00
Michael Opdenacker
5df41be683 ref-manual: update releases.svg
- Make Scarthgap a current release
- Add Styhead

(From yocto-docs rev: 4ff729c58d462cf8513e6339a5518e1c5b56f54a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 11:57:14 +01:00
Lee Chee Yang
639104796b release-notes-5.0: update Repositories / Downloads section
(From yocto-docs rev: de7f379b3950c0d345a798fff417e0004c0dbc27)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 11:57:14 +01:00
Lee Chee Yang
730072c7cf migration-notes: add release notes for 4.0.18
add release notes for 4.0.18 (rc1).

(From yocto-docs rev: 88ba51a40a2672288096d0de784c4dd51a99d7d3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 11:57:14 +01:00
Alexander Kanavin
fd1ea6a600 documentation/poky.yaml.in: drop mesa/sdl from essential host packages
They used to be required for qemu graphics support, but neither is being
for anything anymore.

(From yocto-docs rev: 96e96382cecb4928f49d37bf870335fa6aeb4dd1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 11:57:14 +01:00
Jordan Crouse
9867b9e7a6 libxcrypt-compat: Rename libcrypto.so.1 -> libcrypt.so.1
The comment in libxcrypt-cmpat incorrectly mentions libcrypto instead of
libcrypt which could be misleading to the unsuspecting grep user.

(From OE-Core rev: 3400945ac94c37f335b1e500bdd91e6187ed20b1)

Signed-off-by: Jordan Crouse <jorcrous@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:56:36 +01:00
joshua Watt
3bf65ca15f classes/create-spdx-2.2: Fix SPDX dependencies for ABI Safe recipes
SPDX Documents can currently get into a state where they reference SPDX
IDs that do not exist (locally). The reason for this is that some
tasks/recipes are marked as ABI safe, and thus are excluded from
taskhash. This means that when SPDX creates a document, it will refer to
the SPDX ID in the dependency at the time when the document is created,
but if the dependency changes and gets a new SPDX ID, the document will
not rebuild to reference the new SPDX ID, causing it to be dangling.

Fix this by using the new field in BB_TASKDEPDATA to skip dependencies
that are not part of the taskhash calculation.

(From OE-Core rev: 8393557b5229c7a0cea18a586848384bff1d7424)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:55:27 +01:00
Trevor Gamblin
c17d11189c python3: skip test_concurrent_futures/test_shutdown
These tests are causing hangs on the Autobuilder, so disable them for
now.

(From OE-Core rev: fe22c66f4da87e7dca62dfbeec2185e4efcc31a9)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:55:27 +01:00
Bruce Ashfield
8919e2c3eb linux-yocto/6.6: fix kselftest failures
Integrating the following commit(s) to linux-yocto/6.6:

1/1 [
    Author: Mark Brown
    Email: broonie@kernel.org
    Subject: kselftest: Add a ksft_perror() helper
    Date: Thu, 28 Sep 2023 16:38:11 +0200

    The standard library perror() function provides a convenient way to print
    an error message based on the current errno but this doesn't play nicely
    with KTAP output. Provide a helper which does an equivalent thing in a KTAP
    compatible format.

    nolibc doesn't have a strerror() and adding the table of strings required
    doesn't seem like a good fit for what it's trying to do so when we're using
    that only print the errno.

    Signed-off-by: Mark Brown <broonie@kernel.org>
    Reviewed-by: Kees Cook <keescook@chromium.org>
    Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 3d747dabd7bf59b653730f245d134931d143f60f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Richard Purdie
ee432c5172 oeqa/selftest/devtool: Fix for usrmerge in DISTRO_FEATURES
If usrmerge is in DISTRO_FEATURES, assumptions in one of the tests would
fail. Improve the test so it works in both cases.

(From OE-Core rev: afa211746a2aa1993a54cc5a5e1937679341da8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Richard Purdie
ead42232e7 oeqa/selftest/recipetool: Fix for usrmerge in DISTRO_FEATURES
If usrmerge is in DISTRO_FEATURES, assumptions in one of the tests would
fail. Improve the test so it works in both cases.

(From OE-Core rev: 68a27d307a7042e242c49cf3d069469f40e09902)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Khem Raj
8876fe9587 llvm: Upgrade to 18.1.5
Brings

617a15a9eac9 [clang codegen] Fix MS ABI detection of user-provided constructors. (#90151)
20b9ed64ea07 [RISCV][ISel] Fix types in tryFoldSelectIntoOp (#90659)
ece9d35f1a70 [GlobalISel] Fix store merging incorrectly classifying an unknown index expr as 0. (#90375)
a7b8b890600a [X86] Enable EVEX512 when host CPU has AVX512 (#90479)
4da5b1417493 [GlobalISel] Don't form anyextending atomic loads.
a96b04442c9f [AArch64] Remove invalid uabdl patterns. (#89272)
aea091b70eda [clang][CoverageMapping] do not emit a gap region when either end doesn't have valid source locations (#89564)
58648f334d62 [X86][EVEX512] Check hasEVEX512 for canExtendTo512DQ (#90390)
6350acdb134d [CGP] Drop poison-generating flags after hoisting (#90382)
f341c76b9461 [Clang] Handle structs with inner structs and no fields (#89126)
abf6b13085fb [IRCE] Skip icmp ptr in InductiveRangeCheck::parseRangeCheckICmp (#89967)
ee5bb0c95667 Fix Objective-C++ Sret of non-trivial data types on Windows ARM64 (#88671)
6dbaa89433f7 [clang-format] Fix a regression in ContinuationIndenter (#88414)
51ff7f38b633 [clang-format] Fix a regression in annotating TrailingReturnArrow (#86624)
b544217fb31f [AMDGPU] Fix setting nontemporal in memory legalizer (#83815)
78b99c73ee4b [DAGCombiner] Fix miscompile bug in combineShiftOfShiftedLogic (#89616)
1aa91720cc4f [DAGCombiner] Pre-commit test case for miscompile bug in combineShiftOfShiftedLogic
35fea1032741 release/18.x: [clang-format] Correctly annotate braces in macros (#87953)
b9b73814ad8a [libcxx] [modules] Add _LIBCPP_USING_IF_EXISTS on aligned_alloc (#89827)
c0b48372d82a release/18.x: [clang-format] Revert breaking stream operators to previous default (#89016)
3b4ba7277bd7 [analyzer] Fix performance of getTaintedSymbolsImpl() (#89606)
7699b341b763 release/18.x: [clang-format] Fix a regression in annotating BK_BracedInit (#87450)
fb865928c8e0 [GlobalISel] Fix fewerElementsVectorPhi to insert after G_PHIs (#87927)
111ae4509c96 [X86] Fix miscompile in combineShiftRightArithmetic
76cbd417af50 [X86] Pre-commit tests (NFC)
e7c816b3cd3e [InstCombine] Fix unexpected overwriting in foldSelectWithSRem (#89539)
3685a599c866 ReleaseNote: Mention SpecialCaseList change (#89141)
a981a4f7653c [X86] Always use 64-bit relocations in no-PIC large code model (#89101)
4ddac856c55f [analyzer] Fix a security.cert.env.InvalidPtr crash
c6d63d4fc555 Bump version to 18.1.5 (#89291)

(From OE-Core rev: 02df2fc6241ac8fb0e78f2fdff97a04e5c561d54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Alexander Kanavin
e140c26a9a wayland: fix upstream version check
(From OE-Core rev: e98a02fed1fec3596727316837526a6d1420aed4)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Alexander Kanavin
6a5e7ff873 python3-pyproject-hooks: fix upstream version check
(From OE-Core rev: d19b85c66c6b88a4545ce9b9b67f74169c9fdcec)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Ross Burton
2b963cb51e openssl: fix pkgconfig path problems
OpenSSL 3.3.0 introduced new pkgconfig generators which interact badly
with our incorrect setting of --libdir, which is documented as being
the name of the directory _under $prefix_, not an absolute path.  This
resulted in the pkgconfig files have libdir=/usr which mostly works as
the actual library directory is on the search path, but can break other
recipes (such as tpm2-openssl).

Pass the correct value for --libdir, and also remove the odd handling of
an empty ${prefix} which is very historical[1] and can't happen anymore
as all build variations have a prefix.

[1] Added in oe-classic f725a81c, 2009

(From OE-Core rev: f5e931c5e5932e35113d13ba053419283f472f43)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Markus Volk
de15b89080 wayland-protocols: update 1.35 -> 1.36
(From OE-Core rev: 53bedae6d7a724ffe62f6ece90a56323304225d2)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Peter Marko
1a91dba13f glibc: Update to latest on stable 2.39 branch
Adresses CVEs: CVE-2024-33599, CVE-2024-33600, CVE-2024-33601, CVE-2024-33602

Changes:
273a835fe7 time: Allow later version licensing.
acc56074b0 nscd: Use time_t for return type of addgetnetgrentX
836d43b989 login: structs utmp, utmpx, lastlog _TIME_BITS independence (bug 30701)
9831f98c26 login: Check default sizes of structs utmp, utmpx, lastlog
fd658f026f elf: Also compile dl-misc.os with $(rtld-early-cflags)
a9a8d3eebb CVE-2024-33601, CVE-2024-33602: nscd: netgroup: Use two buffers in addgetnetgrentX (bug 31680)
c99f886de5 CVE-2024-33600: nscd: Avoid null pointer crashes after notfound response (bug 31678)
5a508e0b50 CVE-2024-33600: nscd: Do not send missing not-found response in addgetnetgrentX (bug 31678)
1263d583d2 CVE-2024-33599: nscd: Stack-based buffer overflow in netgroup cache (bug 31677)
2f8f157eb0 x86: Define MINIMUM_X86_ISA_LEVEL in config.h [BZ #31676]
e701c7d761 i386: ulp update for SSE2 --disable-multi-arch configurations
e828914cf9 nptl: Fix tst-cancel30 on kernels without ppoll_time64 support

Since glibc introduced file sysdeps/arm/bits/wordsize.h
our multilib patch needed to be updated.

(From OE-Core rev: 8df8dcc37fd05551dcf89ff2ab5d73d7679cf6b6)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Soumya Sambu
d0fc704e40 ncurses: Fix CVE-2023-45918
ncurses 6.4-20230610 has a NULL pointer dereference in tgetstr in tinfo/lib_termcap.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-45918

(From OE-Core rev: 6573995adf4cfd48b036f8463b39f3864fcfd85b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Antonin Godard
12c447b38a devtool: ide-sdk: correct help typo
(From OE-Core rev: 50e043387a2f0f9a5c2f7a5f914c465c830d329b)

Signed-off-by: Antonin Godard <antoningodard@pm.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Martin Hundeb?ll
70a857b8f3 classes: image_types: apply EXTRA_IMAGECMD:squashfs* in oe_mksquashfs()
Since commit c991f9d6031 ("image_types: Set SOURCE_DATE_EPOCH for squashfs"),
I assume, the EXTRA_IMAGECMD:squashfs* variable(s) has been ignored.
This is due to the override magic, which isn't applied to functions
called by IMAGE_CMD:<type>, but only to the IMAGE_CMD:<type> itself.

Other image types (e.g. ext*) works around this by passing the
EXTRA_IMAGECMD variable as an argument to the called function.

To do the same for oe_mksquashfs(), the number of mandatory arguments is
fixed to one (with a little logic to handle the zstd filename). This
allows passing ${EXTRA_IMAGECMD} as an argument to oe_mksquashfs(),
which makes the variable functional again.

(From OE-Core rev: e6c1e3a65c3672473dcd01e4a950f89b70121d6b)

Signed-off-by: Martin Hundebøll <martin@geanix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Adriaan Schmidt
d0f677d1e3 libcgroup_3.1.0: fix build on non-systemd systems
backport upstream commit 592dcdcf243576bd2517d3da9bc18990de08e37e
to fix packaging when building with --enable-systemd=no

(From OE-Core rev: bc91a95ad96faa644241833a883cc63608dd59c2)

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Peter Marko
df8aaff67e glibc: correct license
The license per [1] is LGPL-2.1-or-later and
[2] converted last LGPL-2.1-only references.

License-Update: corrected from LGPL-2.1-only to LGPL-2.1-or-later based on [1] and [2]

[1] https://www.gnu.org/software/libc/
[2] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=273a835fe7c685cc54266bb8b502787bad5e9bae

(From OE-Core rev: b7ad15a59d048ca7561a03cb0fc8e2c24680ce5c)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Ralph Siemsen
ed7cd56a8a uboot-sign: fix loop in do_uboot_assemble_fitimage
When using multiple u-boot configurations in UBOOT_CONFIG, the helper
function uboot_assemble_fitimage_helper() was not called with all
combinations of type & binary, due to a copy-n-paste indexing error.

(From OE-Core rev: 2d338548a4b745a71eaf6c29231adc93c4165778)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Khem Raj
f1f7b599b8 gtk4: Disable int-conversion warning as error
This helps builds on 32bit machines when using GCC-14
there is a bug filed for fixing this in code [1]

[1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
(From OE-Core rev: 3735b5566c7e0e1a36171523e7b553497f4da1a4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Khem Raj
98d3ddc943 consolekit: Disable incompatible-pointer-types warning as error
Fixes build with gcc-14

(From OE-Core rev: d4fb4007cbaf545e023b0cb55b80fb5c70cf5b57)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Khem Raj
58acfe5c0a kea: Remove -fvisibility-inlines-hidden from C++ flags
This fixes build with gcc-14, where default visibility is extended to
inline functions and getAll() function now falls into this category
and functions are marked hidden resulting in linking errors

Fixes
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedVendorOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2356:(.text+0xaac2): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<unsigned int>(unsigned int const&, unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text+0xb288): undefined reference to `isc::dhcp::CfgOption::getAll(unsigned int) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::Dhcpv4Srv::appendRequestedOptions(isc::dhcp::Dhcpv4Exchange&)':
/usr/src/debug/kea/2.5.8/src/bin/dhcp4/dhcp4_srv.cc:2128:(.text+0xc556): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `std::vector<isc::dhcp::OptionDescriptor, std::allocator<isc::dhcp::OptionDescriptor> > isc::dhcp::CfgOption::getList<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:641:(.text._ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t[_ZNK3isc4dhcp9CfgOption7getListIA6_cEESt6vectorINS0_16OptionDescriptorESaIS5_EERKT_t]+0x86): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/kea/2.5.8/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/14.0.1/ld: ./.libs/libdhcp4.a(dhcp4_srv.o): in function `isc::dhcp::OptionDescriptor isc::dhcp::CfgOption::get<char [6]>(char const (&) [6], unsigned short) const':
/usr/src/debug/kea/2.5.8/src/lib/dhcpsrv/cfg_option.h:609:(.text._ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t[_ZNK3isc4dhcp9CfgOption3getIA6_cEENS0_16OptionDescriptorERKT_t]+0x77): undefined reference to `isc::dhcp::CfgOption::getAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:651: kea-dhcp4] Error 1

(From OE-Core rev: 584940c2f3234bfaf579429e162e683934e86538)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Khem Raj
b48004a055 pcmanfm: Disable incompatible-pointer-types warning as error
(From OE-Core rev: af1290104b58693df69457454ac2a0d35a7e8c60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Martin Jansa
41570975ed p11-kit: ignore various issues fatal with gcc-14 (for 32bit MACHINEs)
* these are reproducible only with 32bit MACHINEs and probably related
  to time64.inc

* http://errors.yoctoproject.org/Errors/Build/183154/

(From OE-Core rev: fa2b8a494e641faab095487af90c5b78d9e33868)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Martin Jansa
2d70c349d5 libunwind: ignore various issues now fatal with gcc-14
http://gecko.lge.com:8000/Errors/Details/821679
(From OE-Core rev: 20b9e9980c6675906ed154df968008f8c9140a9c)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Martin Jansa
585b4bb740 expect: ignore various issues now fatal with gcc-14
(From OE-Core rev: 83e9790fe27c310a4f5a66fedb29b232d23a22e5)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Martin Jansa
a0be430f59 rng-tools: ignore incompatible-pointer-types errors for now
* causes libargp test to fail:

http://errors.yoctoproject.org/Errors/Details/766951/

| configure: error: in '/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build':
| configure: error: libargp disabled and libc does not have argp

config.log shows:

configure:8424: x86_64-webos-linux-gcc  -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 --sysroot=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot -o conftest  -O2 -pipe -g -feliminate-unused-debug-types -fcanon-prefix-map  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native=   -DJENT_CONF_ENABLE_INTERNAL_TIMER   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/git=/usr/src/debug/rng-tools/6.16  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/build=/usr/src/debug/rng-tools/6.16  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fmacro-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot=  -fdebug-prefix-map=/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot-native=  conftest.c -ljitterentropy  >&5
conftest.c: In function 'main':
conftest.c:51:52: error: passing argument 3 of 'argp_parse' from incompatible pointer type [-Wincompatible-pointer-types]
   51 | int argc=1; char *argv={"test"}; argp_parse(0,argc,argv,0,0,0); return 0;
      |                                                    ^~~~
      |                                                    |
      |                                                    char *
In file included from conftest.c:47:
/OE/build/luneos-styhead/tmp-glibc/work/qemux86_64-webos-linux/rng-tools/6.16/recipe-sysroot/usr/include/argp.h:371:58: note: expected 'char ** restrict' but argument is of type 'char *'
  371 |                            int __argc, char **__restrict __argv,
      |                                        ~~~~~~~~~~~~~~~~~~^~~~~~

(From OE-Core rev: 78d9cad294f335f6e5b18b0ca790a9e5723f0c41)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
88118890bb sqlite3: upgrade 3.45.1 -> 3.45.3
(From OE-Core rev: a5c24e05e8397e2e353d2d27d9da98375f6ec036)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
3623451e76 mmc-utils: upgrade to latest revision
(From OE-Core rev: 04f76edd211cde73069b24b5ae65d1f7732872ff)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
92fe350044 libsolv: upgrade 0.7.28 -> 0.7.29
(From OE-Core rev: 96422591580ab92d2d0e79551229852246f64acb)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
3b63f0ba86 libproxy: upgrade 0.5.4 -> 0.5.6
(From OE-Core rev: 6d215478a0711ca9f7475e9f16c1dd0907fbe14c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
7f9ce742a3 harfbuzz: upgrade 8.3.1 -> 8.4.0
(From OE-Core rev: 3d6033cc841b3a74d97caeec6d9482e6fd5e79ca)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Anuj Mittal
b035f79ca4 enchant2: upgrade 2.6.9 -> 2.7.2
(From OE-Core rev: b383bd8780fe6b0b49519683718e549220cf20fd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-09 09:48:58 +01:00
Richard Purdie
93a6e5d32c sanity.conf: Require bitbake 2.9.1
We need a recent siggen change in bitbake to allow SPDX to work
better.

(From OE-Core rev: 3d501e4b496be86b0089167af2f49cb750fc7ea2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:57:51 +01:00
Richard Purdie
f4885e97a6 bitbake: bitbake: update to version 2.9.1
This allow the use of new siggen API

(Bitbake rev: e53503546990adeab67b6d044fcce59dc5a3f455)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:53:01 +01:00
joshua Watt
23c5058707 bitbake: asyncrpc: Check websockets version
Checks that the minimum version of the websockets module is present, and
if not raises an ImportError. This allows the user to get earlier
feedback if using websockets is going to succeed

(Bitbake rev: 330ea6914aad65dc8b34c986c44779820c392f03)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:44 +01:00
joshua Watt
aff8b07334 bitbake: cooker: Handle ImportError for websockets
Handles ImportError when creating a hash equivalence to ping the server.
This notifies user earlier with a more precise error if websockets can't
be used, and also prevents passing a known bad upstream value to the
local server

(Bitbake rev: aa80b3cfc5d16dfba13ca7fb9b78bae179ce3b74)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:44 +01:00
joshua Watt
8364aa5baa bitbake: siggen/runqueue: Report which dependencies affect the taskhash
Report which task dependencies in BB_TASKDEPDATA are included in the
taskhash. This allows tasks to identify which tasks dependencies may
change without the task re-running. Knowing this information is
important for tasks that want to transfer information from dependencies
(such as SPDX)

(Bitbake rev: a313b4f07727e8187526157ba039911c3f73dd46)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:43 +01:00
Kari Sivonen
9925db0c4f bitbake: fetch2/svn: Fix mirroring issue with svn
Add return false to supports_checksum for svn fetcher which fhis
fixes MIRROR usage for svn uris. Also add a testcase.

[YOCTO #15473]

(Bitbake rev: 21cfc7ae9a19f39ac8904e1c3466e7e499ac523f)

Signed-off-by: Kari Sivonen <kari.sivonen@live.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:43 +01:00
Richard Purdie
ead0ff2210 bitbake: build: Handle conflict between cwd and cleandirs
If the cwd of the task is also a cleandirs, you would see warnings from bitbake
about being unable to obtain cwd during the task execution. Tweak the code
to detect this and avoid the warnings.

(Bitbake rev: 6c7fd60c10955b0f23f64b25b5b4e154eb22a8f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:43 +01:00
Alexander Kanavin
551fdabc54 bitbake: fetch2/crate: add upstream latest version check function
This is actually rather easy: crate web API provides a json
with all the versions, for example:
https://crates.io/api/v1/crates/cargo-c/versions

(Bitbake rev: f6c2755db9a1f88c8534193b420fa31d135945e6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:43 +01:00
Simone Weiß
f6de2b033d bitbake: bitbake-layers: adapt force option to not use tinfoil
Fixes [YOCTO #15417]

When a layer adds a new dependency after it was added to a conf, it can not be
removed w/o this dependency in the setup. Even the dependent layer can not be
added, as the tinfoil setup will fail.
Adapt --force to not perform the tinfoil at all, the use will be at own risk,
i.e. the added layers might not parse properly afterwards.
This is not merged into the force option with -F as it even changes the loading of
plugins from other layers and is hence even more invasive as force. Instead
force can now be speciefied multiple times and is counted.

(Bitbake rev: 541fa7f582133949563e65f2d43c4b16e873e5c1)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-08 14:51:43 +01:00
Richard Purdie
7eebbdb6c4 linux-yocto-custom: Fix comment override syntax
The override format in a comment is incorrect, fix it.

(From OE-Core rev: df5875cb22585f10a2e8782c0534ae4625e85bb0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
d92815d670 linux-yocto/6.6: update CVE exclusions (6.6.29)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: a6660bc4980ad8161522075e3964fa400817f27f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
78a2cff281 linux-yocto/6.6: update to v6.6.29
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    a3463f081046 Linux 6.6.29
    63cc4f14bb03 selftests: kselftest: Fix build failure with NOLIBC
    c67f926ec870 thunderbolt: Reset only non-USB4 host routers in resume
    b0f4478838be PCI/ASPM: Fix deadlock when enabling ASPM
    3b629239773b ksmbd: common: use struct_group_attr instead of struct_group for network_open_info
    4cbb88351b55 ksmbd: clear RENAME_NOREPLACE before calling vfs_rename
    5c20b242d4fe ksmbd: validate request buffer size in smb2_allocate_rsp_buf()
    3160d9734453 ksmbd: fix slab-out-of-bounds in smb2_allocate_rsp_buf
    6355b468e2a7 powerpc/ftrace: Ignore ftrace locations in exit text sections
    43a71c1b4b3a virtio_net: Do not send RSS key if it is not supported
    bd41ee1efd47 net: dsa: mt7530: fix enabling EEE on MT7531 switch on all boards
    21b9d89d9342 net: dsa: mt7530: fix improper frames on all 25MHz and 40MHz XTAL MT7530
    2382eae66b19 nilfs2: fix OOB in nilfs_set_de_type
    e46d3be714ad bootconfig: use memblock_free_late to free xbc memory to buddy
    a019b44b1bc6 nouveau: fix instmem race condition around ptr stores
    5d2f587aef37 drm/vmwgfx: Fix crtc's atomic check conditional
    f1769cb2c912 drm/vmwgfx: Sort primary plane formats by order of preference
    65674218b43f drm/vmwgfx: Fix prime import/export
    db74904a93a3 drm/amdgpu: remove invalid resource->start check v2
    aa02d43367a9 drm/amdkfd: Fix memory leak in create_process failure
    ef13eeca7c79 drm/amdgpu: validate the parameters of bo mapping operations more clearly
    885d4c31a432 fuse: fix leaked ENOSYS error on first statx call
    cc10db003033 mm/shmem: inline shmem_is_huge() for disabled transparent hugepages
    882e1180c83f mm/memory-failure: fix deadlock when hugetlb_optimize_vmemmap is enabled
    c85106fb08f4 mm,swapops: update check in is_pfn_swap_entry for hwpoison entries
    db01bfbdddd8 mm/userfaultfd: allow hugetlb change protection upon poison entry
    81cf85ae4f2d init/main.c: Fix potential static_command_line memory overflow
    31f815cb4360 arm64: hibernate: Fix level3 translation fault in swsusp_save()
    e972b6a70126 arm64/head: Disable MMU at EL2 before clearing HCR_EL2.E2H
    cdf811a93747 KVM: x86/mmu: Write-protect L2 SPTEs in TDP MMU when clearing dirty status
    947d518e0daf KVM: x86/pmu: Do not mask LVTPC when handling a PMI on AMD platforms
    037e48ceccf1 KVM: x86/pmu: Disable support for adaptive PEBS
    bdda0c17fe90 KVM: x86: Snapshot if a vCPU's vendor model is AMD vs. Intel compatible
    7fce9f0f4810 sched: Add missing memory barrier in switch_mm_cid
    ac107356aabc fs: sysfs: Fix reference leak in sysfs_break_active_protection()
    8defb1d22ba0 speakup: Avoid crash on very long word
    2a19c2a5caf0 mei: me: disable RPL-S on SPS and IGN firmwares
    f356fd0cbd9c usb: gadget: f_ncm: Fix UAF ncm object at re-bind after usb ep transport error
    aa61f87fd18b usb: Disable USB3 LPM at shutdown
    8a139fa44870 usb: dwc2: host: Fix dereference issue in DDMA completion flow.
    2ff436b63998 Revert "usb: cdc-wdm: close race between read and workqueue"
    d841a93b5a24 USB: serial: option: add Telit FN920C04 rmnet compositions
    0772a60994ee USB: serial: option: add Rolling RW101-GL and RW135-GL support
    b39ecc8c97ab USB: serial: option: support Quectel EM060K sub-models
    aeb7de0a3840 USB: serial: option: add Lonsung U8300/U9300 product
    f91606d71fab USB: serial: option: add support for Fibocom FM650/FG650
    590d0e130757 USB: serial: option: add Fibocom FM135-GL variants
    83290f9f0719 serial: core: Fix missing shutdown and startup for serial base port
    7ae7104d5434 serial: core: Clearing the circular buffer before NULLifying it
    12e9459ddaea serial: stm32: Reset .throttled state in .startup()
    9f9be0ec3130 serial: stm32: Return IRQ_NONE in the ISR if no handling happend
    52aaf1ff1462 serial/pmac_zilog: Remove flawed mitigation for rx irq flood
    5f40fd6ca2cf serial: mxs-auart: add spinlock around changing cts state
    59f33af97961 comedi: vmk80xx: fix incomplete endpoint checking
    9954c514424f thunderbolt: Fix wake configurations after device unplug
    3238b23e661e thunderbolt: Avoid notify PM core about runtime PM resume
    1d7f1049035b binder: check offset alignment in binder_get_object()
    ce2ec45c7817 ALSA: hda/realtek - Enable audio jacks of Haier Boyue G42 with ALC269VC
    90782cf17e9c ALSA: hda/realtek: Add quirks for Huawei Matebook D14 NBLB-WAX9N
    05e6bfd31b06 ALSA: hda/tas2781: Add new vendor_id and subsystem_id to support ThinkPad ICE-1
    1da8f46f1332 ALSA: hda/tas2781: correct the register for pow calibrated data
    02d32d5acb13 ALSA: seq: ump: Fix conversion from MIDI2 to MIDI1 UMP messages
    388a7302beda net/mlx5: E-switch, store eswitch pointer before registering devlink_param
    00cf046afe34 x86/cpufeatures: Fix dependencies for GFNI, VAES, and VPCLMULQDQ
    5facc0428bd2 x86/bugs: Fix BHI retpoline check
    c0dcd5c072e2 clk: mediatek: Do a runtime PM get on controllers during probe
    2c077fdfd09d clk: Get runtime PM before walking tree for clk_summary
    888a44f261ae clk: Show active consumers of clocks in debugfs
    60ff482c4205 clk: Get runtime PM before walking tree during disable_unused
    731ffd8dea1c clk: Initialize struct clk_core kref earlier
    02a516cbda04 clk: Remove prepare_lock hold assertion in __clk_release()
    d0d04efa2e36 interconnect: Don't access req_list while it's being manipulated
    d7cc1d721564 platform/x86/amd/pmc: Extend Framework 13 quirk to more BIOSes
    3adcbec4dc62 usb: new quirk to reduce the SET_ADDRESS request timeout
    26cc5cb00310 usb: xhci: Add timeout argument in address_device USB HCD callback
    ac1ddbed5b2e drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
    771ad4dfbdbb ALSA: scarlett2: Rename scarlett_gen2 to scarlett2
    4afc65cf78bd PCI: Simplify pcie_capability_clear_and_set_word() to ..._clear_word()
    d9a28916ff35 PCI/DPC: Use FIELD_GET()
    4ef929059230 ALSA: scarlett2: Add Focusrite Clarett 2Pre and 4Pre USB support
    92088c488e20 ALSA: scarlett2: Add Focusrite Clarett+ 2Pre and 4Pre support
    2c57a5c68f49 ALSA: scarlett2: Add correct product series name to messages
    9c48e24cb71b ALSA: scarlett2: Default mixer driver to enabled
    3c1d704d9266 thunderbolt: Reset topology created by the boot firmware
    90cdb98254ef thunderbolt: Make tb_switch_reset() support Thunderbolt 2, 3 and USB4 routers
    dc32d754d7cc thunderbolt: Introduce tb_path_deactivate_hop()
    6c24584aface thunderbolt: Introduce tb_port_reset()
    ac630fb8dbb5 ASoC: ti: Convert Pandora ASoC to GPIO descriptors
    a95f279ecd33 ALSA: scarlett2: Add support for Clarett 8Pre USB
    a299e0bf4d2d ALSA: scarlett2: Move USB IDs out from device_info struct
    259486b5bdc6 drm/radeon: make -fstrict-flex-arrays=3 happy
    158010bf1a84 drm/panel: visionox-rm69299: don't unregister DSI device
    6690cc2732e2 drm: nv04: Fix out of bounds access
    2df56f4ea769 s390/cio: fix race condition during online processing
    e43c12451a7d s390/qdio: handle deferred cc1
    c418d7a675d8 perf lock contention: Add a missing NULL check
    910be4f9f805 RDMA/mlx5: Fix port number for counter query in multi-port configuration
    b42852826323 RDMA/cm: Print the old state when cm_destroy_id gets timeout
    99a7ccc4e038 RDMA/rxe: Fix the problem "mutex_destroy missing"
    75170320459a drm/i915/mst: Limit MST+DSC to TGL+
    7ba7f7074006 net: ethernet: ti: am65-cpsw-nuss: cleanup DMA Channels before using them
    6855f724f196 net: ethernet: mtk_eth_soc: fix WED + wifi reset
    cd81184797a0 gpiolib: swnode: Remove wrong header inclusion
    121fb75414ab s390/ism: Properly fix receive message buffer allocation
    f8de1b6208bf net: dsa: mt7530: fix port mirroring for MT7988 SoC switch
    d1be39605392 net: dsa: mt7530: fix mirroring frames received on local port
    40f4ced305c6 tun: limit printing rate when illegal packet received by tun dev
    0ada9981cdfe ice: Fix checking for unsupported keys on non-tunnel device
    8d2e34e4e20e ice: tc: allow zero flags in parsing tc flower
    91efeadfa20e ice: tc: check src_vsi in case of traffic from VF
    93d565ebe41f net: stmmac: Fix IP-cores specific MAC capabilities
    178856bf1f50 net: stmmac: Fix max-speed being ignored on queue re-init
    0580dcc53a7f net: stmmac: Apply half-duplex-less constraint for DW QoS Eth only
    447e00fb04f7 octeontx2-pf: fix FLOW_DIS_IS_FRAGMENT implementation
    622479d10047 net: change maximum number of UDP segments to 128
    48c4bb81df19 net/mlx5e: Prevent deadlock while disabling aRFS
    c7fbc7bb48fc net/mlx5: Lag, restore buckets number to default after hash LAG deactivation
    ff928d7bb1d8 net: sparx5: flower: fix fragment flags handling
    022d81a709cd af_unix: Don't peek OOB data without MSG_OOB.
    aea3cb8cfb30 af_unix: Call manage_oob() for every skb in unix_stream_read_generic().
    4ed82dd368ad netfilter: flowtable: incorrect pppoe tuple
    a2471d271042 netfilter: flowtable: validate pppoe header
    ebf7c9746f07 netfilter: nft_set_pipapo: do not free live element
    3f59ac29dea0 netfilter: br_netfilter: skip conntrack input hook for promisc packets
    ad333578f736 netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()
    a9ebf340d123 netfilter: nf_tables: Fix potential data-race in __nft_expr_type_get()
    5562a51c6e4e scsi: ufs: qcom: Add missing interconnect bandwidth values for Gear 5
    ac4ad513de4f arm64: tlb: Fix TLBI RANGE operand
    663f72cf95ed arm64/mm: Modify range-based tlbi to decrement scale
    bc835b838999 net: usb: ax88179_178a: avoid writing the mac address before first reading
    37e14dbe8c8f scsi: core: Fix handling of SCMD_FAIL_IF_RECOVERING
    998f52a86055 random: handle creditable entropy from atomic process context
    9f39e9e367b3 selftests/ftrace: Limit length in subsystem-enable tests
    5b84dab87cdb SUNRPC: Fix rpcgss_context trace event acceptor field
    5e3eb862df9f drm/i915/vma: Fix UAF on destroy against retire race
    63fb4af8a069 io_uring: Fix io_cqring_wait() not restoring sigmask on get_timespec64() failure
    390a71e361f4 media: videobuf2: request more buffers for vb2_read
    bef71390ac37 drm/msm/dpu: populate SSPP scaler block version
    fe09b8d26e1a selftests: timers: Fix posix_timers ksft_print_msg() warning
    dbfb5232bd83 ceph: redirty page before returning AOP_WRITEPAGE_ACTIVATE
    985b9ee8a2cf ceph: rename _to_client() to _to_fs_client()
    2e2023e9a4c2 ceph: pass the mdsc to several helpers
    a17236f99f49 drm/amd/display: Do not recursively call manual trigger programming
    c626db7151bf selftests/timers/posix_timers: Reimplement check_timer_distribution()
    b04cae49a5e7 selftests: timers: Convert posix_timers test to generate KTAP output
    9d106175b7a0 drm/i915: Disable live M/N updates when using bigjoiner
    ccb0934aeb3f drm/i915: Adjust seamless_m_n flag behaviour
    deaeb5b64c5b drm/i915: Enable VRR later during fastsets
    7e50ac4203d6 drm/i915: Extract intel_crtc_vblank_evade_scanlines()
    e19dc8c49e97 drm/i915: Change intel_pipe_update_{start,end}() calling convention
    51cc733fb48e drm/i915/cdclk: Fix voltage_level programming edge case
    6711b0817a38 drm/i915/mst: Reject FEC+MST on ICL
    6b625d2743b4 drm/i915: Fix FEC pipe A vs. DDI A mixup
    488d4cbc6f28 smb: client: refresh referral without acquiring refpath_lock
    645f332c6b63 smb: client: guarantee refcounted children from parent session
    441786be0c19 smb3: show beginning time for per share stats
    6202996a1c18 smb: client: fix UAF in smb2_reconnect_server()
    fe1bad73d35f smb: client: remove extra @chan_count check in __cifs_put_smb_ses()
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 639536f032d4cdd18a01611c2c5a6d630d2a9b79)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
c9e3ee8817 linux-yocto/6.6: update CVE exclusions (6.6.28)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: f0683a02772e83ef1c54a60664f68364079540f7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
1eca3c7e44 linux-yocto/6.6: update to v6.6.28
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    ba151416051a Linux 6.6.28
    50971570ba79 drm/amd/display: fix disable otg wa logic in DCN316
    5ca6cbd8adbe drm/amd/display: Set VSC SDP Colorimetry same way for MST and SST
    b12c3cfd8265 drm/amd/display: Program VSC SDP colorimetry for all DP sinks >= 1.4
    bd3105a71d1c drm/amdgpu: fix incorrect number of active RBs for gfx11
    fa2df4aa3e3a drm/amdgpu: always force full reset for SOC21
    1520bf605d2f drm/amdgpu: Reset dGPU if suspend got aborted
    2708354ffb70 drm/i915: Disable port sync when bigjoiner is used
    d1742f77bdf2 drm/i915/cdclk: Fix CDCLK programming order when pipes are active
    09e6cbe98c10 x86/bugs: Replace CONFIG_SPECTRE_BHI_{ON,OFF} with CONFIG_MITIGATION_SPECTRE_BHI
    a823da65dce8 x86/bugs: Remove CONFIG_BHI_MITIGATION_AUTO and spectre_bhi=auto
    9c9cd014d048 x86/bugs: Clarify that syscall hardening isn't a BHI mitigation
    7497589a96bc x86/bugs: Fix BHI handling of RRSBA
    c83e35f47595 x86/bugs: Rename various 'ia32_cap' variables to 'x86_arch_cap_msr'
    bdbbe95b536c x86/bugs: Cache the value of MSR_IA32_ARCH_CAPABILITIES
    39053a34963a x86/bugs: Fix BHI documentation
    2d003904b934 x86/bugs: Fix return type of spectre_bhi_state()
    548af6102c8e irqflags: Explicitly ignore lockdep_hrtimer_exit() argument
    052d73ca9435 x86/apic: Force native_apic_mem_read() to use the MOV instruction
    5c5fb5057933 selftests: timers: Fix abs() warning in posix_timers test
    2978ee7c973c x86/cpu: Actually turn off mitigations by default for SPECULATION_MITIGATIONS=n
    d4a2a965d630 perf/x86: Fix out of range data
    d619651ae6e3 vhost: Add smp_rmb() in vhost_enable_notify()
    8a05b6630be0 vhost: Add smp_rmb() in vhost_vq_avail_empty()
    a156f37b8e3c arm64: dts: imx8-ss-dma: fix spi lpcg indices
    e9e44fc88aba arm64: dts: imx8-ss-lsio: fix pwm lpcg indices
    16c2dd96e479 arm64: dts: imx8-ss-conn: fix usb lpcg indices
    7c4285471c03 arm64: dts: imx8-ss-dma: fix adc lpcg indices
    19a8492473b0 arm64: dts: imx8-ss-dma: fix can lpcg indices
    20ceb2b50fd5 arm64: dts: imx8qm-ss-dma: fix can lpcg indices
    04e018bd913d drm/client: Fully protect modes[] with dev->mode_config.mutex
    31806711e8a4 drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()
    a81b2acd43e2 drm/ast: Fix soft lockup
    4d87f08eb755 drm/amdkfd: Reset GPU on queue preemption failure
    f9b31dfdc0b5 drm/i915/vrr: Disable VRR when using bigjoiner
    88685c3e7d24 drm/vmwgfx: Enable DMA mappings with SEV
    d43e11d9c7fc accel/ivpu: Fix deadlock in context_xa
    2704f4833550 scsi: sg: Avoid race in error handling & drop bogus warn
    46af9047523e scsi: sg: Avoid sg device teardown race
    d15023fb4073 kprobes: Fix possible use-after-free issue on kprobe registration
    96b7b0934a34 io_uring/net: restore msg_control on sendzc retry
    585c5732caaa btrfs: qgroup: convert PREALLOC to PERTRANS after record_root_in_trans
    363be24c010a btrfs: record delayed inode root in transaction
    14431815a4ae btrfs: qgroup: fix qgroup prealloc rsv leak in subvolume operations
    03cca8fe300f btrfs: qgroup: correctly model root qgroup rsv in convert
    732752bac3bd selftests: mptcp: use += operator to append strings
    4c6d2f453970 iommu/vt-d: Allocate local memory for page request queue
    f3ccbb6b6d52 iommu/vt-d: Fix wrong use of pasid config
    e3e1e80b692c tracing: hide unused ftrace_event_id_fops
    2fc4d53ff055 net: ena: Set tx_info->xdpf value to NULL
    354627f92679 net: ena: Use tx_ring instead of xdp_ring for XDP channel TX
    bc0ad6857c86 net: ena: Pass ena_adapter instead of net_device to ena_xmit_common()
    c891d7678f44 net: ena: Move XDP code to its new files
    5c7f2240d983 net: ena: Fix incorrect descriptor free behavior
    dc1d1e35c8fd net: ena: Wrong missing IO completions check order
    4d142dda057a net: ena: Fix potential sign extension issue
    507cc232ffe5 af_unix: Fix garbage collector racing against connect()
    301fdbaa0bba af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
    8b6c4b625826 net: dsa: mt7530: trap link-local frames regardless of ST Port State
    785510c91be3 Revert "s390/ism: fix receive message buffer allocation"
    54541e18ca9d net: sparx5: fix wrong config being used when reconfiguring PCS
    292a76473334 net/mlx5e: Do not produce metadata freelist entries in Tx port ts WQE xmit
    8777d6ad7b8a net/mlx5e: HTB, Fix inconsistencies with QoS SQs number
    f9ac93b6f3de net/mlx5e: Fix mlx5e_priv_init() cleanup flow
    690e3d91c5b1 net/mlx5: Correctly compare pkt reformat ids
    5cf5337ef701 net/mlx5: Properly link new fs rules into the tree
    cbe5852d3d8d net/mlx5: offset comp irq index in name by one
    8c91c6085847 net/mlx5: Register devlink first under devlink lock
    7a836736b653 net/mlx5: SF, Stop waiting for FW as teardown was called
    89242d9584c3 netfilter: complete validation of user input
    e2c680fce985 Bluetooth: l2cap: Don't double set the HCI_CONN_MGMT_CONNECTED bit
    72473db90900 Bluetooth: SCO: Fix not validating setsockopt user input
    cc950d584610 Bluetooth: hci_sync: Fix using the same interval and window for Coded PHY
    de3c85d321bf Bluetooth: hci_sync: Use QoS to determine which PHY to scan
    a39cc8d08270 Bluetooth: ISO: Don't reject BT_ISO_QOS if parameters are unset
    c832164549f8 Bluetooth: ISO: Align broadcast sync_timeout with connection timeout
    01b11a056667 ipv6: fix race condition between ipv6_get_ifaddr and ipv6_del_addr
    5fd0b8b48696 ipv4/route: avoid unused-but-set-variable warning
    8a18d2f0c214 ipv6: fib: hide unused 'pn' variable
    cc10d3eadb58 octeontx2-af: Fix NIX SQ mode and BP config
    601a89ea24d0 af_unix: Clear stale u->oob_skb.
    cba376eb036c net: ks8851: Handle softirqs at the end of IRQ thread to fix hang
    e454abe5cc17 net: ks8851: Inline ks8851_rx_skb()
    499c993ca7cc bnxt_en: Reset PTP tx_avail after possible firmware reset
    4cbcf8cffa01 bnxt_en: Fix error recovery for RoCE ulp client
    c60ed825530b bnxt_en: Fix possible memory leak in bnxt_rdma_aux_device_init()
    1e91775286f2 s390/ism: fix receive message buffer allocation
    190d9efa5773 geneve: fix header validation in geneve[6]_xmit_skb
    740ffad95ca8 block: fix q->blkg_list corruption during disk rebind
    7af5582ea672 octeontx2-pf: Fix transmit scheduler resource leak
    b143e19dc28c xsk: validate user input for XDP_{UMEM|COMPLETION}_FILL_RING
    80fa4fb27303 u64_stats: fix u64_stats_init() for lockdep when used repeatedly in one file
    bdce65f2a95e net: openvswitch: fix unwanted error log on timeout policy probing
    60b87b5ecbe0 scsi: qla2xxx: Fix off by one in qla_edif_app_getstats()
    8a1821645708 scsi: hisi_sas: Modify the deadline for ata_wait_after_reset()
    aebbe59bd6a7 nouveau: fix function cast warning
    42cbe04a5c77 Revert "drm/qxl: simplify qxl_fence_wait"
    9bd1891cac32 cxl/core: Fix initialization of mbox_cmd.size_out in get event
    ea16e637e868 arm64: dts: imx8-ss-conn: fix usdhc wrong lpcg clock order
    f7ef9a437950 drm/msm/dpu: don't allow overriding data from catalog
    eb0ef4118693 cxl/core/regs: Fix usage of map->reg_type in cxl_decode_regblock() before assigned
    645cef136e47 cxl/mem: Fix for the index of Clear Event Record Handle
    c0781d6898dc firmware: arm_scmi: Make raw debugfs entries non-seekable
    6f9a8a54bb8e ARM: OMAP2+: fix USB regression on Nokia N8x0
    ff75f9f74975 mmc: omap: restore original power up/down steps
    f6c34c9bb3d1 mmc: omap: fix deferred probe
    267bcd2213ac mmc: omap: fix broken slot switch lookup
    086426dc64e0 ARM: OMAP2+: fix N810 MMC gpiod table
    d73e7fb9d7c8 ARM: OMAP2+: fix bogus MMC GPIO labels on Nokia N8x0
    7611722dc5dd media: cec: core: remove length check of Timer Status
    9fdfeef4c541 PM: s2idle: Make sure CPUs will wakeup directly on resume
    3860152c104f ACPI: scan: Do not increase dep_unmet for already met dependencies
    cfd758041d8b platform/chrome: cros_ec_uart: properly fix race condition
    1e3b8874d55c drm/amd/pm: fixes a random hang in S4 for SMU v13.0.4/11
    9ab5e44b9bac Bluetooth: Fix memory leak in hci_req_sync_complete()
    a9cd92bc051f ring-buffer: Only update pages_touched when a new page is touched
    3f28d49a328f raid1: fix use-after-free for original bio in raid1_write_request()
    1808b991c790 ARM: dts: imx7s-warp: Pass OV2680 link-frequencies
    4ca2a5fb54ea batman-adv: Avoid infinite loop trying to resize local TT
    341b5e1016cf ata: libata-scsi: Fix ata_scsi_dev_rescan() error path
    99618f8a7216 ata: libata-core: Allow command duration limits detection for ACS-4 drives
    05eedb5abc07 smb3: fix Open files on server counter going negative
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 31bf8234f80d19323f5200c3a2a3b1ba9cb30991)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
c530e42b95 linux-yocto/6.6: cfg: drop obselete options
Integrating the following commit(s) to linux-yocto/.:

1/2 [
    Author: Paul Gortmaker
    Email: paulg@kernel.org
    Subject: cgl: drop SELINUX_DISABLE option
    Date: Tue, 16 Apr 2024 12:28:43 -0400

    It was removed from mainline in v6.4 in commit f22f9aaf6c3d ("selinux:
    remove the runtime disable functionality").

    Signed-off-by: Paul Gortmaker <paulg@kernel.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/2 [
    Author: Paul Gortmaker
    Email: paulg@kernel.org
    Subject: full_nohz: remove RCU_FAST_NO_HZ gone from upstream
    Date: Tue, 16 Apr 2024 14:56:42 -0400

    In commit e2c73a6860bd ("rcu: Remove the RCU_FAST_NO_HZ Kconfig option")
    the so named option was removed from the v5.17 kernel.

    We should get it out of our active branches to prevent a warning.

    Signed-off-by: Paul Gortmaker <paulg@kernel.org>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 8980da85dc1a55be4fcf2cb92859cc6066433531)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
84e146f626 linux-yocto/6.6: update CVE exclusions (6.6.27)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 8Apr24
        Date: Tue, 9 Apr 2024 18:19:11 -0400

    ]

(From OE-Core rev: d690b99cb05cc2f2b009083361fe0eec105b9a32)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
0c8174e4fe linux-yocto/6.6: update to v6.6.27
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    5e828009c8b3 Linux 6.6.27
    5c1dc516f52a drm: Check polling initialized before enabling in drm_helper_probe_single_connector_modes
    14ac934db851 Revert "drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()"
    91fb03cea0d5 VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler()
    b456cb98cbad net: mpls: error out if inner headers are not set
    83890a450378 Bluetooth: btintel: Fixe build regression
    ce64c26ba842 platform/x86: intel-vbtn: Update tablet mode switch at end of probe
    300a2b9c2b28 randomize_kstack: Improve entropy diffusion
    41671f0c0182 media: mediatek: vcodec: adding lock to protect encoder context list
    0a2dc707aa42 media: mediatek: vcodec: adding lock to protect decoder context list
    ec25fc3c2c1e media: mediatek: vcodec: Fix oops when HEVC init fails
    a445eb1f630f selftests: mptcp: display simult in extra_msg
    9dff96b8b3a4 gcc-plugins/stackleak: Avoid .head.text section
    7365444cbd8f ALSA: hda/realtek: Add quirks for some Clevo laptops
    3d4b909704bf fbmon: prevent division by zero in fb_videomode_from_videomode()
    5e11bacff08b drivers/nvme: Add quirks for device 126f:2262
    19e525ebbb88 modpost: fix null pointer dereference
    21162ad2de74 io_uring: clear opcode specific data for an early failure
    89f0cf6ac620 fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2
    4cd44fd34545 x86/xen: attempt to inflate the memory balloon on PVH
    9afc9fde538b ASoC: soc-core.c: Skip dummy codec when adding platforms
    d009236a37ae thermal/of: Assume polling-delay(-passive) 0 when absent
    6712b758698b ASoC: amd: yc: Fix non-functional mic on ASUS M7600RE
    fa5c8f2c88a9 usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined
    55b724b8f7ee usb: typec: tcpci: add generic tcpci fallback compatible
    d8518f05ee82 thunderbolt: Keep the domain powered when USB4 port is in redrive mode
    266f403ec475 usb: typec: ucsi: Limit read size on v1.2
    0d52e1853bc1 usb: gadget: uvc: mark incomplete frames with UVC_STREAM_ERR
    4b1f991bad56 kernfs: RCU protect kernfs_nodes and avoid kernfs_idr_lock in kernfs_find_and_get_node_by_id()
    ac191bcb0fe0 bus: mhi: host: Add MHI_PM_SYS_ERR_FAIL state
    bb72eb818d07 tools: iio: replace seekdir() in iio_generic_buffer
    fb8579acacd0 ring-buffer: use READ_ONCE() to read cpu_buffer->commit_page in concurrent environment
    80f175d0f352 Input: xpad - add support for Snakebyte GAMEPADs
    fd067c8b3f86 ktest: force $buildonly = 1 for 'make_warnings_file' test type
    60668872cca8 ALSA: hda/realtek: Add quirk for Lenovo Yoga 9 14IMH9
    08aba129f542 perf/x86/amd/lbr: Discard erroneous branch entries
    a9852cf5d7a1 platform/x86: touchscreen_dmi: Add an extra entry for a variant of the Chuwi Vi8 tablet
    ed2f8b713a45 Input: allocate keycode for Display refresh rate toggle
    dddc9f40ac8e Input: imagis - use FIELD_GET where applicable
    2e90774fbbe0 RDMA/cm: add timeout to cm_destroy_id wait
    5f7fd6aa4c48 block: prevent division by zero in blk_rq_stat_sum()
    0662deae8bb8 drivers/perf: hisi: Enable HiSilicon Erratum 162700402 quirk for HIP09
    44723bd493cd input/touchscreen: imagis: Correct the maximum touch area value
    d0e2f7ae04bb libperf evlist: Avoid out-of-bounds access
    a822f30afada Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default"
    846611299931 PCI: Disable D3cold on Asus B1400 PCI-NVMe bridge
    73bdf8d41cb5 SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int
    3d1b47e3a935 drm: Check output polling initialized before disabling
    09d4600b9e99 drm/amd/amdgpu: Fix potential ioremap() memory leaks in amdgpu_device_init()
    0f09e89e667e HID: input: avoid polling stylus battery on Chromebook Pompom
    30930f0f4674 i2c: designware: Fix RX FIFO depth define on Wangxun 10Gb NIC
    cd0a1835bf84 accel/habanalabs: increase HL_MAX_STR to 64 bytes to avoid warnings
    953fee8160f1 drm/amd/display: Fix nanosec stat overflow
    a5e76867714b ext4: forbid commit inconsistent quota data when errors=remount-ro
    58546b2aa263 ext4: add a hint for block bitmap corrupt state in mb_groups
    bd6b1c418bd6 ASoC: Intel: avs: Populate board selection with new I2S entries
    f4a345e0aaf4 ALSA: firewire-lib: handle quirk to calculate payload quadlets as data block counter
    cb9420142e50 media: sta2x11: fix irq handler cast
    214a6c4a28c1 Julia Lawall reported this null pointer dereference, this should fix it.
    24e5e1eff8ba rcu-tasks: Repair RCU Tasks Trace quiescence check
    4d58c9fb45c7 rcu/nocb: Fix WARN_ON_ONCE() in the rcu_nocb_bypass_lock()
    f4b6caeb3cfe ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops
    d43a90294afe isofs: handle CDs with bad root inode but good Joliet root directory
    07a2aa674fca scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc()
    89e8524135a3 sysv: don't call sb_bread() with pointers_lock held
    56f5e36dace6 pinctrl: renesas: checker: Limit cfg reg enum checks to provided IDs
    852ad6a4f55c drm/ttm: return ENOSPC from ttm_bo_mem_space v3
    02a3b0d58217 ASoC: SOF: amd: Optimize quirk for Valve Galileo
    f19ad40352a8 drm: panel-orientation-quirks: Add quirk for GPD Win Mini
    eafaec40d00f Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails
    d6b2fe2db1d0 drm/vc4: don't check if plane->state->fb == state->fb
    8677a14a8821 Bluetooth: Add new quirk for broken read key length on ATS2851
    6d0950cf4313 Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922
    ffdca0a62aba Bluetooth: btintel: Fix null ptr deref in btintel_read_version
    a2e6bffc0388 net/smc: reduce rtnl pressure in smc_pnet_create_pnetids_list()
    c926393dc344 ice: use relative VSI index for VFs instead of PF VSI number
    c1363ed8867b btrfs: send: handle path ref underflow in header iterate_inode_ref()
    30237d6764fe btrfs: export: handle invalid inode or root reference in btrfs_get_parent()
    0d23b34c68c4 btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks()
    5d7a8585fbb3 wifi: cfg80211: check A-MSDU format more carefully
    95eec168c288 wifi: iwlwifi: Add missing MODULE_FIRMWARE() for *.pnvm
    2618ab102c80 overflow: Allow non-type arg to type_max() and type_min()
    3ba4aceb68f0 cpufreq: Don't unregister cpufreq cooling on CPU hotplug
    138fdeac75fb wifi: ath11k: decrease MHI channel buffer length to 8KB
    4031b72ca747 dma-direct: Leak pages on dma_set_decrypted() failure
    9470114dfaf4 net: pcs: xpcs: Return EINVAL in the internal methods
    cf21eb6a9fc2 tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num()
    ec7256887d07 pstore/zone: Add a null pointer check to the psz_kmsg_read
    a217b6135dab ACPI: x86: Move acpi_quirk_skip_serdev_enumeration() out of CONFIG_X86_ANDROID_TABLETS
    1feb6fcfbac3 wifi: mt76: mt7996: add locking for accessing mapped registers
    1152c2cd38e4 wifi: mt76: mt7996: disable AMSDU for non-data frames
    891fd07da87b wifi: mt76: mt7915: add locking for accessing mapped registers
    c39e75fae05c wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro
    5dc5f8c705c3 firmware: tegra: bpmp: Return directly after a failed kzalloc() in get_filename()
    1b2b26595bb0 net: skbuff: add overflow debug check to pull/push helpers
    b8dccb25c5dc ionic: set adminq irq affinity
    9d3f959b4266 pmdomain: imx8mp-blk-ctrl: imx8mp_blk: Add fdcc clock to hdmimix domain
    ce666cecc09c pmdomain: ti: Add a null pointer check to the omap_prm_domain_init
    a7b862abe484 net: add netdev_lockdep_set_classes() to virtual drivers
    fc1d1ca46d01 arm64: dts: rockchip: fix rk3399 hdmi ports node
    5c014f039544 arm64: dts: rockchip: fix rk3328 hdmi ports node
    bb8ca341f889 ARM: dts: rockchip: fix rk322x hdmi ports node
    c795042eea78 ARM: dts: rockchip: fix rk3288 hdmi ports node
    3f0a74728170 cpuidle: Avoid potential overflow in integer multiplication
    750d44684a95 panic: Flush kernel log buffer at the end
    a2e14cc2da40 printk: For @suppress_panic_printk check for other CPU in panic
    dbd3c05d71e1 wifi: iwlwifi: pcie: Add the PCI device id for new hardware
    dae70a575656 VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host()
    0a6def05767c wifi: rtw89: pci: enlarge RX DMA buffer to consider size of RX descriptor
    7a71f61ebf95 net: phy: phy_device: Prevent nullptr exceptions on ISR
    2485beea14b3 net: stmmac: dwmac-starfive: Add support for JH7100 SoC
    3dac6ab4d977 bnx2x: Fix firmware version string character counts
    b34d64e9aa55 wifi: rtw89: fix null pointer access when abort scan
    15df1981f0ed wifi: ath9k: fix LNA selection in ath_ant_try_scan()
    315eb3c2df7e amdkfd: use calloc instead of kzalloc to avoid integer overflow
    0ccfb8e07e79 Linux 6.6.26
    6d9ef0c36980 x86: set SPECTRE_BHI_ON as default
    cb238e95ee72 KVM: x86: Add BHI_NO
    1c42ff893a8f x86/bhi: Mitigate KVM by default
    d414b401f953 x86/bhi: Add BHI mitigation knob
    118794d0a572 x86/bhi: Enumerate Branch History Injection (BHI) bug
    c6e3d590d051 x86/bhi: Define SPEC_CTRL_BHI_DIS_S
    eb36b0dce213 x86/bhi: Add support for clearing branch history at syscall entry
    eb0f175b3428 x86/syscall: Don't force use of indirect calls for system calls
    108feca9e47d x86/bugs: Change commas to semicolons in 'spectre_v2' sysfs file
    046545314c79 x86/boot: Move mem_encrypt= parsing to the decompressor
    ccde70aa54c4 x86/efistub: Remap kernel text read-only before dropping NX attribute
    56408ed92903 x86/sev: Move early startup code into .head.text section
    af90ced75242 x86/sme: Move early SME kernel encryption handling into .head.text
    dc4cbf9e2df4 efi/libstub: Add generic support for parsing mem_encrypt=
    5447cb97e9b2 x86/head/64: Move the __head definition to <asm/init.h>
    876941f533e7 bpf: support deferring bpf_link dealloc to after RCU grace period
    771690b7c31d bpf: put uprobe link's path and task in release callback
    43eca11b7c73 mptcp: don't account accept() of non-MPC client as fallback to TCP
    12f353fac65d mptcp: don't overwrite sock_ops in mptcp_is_tcpsk()
    5b5ff82491a1 selftests: mptcp: connect: fix shellcheck warnings
    e4a449368a2c of: module: prevent NULL pointer dereference in vsnprintf()
    37b81aed6468 Revert "x86/mpparse: Register APIC address only once"
    a7ff84a6fe5a drm/i915/gt: Enable only one CCS for compute workload
    726ff623869d drm/i915/gt: Do not generate the command streamer for all the CCS
    c1f7ce2a11a9 drm/i915/gt: Disable HW load balancing for CCS
    2cfff2173213 smb: client: fix potential UAF in cifs_signal_cifsd_for_reconnect()
    aa582b33f944 smb: client: fix potential UAF in smb2_is_network_name_deleted()
    0a15ba88a32f smb: client: fix potential UAF in is_valid_oplock_break()
    f92739fdd452 smb: client: fix potential UAF in smb2_is_valid_lease_break()
    21fed37d2bdc smb: client: fix potential UAF in smb2_is_valid_oplock_break()
    10e17ca4000e smb: client: fix potential UAF in cifs_dump_full_key()
    c3cf8b74c579 smb: client: fix potential UAF in cifs_stats_proc_show()
    cf03020c56d3 smb: client: fix potential UAF in cifs_stats_proc_write()
    a65f2b56334b smb: client: fix potential UAF in cifs_debug_files_proc_show()
    6f17163b9339 smb3: retrying on failed server close
    ba55f8a995f6 smb: client: serialise cifs_construct_tcon() with cifs_mount_mutex
    9b2ee27e8de5 smb: client: handle DFS tcons in cifs_construct_tcon()
    00effef72c98 riscv: process: Fix kernel gp leakage
    7a82963245eb riscv: Fix spurious errors from __get/put_kernel_nofault
    3dcb2223b973 s390/entry: align system call table on 8 bytes
    782baf52e7cb selftests/mm: include strings.h for ffsl
    43fad1d0284d mm/secretmem: fix GUP-fast succeeding on secretmem folios
    8a44119ca445 arm64/ptrace: Use saved floating point state type to determine SVE layout
    92f32f108693 perf/x86/intel/ds: Don't clear ->pebs_data_cfg for the last PEBS event
    453b5f2dec27 x86/coco: Require seeding RNG with RDRAND on CoCo systems
    5a02df3e9247 x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()
    51b7841f3fe8 x86/mm/pat: fix VM_PAT handling in COW mappings
    801c8b8ec5bf of: dynamic: Synchronize of_changeset_destroy() with the devlink removals
    dfa655727688 driver core: Introduce device_link_wait_removal()
    65938e81df21 io_uring/kbuf: hold io_buffer_list reference over mmap
    6b9d49bcd97b io_uring: use private workqueue for exit work
    b392402d29ab io_uring/kbuf: protect io_buffer_list teardown with a reference
    4c0a5da0e70e io_uring/kbuf: get rid of bl->is_ready
    d6e03f6d8bcc io_uring/kbuf: get rid of lower BGID lists
    781477d729be ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone
    04d78aa05ae4 ALSA: hda/realtek - Fix inactive headset mic jack
    67c477f3201c ksmbd: do not set SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
    a637fabac554 ksmbd: validate payload size in ipc response
    a06562fd4ce2 ksmbd: don't send oplock break if rename fails
    2f0262ac3a8c gpio: cdev: fix missed label sanitizing in debounce_setup()
    d9f0804ab0b8 gpio: cdev: check for NULL labels when sanitizing them for irqs
    63bd08629aee x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk
    ac522af8db5c ice: fix typo in assignment
    9d60e8ec996f nfsd: hold a lighter-weight client reference over CB_RECALL_ANY
    6e307a6d9eb4 riscv: Disable preemption when using patch_map()
    1ba1291172f9 SUNRPC: Fix a slow server-side memory leak with RPC-over-TCP
    e12149dd9ba2 ASoC: SOF: amd: fix for false dsp interrupts
    cbd080c30834 ata: sata_mv: Fix PCI device ID table declaration compilation warning
    4b31a226097c spi: mchp-pci1xxx: Fix a possible null pointer dereference in pci1xxx_spi_probe
    0fdada1ef5b1 cifs: Fix caching to try to do open O_WRONLY as rdwr on server
    0f28afed9f9d Revert "ALSA: emu10k1: fix synthesizer sample playback position and caching"
    f3e692c8c24a scsi: sd: Unregister device if device_add_disk() failed in sd_probe()
    56de23eac65f scsi: mylex: Fix sysfs buffer lengths
    4cad40d93665 ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit
    fce7a547b9c8 regmap: maple: Fix uninitialized symbol 'ret' warnings
    04b52388c46d ASoC: amd: acp: fix for acp_init function error handling
    3d3e148c7576 spi: s3c64xx: Use DMA mode from fifo size
    5448a99c8096 spi: s3c64xx: determine the fifo depth only once
    f8a6edd44903 spi: s3c64xx: allow full FIFO masks
    6f9d907bee2a spi: s3c64xx: define a magic value
    3fa0085f1052 spi: s3c64xx: remove else after return
    56aeaed8c822 spi: s3c64xx: explicitly include <linux/bits.h>
    0df4616ef533 spi: s3c64xx: sort headers alphabetically
    bb3ee5fddac1 spi: s3c64xx: Extract FIFO depth calculation to a dedicated macro
    80ca762f1bdd ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw
    229c761b198e ASoC: rt722-sdca-sdw: fix locking sequence
    1064108334bb ASoC: rt712-sdca-sdw: fix locking sequence
    3bfbc530a658 ASoC: rt711-sdw: fix locking sequence
    53c8045621c1 ASoC: rt711-sdca: fix locking sequence
    8eea5ae23bab ASoC: rt5682-sdw: fix locking sequence
    cc4d9f0597ee drm/prime: Unbreak virtgpu dma-buf export
    692a51bebf45 nouveau/uvmm: fix addr/range calcs for remap operations
    9e3941c90e46 drm/panfrost: fix power transition timeout warnings
    4930d7a414c1 ALSA: hda: cs35l56: Add ACPI device match tables
    3af6c5ac72dc regmap: maple: Fix cache corruption in regcache_maple_drop()
    4e73748d5954 RISC-V: Update AT_VECTOR_SIZE_ARCH for new AT_MINSIGSTKSZ
    b2ddeb7fb322 drivers/perf: riscv: Disable PERF_SAMPLE_BRANCH_* while not supported
    3e1a29fb81c2 ASoC: wm_adsp: Fix missing mutex_lock in wm_adsp_write_ctl()
    40613ea1d5ea 9p: Fix read/write debug statements to report server reply
    f4a192cd7b25 fs/pipe: Fix lockdep false-positive in watchqueue pipe_write()
    ab7a6fe9c1b5 KVM: SVM: Add support for allowing zero SEV ASIDs
    79b79ea2b3bf KVM: SVM: Use unsigned integers when dealing with ASIDs
    0a583b7ebb6f net: ravb: Always update error counters
    1dd9204143d1 net: ravb: Always process TX descriptor ring
    a9fb2f7463cd net: ravb: Let IP-specific receive function to interrogate descriptors
    199a1314ef78 e1000e: move force SMBUS from enable ulp function to avoid PHY loss issue
    eb96a5c02553 e1000e: Minor flow correction in e1000_shutdown function
    1d16cd91cd31 e1000e: Workaround for sporadic MDI error on Meteor Lake systems
    d5752c7bb1b2 intel: legacy: field get conversion
    e383353b7992 intel: add bit macro includes where needed
    e77220eec3ee i40e: Remove circular header dependencies and fix headers
    59a9de1a9430 i40e: Split i40e_osdep.h
    2ee5326d32c5 i40e: Move memory allocation structures to i40e_alloc.h
    0ed115020ac4 i40e: Simplify memory allocation functions
    0c52a50aec50 virtchnl: Add header dependencies
    45116a7c2138 i40e: Refactor I40E_MDIO_CLAUSE* macros
    f629cf15dcde i40e: Remove back pointer from i40e_hw structure
    66ca011a5df5 i40e: Enforce software interrupt during busy-poll exit
    e6d25dbd9243 i40e: Remove _t suffix from enum type names
    3da10e91ecd2 drm/amd: Flush GFXOFF requests in prepare stage
    da67a1139f05 drm/amd: Add concept of running prepare_suspend() sequence for IP blocks
    8b5f720486ca drm/amd: Evict resources during PM ops prepare() callback
    4356a2c3f296 drm/amd/display: Prevent crash when disable stream
    8dc9a27589a9 drm/amd/display: Fix DPSTREAM CLK on and off sequence
    113b12e16488 usb: typec: ucsi: Fix race between typec_switch and role_switch
    0dcf573f9977 i40e: fix vf may be used uninitialized in this function warning
    89e29416cf6b i40e: fix i40e_count_filters() to count only active/new filters
    76c39cf84cd2 octeontx2-af: Add array index check
    43b69da260af octeontx2-pf: check negative error code in otx2_open()
    b08b0c7a66c9 octeontx2-af: Fix issue with loading coalesced KPU profiles
    03b6f3692bae udp: prevent local UDP tunnel packets from being GROed
    2a1b61d0cb9b udp: do not transition UDP GRO fraglist partial checksums to unnecessary
    3001e7aa43d6 udp: do not accept non-tunnel GSO skbs landing in a tunnel
    a5eae74f39c0 r8169: skip DASH fw status checks when DASH is disabled
    36a1cb0371aa mlxbf_gige: stop interface during shutdown
    f2dd75e57285 ipv6: Fix infinite recursion in fib6_dump_done().
    74204bf9050f ax25: fix use-after-free bugs caused by ax25_ds_del_timer
    8b88752d2b12 tcp: Fix bind() regression for v6-only wildcard and v4(-mapped-v6) non-wildcard addresses.
    690e877ca2b6 selftests: reuseaddr_conflict: add missing new line at the end of the output
    4e3fdeecec57 erspan: make sure erspan_base_hdr is present in skb->head
    a03e138da771 i40e: Fix VF MAC filter removal
    b9bd1498cdce ice: fix enabling RX VLAN filtering
    fc126c1d51e9 gro: fix ownership transfer
    39864092cff3 selftests: net: gro fwd: update vxlan GRO test expectations
    23e1c6866e22 net: dsa: mv88e6xxx: fix usable ports on 88e6020
    95c1016a2d92 net: phy: micrel: Fix potential null pointer dereference
    f996e5ecf07f net: fec: Set mac_managed_pm during probe
    22a44eeef781 net: txgbe: fix i2c dev name cannot match clkdev
    1e304328d9c3 net: phy: micrel: lan8814: Fix when enabling/disabling 1-step timestamping
    784a65669720 net: stmmac: fix rx queue priority assignment
    c040b99461a5 net/sched: fix lockdep splat in qdisc_tree_reduce_backlog()
    f4d1fa512b2a net: dsa: sja1105: Fix parameters order in sja1110_pcs_mdio_write_c45()
    729ad2ac2a2c net/sched: act_skbmod: prevent kernel-infoleak
    3dcaf25993a2 KVM: arm64: Ensure target address is granule-aligned for range TLBI
    3ec21104c881 x86/retpoline: Do the necessary fixup to the Zen3/4 srso return thunk for !SRSO
    668b3074aa14 bpf, sockmap: Prevent lock inversion deadlock in map delete elem
    55fabde8d9f4 vboxsf: Avoid an spurious warning if load_nls_xxx() fails
    81d51b9b7c95 netfilter: validate user input for expected length
    9627fd0c6ea1 netfilter: nf_tables: discard table flag update with pending basechain deletion
    8b891153b2e4 netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get()
    333b5085522c netfilter: nf_tables: flush pending destroy work before exit_net release
    420132bee3d0 netfilter: nf_tables: reject new basechain after table flag update
    e40f32f17642 x86/bugs: Fix the SRSO mitigation on Zen3/4
    93eae88e34f6 x86/nospec: Refactor UNTRAIN_RET[_*]
    820a3626f3d7 x86/srso: Disentangle rethunk-dependent options
    6b10edf91640 x86/srso: Improve i-cache locality for alias mitigation
    065012bb7777 vsock/virtio: fix packet delivery to tap device
    ca58927b0038 net: mana: Fix Rx DMA datasize and skb_over_panic
    426366d577e9 net: usb: ax88179_178a: avoid the interface always configured as random address
    92309bed3c5f net/rds: fix possible cp null dereference
    27aa3e4b3088 xen-netfront: Add missing skb_mark_for_recycle
    117eed2997bc selftests: mptcp: join: fix dev in check_endpoint
    8038ee3c3e5b netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path
    b0b36dcbe0f2 netfilter: nf_tables: release batch on table validation from abort path
    d75632d0db3c Bluetooth: Fix TOCTOU in HCI debugfs implementation
    4a32840119d0 Bluetooth: hci_event: set the conn encrypted before conn establishes
    57e089d33b96 Bluetooth: add quirk for broken address properties
    1622e563b819 Bluetooth: qca: fix device-address endianness
    b99d0617b698 arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken
    417c6cc9ef8c Revert "Bluetooth: hci_qca: Set BDA quirk bit if fwnode exists in DT"
    3f9d57c77165 x86/bpf: Fix IP after emitting call depth accounting
    4d47169ab691 x86/cpufeatures: Add CPUID_LNX_5 to track recently added Linux-defined word
    b9906101f894 r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d
    477ed6789eb9 selinux: avoid dereference of garbage after mount failure
    9e2af26c29c6 KVM: arm64: Fix host-programmed guest events in nVHE
    651bf5b1d070 RISC-V: KVM: Fix APLIC in_clrip[x] read emulation
    200cc2c71841 RISC-V: KVM: Fix APLIC setipnum_le/be write emulation
    21bc9b158983 gpio: cdev: sanitize the label before requesting the interrupt
    a2671601fa02 modpost: do not make find_tosym() return NULL
    2bc92c61c541 modpost: Optimize symbol search from linear to binary search
    55ed6c477872 perf/x86/amd/lbr: Use freeze based on availability
    56e7373f9a67 x86/cpufeatures: Add new word for scattered features
    69fe5f177ad3 perf/x86/amd/core: Update and fix stalled-cycles-* events for Zen 2 and later
    d2be2f872fe7 x86/CPU/AMD: Add X86_FEATURE_ZEN1
    54273025be0c x86/CPU/AMD: Get rid of amd_erratum_1054[]
    824549816609 x86/CPU/AMD: Move the DIV0 bug detection to the Zen1 init function
    702a65272da6 x86/CPU/AMD: Move Zenbleed check to the Zen2 init function
    2577e2a7cae0 x86/CPU/AMD: Move erratum 1076 fix into the Zen1 init function
    eae590201d4a x86/CPU/AMD: Carve out the erratum 1386 fix
    936e59cb56ea x86/CPU/AMD: Add ZenX generations flags
    49d640d2946c btrfs: fix race when detecting delalloc ranges during fiemap
    8cc484e85e0c btrfs: ensure fiemap doesn't race with writes when FIEMAP_FLAG_SYNC is given
    fbc0a833c055 Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped."
    907835e6dee6 mm/treewide: replace pud_large() with pud_leaf()
    7cd73d90856d dm integrity: fix out-of-range warning
    2564623ee0da drm/i915/mtl: Update workaround 14018575942
    798781b43194 drm/i915/xelpg: Extend some workarounds/tuning to gfx version 12.74
    338db8193cb2 drm/i915/mtl: Update workaround 14016712196
    ec84b2a44b05 drm/i915: Replace several IS_METEORLAKE with proper IP version checks
    b3749611a5e5 drm/i915: Eliminate IS_MTL_GRAPHICS_STEP
    18e77951e14a drm/i915/xelpg: Call Xe_LPG workaround functions based on IP version
    67f7fba8a086 drm/i915: Consolidate condition for Wa_22011802037
    6b25099eea4b drm/i915: Tidy workaround definitions
    0a9901fdb7bb drm/i915/dg2: Drop pre-production GT workarounds
    f4877225313d inet: inet_defrag: prevent sk release while still in use
    54720f68c4ad Octeontx2-af: fix pause frame configuration in GMP mode
    74a78a00db8f net: lan743x: Add set RFE read fifo threshold for PCI1x1x chips
    4bb7ad116be7 net: bcmasp: Bring up unimac after PHY link up
    cf893953633d netfilter: nf_tables: skip netdev hook unregistration if table is dormant
    2d0d1abe119a netfilter: nf_tables: reject table flag and netdev basechain updates
    cddd0480a682 netfilter: nf_tables: reject destroy command to remove basechain hooks
    614bc8c71ed5 cifs: Fix duplicate fscache cookie warnings
    3f0784b2f1eb bpf: Protect against int overflow for stack access size
    867a2f598af6 mlxbf_gige: call request_irq() after NAPI initialized
    f1b7f14130d7 tls: get psock ref after taking rxlock to avoid leak
    f19e995b4813 tls: adjust recv return with async crypto and failed copy to userspace
    dc4bce20fa9e tls: recv: process_rx_list shouldn't use an offset with kvec
    872f574f8860 net: hns3: mark unexcuted loopback test result as UNEXECUTED
    1b550dae5590 net: hns3: fix kernel crash when devlink reload during pf initialization
    b033da1461c1 net: hns3: fix index limit to support all queue stats
    77ffc72b497e ACPICA: debugger: check status of acpi_evaluate_object() in acpi_db_walk_for_fields()
    7fb8b3de7f22 selftests: vxlan_mdb: Fix failures with old libnet
    2e22c9cb6187 net: wwan: t7xx: Split 64bit accesses to fix alignment issues
    c1ae4d1e76ea tcp: properly terminate timers for kernel sockets
    984c3d962c9e net: hsr: hsr_slave: Fix the promiscuous mode in offload mode
    21dea1475fd4 s390/qeth: handle deferred cc1
    1b1c0f6ce790 igc: Remove stale comment about Tx timestamping
    4465b15ae5c5 ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa()
    e40a02f06ceb ice: fix memory corruption bug with suspend and rebuild
    feddf6c09c44 ice: realloc VSI stats arrays
    493b29930f66 ice: Refactor FW data type and fix bitmap casting issue
    0172edc572b0 ALSA: hda: cs35l56: Set the init_done flag before component_add()
    dc1ec9c5efec wifi: iwlwifi: mvm: include link ID when releasing frames
    13fd96c97596 wifi: iwlwifi: disable multi rx queue for 9000
    c0a40f2f8eba wifi: iwlwifi: mvm: rfi: fix potential response leaks
    84d30c56786a mlxbf_gige: stop PHY during open() error paths
    5c05bdd95f0e tools: ynl: fix setting presence bits in simple nests
    a946ebee45b0 nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet
    087dc50d8baf arm64: bpf: fix 32bit unconditional bswap
    156c226cbbdc dma-buf: Fix NULL pointer dereference in sanitycheck()
    aeecb678ec36 bpf, arm64: fix bug in BPF_LDX_MEMSX
    c3062bdb859b s390/bpf: Fix bpf_plt pointer arithmetic
    54d38a5ca0f7 scripts/bpf_doc: Use silent mode when exec make cmd
    cc696ce93089 drm/i915: Pre-populate the cursor physical dma address
    2c07e2437a3e drm/i915/display: Use i915_gem_object_get_dma_address to get dma address
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 1a9a8356aef87e3f24f61f918aff2c8388955e0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
183bc9b701 linux-yocto/6.6: nft: enable veth
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Khem Raj
    Email: raj.khem@gmail.com
    Subject: nft_test.cfg: Enable CONFIG_VETH
    Date: Wed, 10 Apr 2024 16:11:47 -0700

    nftable ptests do create interfaces of veth type and this
    feature would be needed to enable those tests

    e.g. from tests/shell/testcases/packetpath/vlan_8021ad_tag

    ip link add veth0 netns $ns1 type veth peer name veth0 netns $ns2

    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 95caeaa193239784481cd9e69870b41431e1a974)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
d0acf5ed02 linux-yocto/6.6: update CVE exclusions (6.6.25)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: 70bf42cc53f04bf8137092dfc175cb57001dbb16)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
37dd87625a linux-yocto/6.6: update to v6.6.25
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    e475741af1eb Linux 6.6.25
    a99d7274a2b1 Revert "workqueue.c: Increase workqueue name length"
    d8354f268d92 Revert "workqueue: Move pwq->max_active to wq->max_active"
    35bf38dd162b Revert "workqueue: Factor out pwq_is_empty()"
    957578ec33d4 Revert "workqueue: Replace pwq_activate_inactive_work() with [__]pwq_activate_work()"
    5debbff9539c Revert "workqueue: Move nr_active handling into helpers"
    e3ee73b57a2e Revert "workqueue: Make wq_adjust_max_active() round-robin pwqs while activating"
    f3c11cb27a8b Revert "workqueue: RCU protect wq->dfl_pwq and implement accessors for it"
    bfb429f37052 Revert "workqueue: Introduce struct wq_node_nr_active"
    6741dd3fd38e Revert "workqueue: Implement system-wide nr_active enforcement for unbound workqueues"
    a75ac2693d73 Revert "workqueue: Don't call cpumask_test_cpu() with -1 CPU in wq_update_node_max_active()"
    7bff1820bcfa Revert "workqueue: Shorten events_freezable_power_efficient name"
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 7a0a9a648d2e511d04c02aefc58448bed7b7b93b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
57b928ea98 linux-yocto/6.6: update CVE exclusions (6.6.24)
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

(From OE-Core rev: d941200509cd215e1c8cde5be9875b5e61ec76ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Bruce Ashfield
bc228f3e9c linux-yocto/6.6: update to v6.6.24
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    9467d7a12f97 Linux 6.6.24
    e87e08c94c95 drm/amdgpu: fix use-after-free bug
    3a9569441b47 tools/resolve_btfids: fix build with musl libc
    4338e40da808 x86/sev: Skip ROM range scans and validation for SEV-SNP guests
    2048ff503f43 scsi: libsas: Fix disk not being scanned in after being removed
    f23db7579283 scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
    76edb986c44b scsi: lpfc: Correct size for wqe for memset()
    ac5b18f52858 scsi: lpfc: Correct size for cmdwqe/rspwqe for memset()
    ff3cdff7c897 usb: dwc3: pci: Drop duplicate ID
    70977e7d5e5f Revert "x86/bugs: Use fixed addressing for VERW operand"
    367b4ce0d74d x86/bugs: Use fixed addressing for VERW operand
    a492d6dad9af scsi: qla2xxx: Delay I/O Abort on PCI error
    29520a334f3e scsi: qla2xxx: Change debug message during driver unload
    f85af9f1aa5e scsi: qla2xxx: Fix double free of fcport
    f14cee7a882c scsi: qla2xxx: Fix double free of the ha->vp_map pointer
    8de1584ec4fe scsi: qla2xxx: Fix command flush on cable pull
    adc9702642a0 scsi: qla2xxx: NVME|FCP prefer flag not being honored
    b31a120b81ac scsi: qla2xxx: Update manufacturer detail
    be895682c507 scsi: qla2xxx: Split FCE|EFT trace control
    8ec0d55020f6 scsi: qla2xxx: Fix N2N stuck connection
    ef23850940d9 scsi: qla2xxx: Prevent command send on chip reset
    db4aaf281a5b usb: typec: ucsi: Clear UCSI_CCI_RESET_COMPLETE before reset
    1f510af8dbc3 usb: typec: ucsi_acpi: Refactor and fix DELL quirk
    5857494b5056 usb: typec: ucsi: Ack unsupported commands
    68f57d013827 usb: typec: ucsi: Clear EVENT_PENDING under PPM lock
    c708b704c26d usb: typec: Return size of buffer if pd_set operation succeeds
    99731076722e usb: udc: remove warning when queue disabled ep
    3e417f31b06a usb: dwc2: gadget: LPM flow fix
    f047361fee44 usb: dwc2: gadget: Fix exiting from clock gating
    8d310e5d702c usb: dwc2: host: Fix ISOC flow in DDMA mode
    96dff759ef7d usb: dwc2: host: Fix hibernation flow
    ba2951ec82e8 usb: dwc2: host: Fix remote wakeup from hibernation
    f51849833705 USB: core: Fix deadlock in port "disable" sysfs attribute
    8dbc001bba86 USB: core: Add hub_get() and hub_put() routines
    122a06f1068b USB: core: Fix deadlock in usb_deauthorize_interface()
    fd2304f4c0ae usb: dwc3: Properly set system wakeup
    d12af9a1c59e staging: vc04_services: fix information leak in create_component()
    98592a49956c staging: vc04_services: changen strncpy() to strscpy_pad()
    d4c34782b6d7 scsi: core: Fix unremoved procfs host directory regression
    a1f506af7ffe scsi: sd: Fix TCG OPAL unlock on system resume
    61d4787692c1 ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs
    66aa5d95ea8c vfio/pds: Make sure migration file isn't accessed after reset
    2ceddecdd0ef drm/amd/display: Clear OPTC mem select on disable
    6a1cb68b9810 drm/amd/display: Disconnect phantom pipe OPP from OPTC being disabled
    ae62f1dde66a drm/amd/display: Fix hang/underflow when transitioning to ODM4:1
    ce748df0d570 USB: UAS: return ENODEV when submit urbs fail with device not attached
    da3b75931bb7 usb: cdc-wdm: close race between read and workqueue
    56c5145baef5 Revert "usb: phy: generic: Get the vbus supply"
    9c74507e6c43 mtd: spinand: Add support for 5-byte IDs
    9ae3954dd36b Bluetooth: hci_sync: Fix not checking error on hci_cmd_sync_cancel_sync
    3b031e4fcb27 drm/i915/gt: Reset queue_priority_hint on parking
    07c011e3351d drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()
    69fa0e23a6a3 drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
    a891add409e3 drm/i915/bios: Tolerate devdata==NULL in intel_bios_encoder_supports_dp_dual_mode()
    510c5f5e4837 drm/i915/hwmon: Fix locking inversion in sysfs getter
    197f6d6987c5 drm/amdgpu: fix deadlock while reading mqd from debugfs
    2684393685f7 drm/amdkfd: fix TLB flush after unmap for GFX9.4.2
    042ef0afc40f drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed
    476eed5f1c22 net: ll_temac: platform_get_resource replaced by wrong function
    2a84744a037b nouveau/dmem: handle kcalloc() allocation failure
    be4f3af178cb thermal: devfreq_cooling: Fix perf state when calculate dfc res_util
    cc80b5d7fbef block: Do not force full zone append completion in req_bio_endio()
    152799126327 sdhci-of-dwcmshc: disable PM runtime in dwcmshc_remove()
    4466677dcabe mmc: core: Avoid negative index with array access
    35ee8529eee7 mmc: core: Initialize mmc_blk_ioc_data
    6810ebeb0975 mmc: sdhci-omap: re-tuning is needed after a pm transition to support emmc HS200 mode
    07cf57eba52f selftests/mm: fix ARM related issue with fork after pthread_create
    fe295de2d564 selftests/mm: sigbus-wp test requires UFFD_FEATURE_WP_HUGETLBFS_SHMEM
    b79f9e1ff27c mm: cachestat: fix two shmem bugs
    2e2f7a576b13 hexagon: vmlinux.lds.S: handle attributes section
    c3639d87286a exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack()
    78516979792d Revert "drm/amd/display: Fix sending VSC (+ colorimetry) packets for DP/eDP displays without PSR"
    566e540b404f wifi: iwlwifi: fw: don't always use FW dump trig
    3d7ac0250714 wifi: iwlwifi: mvm: disable MLO for the time being
    6956ba7da71b wifi: cfg80211: add a flag to disable wireless extensions
    6b948b54c8bd wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes
    8ca8aac42bf7 btrfs: zoned: use zone aware sb location for scrub
    7b5029e3f1b6 btrfs: zoned: don't skip block groups with 100% zone unusable
    0427c8ef8bbb btrfs: fix race in read_extent_buffer_pages()
    c7077f43f30d tmpfs: fix race on handling dquot rbtree
    907efa8839cd ARM: prctl: reject PR_SET_MDWE on pre-ARMv6
    a0071e3b0c24 prctl: generalize PR_SET_MDWE support check to be per-arch
    5110da79d7d6 x86/efistub: Reinstate soft limit for initrd loading
    90048007daea efi/libstub: Cast away type warning in use of max()
    01666eece40e x86/efistub: Add missing boot_params for mixed mode compat entry
    32e4750262e0 init: open /initrd.image with O_LARGEFILE
    3f59182bcb4d ALSA: hda/tas2781: add locks to kcontrols
    b999e77ecf3a ALSA: hda/tas2781: remove digital gain kcontrol
    11b4dc6494b5 perf top: Use evsel's cpus to replace user_requested_cpus
    78142322a1c3 selftests/mm: Fix build with _FORTIFY_SOURCE
    ccf2d9d2ae95 selftests/mm: gup_test: conform test to TAP format output
    674545b4852c pwm: img: fix pwm clock lookup
    9114ba998750 efi: fix panic in kdump kernel
    1acbca933313 x86/fpu: Keep xfd_state in sync with MSR_IA32_XFD
    bebb5af001dc x86/mpparse: Register APIC address only once
    31a6a791b046 efi/libstub: fix efi_random_alloc() to allocate memory at alloc_min or higher address
    f13edd1871d4 kprobes/x86: Use copy_from_kernel_nofault() to read from unsafe address
    455b94f95e49 irqchip/renesas-rzg2l: Prevent spurious interrupts when setting trigger type
    e9b18e99938b irqchip/renesas-rzg2l: Rename rzg2l_irq_eoi()
    ddec478fb711 irqchip/renesas-rzg2l: Rename rzg2l_tint_eoi()
    ec5482d22c67 irqchip/renesas-rzg2l: Add macro to retrieve TITSR register offset based on register's index
    9913a07850e0 irqchip/renesas-rzg2l: Flush posted write in irq_eoi()
    c15a37e3f162 irqchip/renesas-rzg2l: Implement restriction when writing ISCR register
    ea4c338cfefa printk: Update @console_may_schedule in console_trylock_spinning()
    e07a16e6f5b1 iommu/dma: Force swiotlb_max_mapping_size on an untrusted device
    c803069d4845 swiotlb: Fix alignment checks when both allocation and DMA masks are present
    ae2f8dbe921e swiotlb: Honour dma_alloc_coherent() alignment in swiotlb_alloc()
    3e7acd6e25ba swiotlb: Fix double-allocation of slots due to broken alignment handling
    4da463081026 entry: Respect changes to system call number by trace_sys_enter()
    0c027c2bad7f ARM: 9359/1: flush: check if the folio is reserved for no-mapping addresses
    66689127f1a7 ARM: 9352/1: iwmmxt: Remove support for PJ4/PJ4B cores
    df13f43686f3 clocksource/drivers/arm_global_timer: Fix maximum prescaler value
    0982fd6bf0b8 x86/sev: Fix position dependent variable references in startup code
    ecd16da39d44 x86/Kconfig: Remove CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
    ee0bd4ad780d vfio/fsl-mc: Block calling interrupt handler without trigger
    62d4e43a569b vfio/platform: Create persistent IRQ handlers
    69276a555c74 vfio/pci: Create persistent INTx handler
    2ee432d74043 vfio: Introduce interface to flush virqfd inject workqueue
    ded566b4637f btrfs: fix deadlock with fiemap and extent locking
    ea01221f95f3 xfs: remove conditional building of rt geometry validator functions
    9efd84260f47 xfs: reset XFS_ATTR_INCOMPLETE filter on node removal
    69252ab1d566 xfs: update dir3 leaf block metadata after swap
    264e3509590c xfs: ensure logflagsp is initialized in xfs_bmap_del_extent_real
    8a4566795552 xfs: fix perag leak when growfs fails
    59b115a7e802 xfs: add lock protection when remove perag from radix tree
    c4848932911b xfs: short circuit xfs_growfs_data_private() if delta is zero
    47604cf2b803 xfs: initialise di_crc in xfs_log_dinode
    b9358db0a811 xfs: add missing nrext64 inode flag check to scrub
    1a48327c9e5a xfs: force all buffers to be written during btree bulk load
    7bc086bbc977 xfs: fix an off-by-one error in xreap_agextent_binval
    84cd4f79b4ce xfs: recompute growfsrtfree transaction reservation while growing rt volume
    d6b65ed1cc5f xfs: remove unused fields from struct xbtree_ifakeroot
    fb6e584e7471 xfs: make xchk_iget safer in the presence of corrupt inode btrees
    3f6308034432 xfs: don't allow overly small or large realtime volumes
    89e511a745be xfs: fix 32-bit truncation in xfs_compute_rextslog
    0a31f1e8d8c6 xfs: make rextslog computation consistent with mkfs
    680776e555f3 xfs: transfer recovered intent item ownership in ->iop_recover
    87db24c8edd3 xfs: pass the xfs_defer_pending object to iop_recover
    cd3c2cf35f7c xfs: use xfs_defer_pending objects to recover intent items
    c0231292d059 xfs: don't leak recovered attri intent items
    08bac45e02c6 xfs: consider minlen sized extents in xfs_rtallocate_extent_block
    57a20b6150d3 xfs: convert rt bitmap extent lengths to xfs_rtbxlen_t
    1a6d63f2418c xfs: move the xfs_rtbitmap.c declarations to xfs_rtbitmap.h
    648b41f28181 wifi: rtw88: 8821cu: Fix connection failure
    9fe75ad3c7e8 wifi: iwlwifi: pcie: fix RB status reading
    3d0a7b23d688 ASoC: amd: yc: Revert "Fix non-functional mic on Lenovo 21J2"
    930775060ca3 x86/efistub: Call mixed mode boot services on the firmware's stack
    23b99c7bf6ec drm/amd/display: handle range offsets in VRR ranges
    e21fee1035b9 drm/i915: Don't explode when the dig port we don't have an AUX CH
    60b9d1887a35 iio: imu: inv_mpu6050: fix FIFO parsing when empty
    3df5e345d6b4 iio: imu: inv_mpu6050: fix frequency setting when chip is off
    d017ec50fac9 i2c: i801: Avoid potential double call to gpiod_remove_lookup_table
    21e985684216 iio: accel: adxl367: fix I2C FIFO data register
    73d42ed41182 iio: accel: adxl367: fix DEVID read after reset
    d97be07a0027 arm64: dts: qcom: sc8280xp-x13s: limit pcie4 link speed
    27cd25e3b3bc mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations
    b1c10caf752c ARM: imx_v6_v7_defconfig: Restore CONFIG_BACKLIGHT_CLASS_DEVICE
    520f79c110ff tee: optee: Fix kernel panic caused by incorrect error handling
    bccaba16db96 ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook
    6971e0592314 ALSA: hda/realtek - Add Headset Mic supported Acer NB platform
    c01ed748847f fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion
    ed56f3cfbe6f Revert "tty: serial: simplify qcom_geni_serial_send_chunk_fifo()"
    7529cbd8b5f6 vt: fix unicode buffer corruption when deleting characters
    68b988933885 mei: me: add arrow lake point H DID
    e86a87a4bea8 mei: me: add arrow lake point S DID
    434beb66368d serial: port: Don't suspend if the port is still busy
    a62a30ccf721 misc: fastrpc: Pass proper arguments to scm call
    997ca4153846 misc: lis3lv02d_i2c: Fix regulators getting en-/dis-abled twice on suspend/resume
    16eac1126d6a tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled
    cc31dba9afa6 xhci: Fix failure to detect ring expansion need.
    a4eff9198449 usb: port: Don't try to peer unused USB ports based on location
    a0f77b5d6067 usb: gadget: ncm: Fix handling of zero block length packets
    4a22aeac24d0 usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group
    871fd7b10b56 USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command
    a125ee2c06b0 ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform
    a30c36bc0cfc drm/i915: Check before removing mm notifier
    24b5eff43ec2 tty: serial: imx: Fix broken RS485
    6f3c1dabe8d0 drm/amdgpu/pm: Fix the error of pwm1_enable setting
    274f0b1a6b97 tracing: Use .flush() call to wake up readers
    4577036353fa SEV: disable SEV-ES DebugSwap by default
    12f8e32a5a38 KVM: SVM: Flush pages under kvm->lock to fix UAF in svm_register_enc_region()
    9d1b22e573a3 KVM: x86: Mark target gfn of emulated atomic instruction as dirty
    43c70cbc2502 firewire: ohci: prevent leak of left-over IRQ on unbind
    a5b60c8b9a9e init/Kconfig: lower GCC version check for -Warray-bounds
    4c9f70c73ddb Input: xpad - add additional HyperX Controller Identifiers
    d9f400dc3e89 cgroup/cpuset: Fix retval in update_cpumask()
    0f952b1bb048 usb: typec: tpcm: Fix PORT_RESET behavior for self powered devices
    bae5b98dcf63 selftests: mptcp: diag: return KSFT_FAIL not test_cnt
    b93494329656 mm, mmap: fix vma_merge() case 7 with vma_ops->close
    b475226733f1 xfrm: Avoid clang fortify warning in copy_to_user_tmpl()
    dc60b25540c8 crypto: sun8i-ce - Fix use after free in unprepare
    48dd260fdb72 crypto: rk3288 - Fix use after free in unprepare
    c288a61a48dd drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf
    6887314f5356 nouveau: lock the client object tree.
    ba29cffccfea Drivers: hv: vmbus: Calculate ring buffer size for more efficient use of memory
    7332d7389b5e netfilter: nf_tables: reject constant set with timeout
    c0c2176d1814 netfilter: nf_tables: disallow anonymous set with timeout flag
    b2d6f9a5b1cf netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout
    56712f74b704 net: fix IPSTATS_MIB_OUTPKGS increment in OutForwDatagrams.
    95232806972a drm/amd/display: Use freesync when `DRM_EDID_FEATURE_CONTINUOUS_FREQ` found
    8b934390272d workqueue: Shorten events_freezable_power_efficient name
    47ccb849a023 drm/bridge: lt8912b: do not return negative values from .get_modes()
    d5a81e981769 drm/bridge: lt8912b: clear the EDID property on failures
    a7d980a9f70e drm/bridge: lt8912b: use drm_bridge_edid_read()
    2b6aaf7b193b drm/bridge: add ->edid_read hook and drm_bridge_edid_read()
    de125efb3bae drm/ttm: Make sure the mapped tt pages are decrypted when needed
    0436d691d216 wifi: brcmfmac: Demote vendor-specific attach/detach messages to info
    8d59a64cbec8 wifi: brcmfmac: cfg80211: Use WSEC to set SAE password
    47b563297a48 wifi: brcmfmac: add per-vendor feature detection callback
    73520eeea49d x86/pm: Work around false positive kmemleak report in msr_build_context()
    e50f83061ac2 dm snapshot: fix lockup in dm_exception_table_exit
    066bbc430644 drm/amd/display: Fix noise issue on HDMI AV mute
    c7c855fd3d5a drm/amd/display: Return the correct HDCP error code
    6fcd12cb9088 drm/amdgpu: amdgpu_ttm_gart_bind set gtt bound flag
    4992f44a3b05 ahci: asm1064: asm1166: don't limit reported ports
    836af9a25b2d ahci: asm1064: correct count of reported ports
    49391e9f1e14 wireguard: selftests: set RISCV_ISA_FALLBACK on riscv{32,64}
    c991567e6c63 wireguard: netlink: access device through ctx instead of peer
    13d107794304 wireguard: netlink: check for dangling peer via is_dead instead of empty list
    7f1005dd39d2 LoongArch/crypto: Clean up useless assignment operations
    d7d7c6cdea87 LoongArch: Define the __io_aw() hook as mmiowb()
    f3f5d7a5049d LoongArch: Change __my_cpu_offset definition to avoid mis-optimization
    3d26a2d80181 virtio: reenable config if freezing device failed
    8a2e2336b8cf cxl/trace: Properly initialize cxl_poison region name
    a66885b840d6 net: hns3: tracing: fix hclgevf trace event strings
    9aa7a53c4733 drm/i915: Add missing ; to __assign_str() macros in tracepoint code
    6244036a07ae NFSD: Fix nfsd_clid_class use of __string_len() macro
    8291b4eac429 net: esp: fix bad handling of pages from page_pool
    d0caabe6fe76 x86/CPU/AMD: Update the Zenbleed microcode revisions
    f8a2a55a0b82 cpufreq: dt: always allocate zeroed cpumask
    037414669414 mtd: rawnand: Constrain even more when continuous reads are enabled
    26a4eee38f8c mtd: rawnand: Fix and simplify again the continuous read derivations
    da2911798f25 cifs: open_cached_dir(): add FILE_READ_EA to desired access
    997b0c26d3fa cifs: reduce warning log level for server not advertising interfaces
    0845cb6bbf15 cifs: make cifs_chan_update_iface() a void function
    4501f9cd36c1 cifs: delete unnecessary NULL checks in cifs_chan_update_iface()
    db3a3e6fa33e cifs: do not let cifs_chan_update_iface deallocate channels
    66c2940c9614 cifs: make sure server interfaces are requested only for SMB3+
    407ced4e770e cifs: add xid to query server interface call
    0c8aa4cfda4e nilfs2: prevent kernel bug at submit_bh_wbc()
    f69e81396aea nilfs2: fix failure to detect DAT corruption in btree and direct mappings
    6966586c2f77 f2fs: truncate page cache before clearing flags when aborting atomic write
    99d1fd81d341 f2fs: mark inode dirty for FI_ATOMIC_COMMITTED flag
    9a31f4b61448 Revert "block/mq-deadline: use correct way to throttling write requests"
    f1d93b2a010c memtest: use {READ,WRITE}_ONCE in memory scanning
    b483eff0bd19 drm/vc4: hdmi: do not return negative values from .get_modes()
    fd79a093bb23 drm/imx/ipuv3: do not return negative values from .get_modes()
    b71ae5fb2dd3 drm/exynos: do not return negative values from .get_modes()
    a686732df6ce drm/panel: do not return negative error codes from drm_panel_get_modes()
    12bbe2c25cdb drm/probe-helper: warn about negative .get_modes()
    a64ab862e84e s390/zcrypt: fix reference counting on zcrypt card objects
    54d26adf64c0 soc: fsl: qbman: Use raw spinlock for cgr_lock
    0e6521b0f93f soc: fsl: qbman: Always disable interrupts when taking cgr_lock
    700ed41bf63e dlm: fix user space lkb refcounting
    b31301a1fa61 ring-buffer: Use wait_event_interruptible() in ring_buffer_wait()
    7bcd58e8096a ring-buffer: Fix full_waiters_pending in poll
    b87a7e108e6d ring-buffer: Fix resetting of shortest_full
    73dae1a5d489 ring-buffer: Do not set shortest_full when full target is hit
    b82dbe74ee31 ring-buffer: Fix waking up ring buffer readers
    1241052e158d io_uring: clean rings on NO_MMAP alloc fail
    e8fc78a1c70f platform/x86/intel/tpmi: Change vsec offset to u64
    ed3fb2e2fe87 ksmbd: retrieve number of blocks using vfs_getattr in set_file_allocation_info
    c8f7ad2df083 ksmbd: replace generic_fillattr with vfs_getattr
    ef309589f01c server: convert to new timestamp accessors
    1d7317d5b636 tpm,tpm_tis: Avoid warning splat at shutdown
    74c564b7f008 vfio/platform: Disable virqfds on cleanup
    04a4a017b9ff vfio/pci: Lock external INTx masking ops
    2a4a666c4510 vfio/pci: Disable auto-enable of exclusive INTx IRQ
    fe750e274442 thermal/drivers/mediatek: Fix control buffer enablement on MT7896
    7e8cffa4f85e cifs: allow changing password during remount
    9179aa27039a cifs: prevent updating file size from server if we have a read/write lease
    b9e741ac2b7c smb: client: stop revalidating reparse points unnecessarily
    db5f1f1fb8c1 PCI: hv: Fix ring buffer size calculation
    cebb4baed803 PCI: dwc: endpoint: Fix advertised resizable BAR size
    7aeca6f44cb6 PCI: qcom: Enable BDF to SID translation properly
    52f86f3e091c kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1
    71739da67085 NFS: Read unlock folio on nfs_page_create_from_folio() error
    e25447c35f87 nfs: fix UAF in direct writes
    7293dd0bd34a sparc32: Fix parport build with sparc32
    0f314c3be7d9 io_uring: fix mshot io-wq checks
    f55ecbd9a78c io_uring/net: correctly handle multishot recvmsg retry setup
    1a6efd4c286c PCI/AER: Block runtime suspend when handling errors
    cc3519b818c1 speakup: Fix 8bit characters from direct synth
    a973ef25f144 usb: gadget: tegra-xudc: Fix USB3 PHY retrieval logic
    3dd6e0faa75d phy: tegra: xusb: Add API to retrieve the port number of phy
    0ef9d78ba7e7 slimbus: core: Remove usage of the deprecated ida_simple_xx() API
    63c7a5cf228e nvmem: meson-efuse: fix function pointer type mismatch
    37b6a3ba793b ext4: fix corruption during on-line resize
    27715371c162 hwmon: (amc6821) add of_match table
    100d83b0da07 landlock: Warn once if a Landlock action is requested while disabled
    bc8e5fda787b drm/etnaviv: Restore some id values
    10f2af1af8ab leds: trigger: netdev: Fix kernel panic on interface rename trig notify
    d4e2365b07f1 Bluetooth: btnxpuart: Fix btnxpuart_close
    985edff78e80 mmc: core: Fix switch on gp3 partition
    0f98f6d2fb5f mm: swap: fix race between free_swap_and_cache() and swapoff()
    20d3e1c8a184 mac802154: fix llsec key resources release in mac802154_llsec_key_del
    7d3765550374 block: Fix page refcounts for unaligned buffers in __bio_release_pages()
    653d51504f41 powerpc: xor_vmx: Add '-mhard-float' to CFLAGS
    dc9702acfb4f dm-raid: fix lockdep waring in "pers->hot_add_disk"
    31ead1845c37 PCI/DPC: Quirk PIO log size for Intel Raptor Lake Root Ports
    d86ad8c3e152 PCI/PM: Drain runtime-idle callbacks before driver removal
    0bfe6b29d6ac wifi: rtw88: Add missing VID/PIDs for 8811CU and 8821CU
    51dad05f1835 btrfs: fix off-by-one chunk length calculation at contains_pending_extent()
    40a24160cf3c btrfs: qgroup: always free reserved space for extent records
    4cc3e2ed6759 serial: Lock console when calling into driver before registration
    6f12c54fa09d serial: core: only stop transmit when HW fifo is empty
    1846bd4fc1bb usb: dwc3-am62: Disable wakeup at remove
    7dfed9855397 usb: dwc3-am62: fix module unload/reload behavior
    4a1f0678d15e usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros
    8b86779ade3a fuse: don't unhash root
    777ba18929b5 fuse: fix root lookup with nonzero generation
    3d304dd6b29d fuse: replace remaining make_bad_inode() with fuse_make_bad()
    bd169abd394e mmc: tmio: avoid concurrent runs of mmc_request_done()
    677aa47e3e43 PM: sleep: wakeirq: fix wake irq warning in system suspend
    3c3df979e9b7 USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M
    28f719670f00 KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled
    5cf342a13d49 USB: serial: option: add MeiG Smart SLM320 product
    07a8b301818f USB: serial: cp210x: add ID for MGP Instruments PDS100
    515159ca62a8 USB: serial: add device ID for VeriFone adapter
    58bb229d9714 USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB
    816ae3cf3dcb powerpc/fsl: Fix mfpmr build errors with newer binutils
    620b6cf2f1a2 usb: xhci: Add error handling in xhci_map_urb_for_dma
    7e9926fef71e clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
    9b4c4546dd61 clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
    0204247cf366 clk: qcom: gcc-ipq9574: fix terminating of frequency table arrays
    b6b31b4c67ea clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays
    421b135aceac clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
    b0cf3d200e8a clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays
    245c318cdad0 vfio/pds: Always clear the save/restore FDs on reset
    35c1cdd504a3 PM: suspend: Set mem_sleep_current during kernel command line setup
    ed87a423756a cpufreq: Limit resolving a frequency to policy min/max
    66e2c41b0c80 docs: Restore "smart quotes" for quotes
    f77c8c1603bb iio: adc: rockchip_saradc: use mask for write_enable bitfield
    7ed675cfaf51 iio: adc: rockchip_saradc: fix bitmask for channels on SARADCv2
    8ec4a68a25a2 md/raid5: fix atomicity violation in raid5_cache_count
    644604e6f014 parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds
    d4b71ff9c918 parisc: Fix csum_ipv6_magic on 64-bit systems
    cabe3343acce parisc: Fix csum_ipv6_magic on 32-bit systems
    d31c8d0ca8bf parisc: Fix ip_fast_csum
    6bd42452713e parisc: Avoid clobbering the C/B bits in the PSW with tophys and tovirt macros
    51408b47f8af parisc/unaligned: Rewrite 64-bit inline assembly of emulate_ldd()
    f9f67e87e4b7 x86/nmi: Fix the inverse "in NMI handler" check
    736ad6c577a3 md/md-bitmap: fix incorrect usage for sb_index
    d8ea3e788b5a mtd: rawnand: meson: fix scrambling mode value in command macro
    1a3487cdf8dc ubi: correct the calculation of fastmap size
    d1b505c988b7 ubi: Check for too small LEB size in VTBL code
    fc99f4e2d2f1 ubifs: Set page uptodate in the correct place
    ab8f9df10694 fuse: fix VM_MAYSHARE and direct_io_allow_mmap
    03a7e3f2ba3c fat: fix uninitialized field in nostale filehandles
    b46c822f8b55 bounds: support non-power-of-two CONFIG_NR_CPUS
    d6e646b86085 kasan/test: avoid gcc warning for intentional overflow
    fe86d01ce7db block: Clear zone limits for a non-zoned stacked queue
    ba191200a1ae ext4: correct best extent lstart adjustment logic
    9a06d17abc16 selftests/mqueue: Set timeout to 180 seconds
    8a5a7611ccc7 crypto: qat - resolve race condition during AER recovery
    e8ac80031809 sparc: vDSO: fix return value of __setup handler
    61798d3cb53a sparc64: NMI watchdog: fix return value of __setup handler
    a0b9f4f8e22b powerpc/smp: Increase nr_cpu_ids to include the boot CPU
    68a9c41f0167 powerpc/smp: Adjust nr_cpu_ids to cover all threads of a core
    7f6282665dd7 powercap: intel_rapl_tpmi: Fix System Domain probing
    b5cbb42fb658 powercap: intel_rapl_tpmi: Fix a register bug
    d6c83ee705a1 powercap: intel_rapl: Fix locking in TPMI RAPL
    c4c2f7e672e7 sched: Simplify tg_set_cfs_bandwidth()
    0641908b906a powercap: intel_rapl: Fix a NULL pointer dereference
    9df6a7a3c951 thermal/intel: Fix intel_tcc_get_temp() to support negative CPU temperature
    868e3264f236 cpufreq: amd-pstate: Fix min_perf assignment in amd_pstate_adjust_perf()
    e056484f189b arm64: dts: qcom: sm8550-mtp: correct WCD9385 TX port mapping
    6eacb2ec2e79 arm64: dts: qcom: sm8550-qrd: correct WCD9385 TX port mapping
    a75afe480d43 KVM: Always flush async #PF workqueue when vCPU is being destroyed
    88efc3095b6d media: nxp: imx8-isi: Mark all crossbar sink pads as MUST_CONNECT
    d0e3440dab0d media: mc: Expand MUST_CONNECT flag to always require an enabled link
    3b6ccc91dcc4 media: mc: Rename pad variable to clarify intent
    ebb6fb7f6265 media: mc: Add num_links flag to media_pad
    c95318607fbe media: nxp: imx8-isi: Check whether crossbar pad is non-NULL before access
    0a7690224714 media: mc: Fix flags handling when creating pad links
    cc088ebf8b4a media: mc: Add local pad to pipeline regardless of the link state
    dc5e4f240473 media: xc4000: Fix atomicity violation in xc4000_get_frequency
    b5d40f02e722 pci_iounmap(): Fix MMIO mapping leak
    86cb706a40b7 drm/vmwgfx: Fix the lifetime of the bo cursor memory
    2160ad6861c4 serial: max310x: fix NULL pointer dereference in I2C instantiation
    ff41e0d4f3fa drm/vmwgfx: Fix possible null pointer derefence with invalid contexts
    01fad74090a0 arm: dts: marvell: Fix maxium->maxim typo in brownstone dts
    3677d01c55bc smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity()
    c6fc44595491 smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr()
    a1a8d40182e2 clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
    2c26984759bb remoteproc: virtio: Fix wdg cannot recovery remote processor
    779af170f1db arm64: dts: qcom: sc7280: Add additional MSI interrupts
    1992f2af6444 media: staging: ipu3-imgu: Set fields before media_entity_pads_init()
    e76f6b9618e8 wifi: brcmfmac: avoid invalid list operation when vendor attach fails
    190794848e2b wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
    0a23f95af7f2 drm/vmwgfx: Unmap the surface before resetting it on a plane state
    51138f1f3564 KVM: x86: Use a switch statement and macros in __feature_translate()
    688313fb139e KVM: x86: Advertise CPUID.(EAX=7,ECX=2):EDX[5:0] to userspace
    06644f0d7193 drm/tilcdc: Set preferred depth
    ff7ae7b32324 crypto: jitter - add RCT/APT support for different OSRs
    50cd24ddb6f0 arm64: defconfig: remove CONFIG_IPQ_APSS_5018
    58e5c91d6701 x86/alternatives: Disable interrupts and sync when optimizing NOPs in place
    c878fd2d4c79 x86/alternatives: Sync core before enabling interrupts
    c2d64b9f52b6 qemux86: add configuration symbol to select values
    630c33229e6d sched/isolation: really align nohz_full with rcu_nocbs
    0e5e0f68e2e6 clear_warn_once: add a clear_warn_once= boot parameter
    46934791b902 clear_warn_once: bind a timer to written reset value
    cdee9e38ff32 clear_warn_once: expand debugfs to include read support
    82b562b81841 tools: Remove some options from CLANG_CROSS_FLAGS
    36dc380b776b libbpf: Fix build warning on ref_ctr_off
    9e3e1fe20982 perf: perf can not parser the backtrace of app in the 32bit system and 64bit kernel.
    e497a4a5da65 perf: x86-32: explicitly include <errno.h>
    7b57ddd89565 perf: mips64: Convert __u64 to unsigned long long
    1cfc19423dc7 perf: fix bench numa compilation
    98bc2815fade perf: add SLANG_INC for slang.h
    17209a70b9b3 perf: add sgidefs.h to for mips builds
    9cd4258d910a perf: change --root to --prefix for python install
    8110a4f26628 perf: add 'libperl not found' warning
    bc89d5e08f77 perf: force include of <stdbool.h>
    4f6c760cc876 fat: Replace prandom_u32() with get_random_u32()
    bc53117b12b2 fat: don't use obsolete random32 call in namei_vfat
    30b2236ab378 FAT: Added FAT_NO_83NAME
    cef98d22b4ed FAT: Add CONFIG_VFAT_NO_CREATE_WITH_LONGNAMES option
    0bbd7daba9e1 FAT: Add CONFIG_VFAT_FS_NO_DUALNAMES option
    5883fc340084 aufs6: adapt to v6.6 i_op->ctime changes
    c4342d979bf2 aufs6: fix magic.mk include path
    35266bc2dc81 aufs6: adapt to v6.6
    8edede4e98be aufs6: core
    712248233ebe aufs6: standalone
    3b71a8a848d8 aufs6: mmap
    3e2924871f37 aufs6: base
    7f4907a93101 aufs6: kbuild
    d2f7b03e4aa7 yaffs2: update VFS ctime operations to 6.6+
    bcd6cfcd1aa0 yaffs2: v6.5 fixups
    cc615704b5f5 yaffs2: Fix miscalculation of devname buffer length
    8ef2e22dcf91 yaffs2: convert user_namespace to mnt_idmap
    c9c749f9f7d3 yaffs2: replace bdevname call with sprintf
    395b01cdc39d yaffs2: convert read_page -> readfolio
    d98b07e43ba6 yaffs: replace IS_ERR with IS_ERR_OR_NULL to check both ERR and NULL
    613c6d50fdbe yaffs: fix -Wstringop-overread compile warning in yaffs_fix_null_name
    622c4648936f yaffs2: v5.12+ build fixups (not runtime tested)
    7562133d4090 yaffs: include blkdev.h
    dbd44252cd59 yaffs: fix misplaced variable declaration
    c223a10b1ac0 yaffs2: v5.6 build fixups
    90f6007cfbf4 yaffs2: fix memory leak when /proc/yaffs is read
    37ee169c5ea1 yaffs: add strict check when call yaffs_internal_read_super
    b6e007b8abb6 yaffs: repair yaffs_get_mtd_device
    fb98f65a466a yaffs: Fix build failure by handling inode i_version with proper atomic API
    51e0aac75ea2 yaffs2: fix memory leak in mount/umount
    2b74a0cae7b0 yaffs: Avoid setting any ACL releated xattr
    ff4130a9c376 Yaffs:check oob size before auto selecting Yaffs1
    ba95b409c67c fs: yaffs2: replace CURRENT_TIME by other appropriate apis
    8fa35eba9056 yaffs2: adjust to proper location of MS_RDONLY
    1eb5deaad8c4 yaffs2: import git revision b4ce1bb (jan, 2020)
    4dce67c1e8c8 initramfs: allow an optional wrapper script around initramfs generation
    2f603d83fcc4 pnmtologo: use relocatable file name
    664a6a0a484b tools: use basename to identify file in gen-mach-types
    9de64bc0c185 lib/build_OID_registry: fix reproducibility issues
    ae9b80797295 vt/conmakehash: improve reproducibility
    a972323151bd iwlwifi: select MAC80211_LEDS conditionally
    15d2adcc0198 net/dccp: make it depend on CONFIG_BROKEN (CVE-2020-16119)
    5556a6c04b19 arm64/perf: Fix wrong cast that may cause wrong truncation
    5552dc768ffc defconfigs: drop obselete options
    00fe4152df31 arm64/perf: fix backtrace for AAPCS with FP enabled
    3888d0652edf linux-yocto: Handle /bin/awk issues
    3d55d299f23a uvesafb: provide option to specify timeout for task completion
    23c068c080be uvesafb: print error message when task timeout occurs
    edbfc939266e compiler.h: Undef before redefining __attribute_const__
    c99ae7e2a19a vmware: include jiffies.h
    572d84d928c8 Resolve jiffies wrapping about arp
    fdcd47cac843 nfs: Allow default io size to be configured.
    927d48801098 check console device file on fs when booting
    57cc27f821dd mount_root: clarify error messages for when no rootfs found
    1b53d82a8152 mconf: fix output of cflags and libraries
    1811da09f42c menuconfig,mconf-cfg: Allow specification of ncurses location
    83c2e0c6eb1f modpost: mask trivial warnings
    6de673039484 kbuild: exclude meta directory from distclean processing
    6decd32815f5 powerpc: serialize image targets
    f6b683b38318 arm: serialize build targets
    e798b09ebf57 mtd_blkdevs: add mtd_table_mutex lock back to blktrans_{open, release} to avoid race condition
    dc8a1e5a88f8 x86_64_defconfig: Fix warnings
    68491e5f72b6 powerpc/ptrace: Disable array-bounds warning with gcc8
    d71ebfce3004 powerpc: Disable attribute-alias warnings from gcc8
    62f50884b8b1 powerpc: kexec fix for powerpc64
    da6871c62c37 powerpc: Add unwind information for SPE registers of E500 core
    f161c880c11d mips: make current_cpu_data preempt safe
    5e94a8247ce7 mips: vdso: fix 'jalr $t9' crash in vdso code
    19e36714b1c7 mips: Kconfig: add QEMUMIPS64 option
    e2e537db3cbd 4kc cache tlb hazard: tlbp cache coherency
    aee9870611e5 malta uhci quirks: make allowance for slow 4k(e)c
    881948cd1517 drm/fb-helper: move zeroing code to drm_fb_helper_fill_var
    98ec1963fcb7 arm64: defconfig: cleanup config options
    f1727c537ba8 vexpress: Pass LOADADDR to Makefile
    4474c32dc24a arm: ARM EABI socketcall
    75e31a2b70fd ARM: LPAE: Invalidate the TLB for module addresses during translation fault

(From OE-Core rev: 140669b5b9ec6376a6fdc3f8e49932ca8971a8c0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-04 15:41:44 +01:00
Richard Purdie
0e163082bd brief-yoctoprojectqs: Update to the correct hash equivalence server address
Also add a note about needing python websockets installed.

(From yocto-docs rev: 9c7869b95b1784f58f0a31f7c015ad3e15af34e1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 17:07:13 +01:00
joshua Watt
e4ddff1399 bitbake: cooker: Use hash client to ping upstream server
The cooker attempts to connect to the upstream hash equivalent server to
warn the user early if it is misconfigured. However, this was making the
assumption that it was a raw TCP connection and failed when attempting
to use a websocket upstream server. Fix this by creating an hash client
and using the ping API to check the server instead of using a raw
socket.

(Bitbake rev: 5e84c13a6c594ed34c341849806657ddda206714)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 16:07:21 +01:00
Richard Purdie
632e317059 local.conf.sample: Fix hashequivalence server address
We switched to a new server for the scarthgap release but didn't update the
sample config. Fix this.

(From meta-yocto rev: e0558da30f72a205e0b2055d62690604ed9ff578)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:29:41 +01:00
Richard Purdie
0ea63b6a43 recipes: Update WORKDIR references to UNPACKDIR
Since we want to be able to stop unpacking to WORKDIR, correct the WORKDIR
references in recipe do_compile/do_install tasks to use UNPACKDIR in the
appropraite places instead.

(From OE-Core rev: d73595df69667fe9d12ecd407b77a0b8dae2109c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:15:51 +01:00
Richard Purdie
3288587aeb recipes: Update S = WORKDIR recipes to use ${S} correctly
Where recipes use S = ${WORKDIR}, ensure they are referencing ${S} correctly
to access files as soon we want to stop doing this in WORKDIR at which point
they would break unless corrected.

(From OE-Core rev: f25dd633fffe6560f191526d1869e657e129bad9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:15:51 +01:00
Richard Purdie
808f700efc classes/lib/scripts: Initial WORKDIR -> UNPACKDIR updates
Work through the initial issues I found where we need to change WORKDIR
to UNPACKDIR.

(From OE-Core rev: 86fec41b1e809d1a2fa2feadc26d29020df53d39)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:15:51 +01:00
Richard Purdie
812dafbec1 base/bitbake.conf: Introduce UNPACKDIR
Having the unpack directory hardcoded to WORKDIR makes it really hard to
make any changes to the unpack process to try and allow for cleanup for example.

As a first step toward unraveling the intertwined location usages, add a
variable, UNPACKDIR which is where the fetcher is asked to unpack fetched
sources. It defaults to the existing value of WORKDIR at this point.

(From OE-Core rev: e022d62ba917790af2121da57646271ef17c03fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:15:51 +01:00
joshua Watt
8d79ca1478 classes/create-spdx-2.2: Fix SPDX Namespace Prefix
According to the SPDX documentation, it should be "spdxdocs" not
"spdxdoc"

[YOCTO #15398]

(From OE-Core rev: d1b25413ced62dc2927dae57b8d16e67d15dc220)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:14:07 +01:00
Tim Orling
69ce2f90ce python3-maturin: upgrade 1.4.0 -> 1.5.1
* Drop riscv-32 patch (merged in 1.5.0)
* Refresh ${BPN}-crates.inc

1.5.1 - 2024-03-21
* Fix usage of --compatibility when run as a PEP517 backend in #1992
* Fix upload returning malformed summary error in #2002

1.5.0 - 2024-03-05
* Bump metadata version from 2.1 to 2.3 in #1965. Source distributions
  created by maturin now have reliable metadata, meaning tool such as
  pip, uv and poetry could skip building them for version resolution.
* Allow identical VIRTUAL_ENV and CONDA_PREFIX env vars in #1879
* Reject -i python when cross compiling in #1891
* Support uniffi-bindgen in cargo workspaces in #1909
* Add support for configuring xwin using env vars in #1961
* Add validation for crate/package name in new/init in #1943
* Add 32-bit RISC-V support in #1969
* Improve import hook changes in #1958
* Adjust cbindgen Overrides for CFFI in #1957

https://github.com/PyO3/maturin/compare/v1.4.0...v1.5.1

(From OE-Core rev: 6dd2ad8cce1eb38ace7e69fc51f9fe047e6e28f1)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:11:06 +01:00
Mark Hatle
a73e9446b1 sstate.bbclass: Add _SSTATE_EXCLUDEDEPS_SYSROOT to vardepsexclude
When using tinfoil to control the build, multiple commands (serially) could
trigger an error such as:

  When reparsing ....bb:do_package, the basehash value changed from ... to .... The metadata is not deterministic and this needs to be fixed.
  ERROR: The following commands may help:
  ERROR: $ bitbake esw-conf -cdo_package -Snone
  ERROR: Then:
  ERROR: $ bitbake esw-conf -cdo_package -Sprintdiff

However following these commands it was not able to be reproduced.  Forcing
bitbake to dump the signatures and then running bitbake-diffsigs showed
that the value of _SSTATE_EXCLUDEDEPS_SYSROOT was being set in one run, but
was blank is a different version.

Upon inspecting the code in sstate.bbclass, one usage (without the _) is
already excludes, the leading _ version is used as a cache, only if set but
is not actually required to be defined.  So ignoring the value should work
properly.

(From OE-Core rev: 4ec704ed6a1cfaf0a6c20f2038e7192e361ef590)

Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:11:06 +01:00
Khem Raj
6e8300da5b strace: Upgrade to 6.8
Noteworthy changes in strace 6.8 (2024-03-20)

Improvements
Renamed --stack-traces to --stack-trace for consistency.
Old option is retained for backwards compatibility.
Implemented --stack-trace-frame-limit=N option for configuring the limit of the number of printed backtrace frames.
Implemented decoding of statmount, listmount, lsm_get_self_attr,lsm_set_self_attr, and lsm_list_modules syscalls.
Implemented decoding of setsockopt(TCP_AO_ADD_KEY).
Updated decoding of landlock_create_ruleset and landlock_add_rule syscalls.
Updated decoding of SMC_DIAG_DMBINFO netlink attribute.
Updated decoding of UBI_IOCATT ioctl command.
Enhanced decoding of mount attributes of fsmount and mount_setattr syscalls.
Updated lists of BPF_*, KEXEC_*, KVM_*, PERF_*, SOL_*, STATX_*, UFFD_*, and V4L2_* constants.
Updated lists of ioctl commands from Linux 6.8.

(From OE-Core rev: 77865c722282e1769b65d02823e2a2a6ecd3655a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:11:06 +01:00
Ross Burton
3c3b0f7be4 insane: handle dangling symlinks in the libdir QA check
The "libdir" QA check tries to open every file it finds as an ELF.  If
it finds a dangling symlink that looks like a library by the filename it
will try to open it and fail with FileNotFoundError error.  As this
dangling symlink probably points to a real file, silently absorb the
error.

[ YOCTO #13949 ]

(From OE-Core rev: f044290f98ea66f2cecfbffd7d392dbc3d986da9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:11:06 +01:00
Trevor Gamblin
221806f507 python3-pytest: upgrade 8.1.1 -> 8.2.0
Changelog: https://docs.pytest.org/en/8.2.x/changelog.html

pytest 8.2.0 (2024-04-27)
    Deprecations
    - #12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated py.path.local parameter instead of the pathlib.Path parameter which replaced it:
        - pytest_ignore_collect - the path parameter - use collection_path instead.
        - pytest_collect_file - the path parameter - use file_path instead.
        - pytest_pycollect_makemodule - the path parameter - use module_path instead.
        - pytest_report_header - the startdir parameter - use start_path instead.
        - pytest_report_collectionfinish - the startdir parameter - use start_path instead.
      The replacement parameters are available since pytest 7.0.0. The old parameters will be removed in pytest 9.0.0.
      See py.path.local arguments for hooks replaced with pathlib.Path for more details.

    Features
    - #11871: Added support for reading command line arguments from a file using the prefix character @, like e.g.: pytest @tests.txt. The file must have one argument per line.
      See Read arguments from file for details.

    Improvements
    - #11523: pytest.importorskip() will now issue a warning if the module could be found, but raised ImportError instead of ModuleNotFoundError.
      The warning can be suppressed by passing exc_type=ImportError to pytest.importorskip().
      See pytest.importorskip default behavior regarding ImportError for details.
    - #11728: For unittest-based tests, exceptions during class cleanup (as raised by functions registered with TestCase.addClassCleanup) are now reported instead of silently failing.
    - #11777: Text is no longer truncated in the short test summary info section when -vv is given.
    - #12112: Improved namespace packages detection when consider_namespace_packages is enabled, covering more situations (like editable installs).
    - #9502: Added PYTEST_VERSION environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value of pytest.__version__, and among other things can be used to easily check if code is running from within a pytest run.

    Bug Fixes
    - #12065: Fixed a regression in pytest 8.0.0 where test classes containing setup_method and tests using @staticmethod or @classmethod would crash with AttributeError: 'NoneType' object has no attribute 'setup_method'.
      Now the request.instance attribute of tests using @staticmethod and @classmethod is no longer None, but a fresh instance of the class, like in non-static methods. Previously it was None, and all fixtures of such tests would share a single self.
    - #12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
    - #12194: Fixed a bug with --importmode=importlib and --doctest-modules where child modules did not appear as attributes in parent modules.
    - #1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.

    Trivial/Internal Changes
    - #12069: pluggy>=1.5.0 is now required.
    - #12167: cache: create supporting files (CACHEDIR.TAG, .gitignore, etc.) in a temporary directory to provide atomic semantics.

pytest 8.1.2 (2024-04-26)
    Bug Fixes
    - #12114: Fixed error in pytest.approx() when used with numpy arrays and comparing with other types.

(From OE-Core rev: 313a992d34d0b46d3f0bf2bb87c6bd7899df4028)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 15:11:06 +01:00
Alexander Kanavin
ad6470a4c2 scripts/oe-setup-build: write a build environment initialization one-liner into the build directory
With this, users no longer have to know where oe-init-build-env is relative to the
build directory; that information is contained in the one liner and then
it's possible to simply use that:

. /path/to/build/init-build-env

This will particularly help with initializing builds in unpacked
build bundles, as users won't have to know where oe-init-build-env
is in the bundle directory tree - similar to esdk initialization.

(From OE-Core rev: 1cabdf287c2739accdab3a766df060f1bc802b63)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-02 11:47:51 +01:00
Michael Halstead
e172625639 docs: add support for scarthgap 5.0 release
Prepared for Scarthgap release. Add references to Styhead.

(From yocto-docs rev: 906d228f1cedc25dd7530db3ce509239152da89f)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-05-01 23:00:34 +01:00
Zoltan Boszormenyi
aab1335523 cracklib: Modify patch to compile with GCC 14
GCC 14 implicitly turns a warning into a compiler error:

| ../../git/src/lib/packlib.c: In function ‘PWClose’:
| ../../git/src/lib/packlib.c:554:40: error: passing argument 1 of ‘HwmsHostToBigEndian’ from incompatible pointer type [-Wincompatible-pointer-types]
|   554 |             HwmsHostToBigEndian(tmp_pwp.hwms, sizeof(tmp_pwp.hwms), en_is32);
|       |                                 ~~~~~~~^~~~~
|       |                                        |
|       |                                        uint32_t * {aka unsigned int *}
| ../../git/src/lib/packlib.c:142:27: note: expected ‘char *’ but argument is of type ‘uint32_t *’ {aka ‘unsigned int *’}
|   142 | HwmsHostToBigEndian(char *pHwms, int nLen,int nBitType)
|       |                     ~~~~~~^~~~~

Add the cast to (char *) to silence it.

(From OE-Core rev: 914128f6bd988cde278e087fb9457a0c70c7e5ec)

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Alexandre Truong
268dfbd949 Revert "oeqa/selftest/devtool: fix test_devtool_add_git_style2"
This reverts commit ab6d3e3d64
from poky repository.

The previous reverted commit was a workaround. The fix
"oeqa/selftest/devtool: fix _test_devtool_add_git_url"
tackle the issue. So, the workaround is not needed anymore.

(From OE-Core rev: 731f47ecfd8ad6558aac629806810789c623986b)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Alexandre Truong
3c05286fa1 oeqa/selftest/devtool: fix _test_devtool_add_git_url
This patch is a follow-up to the bug#15466.

As a reminder, the bug was about devtool’s submodule detection
checking for HEAD when a version is being passed.

As Vincent Kriek pointed out:
the --version that is being passed to devtool is only used for
setting the PV value in the recipe. To take into account the tag,
we add --srcrev to the command:
devtool add --srcrev v3.1.0 --version v3.1.0 mbedtls git://git@github.com/ARMmbed/mbedtls.git;protocol=https

Changes to _test_devtool_add_git_url have been made to take
into account the srcrev. srcrev will be passed as an optional
parameter because the test_devtool_add_git_style1
does not need the srcrev contrary to test_devtool_add_git_style2

Fixes [YOCTO #15466]

(From OE-Core rev: a8686f3641e4407dee3d807898ffd620e2732b78)

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reported-by: Alexandre Truong <alexandre.truong@smile.fr>
Suggested-by: Vincent Kriek <vincent@coelebs.dev>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Wang Mingyu
62ddbed32f mesa: upgrade 24.0.3 -> 24.0.5
Changelog:
 https://docs.mesa3d.org/relnotes/24.0.5.html

(From OE-Core rev: 5933d099c339596f62e1237d4e738dbe9f386b10)

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>
2024-04-30 22:20:16 +01:00
Joe Slater
a46e374d43 oe-debuginfod: add option for data storage
Storing the data files under $HOME can be unreliable if debuginfod
is used for several projects, especially if $HOME is shared
between machines.  We provide an option to save files under the
project directory.  The default behavior is unchanged.

(From OE-Core rev: e1e0cf82f559077e2a51447baf137086202c0c4a)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Peter Marko
148eda4aeb glibc: Update to latest on stable 2.39 branch
Adresses CVE-2024-2961

Remove backported patch included in hash update.

Changes:
31da30f23c iconv: ISO-2022-CN-EXT: fix out-of-bound writes when writing escape sequence (CVE-2024-2961)
423099a032 x86_64: Exclude SSE, AVX and FMA4 variants in libm multiarch
04df8652eb Apply the Makefile sorting fix
edb9a76e30 powerpc: Fix ld.so address determination for PCREL mode (bug 31640)
7b92f46f04 x86-64: Simplify minimum ISA check ifdef conditional with if
9883f4304c x86-64: Don't use SSE resolvers for ISA level 3 or above
9d92452c70 AArch64: Check kernel version for SVE ifuncs
395a89f61e aarch64: fix check for SVE support in assembler
b0e0a07018 aarch64/fpu: Sync libmvec routines from 2.39 and before with AOR
31c7d69af5 i386: Use generic memrchr in libc (bug 31316)
5d070d12b3 x86: Expand the comment on when REP STOSB is used on memset
6484a92698 x86: Do not prefer ERMS for memset on Zen3+
aa4249266e x86: Fix Zen3/Zen4 ERMS selection (BZ 30994)
5a461f2949 Add tst-gnu2-tls2mod1 to test-internal-extras
aded2fc004 elf: Enable TLS descriptor tests on aarch64
a8ba52bde5 arm: Update _dl_tlsdesc_dynamic to preserve caller-saved registers (BZ 31372)
15aebdbada Ignore undefined symbols for -mtls-dialect=gnu2
354cabcb26 x86-64: Allocate state buffer space for RDI, RSI and RBX
853e915fdd x86-64: Update _dl_tlsdesc_dynamic to preserve AMX registers
a364304718 x86: Update _dl_tlsdesc_dynamic to preserve caller-saved registers
7fc8242bf8 x86-64: Save APX registers in ld.so trampoline
983f34a125 LoongArch: Correct {__ieee754, _}_scalb -> {__ieee754, _}_scalbf
aad45c8ac3 powerpc: Placeholder and infrastructure/build support to add Power11 related changes.
ee7f4c54e1 powerpc: Add HWCAP3/HWCAP4 data to TCB for Power Architecture.
71fcdba577 linux: Use rseq area unconditionally in sched_getcpu (bug 31479)

(From OE-Core rev: 8b0124782510389bdc376fab645a0920b3fb94c8)

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>
2024-04-30 22:20:16 +01:00
Iskander Amara
c7fd9294a6 linux-firmware: Move Intel AC 9260 bluetooth firmware to a separate package
In order to use Bluetooth on Intel AC 9260, we need to select
linux-firmware-ibt-misc package that brings a lot of fimw-
ares that are, in most cases, irrelevant for the used hardware.

This adds a new package linux-firmware-ibt-18 that only includes
the corresponding firmware for Intel AC 9260 bluetooth chips.

Below, the link to the commit that adds Intel AC 9260 firmwares in linux-
firmware:

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/?h=20220610&id=97339b3a1d3bf3e4c40d679896a27a25fa83765f

Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
(From OE-Core rev: 33827edf8212705a829c5aa23b69e8d1f7131d08)

Signed-off-by: Iskander Amara <iskander.amara@theobroma-systems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Alexander Kanavin
f095782a5a libical: disable introspection in -native
libical has a custom cmake introspection support,
and so native provisions by g-i class aren't effective
(it has only standard autoconf/meson options).

(From OE-Core rev: 3857f7c9d9902dab1123083edd1a900e915aca9e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Marc Ferland
2fa95cec9b libinput: fix building with debug-gui option
When building libinput with the 'gui' PACKAGECONFIG option, it fails
with:

| Run-time dependency x11 found: YES 1.8.9
| Run-time dependency wayland-client found: YES 1.22.0
| Run-time dependency wayland-protocols found: YES 1.34
| Program wayland-scanner found: NO
|
| ../git/meson.build:578:20: ERROR: Program 'wayland-scanner' not found or not executable
|
| A full log can be found at /home/marc/mnt/yocto-latest/build/tmp/work/core2-64-poky-linux/libinput/1.25.0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.

Adding a build dependency on wayland-native fixes the issue.

(From OE-Core rev: 0e2d18e6267d26870ccbe45734bfccbc02744357)

Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Bartosz Golaszewski
ab640fd3b4 linux-firmware: add a package for ath12k firmware
Add the firmware package for the ATH12K module.

(From OE-Core rev: 4620f719eec7d4468074f5d70adf0292e5621d4e)

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Xiangyu Chen
cdb1c4b3bb ltp: add iputils-ping6 to RDEPENDS
According to the LTP documents[1], it using ping6 from iputils which
support "-I" option to bind the interface[2].

Ref:
[1] https://github.com/linux-test-project/ltp/commit/6f97789c
[2] https://github.com/linux-test-project/ltp/commit/64b11656

(From OE-Core rev: 0b89bc2041f670af625829d061ce79e0840ac116)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Daniel Klauer
1703811011 cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH
${COREBASE}/scripts contains a "git" wrapper disabling fakeroot/pseudo.
This patch allows CMake to find ${COREBASE}/scripts/git instead of
${HOSTTOOLS_DIR}/git. This is needed for git invocations during do_install,
since do_install is a fakeroot task, and otherwise all git commands fail
with "fatal: detected dubious ownership in repository ...".

I don't know how common it is for CMake projects to invoke git during the
install phase intentionally. It's probably more common to do this during
the configure phase. However, the install step may re-run the configure
step, if some dependencies changed.

In my case, this happened in incremental Yocto builds which reran
do_install and repopulated parts of the recipe-sysroot during that,
without first rerunning do_configure or do_compile. One of the dependencies
changed (but only changing a file in some unrelated sub-package of it which
was not even installed into the recipe-sysroot), causing the dependant's
recipe-sysroot to be repopulated during do_install and thus causing the
CMake project to be reconfigured during do_install.

(From OE-Core rev: c1d1252032a5f146ad91eafc6f57ab4ea2a72e9c)

Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Dmitry Baryshkov
5496c01487 ffmpeg: backport patches to use new Vulkan AV1 codec API
Backport two patches from ffmpeg git to fix compilation with the newest
Vulkan API.

(From OE-Core rev: a9393391613cd81643744daf930eaabf2ced79b7)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-30 22:20:16 +01:00
Heiko
5533d33d1e kernel.bbclass: check, if directory exists before removing empty module directory
If the kernel folder does not exist, find will result in an error.
This can occur if the kernel has no modules but, for example, custom modules are created.

Add check before deleting.

(From OE-Core rev: 7ef767d84d56b25498e45db83bb8f9d9caebeaf9)

Signed-off-by: Heiko Thole <heiko.thole@entwicklung.eq-3.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 13:39:31 +01:00
Changhyeok Bae
aaf2ad624b iproute2: upgrade 6.7.0 -> 6.8.0
* Release Note *
This is regular release of iproute2 corresponding to the 6.8 kernel.
In addition to the usual round of documentation fixes, many
small changes to ss utility. Most of the work to have full JSON
support in traffic control (TC) is done, only a few leftovers.

Remove support fot ipt and xt in tc.

(From OE-Core rev: f0a26644b620dea3f8ca82714cfa3249b13b01b1)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Khem Raj
8ab7a033d4 llvm: Upgrade to 18.1.4
Brings following fixes

* e6c3289804a6 [CMake][Release] Disable PGO (#88465) (#89000)
* 028e425f86cc [MIPS] Fix the opcode of max.fmt and mina.fmt (#85609)
* e3c832b37b0a Fix override keyword being print to the left side
* 1deeee3f5da4 Revert "[Mips] Fix missing sign extension in expansion of sub-word atomic max (#77072)"
* 995539ce05ba [LLD] [COFF] Don't add pseudo relocs for dangling references (#88487)
* db67e6fb9ad1 [libc++] Fix -Wgnu-include-next in stddef.h (#88214)
* 647fbc710840 [SelectionDAG] Prevent combination on inconsistent type in `combineCarryDiamond` (#84888)
* eaae766a20fd [RISCV] Support rv{32, 64}e in the compiler builtins (#88252)
* c24b41d71f2e github-upload-release.py: Fix bug preventing release creation (#84571)
* c837970dd7e9 [Codegen][X86] Fix /HOTPATCH with clang-cl and inline asm (#87639)
* d0ddcce21d91 [InstSimplify] Make sure the simplified value doesn't generate poison in threadBinOpOverSelect (#87075)
* 4056cc29dfd3 Prepend all library intrinsics with `#` when building for Arm64EC (#87542)
* 6e071cf30599 [SLP]Fix a crash if the argument of call was affected by minbitwidth analysis.
* d89da2ac8839 [libcxx] coerce formatter precision to int (#87738)
* b6ebea7972cd [SPARC] Implement L and H inline asm argument modifiers (#87259)
* bffecba7ce4c [libc++] Simplify the implementation of <stddef.h> (#86843)
* 9899a2d76c8f [lit][ci] Publish lit wheels (#88072)
* 3ceccbdb1995 [clang-format] Correctly annotate braces of empty ctors/dtors (#82097)
* 429d62872525 [Headers] Don't declare unreachable() from stddef.h in C++ (#86748)
* feba8727f805 [ConstantRange] Fix off by 1 bugs in UIToFP and SIToFP handling. (#86041)
* e4259b583c92 [Float2Int] Pre-commit test for SIToFP/UIToFP ConstantRange bug. NFC
* daca56d8e162 Bump version to 18.1.4 (#87715)

(From OE-Core rev: adc2651a8e902af24fee6ff30a72f4b7c63bef6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
John Ripple
5756ac9936 rootfs.py: Fix logger error message format
--_000_PH7PR17MB61307CB6690EC00DEB4ED9B39C0F2PH7PR17MB6130namp_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

This patch adds a missing "%s" format in a logger.error call. Without
this addition the logger itself would error out and not print a useful
message.

(From OE-Core rev: 2c892e5dd9ba72a51c0a8fb851599cc2dc3a8b5c)

Signed-off-by: John Ripple <john.ripple@keysight.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Marek Vasut
3e6c8c2c56 gstreamer1.0-plugins-good: Include qttools-native during the build with qt5 PACKAGECONFIG
The qttools provide 'lrelease' tool, which is checked by recent
versions of meson build system. Unless the qttools are available
in sysroot, meson will fail to detect qt5 installation at build
time and the gstreamer build will fail. Fix this by including
the qttools-native.

(From OE-Core rev: ae2ca4af54695003638da38f8548aa8573d18201)

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Emil Kronborg
d85ac68b26 at-spi2-core: add at-spi2-atk to CVE_PRODUCT
Commit ad605662f1bc ("at-spi2-core: upgrade 2.44.1 -> 2.46.0") dropped
the at-spi2-atk recipe, because it was merged into at-spi2-core upstream
[1]. The PROVIDES variable was changed to also include at-spi2-atk, but
not CVE_PRODUCT.

[1]: https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/78

(From OE-Core rev: bcf51a191de5c7ac6849568989f861b3c6b16273)

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Maxin B. John
513d9982a2 iproute2: drop obsolete patch
libc-compat.h fix for musl was obsolete after 4.16.0 release of iproute2.
Drop it.

(From OE-Core rev: ad57a1e124a1de7af7ef8479ed779230e923d3af)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Willy Tu
64d28fb55d rust-target-config: fix feature for vfpv4f16
Based on [1] which fixed the target for vfpv3d16. Adding the support for
vfpv4d16 with the same set of changes.

Tested with running tokio which hit coredump before the change. It
worked fine after this change.

[1] https://lists.openembedded.org/g/openembedded-core/message/185702

(From OE-Core rev: 8fb2f9f60962339c877949f619e1e72d33bf3080)

Signed-off-by: Willy Tu <wltu@google.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Poonam Jadhav
bbb21c1b0c ppp: Add RSA-MD in LICENSE
ppp package has "RSA Data Security" license text in
Message-Digest Algorithm source file ppp-md5.c and ppp-md4.c
Add RSA-MD in LICENSE field for ppp package

(From OE-Core rev: 9c58193c898b0ea28c3931a57dca5bb829a44051)

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Rasmus Villemoes
89204a0114 openssh: add After dependencies on nss-user-lookup.target
Quoting 'man systemd.special':

  nss-user-lookup.target

    A target that should be used as synchronization point for all
    regular UNIX user/group name service lookups. [...] All services
    for which the availability of the full user/group database is
    essential should be ordered after this target, but not pull it
    in. All services which provide parts of the user/group database
    should be ordered before this target, and pull it in.

When no service providing parts of the user/group database exists and
thus pulls in the nss-user-lookup.target, this added dependency is a
no-op.

However, when such a service does exist, and e.g. modifies /etc/shadow
to change password or enable/disable certain accounts, it is essential
that no ssh connections are accepted until those changes are made.

(From OE-Core rev: 365b5490f3b12772ed57a6bcfd1e0e8a91185afc)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:19:28 +01:00
Alexander Kanavin
8aa5d31184 icu: add upstream submission links for fix-install-manx.patch
(From OE-Core rev: 269a1a65d2526be5622b4c1f552b6f5541e0cb86)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
420e4bab1a connman: submit 0002-resolve-musl-does-not-implement-res_ninit.patch upstream
(From OE-Core rev: 3e38999c60a58cace97357585271c0b62e5b7de7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
2030965792 connman: make 0002-resolve-musl-does-not-implement-res_ninit.patch libc-agnostic
The patch is reworked to take musl-specific path only if the functions are
undefined by libc (which can be checked via __RES, as explained in
https://www.openwall.com/lists/musl/2020/10/23/16 ).

This should make it more suitable for upstream submission.

(From OE-Core rev: 8579ae324c69cd278c2bdb08187b27f15c2d9c67)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
87f28339cc bash: mark build-tests.patch as Inappropriate
(From OE-Core rev: 3d82d44ed6822b7a276df355311e384c02d36c43)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
e79a48eb7a xinput-calibrator: mark upstream as inactive in a patch
(From OE-Core rev: 959591615d18f636768671e1e14e5945a6cbb010)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
6655b2bd9f gstreamer1.0-plugins-good: remove 0001-qt-include-ext-qt-gstqtgl.h-instead-of-gst-gl-gstglf.patch
At some point this patch became unnecessary as the respective qt5 plugin is building without issues
without it (checked on qemuarm/qemuarm64).

(From OE-Core rev: 093575753b928d36a21dca6ff2378b4e299ff4af)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
2a25f926a7 apr: drop 0007-explicitly-link-libapr-against-phtread-to-make-gold-.patch
At some point this became unnecessary, as tested by building apr
with DISTRO_FEATURES:append = " ld-is-gold"

The logs do confirm that (previously) problematic binary links without errors.

(From OE-Core rev: c041932f14cf552b0446732ce0cca6537f3286ab)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
472ec551eb busybox: remove busybox-udhcpc-no_deconfig.patch
The option was introduced in:
https://git.yoctoproject.org/poky/commit/?h=master&id=427472e980cd6254a5e4ef37209b327e15af259b
for the purpose of a standalone udhcpc service.

18 months later the service was removed as it was clashing with the
broader networking service, and the option isn't used
anywhere else:
https://git.yoctoproject.org/poky/commit/?h=master&id=a4b1e348484b74d055b8906413892789d3452f4a

There's a slight chance the option still survives
somewhere private, and is important in that context,
but I'd rather drop the patch so it can be maintained
where it's useful, and maybe even proposed upstream.

(From OE-Core rev: e9dfd3a422d7448ee93ae0dd7e8756a831a578f7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
428b72a482 busybox: submit CVE-2022-28391 patches upstream
(From OE-Core rev: 64c026024b1c86797de338760b9f29d7e949926c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
482885e839 apr: submit 0001-Add-option-to-disable-timed-dependant-tests.patch upstream
(From OE-Core rev: 1bfe386e69d7a688815a78bd2d5766a4b0665e7f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
8f38627c76 expect: mark patches as Inactive-Upstream
There's every indication that this is an ex-expect:
last release in 2018, stale tickets, cvs server gone.

(From OE-Core rev: 0fcfd2cb51428a3f35c0f78634bff0a16ae654e9)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
f1e323d4e0 kea: remove unnecessary reproducibility patch
Rather, adjust the sed invocation to do the correct thing directly.

(From OE-Core rev: 804afb2eb9cc2b5650faa80816f377fa5b72fb38)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Alexander Kanavin
8b440c19b1 serf: mark patch as inappropriate for upstream submission
What the patch does is not suitable, as upstream would surely
want the issue with the code fixed, not removal of that code altogether.

I'd also note that serf is still semi-ummaintained, and the only consumer
of it is subversion, which is slowly but steadily fading away in favor of
git and artifact-specific solutions.

(From OE-Core rev: 634717817e94740ac8d4e8cc82cb68bfd15d8dbd)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:15 +01:00
Julien Stephan
aace45f9b8 oeqa/selftest/devtool: add test for updating local files into another layer
We don't have a test to check if we can correctly devtool update-recipe/finish
into another layer. So update the existing test_devtool_update_recipe_local_files
to also check the updates into another layer.

(From OE-Core rev: bd44c895d36e246a25c7a6e40bf9f4089dc7a297)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:14 +01:00
Julien Stephan
28516320d8 devtool: standard: update-recipe/finish: fix update localfile in another layer
When trying to use devtool update-recipe/finish on another layer, with modified
local file we have the following error:

  Traceback (most recent call last):
    File "<..>/poky/scripts/devtool", line 350, in <module>
      ret = main()
            ^^^^^^
    File "<..>/poky/scripts/devtool", line 337, in main
      ret = args.func(args, config, basepath, workspace)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1968, in update_recipe
      updated, _, _ = _update_recipe(args.recipename, workspace, rd, args.mode, args.append, args.wildcard_version, args.no_remove, args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1930, in _update_recipe
      updated, appendf, removed = _update_recipe_patch(recipename, workspace, srctree, crd, appendlayerdir, wildcard_version, no_remove, no_report_remove, initial_rev, dry_run_outdir, force_patch_refresh)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "<..>/poky/scripts/lib/devtool/standard.py", line 1747, in _update_recipe_patch
      patchdir = param.get('patchdir', ".")
                 ^^^^^^^^^
  AttributeError: 'str' object has no attribute 'get'

This was introduced when adding support for git submodules.
No selftest case exists to catch this, so a selftest will be
added in another commit.

(From OE-Core rev: de7ca9f800e15e10271502da7e51e3ae08e0c85b)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:14 +01:00
Vincent Kriek
629063944c devtool: sync: Fix Execution error
When executing devtool sync on a recipe that was extract with devtool
extract earlier the following error occured:

    Traceback (most recent call last):
    [...]
    bb.process.ExecutionError: Execution of 'git fetch file:///home/vin/projects/poky/build/tmp/work/all-poky-linux/netbase/6.4/devtooltmp-figt1jmr/workdir/netbase devtool:devtool' failed with exit code 128:
    fatal: refusing to fetch into branch 'refs/heads/devtool' checked out at '/home/vin/projects/poky/build/netbase-src'

Fix this by adding --update-head-ok and --force to git fetch so it will
override the current head even if it is checked out and has changes.
Possible existing changes in the devtool branch can be retrieved by
checking out the devtool.bak branch

(From OE-Core rev: 4c89b061003a0f4143c6d3838e39fc2643edc8d6)

Signed-off-by: Vincent Kriek <vincent@coelebs.dev>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:10:14 +01:00
Ola x Nilsson
25adb31d37 binutils: Remove conflict markers from 0008-Use-libtool-2.4.patch
The diff hunks were not doing anything important, just remove them.

(From OE-Core rev: 06003911df37d41b6d04946571a9c1fbe41a6414)

Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Christian Bräuner Sørensen
368dd0432e systemd: sed ROOT_HOME only if sysusers PACKAGECONFIG is set
Fixes a bug introducted in ebafe46379 systemd: upgrade to 255.1.

Besides updating systemd, that commit also made other changes. One of them
being when to perform the replacement in order to fix ROOT_HOME.

Previously, that happened on a configure prefunc and on
${S}/sysusers.d/basic.conf.in.
Now it happens in install and on image/usr/lib/sysusers.d/basic.conf.

However, that file is not present if sysusers is not in PACKAGECONFIG,
since that file in that case is not installed hence resulting in:
sed: can't read <redactedpath>/image/usr/lib/sysusers.d/basic.conf: No such file or directory

Previously, in the case of sysusers not being in PACKAGECONFIG, that was a
"silent error" since the replacement was done but the file was not really
used since the file was not installed.

(From OE-Core rev: fac654a5445da2603b3435aca8db33fc8411d51b)

Signed-off-by: Christian Bräuner Sørensen <yocto@bsorensen.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
6dbbcf2e1f xcb-proto: upgrade 1.16.0 -> 1.17.0
(From OE-Core rev: c18903a9ba34733ed2c4b2184523137021a7d06c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
ef36fa445c wayland-protocols: upgrade 1.34 -> 1.35
Changelog:
==========
- tablet-v2: mark as stable
- staging: add alpha-modifier protocol
- xdg-shell: add missing enum attribute to set_constraint_adjustment
- xdg-shell: recommend against drawing decorations when tiled
- cursor-shape-v1: Does not advertises the list of supported cursors

(From OE-Core rev: 0974ee04e5e6ba4f42d37db9a096c0dc084b80a9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
0411bc8eb3 vala: upgrade 0.56.16 -> 0.56.17
* Various improvements and bug fixes:
 - codegen:
   + Add missing initializers for private fields of GSourceFuncs
   + Update array length variable passed to null-terminated ref parameter
   + Properly pass through a null-terminated out argument
   + Refactor and cache parameter in loop
   + Only handle null-terminated array as such if there is no length given
 - vala:
   + Allow declaration of static nested methods (local functions)
   + Correctly use Path.build_path()
   + Point to the invalid initializer on error
   + Report invalid type in property assignment attempt
   + Inherit important attributes for Property backing field

* Bindings:
 - glib-2.0: Avoid unnecessary copying operations in FileStream.read_line()
 - glib-2.0: Add SPACING_MARK, deprecate COMBINING_MARK
 - glib-2.0: Add dev_t/gid_t/pid_t/uid_t/socklen_t types for compatibility
 - gnu: add binding for flock(2) and its constants

(From OE-Core rev: 33c3210a0674a7c67b513d15ebcc16c0ca12846c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
863860a63a util-macros: upgrade 1.20.0 -> 1.20.1
Changelog:
 Remove unnecessary escape

(From OE-Core rev: f141e79d1b56563b86a6ebaadcd9dbb1f9839635)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
caf0d84fbd taglib: upgrade 2.0 -> 2.0.1
Changelog:
===========
* Fix aborting when _GLIBCXX_ASSERTIONS are enabled.
* Fall back to utf8cpp header detection in the case that its CMake
  configuration is removed.
* Improve compatibility with the SWIG interface compiler.
* Build system fixes for testing without bindings, Emscripten and Illumos.
* C bindings: Fix setting UTF-8 encoded property values.
* Windows: Fix opening long paths.

(From OE-Core rev: d3438bd2698dff19722123d7b2b5674ba40107eb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
7d0f100c57 stress-ng: upgrade 0.17.06 -> 0.17.07
Changelog:
===========
- Porting fixes to support modern Solaris systems
- Improve vecshuf performance (regression due to using -O3 on gcc on vec ops)

(From OE-Core rev: 3cc7b0d8d6ee02e90f47fecf093d7192776d81a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
8ae91f1532 repo: upgrade 2.44 -> 2.45
Changelog:
===========
- project: Check if dotgit exists w/out symlink check
- git: raise soft version to 2.7.4
- git: raise hard version to 1.7.9
- docs: release: add recent git/python/ssh/debian info
- main: Stringify project name in error_info

(From OE-Core rev: 3266f1a3318e733e361b8e1d9d7c69af100c1b8d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
6e4d8d975d python3-trove-classifiers: upgrade 2024.3.3 -> 2024.4.10
Changelog:
==========
- Add Natural Languages
- Add OpenTelemetry related classifiers

(From OE-Core rev: d2b76538679910d986e3e58f91bd9fce8eb9c63f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
269b7ea709 python3-setuptools: upgrade 69.2.0 -> 69.5.1
Changelog:
=============
- Merged bugfix for pypa/distutils
- Refresh unpinned vendored dependencies.
- Updated vendored packaging to version 24.0.
- Remove attempt to canonicalize the version. It's already canonical enough.
- Support PEP 625 by canonicalizing package name and version in filenames.

(From OE-Core rev: e411840719054ed7e1ada8b2386860a91c80672b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
17db816f0c python3-pygobject: upgrade 3.48.1 -> 3.48.2
Changelog:
===========
* Fix support for fundamental (primitive) types, such as Gst.Bitmask

(From OE-Core rev: eb5cb27155232b969508825628ee87942e9ba1cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
b133f60dc9 python3-pluggy: upgrade 1.4.0 -> 1.5.0
Changelog:
===========
- Add support for deprecating specific hook parameters, or more generally, for
  issuing a warning whenever a hook implementation requests certain parameters.
- PluginManager.get_plugins() no longer returns None for blocked plugins.

(From OE-Core rev: 0a6fe31e8fbf0c70a488b7cb10bab3a4d729ec34)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
315ee4a15a python3-mako: upgrade 1.3.2 -> 1.3.3
Changelog:
============
- Fixed unexpected error when use control lines which the first control block
  with no bodies other than comments,as pass is now added to the first empty block.
- Fixed unexpected syntax error in strict_undefined mode that occurred
 when using comprehensions within a function in a Mako Python code block.
 Now, the local variable in comprehensions won't be added to the checklist
 when using strict_undefined mode.

(From OE-Core rev: 1eb880291476759a56c2772c9485bec41040ccff)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
3d0bd036a8 python3-lxml: upgrade 5.1.0 -> 5.2.1
Changelog:
===========
* LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
  "core2", but with SSE 4.2 enabled.
* LP#2059977: "Element.iterfind("//absolute_path")" failed with a "SyntaxError"
  where it should have issued a warning.
* GH#416: The documentation build was using the non-standard "which" command.

(From OE-Core rev: ed3cfa344c65daf4ac61d4ca95288c72885b4b11)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
de08fd88e9 python3-idna: upgrade 3.6 -> 3.7
License-Update: Copyright year updated to 2024.

Changelog:
 Fix issue where specially crafted inputs to encode() could take exceptionally long amount of time to process.

(From OE-Core rev: 13316368a8fd886a6eba96e0fc505e80c709b7f0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
3f48009b71 python3-hypothesis: upgrade 6.99.4 -> 6.100.1
Changelog:
=========
-improve a rare error message for flaky tests
-The from_dtype() function no longer generates NaT ("not-a-time") values for
 the datetime64 or timedelta64 dtypes if passed allow_nan=False
-includes the backend setting in the how_generated field of our observability output.
-If you were running Python 3.13 (currently in alpha) with pytest-xdist and
 then attempted to pretty-print a lambda functions which was created using
 the eval() builtin, it would have raised an AssertionError.
-improves an internal invariant.
-fixes Hypothesis sometimes raising a Flaky error when generating collections
 of unique floats containing nan.
-continues our work on refactoring the shrinker
-continues our work on refactoring shrinker internals
-resolves PermissionError that come from creating databases on inaccessible paths.
-starts work on refactoring our shrinker internals. There is no user-visible change.
-fixes a longstanding performance problem in stateful testing

(From OE-Core rev: 0652a662f01fef3364c375817809fbffc452cfaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
096da3381c python3-hatchling: upgrade 1.22.4 -> 1.24.1
Fix:
 Maintain file permissions for shared-scripts option/shared_scripts build data of the wheel target

(From OE-Core rev: d52a9369ebeebcd17c27b371008b5c01b619556d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:03 +01:00
Wang Mingyu
ec2176d508 python3-dtschema: upgrade 2024.2 -> 2024.4
Changelog:
============
-fixups: Convert anyOf/oneOf + const to enum
-dt-validate: Add an 'only matching compatible' schema validation mode
-schemas: pci: allow additional device properties in pci-pci-bridge
-validator: Rework selecting schemas for validation
-validator: Add a version to the processed schemas
-schemas: chosen: Remove 'linux,tpm-kexec-buffer'
-README: fix broken link to json-schema.org
-schemas: Add schema for post-init-providers
-fixups: Fix dropping of array 'items' schema
-schemas: chosen: Change address+size properties' type to 'address'
-Add a dedicated type for address properties
-dtb: Filter out types with the wrong length multiple
-schemas: dma: Ensure 'dma-names' entries are unique (mostly)
-schemas: Ensure -names properties' entries are unique
-dtb: Skip decoding strings if not nul terminated

(From OE-Core rev: 32d96d1334a5641a6b3a67244b1fc6daf77c5268)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
f9e6ab7fb8 python3-cython: upgrade 3.0.9 -> 3.0.10
Changelog:
==========
* Cython generated incorrect self-casts when directly calling final methods of subtypes.
* Internal C names generated from C function signatures could become too long for MSVC.
* The "noexcept" warnings could be misleading in some cases.
* The "@cython.ufunc" implementation could generate incomplete C code.
* The "libcpp.complex" declarations could result in incorrect C++ code.
* Several tests were adapted to work with both NumPy 1.x and 2.0.
* C compiler warnings when the freelist implementation is disabled (e.g. on PyPy) were fixed.
  It can now be disabled explicitly with the C macro guard "CYTHON_USE_FREELISTS=0".
* Some C macro guards for feature flags were missing from the NOGIL Python configuration.
* Some recently added builtins were unconditionally looked up at module import time
  (if used by user code) that weren't available on all Python versions and could thus
  fail the import.
* A performance hint regarding exported pxd declarations was improved.

(From OE-Core rev: 4c5840c01e40a012fcbdc316cbed817f4b3cf230)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
1177371cfc python3-beartype: upgrade 0.18.2 -> 0.18.5
(From OE-Core rev: ceb7d21da8476f30687cc2e4af3837bfd214e73a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
004e8062f1 pango: upgrade 1.52.1 -> 1.52.2
Changelog:
==========
- coretext: Implement reload_font
- coretext: Use Menlo instead of Courier for monospace
- win32: Avoid a double free
- Update to Unicode 15.1
- Simplify hexbox drawing

(From OE-Core rev: 1a2d7e127d251d0342044b9265e00c35357ead68)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
e336fee6e5 openssl: upgrade 3.2.1 -> 3.3.0
CVE-2024-2511.patch
revmoed since it's included in 3.3.0

Changelog:
 https://github.com/openssl/openssl/blob/openssl-3.3.0/NEWS.md

(From OE-Core rev: 1d6cb1592d6883cc504ff0776810312f732664ae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
180b4cb712 ninja: upgrade 1.11.1 -> 1.12.0
Changelog:
==========
-Critical path scheduler which orders the jobs by their runtime history
-This may break your build if you haven't specified your dependencies correctly.
-Resiliency against inputs changing during the build
-Reliable ETA and progress percentage in status
-Support for path lengths over 260 characters on Windoiws
-ARM binaries are now available for Windows and Linux, too
-Several bugfixes

(From OE-Core rev: 06253525be0c5dfd9db656e395c96db4712277b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
52e67109f1 lttng-ust: upgrade 2.13.7 -> 2.13.8
Changelog:
============
* Add close_range wrapper to liblttng-ust-fd.so
* ust-tracepoint-event: Add static check of sequences length type
* lttng-ust(3): Fix wrong len_type for sequence
* Fix: libc wrapper: use initial-exec for malloc_nesting TLS

(From OE-Core rev: 3dd02f741a151bcc1fe46e7fd6d585ca92c86c60)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
8f0971215a lighttpd: upgrade 1.4.75 -> 1.4.76
Changelog:
==========
* [core] add default to builtin mimetype.assign
* [core] add MPTCP support
* [core] disable MPTCP support by default
* [mod_expire] omit caching hdrs for 204 No Content
* [mod_staticfile] noinline cold func
* [core] GNU/Hurd preadv2() RWF_NOWAIT ENOTSUP
* [core] special value for Linux POLLRDHUP on SPARC
* [mod_openssl] define asn1 time w/ OPENSSL_NO_OCSP
* [h2] VU#421644 HTTP/2 CONTINUATION Flood
* [build] packdist.sh git archive; replace make dist
* [core] gw_network_backend_write_error() cold func
* [core] reduce syscalls in some backend connect
* [core] defer TCP_FIN propagate if connect()ing
* [ci] workaround some packaging issues in NetBSD 10

(From OE-Core rev: 09ee0fb9f36eb856354b551855323b8ca38c0e80)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
fb21371fef libxmu: upgrade 1.2.0 -> 1.2.1
Changelog:
============
test: Add prototype for Xmureallocarray to silence warning
test: Add missing setjmp()

(From OE-Core rev: 2c7c70065a9c8450007a99cf647336d30d4e86a1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
721b961d2f libxmlb: upgrade 0.3.17 -> 0.3.18
Changelog:
==========
- Fix decompressing large zstd files, harder
- Include the pkgconfig variables in the subproject declared dependency

(From OE-Core rev: 89741b5fc9240e2fb183c331769b16cb8aa4b8b5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
2b87da3f57 libwebp: upgrade 1.3.2 -> 1.4.0
Changelog:
==========
* API changes:
  - libwebpmux: WebPAnimEncoderSetChunk, WebPAnimEncoderGetChunk,
                WebPAnimEncoderDeleteChunk
  - libsharpyuv: SharpYuvOptionsInit, SharpYuvConvertWithOptions
  - extras: SharpYuvEstimate420Risk
* further security related hardening in libwebp & examples
* some minor optimizations in the lossless encoder
* added WEBP_NODISCARD to report unused result warnings; enable with
  -DWEBP_ENABLE_NODISCARD=1
* improvements and corrections in webp-container-spec.txt and
  webp-lossless-bitstream-spec.txt
* miscellaneous warning, bug & build fixes

(From OE-Core rev: 604f81b833472913db5001242ede5ea8397a2104)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
03aafcb9db libsdl2: upgrade 2.30.1 -> 2.30.2
Changelog:
===========
-Fixed performance regression initializing controllers on Linux
-Added support for the 6-button SEGA Mega Drive Control Pad for Nintendo Online
-Added support for the MadCatz Saitek Side Panel Control Deck
-Added support for the Hori Fighting Stick EX2
-Added support for the Yawman Arrow flightstick
-Added a gamepad mapping for the Defender Joystick Cobra R4
-Fixed the gamepad mapping for the Sanwa Supply JY-P76USV controller
-Poll for the initial controller state when using DirectInput
-Allow using SDL_RWFromFile() with named pipes

(From OE-Core rev: ec532272e2ba2b2c182305e66068da5c0c4412e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
1145592890 libpam: upgrade 1.6.0 -> 1.6.1
0001-pam_namespace-include-stdint-h.patch
removed since it's included in 1.6.1

Changelog:
===========
* build: fail if specified configure options cannot be satisfied.
* pam_env: fixed --disable-econf --enable-vendordir support.
* pam_unix: do not warn if password aging is disabled.
* pam_unix: try to set uid to 0 before unix_chkpwd invocation.
* pam_unix: allow empty passwords with non-empty hashes.
* Multiple minor bug fixes, build fixes, portability fixes,
  documentation improvements, and translation updates.

(From OE-Core rev: 2758bc1e521270c77c768a6d9701cb15dd30ea82)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
94c08708b8 libarchive: upgrade 3.7.2 -> 3.7.3
Changelog:
==========
-PCRE2 support
-add trailing letter b to bsdtar(1) substitute pattern
-add support for long options "--group" and "--owner" to tar(1)
-Fix possible vulnerability in tar error reporting introduced in f27c173
-ISO9660: preserve the natural order of links
-rar5: fix decoding unicode filenames on Windows
-rar5: fix infinite loop if during rar5 decompression the last block produced no data
-xz filter: fix incorrect eof at the end of an lzip member
-zip: fix end-of-data marker processing when decompressing zip archives
-multiple bsdunzip(1) fixes
-filetime truncation fix on Windows

configurehack.patch
refreshed for 3.7.3

(From OE-Core rev: bd4ab2025bcaffcf2802ad09c9d83e2a4d2a0f2c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
afcce74288 gdk-pixbuf: upgrade 2.42.10 -> 2.42.11
0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch
fatal-loader.patch
refreshed for 2.42.11

Changelog:
===========
- Disable fringe loaders by default
- Introspection fixes
- Translation updates

(From OE-Core rev: 243a6fce44882ff16c5dfcb518cafd8ee8f7ae24)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
bbbadbcbf3 gcr: upgrade 4.2.1 -> 4.3.0
Changelog:
============
- certificate: Add API to retrieve version
- Bump required GnuTLS version to 3.8.5
- Avoid potential integer overflow spotted by UBSan
- Support GnuTLS as an alternative crypto backend
- Updated translations

(From OE-Core rev: 926b94a9477675f5828eb7d997aac8975500b7a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
0b7f51d1ef dpkg: upgrade 1.22.5 -> 1.22.6
Changelog:
============
-po: Regenerate .pot files and merge .po files with them
-Dpkg::Vendor::Debian: Unconditionally set qa bug-implicit-func
-build: Fix typo in CI config
-build: Add gen-release script
-test: Skip OpenPGP tests if the backend does not have a verify command
-test: Refactor certfile and keyfile filenames for OpenPGP test
-test: Refactor OpenPGP backend and commands list
-build: Test with minimal library dependencies in CI
-dpkg-deb: Fix up compressor parameters for default legacy format
-man: Document dpkg versions supporting SOURCE_DATE_EPOCH for various tools
-debian: Fix typo in man page reference in changelog
-po: Fix typos in Swedish man pages translations
-po: Update Dutch man pages translations
-po: Update Portugese man pages translations
-Dpkg::Vendor::Debian: Make it possible to disable qa=-bug-implicit-func
-libdpkg: Use a macro to define the zstd default compression level
-libdpkg: Use array access instead of pointer arithmetic for meminfo parser
-po: Update German man pages translation

(From OE-Core rev: b9b4ad48812add8b59d3b17e5c3bd9fd3f8744c7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
929f60bdcc diffoscope: upgrade 260 -> 265
Changelog:
==========
* Ensure that tests with ">=" version constraints actually print the
  corresponding tool name.
* Prevent odt2txt tests from always being skipped due to an impossibly new
  version requirement.
* Avoid nested parens-in-parens when printing "skipping" messages
  in the testsuite.
* Don't crash on invalid zipfiles, even if we encounter 'badness'
  halfway through the file.
* Fix a crash when there are (invalid) duplicate entries in .zip files.
* Add note when there are duplicate entries in ZIP files.
* Add an external tool reference for GNU Guix for zipdetails.
* Add support for the zipdetails(1) tool included in the Perl distribution.
* Don't use parenthesis within test "skipping" messages; PyTest adds its own
  parenthesis, so we were ending up with double nested parens.
* Fix the .epub tests after supporting zipdetails(1).
* Update copyright years and debian/tests/control.
* Fix MozillaZipContainer's monkeypatch after Python's zipfile module changed
  to detect potentially insecure overlapping entries within .zip files.
* Factor out Python version checking in test_zip.py.
* Also skip some zip tests under 3.10.14 as well; a potential regression may
  have been backported to the 3.10.x series. The underlying cause is still to
  be investigated.
* Don't crash if we encounter an .rdb file without an equivalent .rdx file.
* In addition, don't identify Redis database dumps (etc.) as GNU R database
  files based simply on their filename.

(From OE-Core rev: f22945ba9b4835e52809bedc4e3be73a91aafe07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
e6f70e0f83 cronie: upgrade 1.7.1 -> 1.7.2
Changelog:
============
*Revert setting the return path to <>. It is not RFC compliant.
*Inherit MAILFROM from the crond process environment.

(From OE-Core rev: e93d7ba7ea3718e396510b12726a232edaecf976)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Wang Mingyu
0dbf873a5c bind: upgrade 9.18.25 -> 9.18.26
Changelog:
============
- Add RESOLVER.ARPA to the built in empty zones.
- dig/mdig +ednsflags=<non-zero-value> did not re-enable
  EDNS if it had been disabled.
- Some invalid ISO 8601 durations were accepted
  erroneously.
- Don't return static-stub synthesised NS RRset.
- Fix bug in Depends (keymgr_dep) function.
- Support for the RESINFO record type has been added.
- Cleaned up several minor bugs in the RBTDB dbiterator
  implementation.
- Added missing dns_rdataset_disassociate calls in
 validator.c:findnsec3proofs.
- Fix incorrectly reported errors when running tests
 with `make test` on platforms with older pytest.
- Optimize slabheader placement, so the infrastructure
 records are put in the beginning of the slabheader
 linked list.
- Improve ARM parental-agents definition.
- Fix the DNS_GETDB_STALEFIRST flag, which was defined
 incorrectly in lib/ns/query.c.
- Update ZSK minimum lifetime documentation in ARM, also
 depends on signing delay.
- Add workaround to enforce dynamic linker to pull
 jemalloc earlier than libc to ensure all memory
 allocations are done via jemalloc.
- Changes to "listen-on" statements were ignored on
 reconfiguration unless the port or interface address was
 changed, making it impossible to change a related
 listener transport type. Thanks to Thomas Amgarten.
- Expose the TCP client count in statistics channel.
- Fix a possible crash in 'dig +nssearch +nofail' and
 'host -C' commands when one of the name servers returns
 SERVFAIL.
- When dnssec-policy is in effect the DNSKEY's TTLs in
 the zone where not being updated to match the policy.
 This lead to failures when DNSKEYs where updated as the
 TTLs mismatched.

(From OE-Core rev: 9dc097f240c5ab7703179f480f538be8e21defce)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-25 10:06:02 +01:00
Lee Chee Yang
ecaf4e14b3 release-notes-5.0: update recipes changes
update recipes changes in 5.0 rc4.
update new recipes, license changes, patched cve and recipes version
changes.

(From yocto-docs rev: 0fc86205668d122d4e550a5eae301cd6997f8a71)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:22:55 +01:00
Michael Opdenacker
05d54880e4 manuals: standards.md5: add standard for project names
Set a new standard to introduce project names with single quotes,
so that they appear in generated text with an italic font,
to make them easier to distinguish from command names and from
ordinary English words.

Rework and move the standard for command and file names
to make the whole description "flow" better.

(From yocto-docs rev: fa6700af56213a5079eaa8d9683f3c2b2fc93740)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:22:55 +01:00
Paul Eggleton
30d5b6f7dd release-notes: add a few more new features
Add some features I missed earlier (patchtest, Toaster, hash
equivalence enhancements, screenshot-based UI test,
USERADD_DEPENDS).

(From yocto-docs rev: 774f0ba6345592571c7c7cff495f2b15dca21f25)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:22:55 +01:00
Paul Eggleton
34a67fc165 ref-manual: variables: add USERADD_DEPENDS
New variable in 5.0.

(From yocto-docs rev: 57a9117a8c4c020b2f643d6835af29b4e49f4f7f)

Signed-off-by: Paul Eggleton <bluelightning@bluelightning.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-24 14:22:55 +01:00
Michael Glembotzki
6045314d29 rootfs-postcommands.bbclass: Only set DROPBEAR_RSAKEY_DIR once
If DROPBEAR_RSAKEY_DIR has already been set before, e.g. by overwriting
the file dropbear.default, the line will still be appended a second time.

DROPBEAR_RSAKEY_DIR="/path/to/dropbear"
DROPBEAR_EXTRA_ARGS="-B"
DROPBEAR_RSAKEY_DIR=/var/lib/dropbear

(From OE-Core rev: 943c6acf855fd9de592f0b77828242c2c6e0869f)

Signed-off-by: Michael Glembotzki <Michael.Glembotzki@iris-sensing.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
e3dd871f19 npth: remove redundant FILES
This is covered by the default rules.

(From OE-Core rev: 1f17a8d13684db6cc603a5184f5d61ab8c715d89)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
0646d02199 npth: remove obsolete binconfig-disabled inherit
npth no longer installs the npth-config script[1] that we disabled, so
there's no need to inherit the class.

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git;a=commit;h=2b6a8e5369ed37d64d1bafd3a546ec52e25acd26

(From OE-Core rev: de27b5dcaaa28470918975949b02f1df72776a6e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
c83b2b39b3 npth: remove obsolete pkgconfig patch
npth now provides a pkg-config itself[1] so we don't need to patch one
in anymore.

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git;a=commit;h=f3cbbc86cb49a1729d6df573bd76a5559e7f636b

(From OE-Core rev: f96f16127cc27e1440f7a51a38726a9ab69ba6a1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
7124dc9f0d npth: update homepage
Set the homepage to the actual homepage, not that of the older GNU Pth.

Also fix some whitespace in the license fields.

(From OE-Core rev: f876f3a50dfa7f2da13e4b25608fd5f76bc87b3b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
72606f55d9 ruby: remove obsolete build dependences
Ruby 3.3.0 no longer bundles the readline module[1] so readline is no
longer a build dependency[2].

Ruby 3.2.0 no longer bundles the gdbm module[3] so gdbm is no longer a
build dependency.

[1] 59fd67fc3d
[2] 172077232e

(From OE-Core rev: b616e260855a9d8fbf5c1b6a1b49278673b24d7f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Ross Burton
2eed41b9cf waffle: remove dependency on udev
Waffle 1.8.0 dropped the use of libudev and instead uses libdrm[1] in
the gbm code. Update the depends.

[1] 6bf58d4bb9

(From OE-Core rev: 51731c8e9cf1e5c894c9b4d894a66403535c56c8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
c84c11b951 swig: convert from autotools to cmake
Drop patches:
0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
(superseded long time ago by native wrapper)

0001-configure-use-pkg-config-for-pcre-detection.patch
(autotools-specific)

Drop all autoconf options and native python dependency as cmake configuration doesn't contain those.

(From OE-Core rev: 614e9b387f0774856e4ef2a1633d269f06b5da0f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
307e2bc612 swig: merge .inc into .bb
(From OE-Core rev: d5edf129a39be5b4a62d6fa73b151dcc3a098e79)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Jose Quaresma
8051868b3a Revert "goarch: disable dynamic linking globally"
This reverts commit 827c60b79e7fcafd14e68870f6b69dcc48ac9c39.

Fixed with the drop of the linkmode

(From OE-Core rev: 8f46f60a703defc3e74adad382320c129cef0b06)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Jose Quaresma
999bd95403 go: Drop the linkmode completely
This will make possible to restore the default dynamic linking globally
which is what we had before the 1.20.X release.

(From OE-Core rev: 6ad90fc2fc49c4199a59dfb1c1d81a7ba184a522)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
425cbf8deb libtraceevent: submit meson.patch upstream
[RP: Add url to submission]
(From OE-Core rev: d00306620aa890a361f42516a064d64dd7c68aa7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
e49212866b mpeg2dec: remove the recipe
This is as well inactive for over 10 years, and has been superseded by ffmpeg long time ago.

(From OE-Core rev: d46660e6c083baf7a7cf68a0eb98260246ccdcaf)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
f7f4d9d5c0 package_rpm: remove support for DIRFILES
This was added here:
https://git.yoctoproject.org/poky/commit/?id=2f42ef8d8fb1febf28252b98884cebabc931f720

It's undocumented, untested, rpm-specific, and currently
broken, and to begin with looks like a workaround for
Tizen/smack security label conflicts elsewhere.

(From OE-Core rev: ea8af19bb909c7e3633d82bec9d925c8f42ec860)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Alexander Kanavin
148e0c87cc liba52: remove the recipe
The component has been superseded by ffmpeg long ago, tarballs have
disappeared from sourceforge, no work on it has happened in over 10 years.

(From OE-Core rev: 90fbfe9fe1dab1568b85ee497520e789417d41f6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Markus Volk
74361a6e6d xwayland: update 23.2.5 -> 23.2.6
- add a PACKAGECONFIG for libdecor
- add PACKAGECONFIGS for xwayland_ei to avoid auto select

(From OE-Core rev: cb12eca789ca7c434ed9e4a796c43844df0e5ada)

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>
2024-04-23 13:40:24 +01:00
Julien Stephan
e9939fe2c6 oeqa: selftest: context: run tests serially if testtools/subunit modules are not found
If testtools and/or subunit modules are not found we get the following backtrace
(example for testtools):

  NOTE: Starting bitbake server...
  Traceback (most recent call last):
    File "<..>/poky/scripts/oe-selftest", line 60, in
  <module>
      ret = main()
    File "<..>/poky/scripts/oe-selftest", line 47, in main
      results = args.func(logger, args)
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 391, in run
      rc = self._internal_run(logger, args)
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 377, in _internal_run
      rc = self.tc.runTests(**self.tc_kwargs['run'])
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 161, in runTests
      return super(OESelftestTestContext, self).runTests(processes, skips)
    File "<..>/poky/meta/lib/oeqa/core/context.py", line
  91, in runTests
      result = self.runner.run(self.prepareSuite(self.suites, processes))
    File "<..>/poky/meta/lib/oeqa/selftest/context.py",
  line 154, in prepareSuite
      from oeqa.core.utils.concurrencytest import ConcurrentTestSuite
    File
  "<..>/poky/meta/lib/oeqa/core/utils/concurrencytest.py",
  line 22, in <module>
      import testtools
  ModuleNotFoundError: No module named 'testtools'

Fix this by adding a custom callback on -j/--num-processes parameter to
check testtools and subunit modules. Fallback to serial testing if
missing. This strategy is already used in sdk/context.py

(From OE-Core rev: 35284404473b2c2d9f69594582868ed66ef3525e)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Peter Marko
4bdba870c6 ttyrun: define CVE_PRODUCT
Single executable ttyrun is taken ouf of s390-tools repository
containing ton of other helper tools.
CVEs are not assigned to executables, but to whole components.
Historically there also already exists one CVE for s390-tools.

Most of the CVEs will not be for ttyrun, but this is the way
how to get notified even if most we get will have to be ignored.

(From OE-Core rev: df28547387c2c122aef3e5326b216ec3f4d3caa7)

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>
2024-04-23 13:40:24 +01:00
Simone Weiß
8c6f7838e0 gnutls: Fix failing ptests
When upgrading gnutls to the newest version 3.8.5, some ptest failed.
Backported a patch from upstream gnutls(not in any release yet) to
fix this issue.

(From OE-Core rev: 25135cd910e24117aa493abcb7f6aeee0b84ab82)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Wang Mingyu
77faeec0d3 gnutls: upgrade 3.8.4 -> 3.8.5
Add-ptest-support.patch
refreshed for 3.8.5

Changelog:
==========
* libgnutls: Due to majority of usages and implementations of
  RSA decryption with PKCS#1 v1.5 padding being incorrect,
  leaving them vulnerable to Marvin attack, the RSAES-PKCS1-v1_5
  is being deprecated (encryption and decryption) and will be
  disabled in the future.
* libgnutls: Added support for RIPEMD160 and PBES1-DES-SHA1 for
  backward compatibility with GCR.
* libgnutls: A couple of memory related issues have been fixed in RSA PKCS#1
  v1.5 decryption error handling and deterministic ECDSA with earlier
  versions of GMP.
* build: Fixed a bug where building gnutls statically failed due
  to a duplicate definition of nettle_rsa_compute_root_tr().

(From OE-Core rev: 594ef33f9d5bc6fba1c9b1393936f26920406826)

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>
2024-04-23 13:40:24 +01:00
Dan McGregor
6fd0ad3283 shadow: install manpages
Install the manpages for shadow, and also make the conflicting manpages
alternatives in util-linux.

(From OE-Core rev: 4b5a119ab36b2339b5469e5c7d34635090cc70f0)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Khem Raj
622235b4de oeqa/postactions: Do not use -l option with df
-l option is specific to df provided by coreutils, if df
applet from busybox is used then it does not work and fails
like below

Fixes
   df: invalid option -- 'l'
   BusyBox v1.36.1 () multi-call binary.

   Usage: df [-PkmhT] [-t TYPE] [FILESYSTEM]...
   DEBUG: [Command returned '1' after 0.71 seconds]
   DEBUG: Command: df -hl
   Status: 1 Output:  df: invalid option -- 'l'

it seems worth a compromise to show remote mounted filesystems if any
during ptests and it works with both df implementations

(From OE-Core rev: 75cc1ea4348a2294fdc5ab20530fcff27056ff06)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Sven Schwermer
8219eefdd8 recipetool: Handle several go-import tags in go resolver
When dynamically resolving go modules, the HTML page may contain several
go-import meta tags. We must handle all and pick the correct one based
on the module name. An example for such a behaviour is
gonum.org/v1/gonum:

<meta name="go-import" content="gonum.org/v1/exp git https://github.com/gonum/exp">
<meta name="go-import" content="gonum.org/v1/gonum git https://github.com/gonum/gonum">
<meta name="go-import" content="gonum.org/v1/hdf5 git https://github.com/gonum/hdf5">
<meta name="go-import" content="gonum.org/v1/netlib git https://github.com/gonum/netlib">
<meta name="go-import" content="gonum.org/v1/plot git https://github.com/gonum/plot">
<meta name="go-import" content="gonum.org/v1/tools git https://github.com/gonum/tools">

(From OE-Core rev: 9c36a61e29359067165bddc7f2accdf2c4c8a761)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Sven Schwermer
e4c3483ecf recipetool: Handle unclean response in go resolver
It appears that some go modules repond with a 404 error when trying to
resolve them dynamically. The response body may still contain the
go-import meta tag. An example for such behaviour is gonum.org/v1/gonum.

(From OE-Core rev: 8f2e14ab6562a9a68819a960c66a258ea9dbe246)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Kai Kang
0d6a71d492 webkitgtk: 2.44.0 -> 2.44.1
Update webkitgtk from 2.44.0 to the first bug fix release in the stable
2.44 series 2.44.1.

* remove backported patch

What's new in the WebKitGTK 2.44.1 release?
===========================================

  - Fix handling of lifetime of web view child dialogs in GTK4.
  - Do not schedule layer flushes when drawing area size is empty.
  - Fix videos with alpha when using the DMA-BUF sink.
  - Fix the build with USE_GBM=OFF.
  - Fix the build in 32bit platforms
  - Fix several crashes and rendering issues.

(From OE-Core rev: c129c47cf9fa119005ea6e3946ebdee0da1db7e0)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Xiangyu Chen
4bf61f66ce iputils: splitting the ping6 as a package
The iputils merged the ping4 and ping6 command into the ping since the
commit ebad35fe[1], currently, iputils ping support being called using
"ping -6" or "ping6" symlinks.

In oe-core, there are two packages provide ipv6 ping, inetutils and iputils,
the inetutils-ping6 doesn't support "-I" option to bind the interface, that
cause some of scripts(e.g. LTP test[2]) which was based on iputils-ping6 fails.

If someone or a package needs iputils-ping6, they can enable it in local.conf
or add it into rdepends directly.

Ref:
[1] https://github.com/iputils/iputils/commit/e3de851b809c7b72ccc654a72b6af61d
[2] https://github.com/linux-test-project/ltp/blob/master/testcases/kernel/ \
    containers/netns/netns_comm.sh#L25

(From OE-Core rev: 05107ec5e4b81315d53efef23f2a570d520ee4c7)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Zev Weiss
1b28f949c6 bash: Fix file-substitution error-handling bug
This is part of a patch that's been upstream for a while but hasn't yet
been released.  The bug is causing some downstream difficulties, so a
local patch to tide us over until the next release makes things a bit
easier.

(From OE-Core rev: bf384d6618780dea2df24adac88ba4364cb65b9b)

Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Markus Volk
64c86e6def gtk4: update 4.14.1 -> 4.14.2
Overview of Changes in 4.14.2, 03-04-2024
=========================================

* GtkScale:
 - Improve positioning of values in some cases

* Theme:
 - Make progress in entries visible

* Accessibility:
 - Fix text insertion handling

* GDK:
 - dnd: Use the default cursor durion motion
 - dnd: Use a better cursor for indicating the move action

* GSK:
 - gl: Handle offloads in offscreen context better
 - Fix text rendering problems with some fonts

* Wayland:
 - Tighten up some protocol version checks
 - Use the presentation time protocol
 - Fix a crash with subsurfaces
 - Improve settings portal handling

* macOS:
 - Fix up the app menu support

* Windows:
 - Fix problems with minimization
 - Fix build without fontconfig

* Debugging:
 - Add font settings in the inspector

* Demos:
 - Clean up the application demo
 - Update cursor images for the cursor demo

* Translation updates:
 Catalan
 Czech
 French
 Georgian
 Hebrew
 Persian
 Slovenian
 Turkish
 Ukrainian

(From OE-Core rev: 17899a51b5c0c99e4b98ef88ec5f60945e5bec85)

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>
2024-04-23 13:40:24 +01:00
Peter Marko
9f4675a096 update-rc.d: add +git to PV
This hash is ahead of the tag, so adapt PV accordingly.

(From OE-Core rev: c94e46019a7d443ccc4763ba16d87e7e97abe977)

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>
2024-04-23 13:40:24 +01:00
Wang Mingyu
c2faa56d8d python3-pycparser: upgrade 2.21 -> 2.22
License-Update:
===============
Slightly tweak the LICENSE file to be more canonical:
- Copyright year updated to 2022.
- "Eli Bendersky: changed to "the copyright holder"

Changelog:
===========
-Add missing SCHAR limit defines
-Use proper SPDX identifier
-Add Python 3.11 as a supported version
-Fix multi-pragma/single statement blocks (#479)
-Add an encoding parameter to parse_file
-Feature/add pragma support
-Set up permissions to ci.yml
-_build_tables: Invalidate cache before importing generated modules
-Upgrade GitHub Actions
-Create a Security Policy
-New example to generate AST from scratch
-Add support for Python 3.12
-ply: Make generated lextab.py deterministic

(From OE-Core rev: ada1bdcbf18e0d8707578b04cd39aa8a429b6677)

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>
2024-04-23 13:40:24 +01:00
Wang Mingyu
0d28ec11cf dropbear: upgrade 2022.83 -> 2024.84
0001-urandom-xauth-changes-to-options.h.patch
dropbear-disable-weak-ciphers.patch
0005-dropbear-enable-pam.patch
0006-dropbear-configuration-file.patch
refreshed for 2024.84

CVE-2023-36328.patch
removed since it's included in 2024.84

(From OE-Core rev: c50a0d013137338ac1dec60f6aed32ff3a185839)

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>
2024-04-23 13:40:24 +01:00
Mingli Yu
09d85d671b ncurses: Fix CVE-2023-50495
Backport a patch [1] to fix CVE-2023-50495.

[1] http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commitdiff;h=7723dd6799ab10b32047ec73b14df9f107bafe99

(From OE-Core rev: bdf7b7460a4816e3d447264730a2814209667fb0)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-23 13:40:24 +01:00
Trevor Gamblin
f15ea3ad06 patchtest: test_metadata: fix invalid escape sequences
Clear up the following warnings seen during patchtest runs:

|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:21: SyntaxWarning: invalid escape sequence '\+'
|  add_mark = pyparsing.Regex('\+ ')
|/workspace/yocto/poky/meta/lib/patchtest/tests/test_metadata.py:26: SyntaxWarning: invalid escape sequence '\:'
|  git_regex = pyparsing.Regex('^git\:\/\/.*')

(From OE-Core rev: 2d64317835a768898aac592b24fcbdfaf6c8357a)

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>
2024-04-23 13:40:24 +01:00
Wang Mingyu
f748e07a63 llvm: upgrade 18.1.2 -> 18.1.3
0001-AsmMatcherEmitter-sort-ClassInfo-lists-by-name-as-we.patch
refreshed for 18.1.3

Changelog:
============
-DFixes tsan failures for glibc's LoongArch and certain RISC-V ports when
 fstat is used.
-transform.structured.convert_to_loops now properly deletes its target op.
-Fix a llvm.usub.with.overflow.i128 wrong code generation regression that
 was introduced with LLVM 18.1.0.
-MemorySanitizer on Linux can now run even when maximum-entropy address-space
 layout randomization is configured globally
-Fixed a Clang 18.x regression which increased binary size and stack usage with
 -ftrivial-auto-var-init.

(From OE-Core rev: d2159f92ddbb6b999c1d14ac62647b4a35360377)

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>
2024-04-23 13:40:24 +01:00
Sven Schwermer
25dcc55b74 bitbake: fetch2/gcp: Add missing runfetchcmd import
This adds the missing import. This bug was introduced with 1ab1d36c.

(Bitbake rev: 97ffe14311407f6e705ec24b70870ab32f0637b9)

Signed-off-by: Sven Schwermer <sven.schwermer@disruptive-technologies.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-20 07:30:29 +01:00
Richard Purdie
cc95e57ead curl: Backport patch to fix buildtools issues
bitbake-selftest was failing on a github url on hosts using buildtools.
The issue was tracked down to the curl upgrade 8.6.0 -> 8.7.1. Whilst there
is a fix in upstream git to workaround the issue in this version, backport
the fix from curl upstream to ensure there are no other related issues to
the bug.

(From OE-Core rev: e956f1116deb93c0d77238a1ebde091b9f1cbc77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-18 11:58:21 +01:00
Richard Purdie
a88251b3e7 buildtools-tarball: Add python3-pip
Many of the common use cases for buildtools need pip to allow python to be
extended. Add it.

(From OE-Core rev: 946086abf5ac5172258ddb27af9c1c615258f62f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 15:53:54 +01:00
Richard Purdie
28b5684938 poky.conf: Bump version/codename for post release of scarthgap
(From meta-yocto rev: 99f48efdf733e6722045c944ffef8117ca80116f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:12:27 +01:00
Richard Purdie
281c2e716f layer.conf: Post release addition/switch to styhead corename
(From OE-Core rev: cef91ebeb3f2b1d41336fff60555064430a80397)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:12:27 +01:00
Richard Purdie
ae3bca8492 bitbake: bitbake: Bump to version 2.9.0 development version postrelease
(Bitbake rev: 67a1aa8dbb3cb3a30fa7d697431ebb30323e4f28)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:12:27 +01:00
Michael Haener
2e07f1440f iproute2: add bridge package
Add package for using the bridge tool.

(From OE-Core rev: 21689b8984fd426f4e21d729d82444d3a8e230b7)

Signed-off-by: Michael Haener <michael.haener@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Ross Burton
7a1e8c444c classes/pypi: don't expose PYPI_ARCHIVE_NAME
This variable is only used when constructing a SRC_URI and some recipes
think that it's the correct value to assign if the PyPi package name
isn't the same as the recipe name, when PYPI_PACKAGE is actually all
that needs to be set.

Also document the variables we expect the recipe to assign if needed,
and where the PyPi URL structure is documented.

(From OE-Core rev: 0a67d05373ed92bf153bd17e5b32d77ca9f0c353)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
2a04e74a2a xorgproto: upgrade 2023.2 -> 2024.1
(From OE-Core rev: 2708ccd8fe3b681d0e2341492036a0722e84fcf2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
6d61c83ac8 u-boot: upgrade 2024.01 -> 2024.04
(From OE-Core rev: c035655ed65b6333d87019677ba93d7899f42d9a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
9231cc5787 ttyrun: upgrade 2.31.0 -> 2.32.0
Changelog:
===========
- dbginfo.sh: dash compatible copy sequence
- rust/pv_core: Fix UvDeviceInfo::get() method
- zipl/src: Fix leak of files if run with a broken configuration
- zkey: Fix convert command to accept only keys of type CCA-AESDATA

(From OE-Core rev: 5890c1b9f6892a19ac4fb145ddad683dd16ca7f7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
73d1967498 rsync: upgrade 3.2.7 -> 3.3.0
0001-Add-missing-prototypes-to-function-declarations.patch
makefile-no-rebuild.patch
refreshed for 3.3.0

Changelog:
==========
- Fixed a bug with '--sparse --inplace' where a trailing gap in the source
  file would not clear out the trailing data in the destination file.
- Fixed an buffer overflow in the checksum2 code if SHA1 is being used for
  the checksum2 algorithm.
- Fixed an issue when rsync is compiled using '_FORTIFY_SOURCE' so that the
  extra tests don't complain about a strlcpy() limit value (which was too
  large, even though it wasn't possible for the larger value to cause an
  overflow).
- Add a backtick to the list of characters that the filename quoting needs to
  escape using backslashes.
- Fixed a string-comparison issue in the internal handling of '--progress' (a
  locale such as tr_TR.utf-8 needed the internal triggering of '--info' options
  to use upper-case flag names to ensure that they match).
- Make sure that a local transfer marks the sender side as trusted.
- Change the argv handling to work with a newer popt library -- one that likes
  to free more data than it used to.
- Rsync now calls 'OpenSSL_add_all_algorithms()' when compiled against an older
  openssl library.
- Fixed a problem in the daemon auth for older protocols (29 and before) if the
  openssl library is being used to compute MD4 checksums.
- Fixed 'rsync -VV' on Cygwin -- it needed a flush of stdout.
- Fixed an old stats bug that counted devices as symlinks.

(From OE-Core rev: 2c3b75a1f3b6d3177603b8982d61c5b8ba73aef0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
e5ff5463a4 python3-typing-extensions: upgrade 4.10.0 -> 4.11.0
Changelog:
==========
-Fix tests on Python 3.13.0a5.
-Fix the runtime behavior of type parameters with defaults
-Fix minor discrepancy between error messages produced by typing and
 typing_extensions on Python 3.10.
-When include_extra=False, get_type_hints() now strips ReadOnly from the
 annotation.

(From OE-Core rev: a10eadd95f91adbd63d006962742ce8295ea1a45)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
3fc3e24bfa python3-pyasn1: upgrade 0.5.1 -> 0.6.0
Changelog:
==========
-Removed support for EOL Python 2.7, 3.6, 3.7
-Added support for previously missing RELATIVE-OID construct
-Updated link to Layman's Guide

(From OE-Core rev: 2c6615686019d886edf8f0e8c731a67f166de5d1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
4c98cdfa63 python3-git: upgrade 3.1.42 -> 3.1.43
Changelog:
============
-Issue and test deprecation warnings
-Fix version_info cache invalidation, typing, parsing, and serialization
-Document manual refresh path treatment
-Improve static typing and docstrings related to git object types

(From OE-Core rev: 2e4ad71602b2a9d9132a39ab34e402bf021800ab)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
e2f32bfd68 python3-build: upgrade 1.1.1 -> 1.2.1
Changelog:
============
-Avoid error when terminal width is undetectable on Python < 3.11
-Add --installer option, supporting pip and uv. Added uv extra.
-Improve console output and provide -v for dependency installation
-Avoid compiling unused bytecode when using pip
-Dropped support for Python 3.7

(From OE-Core rev: 83227b767299a1f8bbeb9e3b69eab8aa09fb6a07)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
16f33ed88a python3-beartype: upgrade 0.17.2 -> 0.18.2
(From OE-Core rev: 12bd38ef2c26e60b3dd35b5227189699a4188c1d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
d00a7c3b7b pkgconf: upgrade 2.1.1 -> 2.2.0
Changelog:
===========
* libpkgconf SOVERSION is now 5.
* Significant solver rework to flatten both requires and requires.private
  dependencies in a single pass.  Improves performance slightly and ensures
  proper dependency order.
* Improve '--digraph' output to reflect more of the solver's state in the
  rendered dependency graph.
* Do not reference the graph root by name when presenting error messages about
  directly requested dependency nodes.

(From OE-Core rev: 96a705d3f3d502b189f5bdec7c73cd21a9097785)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
de0e22441c mtdev: upgrade 1.1.6 -> 1.1.7
Changelog:
=========
-test: link using libmtdev.la
-Fix test warnings

(From OE-Core rev: ca3722c9b772c592c0b13333d267d4426a2a27d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
be99f26460 mpg123: upgrade 1.32.5 -> 1.32.6
Changelog:
- build: Detect forced 64 bit offsets on a dual-mode system that used
  to default to 32 bits and drop ambiguous suffix-less symbols in that
  case.

(From OE-Core rev: 5e76967536191ac42fdd0c016e92a273dc4908e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:03 +01:00
Wang Mingyu
f0042e6e72 man-db: upgrade 2.12.0 -> 2.12.1
0001-man-Move-local-variable-declaration-to-function-scop.patch
refreshed for 2.23.1

Changelog:
=============
* Fix excessive cleanup of '/var/cache/man' by 'systemd-tmpfiles'.
* 'man' matches the display width more accurately to the configured width.
* Upgrade to Gnulib 'stable-202401'.
* Mention 'groff''s 'pdf' device in 'man(1)'.
* Speed up 'seccomp' filter slightly.
* Document how to format pages using italic rather than underlined text.
* Remove the obsolete 'chconfig' tool for converting man-db configuration
  files to the FHS.  This transition took place almost 25 years ago (at
  least in Debian), so it's not worth keeping it around now.

(From OE-Core rev: 688c05422fc27bb389ba29c95beafb5029ff78b8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
07fdef45cc lttng-tools: upgrade 2.13.11 -> 2.13.13
0001-tests-do-not-strip-a-helper-library.patch
refreshed for 2.13.13

Changelog:
===========
* Fix: consumerd: leak of tracing buffers on relayd connectivity issue
* Fix: consumerd: wrong timer mentioned in error logging
* Fix: consumerd: type confusion in lttng_consumer_send_error
* Fix: baddr-statedump: use $(LIBTOOL) --mode=execute
* Fix: relayd: live client not notified of inactive streams
* Fix: relayd: live: dispose of zombie viewer metadata stream
* tests: Fix typo in tests/regression/kernel/test_ns_contexts
* Fix: sessiond: freeze on channel creation on restart
* common: move utils_create_lock_file to its own file
* tests: tools/clear/test_ust wait for specific test app pid
* Fix: sessiond: crash when sending data_pending to an active session
* Tests: fix: list_triggers_cli: kallsyms contains prefixed symbols
* License: common: error_query: fix typo in SPDX specifier

(From OE-Core rev: 5d35200e089f0695cfb19b65dd9b56006aa3d4fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
7431288ba4 libxmu: upgrade 1.1.4 -> 1.2.0
Changelog:
===========
-Use XtAsprintf to simplify os_name string generation
-Remove "#ifndef notdef" checks
-XmuReadBitmapDataFromFile: set close-on-exec when opening files
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-src/Makefile.am: Remove hardcoded -D_BSD_SOURCE
-configure: raise minimum autoconf requirement to 2.70

(From OE-Core rev: 42fe0303219c93f9359ee2bbe6f9bd90502a62d0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0bec446028 libxmlb: upgrade 0.3.15 -> 0.3.17
0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch
refreshed for 0.3.17

Changelog:
=========
- Create SECURITY.md for the OpenSSF scorecard
- Fix decompressing large zstd files
- Use zst as the file extension for zstd
- Make the LZMA support optional
- Add the lzma and zstd support to the pkgconfig file

(From OE-Core rev: 50c247ec5eb989c91466ace4c27742ab36eb018c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
422afb2787 libx11: upgrade 1.8.7 -> 1.8.9
Changelog:
===========
-xlibi18n: restore parse_line1 for WIN32 builds
-Fix _XkbReadGetDeviceInfoReply for nButtons == dev->buttons
-_XimProtoIMFree:no need to check arg for Xfree()
-_XimEncodeString:no need to check arg for Xfree()
-Fix XCreateIC() memory leak (Part 2)
-_XimLocalDestroyIC:fix possible mem leak
-_XimLocalCreateIC: get rid of bzero
-_XimLocalCreateIC: minor cleanup
-_XimLocalCreateIC:no need to check arg for Xfree()
-_XimLocalDestroyIC: no need to check arg for Xfree()
-fix table width

(From OE-Core rev: bd8fab6937cddf3b6818e8e333b78813f0524116)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
9a0edca6ca liburi-perl: upgrade 5.27 -> 5.28
Changelog:
- Using Scalar::Util::reftype instead of just ref(), but mindful this time
  about definedness to avoid warnings

(From OE-Core rev: 0a0f0a1ff2e9e3e5e90c51cd3ad72ca330bca02e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
8d41164dce libical: upgrade 3.0.17 -> 3.0.18
License-Update:
 LICENSE.LGPL21.txt - remove the KDAB claim for copyright

Changelog:
===========
-Requires CMake v3.5.0 or higher
-Escape ^ (U+005E) character in parameter values according to RFC 6868
-New CMake option LIBICAL_BUILD_EXAMPLES to disable building the examples
-Should be able to use the project as a submodule
-Built-in timezones updated to tzdata2024a

(From OE-Core rev: b71f0e077088601491688dddd8399cacc9f8a69c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
bc780c1f17 libdnf: upgrade 0.73.0 -> 0.73.1
Changelog:
=========
-Fix https://issues.redhat.com/browse/RHEL-27657
-subject-py: Fix memory leak

(From OE-Core rev: f16b16e1b6c60f0a1c9bc8d5492195fc66f33a19)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0d7b3eb8a2 enchant2: upgrade 2.6.8 -> 2.6.9
Changelog:
 Implement user dictionary support for Hspell, Nuspell, Voikko

(From OE-Core rev: 3505d631e2f52b03e52bc67a2094d2749c0e0e48)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
d92a0f22b2 ell: upgrade 0.63 -> 0.64
Changelog:
==========
-Fix issue with casting in C++ environment.
-Fix issue with ASCII string upper and lower helpers.

(From OE-Core rev: a28405da8dad7e6222d7badaa3eda175e3df32c9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
7c5a7c54ef dnf: upgrade 4.19.0 -> 4.19.2
Changelog:
 Bump libdnf version to 0.73.1

(From OE-Core rev: c4a3e4c7cb8411beec779a11fc443a6089434504)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
2d462158d5 coreutils: upgrade 9.4 -> 9.5
0001-posixtm-pacify-clang-18.patch
CVE-2024-0684.patch
removed since they're included in 9.5

0001-local.mk-fix-cross-compiling-problem.patch
remove-usr-local-lib-from-m4.patch
refreshed for 9.5

License-Update: Copyright updatedto 2024.

(From OE-Core rev: ac2b8134bed1abdb485aa2826d07b430dc6b5f00)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
ef993615b7 btrfs-tools: upgrade 6.7.1 -> 6.8
Changelog:
============
* fix --enqueue option timeout handling
* subvolume: remove support for undocumented options -c and -x,
  functionality disabled in kernel
* libbtrfsutil:
   * version 0.1.3, backward compabile
   * add aliases for all existing functions with unified naming scheme
   * updated header defintions for recently added kernel features
* send: v3 supported in experimental mode
* other:
   * docs: manual page references, graphs, enhancements, clarifications
   * error handling fixes
   * cleanups and refactoring

(From OE-Core rev: 7e2cf19c861ddd93d1176fbbe3f758d31970a96b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
d8d795cdc8 bash-completion: upgrade 2.12.0 -> 2.13.0
Changelog:
===========
### Features
------------
-Complete protocols for --proto-default
-Add completion for netconf subcommand
-Complete commands for netns exec
-Complete help for unknown subcommands
-Complete ip link property
-Complete link types for address show
-Complete neigh show and flush
-Complete stats subcommand
-Create function to get link types
-add fallback 3rd party completion loader
-also suggest *.rss files

### Bug Fixes
--------------
-fix regression of unwanted trailing colons
-Complete addrlabel add/del properties
-Complete ip delete with type correctly
-Complete more variations of subcommands
-Complete netns attach subcommand
-Complete only relevant addrlabel subcmds
-Keep completing after -netns name
-Quote all instantiation of ip as "$1"
-Quote network namespace names
-include api-and-naming.md in dist

(From OE-Core rev: a2cbd936ea59cd47accc61b164e6d8b44b63a5cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
a79707b94d babeltrace2: upgrade 2.0.5 -> 2.0.6
Changelog:
===========
* bt2: disable some warnings for 'native_bt.c'
* bt2: compile 'native_bt.c' with '-Wno-undef'
* Fix: src.ctf.lttng-live: expect NEW_STREAM/METADATA for inactive streams
* Fix: 'babeltrace2 convert': don't consider the '--plugin-path' opt.
* include/babeltrace2/plugin/plugin-dev.h: "define" -> "definition
* Fix: doc: escape double quote in bt_p alias
* Fix: bt2: pass _TraceClassConst to destruction listeners
* fix: 'load_module()' deprecated in Python 3.12
* tests: retry os.rename on PermissionError failure in lttng_live_server.py
* doc: fix uptream -> upstream typos
* fix: test_message_iterator.py hangs on Python 3.12
* plugin-dev: mark symbols meant to be public with __attribute__((visibility("default")))
* Silence -Wunused-but-set-variable error with clang
* Fix: Windows DLL path lookup with Python >= 3.8
* doc/man: make default values of boolean init. params. clearer
* RFC: docs: fix: Match stated automake requirement
* fix: make flake8 6.x happy
* fix: running black on python 3.11
* bt_query_executor_create_with_method_data(): fix docs note
* Fix: ctf-writer: null dereference in bt_ctf_trace_common_add_stream_class
* Update working version to Babeltrace v2.0.6

(From OE-Core rev: a5f05da60ca888456900f9fb0a52ef07db754c06)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
ebf8852175 vulkan: upgrade 1.3.275.0 -> 1.3.280.0
0001-generate-glslang-pkg-config.patch
refreshed for 1.3.280.0

License-Update:
===============
spirv-headers:License-Update: List all licenses in the root LICENSE file.
vulkan-volk:Copyright year updated to 2024.

(From OE-Core rev: ca21778738e0e9e5f60324cdb21ffe88d7b1f9a0)

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>
2024-04-16 08:07:02 +01:00
Wang Mingyu
13b4c46ddf mesa: upgrade 24.0.2 -> 24.0.3
0001-Revert-meson-do-not-pull-in-clc-for-clover.patch
refreshed for 24.0.3

(From OE-Core rev: 43240c8b2c5507fe6147ba04ec98528602c694e1)

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>
2024-04-16 08:07:02 +01:00
Denys Dmytriyenko
a9293d9c4b wayland-protocols: upgrade 1.33 -> 1.34
This release comes with three new staging protocols:

 * xdg-toplevel-drag

This protocol enhances regular drag and drop by allowing attaching a
toplevel window to a drag. This can be used to implement e.g. detachable
toolbars and browser tab drag behavior that can be seen in other
platforms.

 * xdg-dialog

This protocol allows setting dialog specific hints on a toplevel, more
specifically marking them as modal.

 * linux-drm-syncobj

This protocol will allow explicit synchronization of buffers using DRM
synchronization objects. While being a protocol that is unlikely to be
widely used directly by applications and toolkits themselves, it is an
important building block for improving Vulkan and OpenGL drivers.

Other than this, the tablet and foreign toplevel list protocols also
received clarifications and fixes.

Full changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-March/043537.html

(From OE-Core rev: bc85c5360cec21b685542ced8e767a6effd949c4)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Denys Dmytriyenko
45f2901329 lzip: upgrade 1.24 -> 1.24.1
* No changes have been made to the code. Just a compilation failure on MinGW
  has been fixed. (Caused by different mkdir signature in POSIX and Windows).

Full changelog:
https://lists.nongnu.org/archive/html/lzip-bug/2024-03/msg00003.html

(From OE-Core rev: d8b8f975ff266b64abdc341f2cb2751c7e119ae9)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Denys Dmytriyenko
f587b4152e mtd-utils: upgrade 2.1.6 -> 2.2.0
This is a small release of changes that have accumulated since last August.
As it contains mainly new command line switches (i.e. features) for some
of the tools, this receives a minor version bump.

The Autotools based build system also received a slight overhaul, cleaning
up how configure switches and dependencies are handled. It should now
also be possible to compile mtd-utils without requiring zlib.

Full changelog:
https://lists.infradead.org/pipermail/linux-mtd/2024-March/104058.html

(From OE-Core rev: d2b168dce892f45e08bc547114bf4a7badc4fce2)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
50075a8f5d wget: upgrade 1.21.4 -> 1.24.5
0002-improve-reproducibility.patch
refreshed for 1.24.5

Changelog:
============
** Fix how subdomain matches are checked for HSTS.
   Fixes a minor issue where cookies may be leaked to the wrong domain
** Wget will now also parse the srcset attribute in <source> HTML tags
** Support reading fetchmail style "user" and "passwd" fields from netrc
** In some cases, prevent the confusing "Cannot write to... (success)" error messages
** Support extremely fast download speeds (TB/s).
   Previously this would cause Wget to crash when printing the speed
** Improve portability on OpenBSD to run the test suite
** Ensure that CSS URLs are corectly quoted (Bug: 64082)

(From OE-Core rev: 02fda9423680256d2b24f1fa52441ea869e0acef)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
3abbed192e vala: upgrade 0.56.15 -> 0.56.16
0001-gtk4-Preserve-compatibility-with-4.14.patch
removed since it's included in 0.56.16

Changelog:
============
* Various improvements and bug fixes:
 - girparser: Recognize usage of time_t and don't rely on given GIR type
 - girparser: Recognize usage of off_t and don't rely on given GIR type
* Bindings:
 - gio-2.0: Restore ApplicationCommandLine.print*_literal() to not require 2.80
 - gmodule-2.0: Do not mark `Module.open` as deprecated
 - gtk4: Preserve compatibility with < 4.14 [#1531]
 - Regenerate for GIR-based bindings to pick up time_t fix (long vs time_t)

(From OE-Core rev: 0d70b4b49b1d47c78119b0dd39470fc6bd50de53)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
dc9dac8136 python3-zipp: upgrade 3.17.0 -> 3.18.1
Changelog:
============
-Bypass ZipFile.namelist in glob for better performance.
-Refactored glob functionality to support a more generalized solution with
 support for platform-specific path separators.
-Add special accounting for pypy when computing the stack level for text
 encoding warnings.

(From OE-Core rev: 8e6780fa9d057f798fbd92e1a42aa60ee6876c2f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
bc1379b4ac python3-wheel: upgrade 0.42.0 -> 0.43.0
Changelog:
==========
-Dropped support for Python 3.7
-Updated vendored packaging to 24.0

(From OE-Core rev: 6c69b4f31b1d5454b18d9d5f8494888705380607)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
f49f2ca1c8 python3-setuptools: upgrade 69.1.1 -> 69.2.0
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for 69.2.0

Changelog:
==========
-Explicitly use encoding="locale" for .pth files whenever possible, to reduce
 EncodingWarnings. This avoid errors with UTF-8
-Clarify some Package Discovery and Resource Access using pkg_resources methods
 return bytes, not str. Also return an empty bytes in EmptyProvider._get
-Return an empty list by default in pkg_resources.ResourceManager.cleanup_resources
-Made pkg_resoursces.NullProvider's has_metadata and metadata_isdir methods
 return actual booleans like all other Providers.

(From OE-Core rev: 49d2c4cf43d4ccac6f3f6c090fc0e5b0365645b6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
6623dda7e4 python3-scons: upgrade 4.6.0 -> 4.7.0
Changelog:
 https://github.com/SCons/scons/releases/tag/4.7.0

(From OE-Core rev: f61957bc35fe36849c5b0d8ed512da7ee7d1f084)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
65f5f89b0f python3-referencing: upgrade 0.33.0 -> 0.34.0
Changelog:
-Also look inside definitions keywords even on newer dialects. The specification
 recommends doing so regardless of the rename to $defs.

(From OE-Core rev: 9c608f3bf72141b97be3f64d5ab03592004155e5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
58a39dcc51 python3-pyelftools: upgrade 0.30 -> 0.31
Changelog:
=============
-remove universal setting for wheels, since we don't support py2 now
-[RELOCATIONS] add enum for v850 relocations
-Fix buffer overrun in NT_GNU_PROPERTY_TYPE_0 parser
-Fix iter_notes to handle >4 byte segment alignment
-Support for XC16/PIC phantom bytes
-Support for the GNU note with the AARCH64 CPU features
-Fix for mixed version loclists, tests
-Update supported python versions for GitHub actions CI
-Initial s390x relocation support
-Add py.typed to elftools
-Fix ranges autotest take 2
-Support getting RELR relocations from dynamic section
-Dynamic array size can be a loclist/locexpr
-DW_OP_GNU_uninit
-Update CHANGES to mention Python 2 (lack of) support
-Remove redundant wheel dep from pyproject.toml
-False positive on LocationParser.attribute_has_location()
-Support for DW_OP_WASM_location
-Dwarfdump test on Windows
-More Apple, LLVM attributes

(From OE-Core rev: 100ea6a8ae6b05521d394a1217ae0e744a46c7dd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
53000d2748 python3-packaging: upgrade 23.2 -> 24.0
Changelog:
==========
-Fix specifier matching when the specifier is long and has an epoch
-Clarify version split/join usage
-Default optional metadata values to None
-Stop using deprecated/removed keys
-Correctly use the ExceptionGroup shim only when needed
-Update CHANGELOG entry about validate kwarg
-Support --disable-gil builds (PEP 703) in packaging.tags
-Skip test_glibc_version_string_ctypes_raise_oserror if ctypes is unavailable
-Enable CodeQL
-PEP 703: Rename Py_NOGIL to Py_GIL_DISABLED
-Replace PEP references with PUG links
-Remove coverage ignore for non-existent file
-Update URLs
-Configure dependabot
-Hash pin github actions
-Apply some refurb suggestions
-Appply some bugbear suggestions
-Apply some ruff suggestions
-Add riscv64 as a supported manylinux architecture

(From OE-Core rev: b3ab311628a6668827a06c74e4880e4c0dbff7c5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
af9a5b1487 python3-markdown: upgrade 3.5.2 -> 3.6
Changelog:
 https://github.com/Python-Markdown/markdown/releases/tag/3.6

License-Update:
 Update the license template so GitHub can detect it

(From OE-Core rev: 6a8c53f283f5637480b667e51bfd5c71c3ab0db2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
19c5e810fd python3-license-expression: upgrade 30.2.0 -> 30.3.0
Changelog:
===========
-Use latest skeleton
-Update license list to latest ScanCode and SPDX 3.23
-Drop support for Python 3.7
-Release prep v30.3.0

(From OE-Core rev: c8763d3653ad5dd508d72163ba844f3f5b901136)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
59b89c7c81 python3-importlib-metadata: upgrade 7.0.2 -> 7.1.0
Changelog:
==========
-Make MetadataPathFinder.find_distributions a classmethod for consistency
 with CPython.
-Allow MetadataPathFinder.invalidate_caches to be called as a classmethod.

(From OE-Core rev: 11b074f79bc30115c8a1cfc0119acb3f8f6ea609)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
82547c7690 python3-hatchling: upgrade 1.21.1 -> 1.22.4
Changelog:
=============
Added:
----------
-Metadata for the wheel target now defaults to the PKG-INFO metadata within
 source distributions
-Add dependencies method to the build hook interface so that hooks can
 themselves dynamically define dependencies
-Update SPDX license information to version 3.23
-Improve error message for when the default heuristics for wheel file inclusion
 fail
-Update the default version of core metadata to 2.3

Fixed:
-----------
-Properly support core metadata version 2.2
-Only read source distribution metadata for fields that are explicitly defined
 as dynamic
-Fix the custom build hook when using dynamic dependencies
-Fix regression when loading metadata from source distributions
-Fix metadata hooks when building wheels from source distributions
-Remove editables as a direct dependency
-Fix default wheel tag when the supported Python version declaration is strict
-Load VCS ignore patterns first so that whitelisted patterns can be excluded by
 project configuration
-Don't consider VCS ignore files that are outside of the VCS boundary
-The sdist build target now gracefully ignores UNIX socket files
-Begin ignoring certain files ubiquitously, like .DS_Store on macOS

(From OE-Core rev: 3318192cda7df2a9fd9497b58570537c0d856b67)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
d8f61735a4 openssh: upgrade 9.6p1 -> 9.7p1
0001-systemd-Add-optional-support-for-systemd-sd_notify.patch
refresh for 9.7p1

Changelog:
============
New features
------------
 * ssh(1), sshd(8): add a "global" ChannelTimeout type that watches
   all open channels and will close all open channels if there is no
   traffic on any of them for the specified interval. This is in
   addition to the existing per-channel timeouts added recently.
 * All: make DSA key support compile-time optional, defaulting to on.

Bugfixes
--------
 * sshd(8): don't append an unnecessary space to the end of subsystem
   arguments
 * ssh(1): fix the multiplexing "channel proxy" mode, broken when
   keystroke timing obfuscation was added.
 * ssh(1), sshd(8): fix spurious configuration parsing errors when
   options that accept array arguments are overridden
 * ssh-agent(1): fix potential spin in signal handler
 * Many fixes to manual pages and other documentation
 * Greatly improve interop testing against PuTTY.

(From OE-Core rev: e409b8ceb514d67d6472b4433cc9869c43401b94)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
6287ef4865 lighttpd: upgrade 1.4.74 -> 1.4.75
Changelog:
==========
* [mod_redirect] url.redirect-code = 308 new default
* [ls-hpack] more portability fixes for sys/queue.h
* [ls-hpack] update version to 2.3.3
* [TLS] default to stronger ciphers w/ PFS and AEAD
* [ci] apt-get install build-essential on Ubuntu
* [ci] /usr/local/opt keg-only pkgs on Darwin(macOS)
* [mod_authn_sasl] translate SASL_LOG_* to syslog
* [build] include src/compat/sys/queue.h in tarball
* [core] fdlog_openlog(), fdlog_closelog()
* [mod_accesslog] fdlog_openlog() if using syslog
* [cmake] fix LEMON_PATH with empty CMAKE_BUILD_TYPE
* [ci] limit github ci to specific branches
* [ci] prefer non-login shell for Cygwin CI build
* [ci] prefer dash for Cygwin and MSYS2 builds
* [mod_wstunnel] fix server.ping-interval w/ HTTP/2
* [mod_dirlisting] fix suffix display of '/' on file (fixes #3242)
* [mod_openssl] use internal asn1_time fn on 32-bit (fixes #3244)
* [mod_openssl] faster ASN1_TIME parse
* [mod_wolfssl] faster ASN1_TIME parse
* [doc] update TLS comment in sample lighttpd.conf

(From OE-Core rev: a3c74e93469dd3a40a17dd04971f79af6701a2ad)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
9e66805187 libxml2: upgrade 2.12.5 -> 2.12.6
Changelog:
===========
- parser: Fix detection of duplicate attributes in XML namespace
- xmlreader: Fix xmlTextReaderConstEncoding
- html: Fix htmlCreatePushParserCtxt with encoding
- xmllint: Return error code if XPath returns empty nodeset

(From OE-Core rev: 0bc673b0de08e02ff01ec9ad3daf0bb41662da40)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
1d1544730f libxkbcommon: upgrade 1.6.0 -> 1.7.0
Changelog:
===========
- Added early detection of invalid encodings and BOM for keymaps, rules & Compose.
  Also added a hint that the expected encoding must be UTF-8 compatible.
- Updated keysyms using latest [xorgproto]
- Keysyms: Fixed inconsistent results in 'xkb_keysym_from_name' when used with
  the flag 'XKB_KEYSYM_CASE_INSENSITIVE'.
- Keysyms: Fixed case mapping for 3 Latin 1 keysyms:
  - 'XKB_KEY_ydiaeresis'
  - 'XKB_KEY_mu'
  - 'XKB_KEY_ssharp'
- Keysyms: Fixed 'xkb_keysym_is_modifier' to detect also the following keysyms:
  - 'XKB_KEY_ISO_Level5_Shift'
  - 'XKB_KEY_ISO_Level5_Latch'
  - 'XKB_KEY_ISO_Level5_Lock'
- Prevent recursive includes of keymap components.
- Fixed global default statements 'x.y = z;' in wrong scope not raising an error.
- Rules: Made newline required after '!include' line.
- Rules: Fixed a bug where variant indexes were ignored with the layout index
  used instead. They are practically always the same, but don't have to be.
- Compose: Fixed a segfault with 'xkb_compose_table_iterator_next' when used on an
  empty table.
- Compose: Added check to ensure to open only regular files, not e.g. directories.
- Registry: Updated the DTD and always parse the "popularity" attribute.
- Fixed a few memory leaks and keymap symbols parsing.

(From OE-Core rev: 9ae00c047f3a9a5993be70cb27d34c6814e4944d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
1e99fdd4f6 libwpe: upgrade 1.14.2 -> 1.16.0
Changelog:
=========
- This version does not contain changes over the 1.15.2 development release.
- Allow resetting the fullscreen client to a null pointer.
- Fix usage of the _wpe_loader_interface with the static loader.

(From OE-Core rev: f68a771e4e31b897399755fd7117a78381d377c1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
178658c0b3 libpciaccess: upgrade 0.18 -> 0.18.1
(From OE-Core rev: 515b4e43bda1d4c24e66c5779d75e3f285ed4067)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
e2d4d60bd7 libcomps: upgrade 0.1.20 -> 0.1.21
Changelog:
===========
-Build aarch64 python packages during releases
-Fix build: use correct variable for category and env
-build: Restore compatiblity with libxml2-2.12.0
-tests: Unify formatting of current test announcements
-tests: Don't print parsing errors during tests
-Update CI

(From OE-Core rev: 1d7324942053cadd10930a9dfb49e2c54145682c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
91d938c81f libbsd: upgrade 0.12.1 -> 0.12.2
Changelog:
============
-test: nlist: make resilient against -Wl,--gc-sections
-build: Do not rely on internal autoconf ac_cv_sys_file_offset_bits variable
-build: Use -eq instead of = as test operators for arithmetic tests
-build: Fix typo in ABI selection description
-build: Only install time struct conversion macros where missing
-man: Add links for errc module functions
-man: Do not install timeval(3bsd) nor timespec(3bsd)
-strtonum: Do not abort on EINVAL from strtoi()
-closefrom: Ignore files starting with dot when scanning /proc/self/fd
-build: Match also gnu* for GNU/Hurd on the glibc ABI selection

(From OE-Core rev: f8df6066c8d9efd1c85c6d5f2c306da06faad860)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0a7baeea29 harfbuzz: upgrade 8.3.0 -> 8.3.1
Changelog:
==========
- hb_blob_create_from_file_or_fail() on Windows will now try to interpret the
  file name as UTF-8 first, and as system code page if it is not valid UTF-8.
- Fix hb_style_get_value() in fonts with "STAT" table.
- Properly handle negative offsets in CFF table.
- Update IANA Language Subtag Registry to 2024-03-07.
- Subsetter now supports subsetting "BASE" table.
- Subsetter will update "hhea" font metrics in sync with "OS/2" ones.
- "--variations" option of "hb-subset" now supports leaving out values that
  should be unchanged, e.g. "wght=:500:" will change the default and keep max
  and min unchanged. It also supports "*=drop" to to pin all axes to default
  location.
- Fix hb_ot_math_get_glyph_kerning() to match updated "MATH" table spec.
- Support legacy MacRoman encoding in "cmap" table.
- Various build fixes.
- Various subsetting and instancing fixes.
- New API:
  hb_subset_input_pin_all_axes_to_default()

(From OE-Core rev: b9716f902695337077b533e22b9298d610c038ee)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
772c2bf5c1 enchant2: upgrade 2.6.7 -> 2.6.8
(From OE-Core rev: 40c02f057f954c132d843c775f4991a654968e40)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
fe47ef2c1f createrepo-c: upgrade 1.0.4 -> 1.1.0
Changelog:
===========
-Add tests for RepositoryReader and RepositoryWriter
-Add a high-level repository writing API
-Add a high-level repository reading API
-Print where and when cr_hascontrollchars is true
-Build aarch64 python packages during releases
-build: Adapt to changes in Fedora packaging of bash-completion

(From OE-Core rev: c4cb90caab40cc1228c3cf49b68ca15f75d48508)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
2fcf170794 bind: upgrade 9.18.24 -> 9.18.25
Changelog:
============
-Create the pruning task in the dns_cache_flush(), so
 the cache pruning still works after the flush.
-Improve the TTL-based cleaning by removing the expired
 headers from the heap, so they don't block the next
 cleaning round and clean more than a single item for
 each new addition to the RBTDB.
-Revert change 6319 and decrease lock contention during
 RBTDB tree pruning by not cleaning up nodes recursively
 within a single prune_tree() call.
-Address use after free in expire_lru_headers.

(From OE-Core rev: 17cecd0d9d0d734d408701d861692ca5987f4ad9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
1d65a6b1de at-spi2-core: upgrade 2.50.1 -> 2.52.0
Changelog:
===========
* tests: Fix missing declaration for getpid().
* Back out code to generate mouse events on mutter. It had a couple of
  unwanted side effects. Also remove dependencies on libei and xkbcommon.
* atk-adaptor: Fix collection role matching.
* Have atspi_text_get_string_at_offset fall back to calling
  GetTextAtOffset if GetStringAtOffset is unimplemented.
* Don't use g_assert in the unit tests.
* Add an attribute-changed signal in atk, and update libatspi attribute cache.
* Add GetTextSelection and SetTextSelection to Document interface.
* Add atspi_device_generate_mouse_event, and implement for mutter.
* Have atspi_device_add_key_grab return 0 if XIGrabKeycode fails.
* xml: Add Embedded to the Socket interface
* Don't return uninitialized values if atspi_component_get_size/position fail.
* atk-adaptor: Fix critical when no table cell array is returned.
* accessible: Do not rename deprecated methods to the new names.
* Add HelpText property and corresponding functions in atk and libatspi.

(From OE-Core rev: 5d94c1c17b70a6522f780eb4055e343e0d0f863a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
b0f1032a68 adwaita-icon-theme: upgrade 45.0 -> 46.0
Changelog:
==========
- cursors: fix windows build
- cursors: reinstate some x11 cursor names
- symbolic: thunderbolt, phone & export fixes
- index.theme: remove duplicate entries
- cursors: clean up shapes, sync DND metaphors with macos
- symbolic: revert about metaphor
- symbolic: shared screen metaphor update
- fullcolor: antialias 16x16 a little more
- symbolic: replace filled silhouettes with outlines
- cursors: only cover the CSS named
- symbolic: help-about metaphor
- symbolic: sync not-junk metaphor (https://gitlab.gnome.org/GNOME/evolution/-/issues/1710#note_1924546)
- symbolic: cleaned up export with Symbolic Preview

(From OE-Core rev: 58ef139b1fae208d7e131c7b38ed8a4d1881fda5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Alexander Kanavin
46d33a45d6 shadow: update 4.14.2 -> 4.15.0
libcrack support was dropped.

(From OE-Core rev: c976d67cc73948eb09700be349d63a5d3840acdc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
05a09ffa3c gnupg: upgrade 2.4.4 -> 2.4.5
Changelog:
==========
* gpg,gpgv: New option --assert-pubkey-algo.
* gpg: Emit status lines for errors in the compression layer.
* gpg: Fix invocation with --trusted-keys and --no-options.
* gpgsm: Allow for a longer salt in PKCS#12 files.
* gpgtar: Make --status-fd=2 work on Windows.
* scd: Support for the ACR-122U NFC reader.
* scd: Suport D-TRUST ECC cards.
* scd: Allow auto detaching of kernel drivers; can be disabled with
  the new compatibility-flag ccid-no-auto-detach.
* scd: Allow setting a PIN length of 6 also with a reset code for
  openpgp cards.
* agent: Allow GET_PASSPHRASE in restricted mode.
* dirmngr: Trust system's root CAs for checking CRL issuers.
* dirmngr: Fix regression in 2.4.4 in fetching keys via hkps.
* gpg-wks-client: Make option --mirror work properly w/o specifying
  domains.
* g13,gpg-wks-client: Allow command style options as in "g13 mount
  foo".
* Allow tilde expansion for the foo-program options.
* Make the getswdb.sh tool usable outside the GnuPG tree.

(From OE-Core rev: eadaa195c8ded5f74bd7a146840c5dd610cd3c36)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
a11dd7575f xev: update 1.2.5 -> 1.2.6
Changelog:
==========
-Mark graceful_exit as noreturn
-Mark global variables as "static" since there's only one source file
-gitlab CI: stop requiring Signed-off-by in commits
-Fix overflow on XmbLookupString buffer

(From OE-Core rev: 282c501690f30b8cad6a2439372d14f868af2fb0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
21b6a0dd91 xauth: upgrade 1.1.2 -> 1.1.3
Changelog:
==========
-unifdef Lynx
-unifdef hpux
-configure: raise minimum autoconf requirement to 2.70
-configure: Use AC_SYS_LARGEFILE to enable large file support
-Unbold brackets for optional n at start of commands
-Handle -Wempty-body warning for WRITES() macro
-Remove unnecessary casts from malloc() calls
-Variable scope reductions, as suggested by cppcheck
-config: Add missing AC_CONFIG_SRCDIR

(From OE-Core rev: ef200e9de4bdbfbc70e4bd542e35e61ba91cbcf2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
c3db52d3e4 stress-ng: upgrade 0.17.05 -> 0.17.06
Changelog:
==========
-New fd-fork stressor, force copying of tens of thousands of file descriptors on fork() system calls
-New bitonicsort stressor: sort 32 bit integers using bitonic sort, exercises integer compare, copying/cache/memory.
-Add more signals in the nested signal signest stressor
-New --progress option to show --seq stressor progress and expected end of run time
-Add Arrowlake and Pantherlake CPU support for target clones gcc optimizations
-Add IRQ tasklet entry/exit events, IPI Raise event, swiotlb event to --perf option
-Add --crypt-method option to allow crypt stressor to be selected
-Add --fork-unmap option to fork stressor to force unmapping of shared libs to speed up forks
-Add --fpunch-bytes option to fpunch stressor to specify fpunch file size
-Add --vforkmany-bytes option to specify mmap size
-Add NUMA hit/miss metrics to numa stressor
-Fix aiol stressor race condition on termination of pending I/Os
-Fix race on peterson stressor with modern out-of-order execution ARM CPUs

(From OE-Core rev: 38ad00dd375cab312c12c61e9fcd512ad8a9166a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
94e9740e43 shaderc: update 2023.8 -> 2024.0
0001-cmake-disable-building-external-dependencies.patch
refreshed for 2024.0

Changelog:
==========
 - Update dependencies
 - Utilities:
    - Use Python3 explicitly in utility scripts

(From OE-Core rev: 45c97d420316c3a61412a25c55b2a53a379423fa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
265c88e035 repo: upgrade 2.42 -> 2.44
(From OE-Core rev: 927ca26e9c69cd6047221a95bfffff11f90d6f1e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
0e844147dc python3-trove-classifiers: upgrade 2024.2.23 -> 2024.3.3
Changelog:
=========
*add  "License :: OSI Approved :: NASA Open Source Agreement (NOSA)"
* added NOSA
* Update src/trove_classifiers/__init__.py

(From OE-Core rev: d2aa7736e52950f17d3abe3be28a7d62d497554b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:02 +01:00
Wang Mingyu
da6a370583 python3-pytest: upgrade 8.0.2 -> 8.1.1
Changelog:
 https://docs.pytest.org/en/stable/changelog.html

(From OE-Core rev: 7698fa9981eb94409d0988f17bc31f307f0a009d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
f6c9a5abae python3-pytest-subtests: upgrade 0.11.0 -> 0.12.1
Changelog:
===========
-Fixed compatibility with upcoming pytest 8.1.x.
-Python 3.12 is now officially supported
-Added typing support
-SubTests can be imported from pytest_subtests to type-annotate the subtests fixture.

(From OE-Core rev: a873332beb58320e6ed6d8d816e6b4f065375602)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
fa8eff8871 python3-pyparsing: upgrade 3.1.1 -> 3.1.2
Changelog:
===========
- Added 'ieee_float' expression to 'pyparsing.common', which parses float values,
  plus "NaN", "Inf", "Infinity".
- Updated pep8 synonym wrappers for better type checking compatibility.
- Fixed empty error message bug. This _should_ return pyparsing's exception
  messages to a former, more helpful form. If you have code that parses the
  exception messages returned by pyparsing, this may require some code changes.
- Added unit tests to test for exception message contents, with enhancement to
  'pyparsing.testing.assertRaisesParseException' to accept an expected exception message.
- Updated example 'select_parser.py' to use PEP8 names and added Groups for better retrieval
  of parsed values from multiple SELECT clauses.
- Added example 'email_address_parser.py'
- Added example 'directx_x_file_parser.py' to parse DirectX template definitions, and
  generate a Pyparsing parser from a template to parse .x files.
- Some code refactoring to reduce code nesting
- All internal string expressions using '%' string interpolation and 'str.format()'
  converted to f-strings.

(From OE-Core rev: dc067714b407577a7984a413d07282bea1a2fd72)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
9a554d8b87 python3-pyopenssl: upgrade 24.0.0 -> 24.1.0
Changelog:
-Removed the deprecated OpenSSL.crypto.PKCS12 and OpenSSL.crypto.NetscapeSPKI.
 OpenSSL.crypto.PKCS12 may be replaced by the PKCS#12 APIs in the cryptography package.

(From OE-Core rev: e7f9bb7b3b3f051694df7e7af01d538197cbacfd)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
6db458a18b python3-pygobject: update 3.46.0 -> 3.48.1
Changelog:
===========
* Fix installation with pip failing in some environments with
  ModuleNotFoundError in g-ir-scanner :issue:'622' :mr:'302'
* test: fix some tests on macOS :mr:'296'
* docs: some dark mode fixes :mr:'291'
* Drop setuptools in favor of meson-python :mr:'248' :mr:'253' :mr:'254' :mr:'255' :mr:'276'
* Fundamental type support :mr:'250'
* Fundamental type support for GValues :mr:'264'
* pygi-convert.sh: migrate FILE_CHOOSER_CONFIRMATION_* :mr:'266'
* gimodule, cairo: Use multi-phase initialization as per PEP-489 :mr:'271'
* Deprecate classes in gi.option module :mr:'272'
* Deprecate pygtkcompat :mr:'278'
* Add support for (optional) nullable GErrors :mr:'259'
* Fix CssProvider not valid in GTK2 :mr:'284'
* Fix double free if array item cannot be marshalled to Python :mr:'280'
* Raise exception if a callback property is encountered :mr:'269'
* build: Fix pycairo detection "script" for Windows :mr:'267'
* Replace deprecated ''pkgutil.find_loader'' call :mr:'252'
* Avoid segfault on property access for incompletely initialized objects :mr:'260'
* pygenum: When getting a member instance, use correct key for the lookup :mr:'262'

(From OE-Core rev: 49ee7fff74464ca2838c609f2b6f4d1b8e09e8bc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
82cae7e42a python3-libarchive-c: upgrade 5.0 -> 5.1
Changelog:
===========
Fix the format_name property and move it from the ArchiveEntry class to the ArchiveRead class

(From OE-Core rev: eea08686271c5683840a733c32eda663c2aa23f6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
19ebc0f0b2 python3-importlib-metadata: upgrade 7.0.1 -> 7.0.2
(From OE-Core rev: 6bbe1785a5d0f5efd83cfefff39178d7f8523946)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
7c7826f787 python3-hypothesis: upgrade 6.98.15 -> 6.99.4
Changelog:
==========
-Fix regression caused by using PEP 696 default in TypeVar with Python 3.13.0a3.
-improves the type annotations in hypothesis.extra.numpy.
-Simplify the type annotation of column() and columns() by using PEP 696 to
 avoid overloading.
-implement type annotations for column().
-add the experimental and unstable backend setting.
-fixe issue #3900, a performance regression for arrays() due to the interaction
 of 6.98.12
-improve the type annotations in hypothesis.extra.numpy, which makes inferred
 types more precise for both mypy and pyright, and fixes some strict-mode errors
 on the latter.
-pave the way for future shrinker improvements. There is no user-visible change.

(From OE-Core rev: 71cf65e4a1137c20ece34a6ad5a65f037295daf2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
934ad49020 python3-cython: upgrade 3.0.8 -> 3.0.9
Changelog:
===========
Features added
--------------
* Assigning "const" values to non-const variables now issues a warning.
* Using "noexcept" on a function returning Python objects now issues a warning.
* Some C-API usage was updated for the upcoming CPython 3.13.
* The deprecated "Py_UNICODE" type is no longer used, unless required by user code.
* "std::string.replace()" declarations were added to libcpp.string.

Bugs fixed
----------
* Cython generates incorrect (but harmless) self-casts when directly calling
  final methods of subtypes.  Lacking a better solution, the errors that recent
  gcc versions produce have been silenced for the time being.
* Unused variable warnings about clineno were fixed when C lines in tracebacks are disabled.
* Subclass deallocation of extern classes could crash if the base class uses GC.
* Type checks for Python "memoryview" could use an invalid C function.
* Calling final fused functions could generate invalid C code.
* Declaring extern enums multiple times could generate invalid C code.
* "pyximport" used relative paths incorrectly.
* Running Cython with globbing characters ("[]*?") in the module search path could fail.
* Literal strings that include braces could change the C code indentation.

Other changes
-------------
* The "enum class not importable" warning is now only issued once per enum type.

(From OE-Core rev: 35a7d28d271d2f3e27cf24c2433c4e69c650509e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
051e5476e8 psmisc: upgrade 23.6 -> 23.7
0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch
refreshed for 23.7

Changelog:
===========
* build-sys: Make disable-statx work
* fuser: Fallback to stat() if no statx() Debian 1030747
* fuser: silently ignore EACCES when scanning proc directories
* killall: small formatting fixes Debian
* pstree: Do not assume root PID
* pslog: include config.h
* misc: Update gettext to 0.21

(From OE-Core rev: 5a5e5cce2edd0f0bccc69f3ec68dd86810b873c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
aeaeaed8ef pango: upgrade 1.52.0 -> 1.52.1
Changelog:
 Fix hexbox drawing

(From OE-Core rev: 5a296e6c3afb412ee9740fc28963f35dd16e52d9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
d844769fa9 mkfontscale: upgrade 1.2.2 -> 1.2.3
License-Update: "All rights reserved." removed from copyright.

Changelog:
=============
-Fix -Wimplicit-float-conversion warnings from clang
-Resolve some -Wsign-conversion warnings from clang
-Variable scope reductions as recommended by cppcheck
-ident.c: clear -Wdeclaration-after-statement warning
-mkfontscale.c: handle -Wshadow warnings from gcc
-doDirectory: add missing check for malloc() returning NULL
-Convert to X.Org standard code style
-Remove "All rights reserved" from Oracle copyright notices
-gitlab CI: stop requiring Signed-off-by in commits
-configure: Use AC_SYS_LARGEFILE to enable large file support
-Address s UBSan warning about int left shift overflow
-configure: Move check for zlib into its own section
-configure: Use pkg-config to find zlib

(From OE-Core rev: 73252e8c971263816cf218c53d0da9e419c9609d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
fd18d47d86 libxdmcp: upgrade 1.1.4 -> 1.1.5
Changelog:
==========
-gitlab CI: add xz-utils to container for "make distcheck"
-XdmcpWriteHeader: use calloc instead of malloc to alloc buffer
-XdmcpWriteHeader: drop unnecessary cast of free() argument
-Clear -Wunused-macros warnings when arc4random_buf() is available
-Xdmcp.h: add access attributes to function prototypes
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-Remove "All rights reserved" from Oracle copyright notices

(From OE-Core rev: e7f102d0d85e5c35c030a21fb3fa237a0843dce5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
635a2b0eb4 libxcursor: upgrade 1.2.1 -> 1.2.2
Changelog:
===========
-Remove superfluous and unguarded config.h include
-XcursorXcFileLoad: plug memory leak in error paths
-Add comment about keeping libxcb-cursor copy of code in sync
-If O_CLOEXEC is defined, add "e" to fopen modes
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-gitlab CI: stop requiring Signed-off-by in commits

(From OE-Core rev: b56224f31ac4df426418ffe9fa48f4d2dea3f148)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
2d3d3cfb9f libxcb: upgrade 1.16 -> 1.16.1
Changelog:
===========
-Enable large file support
-Fix compilation on Windows
-gitlab CI: use latest xcbproto from git to build against
-configure.ac: drop `pthread-stubs` dependency on NetBSD
-gitlab CI: regenerate container used for builds

(From OE-Core rev: 29cff6301d9c86df1609ac7d1762c38ce527fe4e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
30ff5f152f libsdl2: upgrade 2.30.0 -> 2.30.1
Changelog:
===========
-Fixed a regression causing SDL_WaitEvent() to return spurious failures
-Fixed X11 cursors on the latest release of GNOME
-Wayland windows automatically have OpenGL enabled again
-Fixed memory corruption when converting signed 16-bit audio to float
-Fixed audio artifacts when converting signed 8-bit audio to float
-Fixed the clip rectangle not being updated when the viewport changes in the SDL renderer
-Convert mouse wheel coordinates to the rendering view in the SDL renderer
-Fixed a crash handling controllers on macOS
-Fixed a crash setting a window fullscreen with Emscripten
-Fixed the keyboard automatically popping up when resuming an application on Android

(From OE-Core rev: a17c05585a0da0166087ae0cd3cd4331a1fb2615)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
7309a6a0ed libpng: upgrade 1.6.42 -> 1.6.43
Changelog:
===========
-Fixed the row width check in png_check_IHDR().
-Added eXIf chunk support to the push-mode reader in pngpread.c.
-Added contrib/pngexif for the benefit of the users who would like
 to inspect the content of eXIf chunks.
-Added contrib/conftest/basic.dfa, a basic build-time configuration.
-Fixed a preprocessor condition in pngread.c that broke build-time
 configurations like contrib/conftest/pngcp.dfa.
-Added CMake build support for LoongArch LSX.
-Fixed a CMake build error that occurred under a peculiar state of the
 dependency tree. This was a regression introduced in libpng-1.6.41.
-Marked the installed libpng headers as system headers in CMake.
-Updated the build support for RISCOS.
-Updated the makefiles to allow cross-platform builds to initialize
 conventional make variables like AR and ARFLAGS.
-Added various improvements to the CI scripts in areas like version
  consistency verification and text linting.
Added version consistency verification to pngtest.c also.

(From OE-Core rev: d36edc338fde6879390c322fb6333812a2c2ed74)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
f269bb70be libfontenc: upgrade 1.1.7 -> 1.1.8
Changelog:
==========
-Set close-on-exec when opening files
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-Remove "All rights reserved" from Oracle copyright notices
-configure: raise minimum autoconf requirement to 2.70

(From OE-Core rev: 10563e9f2d75a85a8d9c85cc79dcd851df669e13)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
efd86988ec libassuan: upgrade 2.5.6 -> 2.5.7
Changelog:
============
* New configure option --with-libtool-modification.
* Change the naming of the 64 bit Windows DLL from libassuan6-0.dll
  to libassuan-0.dll to sync this with what we did for libgpg-error.

(From OE-Core rev: 60e8a5ad9835f71dcf2fb4c7c748cc12f5bac115)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
f184b32700 ghostscript: upgrade 10.02.1 -> 10.03.0
avoid-host-contamination.patch
refreshed for 10.03.0

configure.ac-add-option-to-explicitly-disable-neon.patch
removed since it's included in 10.03.0

(From OE-Core rev: 0e389b7b20cf77327127ae0ced856e2b2ec7aee2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
7f23f72449 gcr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- gcr-ssh-agent: set 'SSH_AUTH_SOCK'
- gcr-ssh-agent: port avoid deadlock fix
- Updated translations

(From OE-Core rev: 5b98e250d8c04040df1333506b72575d368e6bdc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
69a3a3f9be encodings: upgrade 1.0.7 -> 1.1.0
Changelog:
==========
-Add a meson build system
-Add the ISO8859-14 encoding

(From OE-Core rev: b903248f62d6d6d969556632f8fb19f8b700dda3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
d23cdd0c2b diffoscope: upgrade 259 -> 260
Changelog:
==========
* Actually test 7z support in the test_7z set of tests, not the lz4
  functionality.
* In addition, correctly check for the 7z binary being available
  (and not lz4) when testing 7z.
* Prevent a traceback when comparing a contentful .pyc file with an
  empty one.

(From OE-Core rev: 5baf1e660f980cdcbe97e395f9c7f28b14cd8e6e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Wang Mingyu
ade5821ea3 debianutils: upgrade 5.16 -> 5.17
Changelog:
=============
* run-parts.c: Forward last exit code to preserve exit status.
* d/tests/control: Add run-parts.test to autopkgtests.
* d/tests/run-parts.test: Move run-parts testing here and add testing for
  the --exit-on-error option.
* d/tests/smoke: Remove duplicate run-parts testing.
* acinclude.m4: Bump DEBIANUTILS_VERSION from 5.14 to 5.17.

(From OE-Core rev: 12e6f8b91d7d8e2415122eb96289d8b91dbb23e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
cdc15a0ff2 waffle: update 1.7.2 -> 1.8.0
(From OE-Core rev: b63ce3e9ae0e38e9951440d805b0d9487fd3736d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
0a60440ceb texinfo: update 7.0.3 -> 7.1
Drop texinfo/link-zip.patch
(no longer necessary)

Add texinfo_cv_sys_iconv_converts_euc_cn=yes as otherwise
it's determined via building and running a helper binary.

(From OE-Core rev: eb13b936347b01dd92190713439e0ced6329337d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
bdd51994e1 tcl: update 8.6.13 -> 8.6.14
Drop recipes-devtools/tcltk/tcl/fix_issue_with_old_distro_glibc.patch
(very obsolete)

(From OE-Core rev: 59fabff31d4ed80b379cadb510dccb0d89976f0a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
a4c06a9986 ruby: update 3.2.2 -> 3.3.0
Rebase:
ruby/0005-Mark-Gemspec-reproducible-change-fixing-784225-too.patch

Drop:

ruby/0001-fiddle-Use-C11-_Alignof-to-define-ALIGN_OF-when-poss.patch
(merged upstream)

ruby/0001-template-Makefile.in-do-not-write-host-cross-cc-item.patch
ruby/0002-template-Makefile.in-filter-out-f-prefix-map.patch
ruby/remove_has_include_macros.patch
(code rewritten upstream)

(From OE-Core rev: 6e3326838f888912a76e9a1ce77fb76550d27169)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
3a7ead55a4 rpm: update 4.19.1 -> 4.19.1.1
Drop patches:
files/0002-docs-CMakeLists.txt-do-not-install-non-existent-docs.patch
(upstream resolved the issue)

files/0001-CMakeLists.txt-restore-readline-support-as-an-explic.patch
files/0001-Fix-unconditional-dependency-on-non-POSIX-GLOB_ONLYD.patch
(backports)

(From OE-Core rev: d233e33a5ca12f95878c3ee9e34d9d9c61e49f68)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
19ecd2d935 python3-lxml: update 5.0.0 -> 5.1.0
Upstream issued the new version in .tar.gz format, so .zip
setting can be dropped.

(From OE-Core rev: c208be7a9a5fec8b8d56356666de8be7d6d8a121)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
9ac975fc8a npth: update 1.6 -> 1.7
Drop 0001-Revert-Fix-problem-with-regression-tests-on-recent-g.patch
(upstream resolved the issue)

npth-config is no longer installed.

(From OE-Core rev: 21cd99cd96fd8a06d007fe00570ebac98fedbdad)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Khem Raj
8d2b914b50 mdadm: Fix build with new musl
new musl has removed basename prototype from string.h

(From OE-Core rev: b3f75f7926db2a616a49650ac04befa755c8dd8f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
df4a6bcb15 mdadm: update 4.2 -> 4.3
Drop a gigantic set of patches: either backports or
test fixups (which are no longer testable after exclusion of
mdadm from ptests).

Add musl fixes:
0001-util.c-add-limits.h-include-for-NAME_MAX-definition.patch
0002-Create.c-include-linux-falloc.h-for-FALLOC_FL_ZERO_R.patch

(From OE-Core rev: 952a2a94901ea6e9416e517e9f6c97dbc7e3bb2d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
352e2a327b libtraceevent: update 1.7.3 -> 1.8.2
Drop docs option from meson.patch, as upstream added a doc
option that does the same thing.

(From OE-Core rev: 0da4e49b40aaf1f4de1ceaaf799de6234a3ce22b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
c11f334af5 libpam: update 1.5.3 -> 1.6.0
(From OE-Core rev: 2a194d5dd1d82f233fa28a44412aea1ba4ccd434)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
69c1a73268 go-helloworld: update to latest revision
(From OE-Core rev: ed7d5a9e0ea2c970b3c101876dc3e3b8b5ae2ade)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
e8c9f0bf7d icu: update 74-1 -> 74-2
Note that upstream has re-spun the release tarball (the initial tarball had a broken symlink
for LICENSE file), so there can be yocto premirror checksum mismatches:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6671/steps/13/logs/stdio

(From OE-Core rev: 344f7500e6df31d7c06331aedbac0df4983da958)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
e55b3e209a gptfdisk: update 1.0.9 -> 1.0.10
(From OE-Core rev: d41178f9fea7e4121f582eaec68a6aa308e71b6e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
1cfb2dc0de dpkg: update 1.22.0 -> 1.22.5
Drop pager.patch as macros removed upstream.

(From OE-Core rev: 63df660741742baf527647d3036b6d3414869c4f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
Alexander Kanavin
e427d97411 attr: update 2.5.1 -> 2.5.2
(From OE-Core rev: 22755644ec458235cddd2c461c2ed94061481cda)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-04-16 08:07:01 +01:00
2200 changed files with 70160 additions and 45309 deletions

View File

@@ -41,6 +41,7 @@ Component/Subsystem Maintainers
* devtool: Saul Wold
* eSDK: Saul Wold
* overlayfs: Vyacheslav Yurkov
* Patchtest: Trevor Gamblin
Maintainers needed
------------------
@@ -52,7 +53,6 @@ Maintainers needed
* error reporting system/web UI
* wic
* Patchwork
* Patchtest
* Matchbox
* Sato
* Autobuilder

View File

@@ -27,7 +27,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
bb.utils.check_system_locale()
__version__ = "2.8.0"
__version__ = "2.9.1"
if __name__ == "__main__":
if __version__ != bb.__version__:

View File

@@ -72,16 +72,17 @@ def find_siginfo_task(bbhandler, pn, taskname, sig1=None, sig2=None):
elif sig2 not in sigfiles:
logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
sys.exit(1)
latestfiles = [sigfiles[sig1]['path'], sigfiles[sig2]['path']]
else:
sigfiles = find_siginfo(bbhandler, pn, taskname)
latestsigs = sorted(sigfiles.keys(), key=lambda h: sigfiles[h]['time'])[-2:]
if not latestsigs:
logger.error('No sigdata files found matching %s %s' % (pn, taskname))
sys.exit(1)
sig1 = latestsigs[0]
sig2 = latestsigs[1]
latestfiles = [sigfiles[sig1]['path'], sigfiles[sig2]['path']]
latestfiles = [sigfiles[latestsigs[0]]['path']]
if len(latestsigs) > 1:
latestfiles.append(sigfiles[latestsigs[1]]['path'])
return latestfiles

View File

@@ -16,6 +16,7 @@ import time
import warnings
import netrc
import json
import statistics
warnings.simplefilter("default")
try:
@@ -81,6 +82,7 @@ def main():
nonlocal found_hashes
nonlocal missed_hashes
nonlocal max_time
nonlocal times
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
@@ -98,29 +100,41 @@ def main():
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
times.append(elapsed)
pbar.update()
max_time = 0
found_hashes = 0
missed_hashes = 0
lock = threading.Lock()
total_requests = args.clients * args.requests
times = []
start_time = time.perf_counter()
with ProgressBar(total=total_requests) as pbar:
with ProgressBar(total=args.clients * args.requests) as pbar:
threads = [threading.Thread(target=thread_main, args=(pbar, lock), daemon=False) for _ in range(args.clients)]
for t in threads:
t.start()
for t in threads:
t.join()
total_elapsed = time.perf_counter() - start_time
elapsed = time.perf_counter() - start_time
with lock:
print("%d requests in %.1fs. %.1f requests per second" % (total_requests, elapsed, total_requests / elapsed))
print("Average request time %.8fs" % (elapsed / total_requests))
print("Max request time was %.8fs" % max_time)
print("Found %d hashes, missed %d" % (found_hashes, missed_hashes))
mean = statistics.mean(times)
median = statistics.median(times)
stddev = statistics.pstdev(times)
print(f"Number of clients: {args.clients}")
print(f"Requests per client: {args.requests}")
print(f"Number of requests: {len(times)}")
print(f"Total elapsed time: {total_elapsed:.3f}s")
print(f"Total request rate: {len(times)/total_elapsed:.3f} req/s")
print(f"Average request time: {mean:.3f}s")
print(f"Median request time: {median:.3f}s")
print(f"Request time std dev: {stddev:.3f}s")
print(f"Maximum request time: {max(times):.3f}s")
print(f"Minimum request time: {min(times):.3f}s")
print(f"Hashes found: {found_hashes}")
print(f"Hashes missed: {missed_hashes}")
if args.report:
with ProgressBar(total=args.requests) as pbar:
@@ -225,6 +239,32 @@ def main():
print("true" if result else "false")
return 0
def handle_ping(args, client):
times = []
for i in range(1, args.count + 1):
if not args.quiet:
print(f"Ping {i} of {args.count}... ", end="")
start_time = time.perf_counter()
client.ping()
elapsed = time.perf_counter() - start_time
times.append(elapsed)
if not args.quiet:
print(f"{elapsed:.3f}s")
mean = statistics.mean(times)
median = statistics.median(times)
std_dev = statistics.pstdev(times)
if not args.quiet:
print("------------------------")
print(f"Number of pings: {len(times)}")
print(f"Average round trip time: {mean:.3f}s")
print(f"Median round trip time: {median:.3f}s")
print(f"Round trip time std dev: {std_dev:.3f}s")
print(f"Min time is: {min(times):.3f}s")
print(f"Max time is: {max(times):.3f}s")
return 0
parser = argparse.ArgumentParser(description='Hash Equivalence Client')
parser.add_argument('--address', default=DEFAULT_ADDRESS, help='Server address (default "%(default)s")')
parser.add_argument('--log', default='WARNING', help='Set logging level')
@@ -322,6 +362,11 @@ def main():
unihash_exists_parser.add_argument("unihash", help="Unihash to check")
unihash_exists_parser.set_defaults(func=handle_unihash_exists)
ping_parser = subparsers.add_parser('ping', help="Ping server")
ping_parser.add_argument("-n", "--count", type=int, help="Number of pings. Default is %(default)s", default=10)
ping_parser.add_argument("-q", "--quiet", action="store_true", help="Don't print each ping; only print results")
ping_parser.set_defaults(func=handle_ping)
args = parser.parse_args()
logger = logging.getLogger('hashserv')

View File

@@ -125,6 +125,11 @@ The following permissions are supported by the server:
default=os.environ.get("HASHSERVER_ADMIN_PASSWORD", None),
help="Create default admin user with password ADMIN_PASSWORD ($HASHSERVER_ADMIN_PASSWORD)",
)
parser.add_argument(
"--reuseport",
action="store_true",
help="Enable SO_REUSEPORT, allowing multiple servers to bind to the same port for load balancing",
)
args = parser.parse_args()
@@ -132,7 +137,9 @@ The following permissions are supported by the server:
level = getattr(logging, args.log.upper(), None)
if not isinstance(level, int):
raise ValueError("Invalid log level: %s (Try ERROR/WARNING/INFO/DEBUG)" % args.log)
raise ValueError(
"Invalid log level: %s (Try ERROR/WARNING/INFO/DEBUG)" % args.log
)
logger.setLevel(level)
console = logging.StreamHandler()
@@ -155,6 +162,7 @@ The following permissions are supported by the server:
anon_perms=anon_perms,
admin_username=args.admin_user,
admin_password=args.admin_password,
reuseport=args.reuseport,
)
server.serve_forever()
return 0

View File

@@ -33,7 +33,7 @@ def main():
add_help=False)
parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true')
parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true')
parser.add_argument('-F', '--force', help='Force add without recipe parse verification', action='store_true')
parser.add_argument('-F', '--force', help='Forced execution: can be specified multiple times. -F will force add without recipe parse verification and -FF will additionally force the run withput layer parsing.', action='count', default=0)
parser.add_argument('--color', choices=['auto', 'always', 'never'], default='auto', help='Colorize output (where %(metavar)s is %(choices)s)', metavar='COLOR')
global_args, unparsed_args = parser.parse_known_args()
@@ -59,16 +59,20 @@ def main():
plugins = []
tinfoil = bb.tinfoil.Tinfoil(tracking=True)
tinfoil.logger.setLevel(logger.getEffectiveLevel())
try:
if global_args.force > 1:
bbpaths = []
else:
tinfoil.prepare(True)
for path in ([topdir] +
tinfoil.config_data.getVar('BBPATH').split(':')):
bbpaths = tinfoil.config_data.getVar('BBPATH').split(':')
try:
for path in ([topdir] + bbpaths):
pluginpath = os.path.join(path, 'lib', 'bblayers')
bb.utils.load_plugins(logger, plugins, pluginpath)
registered = False
for plugin in plugins:
if hasattr(plugin, 'tinfoil_init'):
if hasattr(plugin, 'tinfoil_init') and global_args.force <= 1:
plugin.tinfoil_init(tinfoil)
if hasattr(plugin, 'register_commands'):
registered = True

View File

@@ -16,11 +16,18 @@ sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)), "lib
import prserv
import prserv.serv
VERSION = "1.1.0"
VERSION = "2.0.0"
PRHOST_DEFAULT="0.0.0.0"
PRPORT_DEFAULT=8585
def init_logger(logfile, loglevel):
numeric_level = getattr(logging, loglevel.upper(), None)
if not isinstance(numeric_level, int):
raise ValueError("Invalid log level: %s" % loglevel)
FORMAT = "%(asctime)-15s %(message)s"
logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT)
def main():
parser = argparse.ArgumentParser(
description="BitBake PR Server. Version=%s" % VERSION,
@@ -70,12 +77,25 @@ def main():
action="store_true",
help="open database in read-only mode",
)
parser.add_argument(
"-u",
"--upstream",
default=os.environ.get("PRSERVER_UPSTREAM", None),
help="Upstream PR service (host:port)",
)
args = parser.parse_args()
prserv.init_logger(os.path.abspath(args.log), args.loglevel)
init_logger(os.path.abspath(args.log), args.loglevel)
if args.start:
ret=prserv.serv.start_daemon(args.file, args.host, args.port, os.path.abspath(args.log), args.read_only)
ret=prserv.serv.start_daemon(
args.file,
args.host,
args.port,
os.path.abspath(args.log),
args.read_only,
args.upstream
)
elif args.stop:
ret=prserv.serv.stop_daemon(args.host, args.port)
else:

View File

@@ -15,6 +15,7 @@ import unittest
try:
import bb
import hashserv
import prserv
import layerindexlib
except RuntimeError as exc:
sys.exit(str(exc))
@@ -33,6 +34,7 @@ tests = ["bb.tests.codeparser",
"bb.tests.utils",
"bb.tests.compression",
"hashserv.tests",
"prserv.tests",
"layerindexlib.tests.layerindexobj",
"layerindexlib.tests.restapi",
"layerindexlib.tests.cooker"]

View File

@@ -424,7 +424,7 @@ overview of their function and contents.
Example usage::
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
BB_HASHSERVE_UPSTREAM = "hashserv.yoctoproject.org:8686"
:term:`BB_INVALIDCONF`
Used in combination with the ``ConfigParsed`` event to trigger

View File

@@ -5,10 +5,10 @@ BitBake Supported Release Manuals
=================================
*******************************
Release Series 4.2 (mickledore)
Release Series 5.0 (scarthgap)
*******************************
- :yocto_docs:`BitBake 2.4 User Manual </bitbake/2.4/>`
- :yocto_docs:`BitBake 2.8 User Manual </bitbake/2.8/>`
******************************
Release Series 4.0 (kirkstone)
@@ -26,6 +26,18 @@ Release Series 3.1 (dunfell)
BitBake Outdated Release Manuals
================================
*******************************
Release Series 4.3 (nanbield)
*******************************
- :yocto_docs:`BitBake 2.6 User Manual </bitbake/2.6/>`
*******************************
Release Series 4.2 (mickledore)
*******************************
- :yocto_docs:`BitBake 2.4 User Manual </bitbake/2.4/>`
*****************************
Release Series 4.1 (langdale)
*****************************

View File

@@ -9,7 +9,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "2.8.0"
__version__ = "2.9.1"
import sys
if sys.version_info < (3, 8, 0):
@@ -36,6 +36,7 @@ class BBHandledException(Exception):
import os
import logging
from collections import namedtuple
class NullHandler(logging.Handler):
@@ -103,26 +104,6 @@ class BBLoggerAdapter(logging.LoggerAdapter, BBLoggerMixin):
self.setup_bblogger(logger.name)
super().__init__(logger, *args, **kwargs)
if sys.version_info < (3, 6):
# These properties were added in Python 3.6. Add them in older versions
# for compatibility
@property
def manager(self):
return self.logger.manager
@manager.setter
def manager(self, value):
self.logger.manager = value
@property
def name(self):
return self.logger.name
def __repr__(self):
logger = self.logger
level = logger.getLevelName(logger.getEffectiveLevel())
return '<%s %s (%s)>' % (self.__class__.__name__, logger.name, level)
logging.LoggerAdapter = BBLoggerAdapter
logger = logging.getLogger("BitBake")
@@ -227,3 +208,14 @@ def deprecate_import(current, modulename, fromlist, renames = None):
setattr(sys.modules[current], newname, newobj)
TaskData = namedtuple("TaskData", [
"pn",
"taskname",
"fn",
"deps",
"provides",
"taskhash",
"unihash",
"hashfn",
"taskhash_deps",
])

View File

@@ -5,7 +5,7 @@
#
from .client import AsyncClient, Client, ClientPool
from .client import AsyncClient, Client
from .serv import AsyncServer, AsyncServerConnection
from .connection import DEFAULT_MAX_CHUNK
from .exceptions import (

View File

@@ -24,6 +24,12 @@ ADDR_TYPE_UNIX = 0
ADDR_TYPE_TCP = 1
ADDR_TYPE_WS = 2
WEBSOCKETS_MIN_VERSION = (9, 1)
# Need websockets 10 with python 3.10+
if sys.version_info >= (3, 10, 0):
WEBSOCKETS_MIN_VERSION = (10, 0)
def parse_address(addr):
if addr.startswith(UNIX_PREFIX):
return (ADDR_TYPE_UNIX, (addr[len(UNIX_PREFIX) :],))
@@ -39,6 +45,7 @@ def parse_address(addr):
return (ADDR_TYPE_TCP, (host, int(port)))
class AsyncClient(object):
def __init__(
self,
@@ -86,8 +93,30 @@ class AsyncClient(object):
async def connect_websocket(self, uri):
import websockets
try:
version = tuple(
int(v)
for v in websockets.__version__.split(".")[
0 : len(WEBSOCKETS_MIN_VERSION)
]
)
except ValueError:
raise ImportError(
f"Unable to parse websockets version '{websockets.__version__}'"
)
if version < WEBSOCKETS_MIN_VERSION:
min_ver_str = ".".join(str(v) for v in WEBSOCKETS_MIN_VERSION)
raise ImportError(
f"Websockets version {websockets.__version__} is less than minimum required version {min_ver_str}"
)
async def connect_sock():
websocket = await websockets.connect(uri, ping_interval=None)
websocket = await websockets.connect(
uri,
ping_interval=None,
open_timeout=self.timeout,
)
return WebsocketConnection(websocket, self.timeout)
self._connect_sock = connect_sock
@@ -225,85 +254,9 @@ class Client(object):
def close(self):
if self.loop:
self.loop.run_until_complete(self.client.close())
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
self.loop = None
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False
class ClientPool(object):
def __init__(self, max_clients):
self.avail_clients = []
self.num_clients = 0
self.max_clients = max_clients
self.loop = None
self.client_condition = None
@abc.abstractmethod
async def _new_client(self):
raise NotImplementedError("Must be implemented in derived class")
def close(self):
if self.client_condition:
self.client_condition = None
if self.loop:
self.loop.run_until_complete(self.__close_clients())
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
self.loop = None
def run_tasks(self, tasks):
if not self.loop:
self.loop = asyncio.new_event_loop()
thread = Thread(target=self.__thread_main, args=(tasks,))
thread.start()
thread.join()
@contextlib.asynccontextmanager
async def get_client(self):
async with self.client_condition:
if self.avail_clients:
client = self.avail_clients.pop()
elif self.num_clients < self.max_clients:
self.num_clients += 1
client = await self._new_client()
else:
while not self.avail_clients:
await self.client_condition.wait()
client = self.avail_clients.pop()
try:
yield client
finally:
async with self.client_condition:
self.avail_clients.append(client)
self.client_condition.notify()
def __thread_main(self, tasks):
async def process_task(task):
async with self.get_client() as client:
await task(client)
asyncio.set_event_loop(self.loop)
if not self.client_condition:
self.client_condition = asyncio.Condition()
tasks = [process_task(t) for t in tasks]
self.loop.run_until_complete(asyncio.gather(*tasks))
async def __close_clients(self):
for c in self.avail_clients:
await c.close()
self.avail_clients = []
self.num_clients = 0
self.loop = None
def __enter__(self):
return self

View File

@@ -138,14 +138,20 @@ class StreamServer(object):
class TCPStreamServer(StreamServer):
def __init__(self, host, port, handler, logger):
def __init__(self, host, port, handler, logger, *, reuseport=False):
super().__init__(handler, logger)
self.host = host
self.port = port
self.reuseport = reuseport
def start(self, loop):
self.server = loop.run_until_complete(
asyncio.start_server(self.handle_stream_client, self.host, self.port)
asyncio.start_server(
self.handle_stream_client,
self.host,
self.port,
reuse_port=self.reuseport,
)
)
for s in self.server.sockets:
@@ -209,11 +215,12 @@ class UnixStreamServer(StreamServer):
class WebsocketsServer(object):
def __init__(self, host, port, handler, logger):
def __init__(self, host, port, handler, logger, *, reuseport=False):
self.host = host
self.port = port
self.handler = handler
self.logger = logger
self.reuseport = reuseport
def start(self, loop):
import websockets.server
@@ -224,6 +231,7 @@ class WebsocketsServer(object):
self.host,
self.port,
ping_interval=None,
reuse_port=self.reuseport,
)
)
@@ -262,14 +270,26 @@ class AsyncServer(object):
self.loop = None
self.run_tasks = []
def start_tcp_server(self, host, port):
self.server = TCPStreamServer(host, port, self._client_handler, self.logger)
def start_tcp_server(self, host, port, *, reuseport=False):
self.server = TCPStreamServer(
host,
port,
self._client_handler,
self.logger,
reuseport=reuseport,
)
def start_unix_server(self, path):
self.server = UnixStreamServer(path, self._client_handler, self.logger)
def start_websocket_server(self, host, port):
self.server = WebsocketsServer(host, port, self._client_handler, self.logger)
def start_websocket_server(self, host, port, reuseport=False):
self.server = WebsocketsServer(
host,
port,
self._client_handler,
self.logger,
reuseport=reuseport,
)
async def _client_handler(self, socket):
address = socket.address
@@ -368,8 +388,7 @@ class AsyncServer(object):
self._serve_forever(tasks)
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
queue = multiprocessing.Queue()

View File

@@ -197,6 +197,8 @@ def exec_func(func, d, dirs = None):
for cdir in d.expand(cleandirs).split():
bb.utils.remove(cdir, True)
bb.utils.mkdirhier(cdir)
if cdir == oldcwd:
os.chdir(cdir)
if flags and dirs is None:
dirs = flags.get('dirs')
@@ -741,7 +743,7 @@ def _exec_task(fn, task, d, quieterr):
if quieterr:
if not handled:
logger.warning(repr(exc))
logger.warning(str(exc))
event.fire(TaskFailedSilent(task, fn, logfn, localdata), localdata)
else:
errprinted = errchk.triggered
@@ -750,7 +752,7 @@ def _exec_task(fn, task, d, quieterr):
if verboseStdoutLogging or handled:
errprinted = True
if not handled:
logger.error(repr(exc))
logger.error(str(exc))
event.fire(TaskFailed(task, fn, logfn, localdata, errprinted), localdata)
return 1
@@ -930,9 +932,13 @@ def add_tasks(tasklist, d):
# don't assume holding a reference
d.setVar('_task_deps', task_deps)
def ensure_task_prefix(name):
if name[:3] != "do_":
name = "do_" + name
return name
def addtask(task, before, after, d):
if task[:3] != "do_":
task = "do_" + task
task = ensure_task_prefix(task)
d.setVarFlag(task, "task", 1)
bbtasks = d.getVar('__BBTASKS', False) or []
@@ -944,19 +950,20 @@ def addtask(task, before, after, d):
if after is not None:
# set up deps for function
for entry in after.split():
entry = ensure_task_prefix(entry)
if entry not in existing:
existing.append(entry)
d.setVarFlag(task, "deps", existing)
if before is not None:
# set up things that depend on this func
for entry in before.split():
entry = ensure_task_prefix(entry)
existing = d.getVarFlag(entry, "deps", False) or []
if task not in existing:
d.setVarFlag(entry, "deps", [task] + existing)
def deltask(task, d):
if task[:3] != "do_":
task = "do_" + task
task = ensure_task_prefix(task)
bbtasks = d.getVar('__BBTASKS', False) or []
if task in bbtasks:

View File

@@ -28,7 +28,7 @@ import shutil
logger = logging.getLogger("BitBake.Cache")
__cache_version__ = "155"
__cache_version__ = "156"
def getCacheFile(path, filename, mc, data_hash):
mcspec = ''
@@ -441,7 +441,7 @@ class Cache(object):
else:
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if os.path.exists(symlink):
if os.path.exists(symlink) or os.path.islink(symlink):
bb.utils.remove(symlink)
try:
os.symlink(os.path.basename(self.cachefile), symlink)
@@ -779,25 +779,6 @@ class MulticonfigCache(Mapping):
for k in self.__caches:
yield k
def init(cooker):
"""
The Objective: Cache the minimum amount of data possible yet get to the
stage of building packages (i.e. tryBuild) without reparsing any .bb files.
To do this, we intercept getVar calls and only cache the variables we see
being accessed. We rely on the cache getVar calls being made for all
variables bitbake might need to use to reach this stage. For each cached
file we need to track:
* Its mtime
* The mtimes of all its dependencies
* Whether it caused a parse.SkipRecipe exception
Files causing parsing errors are evicted from the cache.
"""
return Cache(cooker.configuration.data, cooker.configuration.data_hash)
class CacheData(object):
"""

View File

@@ -72,6 +72,11 @@ def add_module_functions(fn, functions, namespace):
parser.parse_python(None, filename=fn, lineno=1, fixedhash=fixedhash+f)
#bb.warn("Cached %s" % f)
except KeyError:
targetfn = inspect.getsourcefile(functions[f])
if fn != targetfn:
# Skip references to other modules outside this file
#bb.warn("Skipping %s" % name)
continue
lines, lineno = inspect.getsourcelines(functions[f])
src = "".join(lines)
parser.parse_python(src, filename=fn, lineno=lineno, fixedhash=fixedhash+f)
@@ -82,14 +87,17 @@ def add_module_functions(fn, functions, namespace):
if e in functions:
execs.remove(e)
execs.add(namespace + "." + e)
modulecode_deps[name] = [parser.references.copy(), execs, parser.var_execs.copy(), parser.contains.copy()]
visitorcode = None
if hasattr(functions[f], 'visitorcode'):
visitorcode = getattr(functions[f], "visitorcode")
modulecode_deps[name] = [parser.references.copy(), execs, parser.var_execs.copy(), parser.contains.copy(), parser.extra, visitorcode]
#bb.warn("%s: %s\nRefs:%s Execs: %s %s %s" % (name, fn, parser.references, parser.execs, parser.var_execs, parser.contains))
def update_module_dependencies(d):
for mod in modulecode_deps:
excludes = set((d.getVarFlag(mod, "vardepsexclude") or "").split())
if excludes:
modulecode_deps[mod] = [modulecode_deps[mod][0] - excludes, modulecode_deps[mod][1] - excludes, modulecode_deps[mod][2] - excludes, modulecode_deps[mod][3]]
modulecode_deps[mod] = [modulecode_deps[mod][0] - excludes, modulecode_deps[mod][1] - excludes, modulecode_deps[mod][2] - excludes, modulecode_deps[mod][3], modulecode_deps[mod][4], modulecode_deps[mod][5]]
# A custom getstate/setstate using tuples is actually worth 15% cachesize by
# avoiding duplication of the attribute names!
@@ -112,21 +120,22 @@ class SetCache(object):
codecache = SetCache()
class pythonCacheLine(object):
def __init__(self, refs, execs, contains):
def __init__(self, refs, execs, contains, extra):
self.refs = codecache.internSet(refs)
self.execs = codecache.internSet(execs)
self.contains = {}
for c in contains:
self.contains[c] = codecache.internSet(contains[c])
self.extra = extra
def __getstate__(self):
return (self.refs, self.execs, self.contains)
return (self.refs, self.execs, self.contains, self.extra)
def __setstate__(self, state):
(refs, execs, contains) = state
self.__init__(refs, execs, contains)
(refs, execs, contains, extra) = state
self.__init__(refs, execs, contains, extra)
def __hash__(self):
l = (hash(self.refs), hash(self.execs))
l = (hash(self.refs), hash(self.execs), hash(self.extra))
for c in sorted(self.contains.keys()):
l = l + (c, hash(self.contains[c]))
return hash(l)
@@ -155,7 +164,7 @@ class CodeParserCache(MultiProcessCache):
# so that an existing cache gets invalidated. Additionally you'll need
# to increment __cache_version__ in cache.py in order to ensure that old
# recipe caches don't trigger "Taskhash mismatch" errors.
CACHE_VERSION = 11
CACHE_VERSION = 14
def __init__(self):
MultiProcessCache.__init__(self)
@@ -169,8 +178,8 @@ class CodeParserCache(MultiProcessCache):
self.pythoncachelines = {}
self.shellcachelines = {}
def newPythonCacheLine(self, refs, execs, contains):
cacheline = pythonCacheLine(refs, execs, contains)
def newPythonCacheLine(self, refs, execs, contains, extra):
cacheline = pythonCacheLine(refs, execs, contains, extra)
h = hash(cacheline)
if h in self.pythoncachelines:
return self.pythoncachelines[h]
@@ -255,7 +264,15 @@ class PythonParser():
def visit_Call(self, node):
name = self.called_node_name(node.func)
if name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
if name and name in modulecode_deps and modulecode_deps[name][5]:
visitorcode = modulecode_deps[name][5]
contains, execs, warn = visitorcode(name, node.args)
for i in contains:
self.contains[i] = contains[i]
self.execs |= execs
if warn:
self.warn(node.func, warn)
elif name and (name.endswith(self.getvars) or name.endswith(self.getvarflags) or name in self.containsfuncs or name in self.containsanyfuncs):
if isinstance(node.args[0], ast.Constant) and isinstance(node.args[0].value, str):
varname = node.args[0].value
if name in self.containsfuncs and isinstance(node.args[1], ast.Constant):
@@ -338,6 +355,7 @@ class PythonParser():
self.contains = {}
for i in codeparsercache.pythoncache[h].contains:
self.contains[i] = set(codeparsercache.pythoncache[h].contains[i])
self.extra = codeparsercache.pythoncache[h].extra
return
if h in codeparsercache.pythoncacheextras:
@@ -346,6 +364,7 @@ class PythonParser():
self.contains = {}
for i in codeparsercache.pythoncacheextras[h].contains:
self.contains[i] = set(codeparsercache.pythoncacheextras[h].contains[i])
self.extra = codeparsercache.pythoncacheextras[h].extra
return
if fixedhash and not node:
@@ -364,8 +383,11 @@ class PythonParser():
self.visit_Call(n)
self.execs.update(self.var_execs)
self.extra = None
if fixedhash:
self.extra = bbhash(str(node))
codeparsercache.pythoncacheextras[h] = codeparsercache.newPythonCacheLine(self.references, self.execs, self.contains)
codeparsercache.pythoncacheextras[h] = codeparsercache.newPythonCacheLine(self.references, self.execs, self.contains, self.extra)
class ShellParser():
def __init__(self, name, log):
@@ -484,19 +506,34 @@ class ShellParser():
"""
words = list(words)
for word in list(words):
for word in words:
wtree = pyshlex.make_wordtree(word[1])
for part in wtree:
if not isinstance(part, list):
continue
if part[0] in ('`', '$('):
command = pyshlex.wordtree_as_string(part[1:-1])
self._parse_shell(command)
candidates = [part]
if word[0] in ("cmd_name", "cmd_word"):
if word in words:
words.remove(word)
# If command is of type:
#
# var="... $(cmd [...]) ..."
#
# Then iterate on what's between the quotes and if we find a
# list, make that what we check for below.
if len(part) >= 3 and part[0] == '"':
for p in part[1:-1]:
if isinstance(p, list):
candidates.append(p)
for candidate in candidates:
if len(candidate) >= 2:
if candidate[0] in ('`', '$('):
command = pyshlex.wordtree_as_string(candidate[1:-1])
self._parse_shell(command)
if word[0] in ("cmd_name", "cmd_word"):
if word in words:
words.remove(word)
usetoken = False
for word in words:

View File

@@ -17,7 +17,7 @@ import threading
from io import StringIO, UnsupportedOperation
from contextlib import closing
from collections import defaultdict, namedtuple
import bb, bb.exceptions, bb.command
import bb, bb.command
from bb import utils, data, parse, event, cache, providers, taskdata, runqueue, build
import queue
import signal
@@ -281,7 +281,6 @@ class BBCooker:
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
self.databuilder.parseBaseConfiguration()
self.data = self.databuilder.data
self.data_hash = self.databuilder.data_hash
self.extraconfigdata = {}
eventlog = self.data.getVar("BB_DEFAULT_EVENTLOG")
@@ -315,13 +314,13 @@ class BBCooker:
dbfile = (self.data.getVar("PERSISTENT_DIR") or self.data.getVar("CACHE")) + "/hashserv.db"
upstream = self.data.getVar("BB_HASHSERVE_UPSTREAM") or None
if upstream:
import socket
try:
sock = socket.create_connection(upstream.split(":"), 5)
sock.close()
except socket.error as e:
with hashserv.create_client(upstream) as client:
client.ping()
except (ConnectionError, ImportError) as e:
bb.warn("BB_HASHSERVE_UPSTREAM is not valid, unable to connect hash equivalence server at '%s': %s"
% (upstream, repr(e)))
upstream = None
self.hashservaddr = "unix://%s/hashserve.sock" % self.data.getVar("TOPDIR")
self.hashserv = hashserv.create_server(
@@ -370,6 +369,11 @@ class BBCooker:
if not clean:
bb.parse.BBHandler.cached_statements = {}
# If writes were made to any of the data stores, we need to recalculate the data
# store cache
if hasattr(self, "databuilder"):
self.databuilder.calc_datastore_hashes()
def parseConfiguration(self):
self.updateCacheSync()
@@ -680,14 +684,14 @@ class BBCooker:
bb.event.fire(bb.event.TreeDataPreparationCompleted(len(fulltargetlist)), self.data)
return taskdata, runlist
def prepareTreeData(self, pkgs_to_build, task):
def prepareTreeData(self, pkgs_to_build, task, halt=False):
"""
Prepare a runqueue and taskdata object for iteration over pkgs_to_build
"""
# We set halt to False here to prevent unbuildable targets raising
# an exception when we're just generating data
taskdata, runlist = self.buildTaskData(pkgs_to_build, task, False, allowincomplete=True)
taskdata, runlist = self.buildTaskData(pkgs_to_build, task, halt, allowincomplete=True)
return runlist, taskdata
@@ -701,7 +705,7 @@ class BBCooker:
if not task.startswith("do_"):
task = "do_%s" % task
runlist, taskdata = self.prepareTreeData(pkgs_to_build, task)
runlist, taskdata = self.prepareTreeData(pkgs_to_build, task, halt=True)
rq = bb.runqueue.RunQueue(self, self.data, self.recipecaches, taskdata, runlist)
rq.rqdata.prepare()
return self.buildDependTree(rq, taskdata)
@@ -1338,7 +1342,7 @@ class BBCooker:
self.buildSetVars()
self.reset_mtime_caches()
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.data_hash, self.caches_array)
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.databuilder.data_hash, self.caches_array)
layername = self.collections[mc].calc_bbfile_priority(fn)[2]
infos = bb_caches[mc].parse(fn, self.collections[mc].get_file_appends(fn), layername)
@@ -1459,7 +1463,6 @@ class BBCooker:
if t in task or getAllTaskSignatures:
try:
rq.rqdata.prepare_task_hash(tid)
sig.append([pn, t, rq.rqdata.get_task_unihash(tid)])
except KeyError:
sig.append(self.getTaskSignatures(target, [t])[0])
@@ -1813,8 +1816,8 @@ class CookerCollectFiles(object):
bb.event.fire(CookerExit(), eventdata)
# We need to track where we look so that we can know when the cache is invalid. There
# is no nice way to do this, this is horrid. We intercept the os.listdir()
# (or os.scandir() for python 3.6+) calls while we run glob().
# is no nice way to do this, this is horrid. We intercept the os.listdir() and os.scandir()
# calls while we run glob().
origlistdir = os.listdir
if hasattr(os, 'scandir'):
origscandir = os.scandir
@@ -2098,7 +2101,6 @@ class Parser(multiprocessing.Process):
except Exception as exc:
tb = sys.exc_info()[2]
exc.recipe = filename
exc.traceback = list(bb.exceptions.extract_traceback(tb, context=3))
return True, None, exc
# Need to turn BaseExceptions into Exceptions here so we gracefully shutdown
# and for example a worker thread doesn't just exit on its own in response to
@@ -2113,7 +2115,7 @@ class CookerParser(object):
self.mcfilelist = mcfilelist
self.cooker = cooker
self.cfgdata = cooker.data
self.cfghash = cooker.data_hash
self.cfghash = cooker.databuilder.data_hash
self.cfgbuilder = cooker.databuilder
# Accounting statistics
@@ -2225,9 +2227,8 @@ class CookerParser(object):
for process in self.processes:
process.join()
# Added in 3.7, cleans up zombies
if hasattr(process, "close"):
process.close()
# clean up zombies
process.close()
bb.codeparser.parser_cache_save()
bb.codeparser.parser_cache_savemerge()
@@ -2237,12 +2238,13 @@ class CookerParser(object):
profiles = []
for i in self.process_names:
logfile = "profile-parse-%s.log" % i
if os.path.exists(logfile):
if os.path.exists(logfile) and os.path.getsize(logfile):
profiles.append(logfile)
pout = "profile-parse.log.processed"
bb.utils.process_profilelog(profiles, pout = pout)
print("Processed parsing statistics saved to %s" % (pout))
if profiles:
pout = "profile-parse.log.processed"
bb.utils.process_profilelog(profiles, pout = pout)
print("Processed parsing statistics saved to %s" % (pout))
def final_cleanup(self):
if self.syncthread:
@@ -2299,8 +2301,12 @@ class CookerParser(object):
return False
except ParsingFailure as exc:
self.error += 1
logger.error('Unable to parse %s: %s' %
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
exc_desc = str(exc)
if isinstance(exc, SystemExit) and not isinstance(exc.code, str):
exc_desc = 'Exited with "%d"' % exc.code
logger.error('Unable to parse %s: %s' % (exc.recipe, exc_desc))
self.shutdown(clean=False)
return False
except bb.parse.ParseError as exc:
@@ -2309,20 +2315,33 @@ class CookerParser(object):
self.shutdown(clean=False, eventmsg=str(exc))
return False
except bb.data_smart.ExpansionError as exc:
def skip_frames(f, fn_prefix):
while f and f.tb_frame.f_code.co_filename.startswith(fn_prefix):
f = f.tb_next
return f
self.error += 1
bbdir = os.path.dirname(__file__) + os.sep
etype, value, _ = sys.exc_info()
tb = list(itertools.dropwhile(lambda e: e.filename.startswith(bbdir), exc.traceback))
etype, value, tb = sys.exc_info()
# Remove any frames where the code comes from bitbake. This
# prevents deep (and pretty useless) backtraces for expansion error
tb = skip_frames(tb, bbdir)
cur = tb
while cur:
cur.tb_next = skip_frames(cur.tb_next, bbdir)
cur = cur.tb_next
logger.error('ExpansionError during parsing %s', value.recipe,
exc_info=(etype, value, tb))
self.shutdown(clean=False)
return False
except Exception as exc:
self.error += 1
etype, value, tb = sys.exc_info()
_, value, _ = sys.exc_info()
if hasattr(value, "recipe"):
logger.error('Unable to parse %s' % value.recipe,
exc_info=(etype, value, exc.traceback))
exc_info=sys.exc_info())
else:
# Most likely, an exception occurred during raising an exception
import traceback

View File

@@ -254,9 +254,16 @@ class CookerDataBuilder(object):
self.data = self.basedata
self.mcdata = {}
def calc_datastore_hashes(self):
data_hash = hashlib.sha256()
data_hash.update(self.data.get_hash().encode('utf-8'))
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
for config in multiconfig:
data_hash.update(self.mcdata[config].get_hash().encode('utf-8'))
self.data_hash = data_hash.hexdigest()
def parseBaseConfiguration(self, worker=False):
mcdata = {}
data_hash = hashlib.sha256()
try:
self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
@@ -279,7 +286,6 @@ class CookerDataBuilder(object):
bb.event.fire(bb.event.ConfigParsed(), self.data)
bb.parse.init_parser(self.data)
data_hash.update(self.data.get_hash().encode('utf-8'))
mcdata[''] = self.data
multiconfig = (self.data.getVar("BBMULTICONFIG") or "").split()
@@ -289,11 +295,9 @@ class CookerDataBuilder(object):
parsed_mcdata = self.parseConfigurationFiles(self.prefiles, self.postfiles, config)
bb.event.fire(bb.event.ConfigParsed(), parsed_mcdata)
mcdata[config] = parsed_mcdata
data_hash.update(parsed_mcdata.get_hash().encode('utf-8'))
if multiconfig:
bb.event.fire(bb.event.MultiConfigParsed(mcdata), self.data)
self.data_hash = data_hash.hexdigest()
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException()
@@ -328,6 +332,7 @@ class CookerDataBuilder(object):
for mc in mcdata:
self.mcdata[mc] = bb.data.createCopy(mcdata[mc])
self.data = self.mcdata['']
self.calc_datastore_hashes()
def reset(self):
# We may not have run parseBaseConfiguration() yet

View File

@@ -293,7 +293,7 @@ def build_dependencies(key, keys, mod_funcs, shelldeps, varflagsexcl, ignored_va
if key in mod_funcs:
exclusions = set()
moddep = bb.codeparser.modulecode_deps[key]
value = handle_contains("", moddep[3], exclusions, d)
value = handle_contains(moddep[4], moddep[3], exclusions, d)
return frozenset((moddep[0] | keys & moddep[1]) - ignored_vars), value
if key[-1] == ']':

View File

@@ -272,12 +272,9 @@ class VariableHistory(object):
return
if 'op' not in loginfo or not loginfo['op']:
loginfo['op'] = 'set'
if 'detail' in loginfo:
loginfo['detail'] = str(loginfo['detail'])
if 'variable' not in loginfo or 'file' not in loginfo:
raise ValueError("record() missing variable or file.")
var = loginfo['variable']
if var not in self.variables:
self.variables[var] = []
if not isinstance(self.variables[var], list):
@@ -336,7 +333,8 @@ class VariableHistory(object):
flag = '[%s] ' % (event['flag'])
else:
flag = ''
o.write("# %s %s:%s%s\n# %s\"%s\"\n" % (event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', event['detail'])))
o.write("# %s %s:%s%s\n# %s\"%s\"\n" % \
(event['op'], event['file'], event['line'], display_func, flag, re.sub('\n', '\n# ', str(event['detail']))))
if len(history) > 1:
o.write("# pre-expansion value:\n")
o.write('# "%s"\n' % (commentVal))
@@ -390,7 +388,7 @@ class VariableHistory(object):
if isset and event['op'] == 'set?':
continue
isset = True
items = d.expand(event['detail']).split()
items = d.expand(str(event['detail'])).split()
for item in items:
# This is a little crude but is belt-and-braces to avoid us
# having to handle every possible operation type specifically

View File

@@ -19,7 +19,6 @@ import sys
import threading
import traceback
import bb.exceptions
import bb.utils
# This is the pid for which we should generate the event. This is set when
@@ -759,13 +758,7 @@ class LogHandler(logging.Handler):
def emit(self, record):
if record.exc_info:
etype, value, tb = record.exc_info
if hasattr(tb, 'tb_next'):
tb = list(bb.exceptions.extract_traceback(tb, context=3))
# Need to turn the value into something the logging system can pickle
record.bb_exc_info = (etype, value, tb)
record.bb_exc_formatted = bb.exceptions.format_exception(etype, value, tb, limit=5)
value = str(value)
record.bb_exc_formatted = traceback.format_exception(*record.exc_info)
record.exc_info = None
fire(record, None)

View File

@@ -1,96 +0,0 @@
#
# Copyright BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
import inspect
import traceback
import bb.namedtuple_with_abc
from collections import namedtuple
class TracebackEntry(namedtuple.abc):
"""Pickleable representation of a traceback entry"""
_fields = 'filename lineno function args code_context index'
_header = ' File "{0.filename}", line {0.lineno}, in {0.function}{0.args}'
def format(self, formatter=None):
if not self.code_context:
return self._header.format(self) + '\n'
formatted = [self._header.format(self) + ':\n']
for lineindex, line in enumerate(self.code_context):
if formatter:
line = formatter(line)
if lineindex == self.index:
formatted.append(' >%s' % line)
else:
formatted.append(' %s' % line)
return formatted
def __str__(self):
return ''.join(self.format())
def _get_frame_args(frame):
"""Get the formatted arguments and class (if available) for a frame"""
arginfo = inspect.getargvalues(frame)
try:
if not arginfo.args:
return '', None
# There have been reports from the field of python 2.6 which doesn't
# return a namedtuple here but simply a tuple so fallback gracefully if
# args isn't present.
except AttributeError:
return '', None
firstarg = arginfo.args[0]
if firstarg == 'self':
self = arginfo.locals['self']
cls = self.__class__.__name__
arginfo.args.pop(0)
del arginfo.locals['self']
else:
cls = None
formatted = inspect.formatargvalues(*arginfo)
return formatted, cls
def extract_traceback(tb, context=1):
frames = inspect.getinnerframes(tb, context)
for frame, filename, lineno, function, code_context, index in frames:
formatted_args, cls = _get_frame_args(frame)
if cls:
function = '%s.%s' % (cls, function)
yield TracebackEntry(filename, lineno, function, formatted_args,
code_context, index)
def format_extracted(extracted, formatter=None, limit=None):
if limit:
extracted = extracted[-limit:]
formatted = []
for tracebackinfo in extracted:
formatted.extend(tracebackinfo.format(formatter))
return formatted
def format_exception(etype, value, tb, context=1, limit=None, formatter=None):
formatted = ['Traceback (most recent call last):\n']
if hasattr(tb, 'tb_next'):
tb = extract_traceback(tb, context)
formatted.extend(format_extracted(tb, formatter, limit))
formatted.extend(traceback.format_exception_only(etype, value))
return formatted
def to_string(exc):
if isinstance(exc, SystemExit):
if not isinstance(exc.code, str):
return 'Exited with "%d"' % exc.code
return str(exc)

View File

@@ -499,30 +499,30 @@ def fetcher_init(d):
Calls before this must not hit the cache.
"""
revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
try:
# fetcher_init is called multiple times, so make sure we only save the
# revs the first time it is called.
if not bb.fetch2.saved_headrevs:
bb.fetch2.saved_headrevs = dict(revs)
except:
pass
with bb.persist_data.persist('BB_URI_HEADREVS', d) as revs:
try:
# fetcher_init is called multiple times, so make sure we only save the
# revs the first time it is called.
if not bb.fetch2.saved_headrevs:
bb.fetch2.saved_headrevs = dict(revs)
except:
pass
# When to drop SCM head revisions controlled by user policy
srcrev_policy = d.getVar('BB_SRCREV_POLICY') or "clear"
if srcrev_policy == "cache":
logger.debug("Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
elif srcrev_policy == "clear":
logger.debug("Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
revs.clear()
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
# When to drop SCM head revisions controlled by user policy
srcrev_policy = d.getVar('BB_SRCREV_POLICY') or "clear"
if srcrev_policy == "cache":
logger.debug("Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
elif srcrev_policy == "clear":
logger.debug("Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
revs.clear()
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
_checksum_cache.init_cache(d.getVar("BB_CACHEDIR"))
_checksum_cache.init_cache(d.getVar("BB_CACHEDIR"))
for m in methods:
if hasattr(m, "init"):
m.init(d)
for m in methods:
if hasattr(m, "init"):
m.init(d)
def fetcher_parse_save():
_checksum_cache.save_extras()
@@ -536,8 +536,8 @@ def fetcher_compare_revisions(d):
when bitbake was started and return true if they have changed.
"""
headrevs = dict(bb.persist_data.persist('BB_URI_HEADREVS', d))
return headrevs != bb.fetch2.saved_headrevs
with dict(bb.persist_data.persist('BB_URI_HEADREVS', d)) as headrevs:
return headrevs != bb.fetch2.saved_headrevs
def mirror_from_string(data):
mirrors = (data or "").replace('\\n',' ').split()
@@ -1317,7 +1317,7 @@ class FetchData(object):
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs"]:
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az", "crate", "gs", "gomod"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
@@ -1606,7 +1606,7 @@ class FetchMethod(object):
if urlpath.find("/") != -1:
destdir = urlpath.rsplit("/", 1)[0] + '/'
bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir))
cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir)
cmd = 'cp --force --preserve=timestamps --no-dereference --recursive -H "%s" "%s"' % (file, destdir)
else:
urldata.unpack_tracer.unpack("archive-extract", unpackdir)
@@ -1662,13 +1662,13 @@ class FetchMethod(object):
if not hasattr(self, "_latest_revision"):
raise ParameterError("The fetcher for this URL does not support _latest_revision", ud.url)
revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
key = self.generate_revision_key(ud, d, name)
try:
return revs[key]
except KeyError:
revs[key] = rev = self._latest_revision(ud, d, name)
return rev
with bb.persist_data.persist('BB_URI_HEADREVS', d) as revs:
key = self.generate_revision_key(ud, d, name)
try:
return revs[key]
except KeyError:
revs[key] = rev = self._latest_revision(ud, d, name)
return rev
def sortable_revision(self, ud, d, name):
latest_rev = self._build_revision(ud, d, name)
@@ -2088,6 +2088,7 @@ from . import npmsw
from . import az
from . import crate
from . import gcp
from . import gomod
methods.append(local.Local())
methods.append(wget.Wget())
@@ -2110,3 +2111,5 @@ methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())
methods.append(crate.Crate())
methods.append(gcp.GCP())
methods.append(gomod.GoMod())
methods.append(gomod.GoModGit())

View File

@@ -108,7 +108,7 @@ class ClearCase(FetchMethod):
ud.module.replace("/", "."),
ud.label.replace("/", "."))
ud.viewname = "%s-view%s" % (ud.identifier, d.getVar("DATETIME", d, True))
ud.viewname = "%s-view%s" % (ud.identifier, d.getVar("DATETIME"))
ud.csname = "%s-config-spec" % (ud.identifier)
ud.ccasedir = os.path.join(d.getVar("DL_DIR"), ud.type)
ud.viewdir = os.path.join(ud.ccasedir, ud.viewname)
@@ -196,7 +196,7 @@ class ClearCase(FetchMethod):
def need_update(self, ud, d):
if ("LATEST" in ud.label) or (ud.customspec and "LATEST" in ud.customspec):
ud.identifier += "-%s" % d.getVar("DATETIME",d, True)
ud.identifier += "-%s" % d.getVar("DATETIME")
return True
if os.path.exists(ud.localpath):
return False

View File

@@ -70,6 +70,7 @@ class Crate(Wget):
host = 'crates.io/api/v1/crates'
ud.url = "https://%s/%s/%s/download" % (host, name, version)
ud.versionsurl = "https://%s/%s/versions" % (host, name)
ud.parm['downloadfilename'] = "%s-%s.crate" % (name, version)
if 'name' not in ud.parm:
ud.parm['name'] = '%s-%s' % (name, version)
@@ -139,3 +140,11 @@ class Crate(Wget):
mdpath = os.path.join(bbpath, cratepath, mdfile)
with open(mdpath, "w") as f:
json.dump(metadata, f)
def latest_versionstring(self, ud, d):
from functools import cmp_to_key
json_data = json.loads(self._fetch_index(ud.versionsurl, ud, d))
versions = [(0, i["num"], "") for i in json_data["versions"]]
versions = sorted(versions, key=cmp_to_key(bb.utils.vercmp))
return (versions[-1][1], "")

View File

@@ -47,7 +47,6 @@ class GCP(FetchMethod):
ud.basename = os.path.basename(ud.path)
ud.localfile = d.expand(urllib.parse.unquote(ud.basename))
ud.basecmd = "gsutil stat"
def get_gcp_client(self):
from google.cloud import storage
@@ -58,17 +57,20 @@ class GCP(FetchMethod):
Fetch urls using the GCP API.
Assumes localpath was called first.
"""
from google.api_core.exceptions import NotFound
logger.debug2(f"Trying to download gs://{ud.host}{ud.path} to {ud.localpath}")
if self.gcp_client is None:
self.get_gcp_client()
bb.fetch2.check_network_access(d, ud.basecmd, f"gs://{ud.host}{ud.path}")
runfetchcmd("%s %s" % (ud.basecmd, f"gs://{ud.host}{ud.path}"), d)
bb.fetch2.check_network_access(d, "blob.download_to_filename", f"gs://{ud.host}{ud.path}")
# Path sometimes has leading slash, so strip it
path = ud.path.lstrip("/")
blob = self.gcp_client.bucket(ud.host).blob(path)
blob.download_to_filename(ud.localpath)
try:
blob.download_to_filename(ud.localpath)
except NotFound:
raise FetchError("The GCP API threw a NotFound exception")
# Additional sanity checks copied from the wget class (although there
# are no known issues which mean these are required, treat the GCP API
@@ -90,8 +92,7 @@ class GCP(FetchMethod):
if self.gcp_client is None:
self.get_gcp_client()
bb.fetch2.check_network_access(d, ud.basecmd, f"gs://{ud.host}{ud.path}")
runfetchcmd("%s %s" % (ud.basecmd, f"gs://{ud.host}{ud.path}"), d)
bb.fetch2.check_network_access(d, "gcp_client.bucket(ud.host).blob(path).exists()", f"gs://{ud.host}{ud.path}")
# Path sometimes has leading slash, so strip it
path = ud.path.lstrip("/")

View File

@@ -262,7 +262,7 @@ class Git(FetchMethod):
for name in ud.names:
ud.unresolvedrev[name] = 'HEAD'
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all"
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all -c clone.defaultRemoteName=origin"
write_tarballs = d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0"
ud.write_tarballs = write_tarballs != "0" or ud.rebaseable
@@ -551,18 +551,31 @@ class Git(FetchMethod):
runfetchcmd("touch %s.done" % ud.fullmirror, d)
def clone_shallow_local(self, ud, dest, d):
"""Clone the repo and make it shallow.
"""
Shallow fetch from ud.clonedir (${DL_DIR}/git2/<gitrepo> by default):
- For BB_GIT_SHALLOW_DEPTH: git fetch --depth <depth> rev
- For BB_GIT_SHALLOW_REVS: git fetch --shallow-exclude=<revs> rev
"""
The upstream url of the new clone isn't set at this time, as it'll be
set correctly when unpacked."""
runfetchcmd("%s clone %s %s %s" % (ud.basecmd, ud.cloneflags, ud.clonedir, dest), d)
bb.utils.mkdirhier(dest)
init_cmd = "%s init -q" % ud.basecmd
if ud.bareclone:
init_cmd += " --bare"
runfetchcmd(init_cmd, d, workdir=dest)
runfetchcmd("%s remote add origin %s" % (ud.basecmd, ud.clonedir), d, workdir=dest)
# Check the histories which should be excluded
shallow_exclude = ''
for revision in ud.shallow_revs:
shallow_exclude += " --shallow-exclude=%s" % revision
to_parse, shallow_branches = [], []
for name in ud.names:
revision = ud.revisions[name]
depth = ud.shallow_depths[name]
if depth:
to_parse.append('%s~%d^{}' % (revision, depth - 1))
# The --depth and --shallow-exclude can't be used together
if depth and shallow_exclude:
raise bb.fetch2.FetchError("BB_GIT_SHALLOW_REVS is set, but BB_GIT_SHALLOW_DEPTH is not 0.")
# For nobranch, we need a ref, otherwise the commits will be
# removed, and for non-nobranch, we truncate the branch to our
@@ -575,36 +588,49 @@ class Git(FetchMethod):
else:
ref = "refs/remotes/origin/%s" % branch
shallow_branches.append(ref)
fetch_cmd = "%s fetch origin %s" % (ud.basecmd, revision)
if depth:
fetch_cmd += " --depth %s" % depth
if shallow_exclude:
fetch_cmd += shallow_exclude
# Advertise the revision for lower version git such as 2.25.1:
# error: Server does not allow request for unadvertised object.
# The ud.clonedir is a local temporary dir, will be removed when
# fetch is done, so we can do anything on it.
adv_cmd = 'git branch -f advertise-%s %s' % (revision, revision)
runfetchcmd(adv_cmd, d, workdir=ud.clonedir)
runfetchcmd(fetch_cmd, d, workdir=dest)
runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest)
# Map srcrev+depths to revisions
parsed_depths = runfetchcmd("%s rev-parse %s" % (ud.basecmd, " ".join(to_parse)), d, workdir=dest)
# Resolve specified revisions
parsed_revs = runfetchcmd("%s rev-parse %s" % (ud.basecmd, " ".join('"%s^{}"' % r for r in ud.shallow_revs)), d, workdir=dest)
shallow_revisions = parsed_depths.splitlines() + parsed_revs.splitlines()
# Apply extra ref wildcards
all_refs = runfetchcmd('%s for-each-ref "--format=%%(refname)"' % ud.basecmd,
d, workdir=dest).splitlines()
all_refs_remote = runfetchcmd("%s ls-remote origin 'refs/*'" % ud.basecmd, \
d, workdir=dest).splitlines()
all_refs = []
for line in all_refs_remote:
all_refs.append(line.split()[-1])
extra_refs = []
for r in ud.shallow_extra_refs:
if not ud.bareclone:
r = r.replace('refs/heads/', 'refs/remotes/origin/')
if '*' in r:
matches = filter(lambda a: fnmatch.fnmatchcase(a, r), all_refs)
shallow_branches.extend(matches)
extra_refs.extend(matches)
else:
shallow_branches.append(r)
extra_refs.append(r)
# Make the repository shallow
shallow_cmd = [self.make_shallow_path, '-s']
for b in shallow_branches:
shallow_cmd.append('-r')
shallow_cmd.append(b)
shallow_cmd.extend(shallow_revisions)
runfetchcmd(subprocess.list2cmdline(shallow_cmd), d, workdir=dest)
for ref in extra_refs:
ref_fetch = os.path.basename(ref)
runfetchcmd("%s fetch origin --depth 1 %s" % (ud.basecmd, ref_fetch), d, workdir=dest)
revision = runfetchcmd("%s rev-parse FETCH_HEAD" % ud.basecmd, d, workdir=dest)
runfetchcmd("%s update-ref %s %s" % (ud.basecmd, ref, revision), d, workdir=dest)
# The url is local ud.clonedir, set it to upstream one
repourl = self._get_repo_url(ud)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=dest)
def unpack(self, ud, destdir, d):
""" unpack the downloaded src to destdir"""
@@ -926,9 +952,8 @@ class Git(FetchMethod):
commits = None
else:
if not os.path.exists(rev_file) or not os.path.getsize(rev_file):
from pipes import quote
commits = bb.fetch2.runfetchcmd(
"git rev-list %s -- | wc -l" % quote(rev),
"git rev-list %s -- | wc -l" % shlex.quote(rev),
d, quiet=True).strip().lstrip('0')
if commits:
open(rev_file, "w").write("%d\n" % int(commits))

View File

@@ -147,6 +147,19 @@ class GitSM(Git):
return submodules != []
def call_process_submodules(self, ud, d, extra_check, subfunc):
# If we're using a shallow mirror tarball it needs to be
# unpacked temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and extra_check:
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
try:
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, subfunc, d)
finally:
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, subfunc, d)
def need_update(self, ud, d):
if Git.need_update(self, ud, d):
return True
@@ -164,15 +177,7 @@ class GitSM(Git):
logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e)))
need_update_result = True
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and not os.path.exists(ud.clonedir):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, need_update_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, need_update_submodule, d)
self.call_process_submodules(ud, d, not os.path.exists(ud.clonedir), need_update_submodule)
if need_update_list:
logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list)))
@@ -195,16 +200,7 @@ class GitSM(Git):
raise
Git.download(self, ud, d)
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, download_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, download_submodule, d)
self.call_process_submodules(ud, d, self.need_update(ud, d), download_submodule)
def unpack(self, ud, destdir, d):
def unpack_submodules(ud, url, module, modpath, workdir, d):
@@ -263,14 +259,6 @@ class GitSM(Git):
newfetch = Fetch([url], d, cache=False)
urldata.extend(newfetch.expanded_urldata())
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and ud.method.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
subprocess.check_call("tar -xzf %s" % ud.fullshallow, cwd=tmpdir, shell=True)
self.process_submodules(ud, tmpdir, add_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, add_submodule, d)
self.call_process_submodules(ud, d, ud.method.need_update(ud, d), add_submodule)
return urldata

View File

@@ -0,0 +1,268 @@
"""
BitBake 'Fetch' implementation for Go modules
The gomod/gomodgit fetchers are used to download Go modules to the module cache
from a module proxy or directly from a version control repository.
Example SRC_URI:
SRC_URI += "gomod://golang.org/x/net;version=v0.9.0;sha256sum=..."
SRC_URI += "gomodgit://golang.org/x/net;version=v0.9.0;repo=go.googlesource.com/net;srcrev=..."
Required SRC_URI parameters:
- version
The version of the module.
Optional SRC_URI parameters:
- mod
Fetch and unpack the go.mod file only instead of the complete module.
The go command may need to download go.mod files for many different modules
when computing the build list, and go.mod files are much smaller than
module zip files.
The default is "0", set mod=1 for the go.mod file only.
- sha256sum
The checksum of the module zip file, or the go.mod file in case of fetching
only the go.mod file. Alternatively, set the SRC_URI varible flag for
"module@version.sha256sum".
- protocol
The method used when fetching directly from a version control repository.
The default is "https" for git.
- repo
The URL when fetching directly from a version control repository. Required
when the URL is different from the module path.
- srcrev
The revision identifier used when fetching directly from a version control
repository. Alternatively, set the SRCREV varible for "module@version".
- subdir
The module subdirectory when fetching directly from a version control
repository. Required when the module is not located in the root of the
repository.
Related variables:
- GO_MOD_PROXY
The module proxy used by the fetcher.
- GO_MOD_CACHE_DIR
The directory where the module cache is located.
This must match the exported GOMODCACHE variable for the go command to find
the downloaded modules.
See the Go modules reference, https://go.dev/ref/mod, for more information
about the module cache, module proxies and version control systems.
"""
import hashlib
import os
import re
import shutil
import subprocess
import zipfile
import bb
from bb.fetch2 import FetchError
from bb.fetch2 import MissingParameterError
from bb.fetch2 import runfetchcmd
from bb.fetch2 import subprocess_setup
from bb.fetch2.git import Git
from bb.fetch2.wget import Wget
def escape(path):
"""Escape capital letters using exclamation points."""
return re.sub(r'([A-Z])', lambda m: '!' + m.group(1).lower(), path)
class GoMod(Wget):
"""Class to fetch Go modules from a Go module proxy via wget"""
def supports(self, ud, d):
"""Check to see if a given URL is for this fetcher."""
return ud.type == 'gomod'
def urldata_init(self, ud, d):
"""Set up to download the module from the module proxy.
Set up to download the module zip file to the module cache directory
and unpack the go.mod file (unless downloading only the go.mod file):
cache/download/<module>/@v/<version>.zip: The module zip file.
cache/download/<module>/@v/<version>.mod: The go.mod file.
"""
proxy = d.getVar('GO_MOD_PROXY') or 'proxy.golang.org'
moddir = d.getVar('GO_MOD_CACHE_DIR') or 'pkg/mod'
if 'version' not in ud.parm:
raise MissingParameterError('version', ud.url)
module = ud.host
if ud.path != '/':
module += ud.path
ud.parm['module'] = module
# Set URL and filename for wget download
path = escape(module + '/@v/' + ud.parm['version'])
if ud.parm.get('mod', '0') == '1':
path += '.mod'
else:
path += '.zip'
ud.parm['unpack'] = '0'
ud.url = bb.fetch2.encodeurl(
('https', proxy, '/' + path, None, None, None))
ud.parm['downloadfilename'] = path
# Set name parameter if sha256sum is set in recipe
name = f"{module}@{ud.parm['version']}"
if d.getVarFlag('SRC_URI', name + '.sha256sum'):
ud.parm['name'] = name
# Set subdir for unpack
ud.parm['subdir'] = os.path.join(moddir, 'cache/download',
os.path.dirname(path))
super().urldata_init(ud, d)
def unpack(self, ud, rootdir, d):
"""Unpack the module in the module cache."""
# Unpack the module zip file or go.mod file
super().unpack(ud, rootdir, d)
if ud.localpath.endswith('.zip'):
# Unpack the go.mod file from the zip file
module = ud.parm['module']
unpackdir = os.path.join(rootdir, ud.parm['subdir'])
name = os.path.basename(ud.localpath).rsplit('.', 1)[0] + '.mod'
bb.note(f"Unpacking {name} to {unpackdir}/")
with zipfile.ZipFile(ud.localpath) as zf:
with open(os.path.join(unpackdir, name), mode='wb') as mf:
try:
f = module + '@' + ud.parm['version'] + '/go.mod'
shutil.copyfileobj(zf.open(f), mf)
except KeyError:
# If the module does not have a go.mod file, synthesize
# one containing only a module statement.
mf.write(f'module {module}\n'.encode())
class GoModGit(Git):
"""Class to fetch Go modules directly from a git repository"""
def supports(self, ud, d):
"""Check to see if a given URL is for this fetcher."""
return ud.type == 'gomodgit'
def urldata_init(self, ud, d):
"""Set up to download the module from the git repository.
Set up to download the git repository to the module cache directory and
unpack the module zip file and the go.mod file:
cache/vcs/<hash>: The bare git repository.
cache/download/<module>/@v/<version>.zip: The module zip file.
cache/download/<module>/@v/<version>.mod: The go.mod file.
"""
moddir = d.getVar('GO_MOD_CACHE_DIR') or 'pkg/mod'
if 'version' not in ud.parm:
raise MissingParameterError('version', ud.url)
module = ud.host
if ud.path != '/':
module += ud.path
ud.parm['module'] = module
# Set host, path and srcrev for git download
if 'repo' in ud.parm:
repo = ud.parm['repo']
idx = repo.find('/')
if idx != -1:
ud.host = repo[:idx]
ud.path = repo[idx:]
else:
ud.host = repo
ud.path = ''
if 'protocol' not in ud.parm:
ud.parm['protocol'] = 'https'
name = f"{module}@{ud.parm['version']}"
ud.names = [name]
srcrev = d.getVar('SRCREV_' + name)
if srcrev:
if 'srcrev' not in ud.parm:
ud.parm['srcrev'] = srcrev
else:
if 'srcrev' in ud.parm:
d.setVar('SRCREV_' + name, ud.parm['srcrev'])
if 'branch' not in ud.parm:
ud.parm['nobranch'] = '1'
# Set subpath, subdir and bareclone for git unpack
if 'subdir' in ud.parm:
ud.parm['subpath'] = ud.parm['subdir']
key = f"git3:{ud.parm['protocol']}://{ud.host}{ud.path}".encode()
ud.parm['key'] = key
ud.parm['subdir'] = os.path.join(moddir, 'cache/vcs',
hashlib.sha256(key).hexdigest())
ud.parm['bareclone'] = '1'
super().urldata_init(ud, d)
def unpack(self, ud, rootdir, d):
"""Unpack the module in the module cache."""
# Unpack the bare git repository
super().unpack(ud, rootdir, d)
moddir = d.getVar('GO_MOD_CACHE_DIR') or 'pkg/mod'
# Create the info file
module = ud.parm['module']
repodir = os.path.join(rootdir, ud.parm['subdir'])
with open(repodir + '.info', 'wb') as f:
f.write(ud.parm['key'])
# Unpack the go.mod file from the repository
unpackdir = os.path.join(rootdir, moddir, 'cache/download',
escape(module), '@v')
bb.utils.mkdirhier(unpackdir)
srcrev = ud.parm['srcrev']
version = ud.parm['version']
escaped_version = escape(version)
cmd = f"git ls-tree -r --name-only '{srcrev}'"
if 'subpath' in ud.parm:
cmd += f" '{ud.parm['subpath']}'"
files = runfetchcmd(cmd, d, workdir=repodir).split()
name = escaped_version + '.mod'
bb.note(f"Unpacking {name} to {unpackdir}/")
with open(os.path.join(unpackdir, name), mode='wb') as mf:
f = 'go.mod'
if 'subpath' in ud.parm:
f = os.path.join(ud.parm['subpath'], f)
if f in files:
cmd = ['git', 'cat-file', 'blob', srcrev + ':' + f]
subprocess.check_call(cmd, stdout=mf, cwd=repodir,
preexec_fn=subprocess_setup)
else:
# If the module does not have a go.mod file, synthesize one
# containing only a module statement.
mf.write(f'module {module}\n'.encode())
# Synthesize the module zip file from the repository
name = escaped_version + '.zip'
bb.note(f"Unpacking {name} to {unpackdir}/")
with zipfile.ZipFile(os.path.join(unpackdir, name), mode='w') as zf:
prefix = module + '@' + version + '/'
for f in files:
cmd = ['git', 'cat-file', 'blob', srcrev + ':' + f]
data = subprocess.check_output(cmd, cwd=repodir,
preexec_fn=subprocess_setup)
zf.writestr(prefix + f, data)

View File

@@ -42,11 +42,12 @@ from bb.utils import is_semver
def npm_package(package):
"""Convert the npm package name to remove unsupported character"""
# Scoped package names (with the @) use the same naming convention
# as the 'npm pack' command.
# For scoped package names ('@user/package') the '/' is replaced by a '-'.
# This is similar to what 'npm pack' does, but 'npm pack' also strips the
# leading '@', which can lead to ambiguous package names.
name = re.sub("/", "-", package)
name = name.lower()
name = re.sub(r"[^\-a-z0-9]", "", name)
name = re.sub(r"[^\-a-z0-9@]", "", name)
name = name.strip("-")
return name

View File

@@ -97,7 +97,7 @@ class NpmShrinkWrap(FetchMethod):
integrity = params.get("integrity", None)
resolved = params.get("resolved", None)
version = params.get("version", None)
version = params.get("version", resolved)
# Handle registry sources
if is_semver(version) and integrity:
@@ -184,6 +184,7 @@ class NpmShrinkWrap(FetchMethod):
uri = URI("git://" + str(groups["url"]))
uri.params["protocol"] = str(groups["protocol"])
uri.params["rev"] = str(groups["rev"])
uri.params["nobranch"] = "1"
uri.params["destsuffix"] = destsuffix
url = str(uri)
@@ -268,7 +269,7 @@ class NpmShrinkWrap(FetchMethod):
def unpack(self, ud, rootdir, d):
"""Unpack the downloaded dependencies"""
destdir = d.getVar("S")
destdir = rootdir
destsuffix = ud.parm.get("destsuffix")
if destsuffix:
destdir = os.path.join(rootdir, destsuffix)

View File

@@ -210,3 +210,6 @@ class Svn(FetchMethod):
def _build_revision(self, ud, d):
return ud.revision
def supports_checksum(self, urldata):
return False

View File

@@ -87,7 +87,7 @@ class Wget(FetchMethod):
if not ud.localfile:
ud.localfile = d.expand(urllib.parse.unquote(ud.host + ud.path).replace("/", "."))
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 30"
self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100"
if ud.type == 'ftp' or ud.type == 'ftps':
self.basecmd += " --passive-ftp"
@@ -108,7 +108,8 @@ class Wget(FetchMethod):
fetchcmd = self.basecmd
localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile) + ".tmp"
dldir = os.path.realpath(d.getVar("DL_DIR"))
localpath = os.path.join(dldir, ud.localfile) + ".tmp"
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
@@ -128,12 +129,21 @@ class Wget(FetchMethod):
uri = ud.url.split(";")[0]
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again..
fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % uri)
fetchcmd += " -c -P " + dldir + " '" + uri + "'"
else:
fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % uri)
fetchcmd += " -P " + dldir + " '" + uri + "'"
self._runwget(ud, d, fetchcmd, False)
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
if not os.path.exists(localpath):
raise FetchError("The fetch command returned success for url %s but %s doesn't exist?!" % (uri, localpath), uri)
if os.path.getsize(localpath) == 0:
os.remove(localpath)
raise FetchError("The fetch of %s resulted in a zero size file?! Deleting and failing since this isn't right." % (uri), uri)
# Try and verify any checksum now, meaning if it isn't correct, we don't remove the
# original file, which might be a race (imagine two recipes referencing the same
# source, one with an incorrect checksum)
@@ -143,15 +153,6 @@ class Wget(FetchMethod):
# Our lock prevents multiple writers but mirroring code may grab incomplete files
os.rename(localpath, localpath[:-4])
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
if not os.path.exists(ud.localpath):
raise FetchError("The fetch command returned success for url %s but %s doesn't exist?!" % (uri, ud.localpath), uri)
if os.path.getsize(ud.localpath) == 0:
os.remove(ud.localpath)
raise FetchError("The fetch of %s resulted in a zero size file?! Deleting and failing since this isn't right." % (uri), uri)
return True
def checkstatus(self, fetch, ud, d, try_again=True):
@@ -243,7 +244,12 @@ class Wget(FetchMethod):
fetch.connection_cache.remove_connection(h.host, h.port)
raise urllib.error.URLError(err)
else:
r = h.getresponse()
try:
r = h.getresponse()
except TimeoutError as e:
if fetch.connection_cache:
fetch.connection_cache.remove_connection(h.host, h.port)
raise TimeoutError(e)
# Pick apart the HTTPResponse object to get the addinfourl
# object initialized properly.
@@ -370,7 +376,7 @@ class Wget(FetchMethod):
except (FileNotFoundError, netrc.NetrcParseError):
pass
with opener.open(r, timeout=30) as response:
with opener.open(r, timeout=100) as response:
pass
except (urllib.error.URLError, ConnectionResetError, TimeoutError) as e:
if try_again:

View File

@@ -89,10 +89,6 @@ class BBLogFormatter(logging.Formatter):
msg = logging.Formatter.format(self, record)
if hasattr(record, 'bb_exc_formatted'):
msg += '\n' + ''.join(record.bb_exc_formatted)
elif hasattr(record, 'bb_exc_info'):
etype, value, tb = record.bb_exc_info
formatted = bb.exceptions.format_exception(etype, value, tb, limit=5)
msg += '\n' + ''.join(formatted)
return msg
def colorize(self, record):

View File

@@ -49,20 +49,23 @@ class SkipPackage(SkipRecipe):
__mtime_cache = {}
def cached_mtime(f):
if f not in __mtime_cache:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
return __mtime_cache[f]
def cached_mtime_noerror(f):
if f not in __mtime_cache:
try:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
except OSError:
return 0
return __mtime_cache[f]
def check_mtime(f, mtime):
try:
current_mtime = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
current_mtime = (res.st_mtime_ns, res.st_size, res.st_ino)
__mtime_cache[f] = current_mtime
except OSError:
current_mtime = 0
@@ -70,7 +73,8 @@ def check_mtime(f, mtime):
def update_mtime(f):
try:
__mtime_cache[f] = os.stat(f)[stat.ST_MTIME]
res = os.stat(f)
__mtime_cache[f] = (res.st_mtime_ns, res.st_size, res.st_ino)
except OSError:
if f in __mtime_cache:
del __mtime_cache[f]

View File

@@ -240,14 +240,16 @@ class ExportFuncsNode(AstNode):
data.setVar(func, sentinel + " " + calledfunc + "\n", parsing=True)
class AddTaskNode(AstNode):
def __init__(self, filename, lineno, func, before, after):
def __init__(self, filename, lineno, tasks, before, after):
AstNode.__init__(self, filename, lineno)
self.func = func
self.tasks = tasks
self.before = before
self.after = after
def eval(self, data):
bb.build.addtask(self.func, self.before, self.after, data)
tasks = self.tasks.split()
for task in tasks:
bb.build.addtask(task, self.before, self.after, data)
class DelTaskNode(AstNode):
def __init__(self, filename, lineno, tasks):
@@ -348,21 +350,11 @@ def handlePythonMethod(statements, filename, lineno, funcname, modulename, body)
def handleExportFuncs(statements, filename, lineno, m, classname):
statements.append(ExportFuncsNode(filename, lineno, m.group(1), classname))
def handleAddTask(statements, filename, lineno, m):
func = m.group("func")
before = m.group("before")
after = m.group("after")
if func is None:
return
def handleAddTask(statements, filename, lineno, tasks, before, after):
statements.append(AddTaskNode(filename, lineno, tasks, before, after))
statements.append(AddTaskNode(filename, lineno, func, before, after))
def handleDelTask(statements, filename, lineno, m):
func = m.group(1)
if func is None:
return
statements.append(DelTaskNode(filename, lineno, func))
def handleDelTask(statements, filename, lineno, tasks):
statements.append(DelTaskNode(filename, lineno, tasks))
def handleBBHandlers(statements, filename, lineno, m):
statements.append(BBHandlerNode(filename, lineno, m.group(1)))

View File

@@ -23,8 +23,8 @@ __func_start_regexp__ = re.compile(r"(((?P<py>python(?=(\s|\()))|(?P<fr>faker
__inherit_regexp__ = re.compile(r"inherit\s+(.+)" )
__inherit_def_regexp__ = re.compile(r"inherit_defer\s+(.+)" )
__export_func_regexp__ = re.compile(r"EXPORT_FUNCTIONS\s+(.+)" )
__addtask_regexp__ = re.compile(r"addtask\s+(?P<func>\w+)\s*((before\s*(?P<before>((.*(?=after))|(.*))))|(after\s*(?P<after>((.*(?=before))|(.*)))))*")
__deltask_regexp__ = re.compile(r"deltask\s+(.+)")
__addtask_regexp__ = re.compile(r"addtask\s+([^#\n]+)(?P<comment>#.*|.*?)")
__deltask_regexp__ = re.compile(r"deltask\s+([^#\n]+)(?P<comment>#.*|.*?)")
__addhandler_regexp__ = re.compile(r"addhandler\s+(.+)" )
__def_regexp__ = re.compile(r"def\s+(\w+).*:" )
__python_func_regexp__ = re.compile(r"(\s+.*)|(^$)|(^#)" )
@@ -239,29 +239,38 @@ def feeder(lineno, s, fn, root, statements, eof=False):
m = __addtask_regexp__.match(s)
if m:
if len(m.group().split()) == 2:
# Check and warn for "addtask task1 task2"
m2 = re.match(r"addtask\s+(?P<func>\w+)(?P<ignores>.*)", s)
if m2 and m2.group('ignores'):
logger.warning('addtask ignored: "%s"' % m2.group('ignores'))
after = ""
before = ""
# Check and warn for "addtask task1 before task2 before task3", the
# similar to "after"
# This code splits on 'before' and 'after' instead of on whitespace so we can defer
# evaluation to as late as possible.
tasks = m.group(1).split(" before ")[0].split(" after ")[0]
for exp in m.group(1).split(" before "):
exp2 = exp.split(" after ")
if len(exp2) > 1:
after = after + " ".join(exp2[1:])
for exp in m.group(1).split(" after "):
exp2 = exp.split(" before ")
if len(exp2) > 1:
before = before + " ".join(exp2[1:])
# Check and warn for having task with a keyword as part of task name
taskexpression = s.split()
for word in ('before', 'after'):
if taskexpression.count(word) > 1:
logger.warning("addtask contained multiple '%s' keywords, only one is supported" % word)
# Check and warn for having task with exprssion as part of task name
for te in taskexpression:
if any( ( "%s_" % keyword ) in te for keyword in bb.data_smart.__setvar_keyword__ ):
raise ParseError("Task name '%s' contains a keyword which is not recommended/supported.\nPlease rename the task not to include the keyword.\n%s" % (te, ("\n".join(map(str, bb.data_smart.__setvar_keyword__)))), fn)
ast.handleAddTask(statements, fn, lineno, m)
if tasks is not None:
ast.handleAddTask(statements, fn, lineno, tasks, before, after)
return
m = __deltask_regexp__.match(s)
if m:
ast.handleDelTask(statements, fn, lineno, m)
task = m.group(1)
if task is not None:
ast.handleDelTask(statements, fn, lineno, task)
return
m = __addhandler_regexp__.match(s)

View File

@@ -154,6 +154,7 @@ class SQLTable(collections.abc.MutableMapping):
def __exit__(self, *excinfo):
self.connection.__exit__(*excinfo)
self.connection.close()
@_Decorators.retry()
@_Decorators.transaction

View File

@@ -14,6 +14,7 @@ import os
import sys
import stat
import errno
import itertools
import logging
import re
import bb
@@ -1273,27 +1274,41 @@ class RunQueueData:
bb.parse.siggen.set_setscene_tasks(self.runq_setscene_tids)
starttime = time.time()
lasttime = starttime
# Iterate over the task list and call into the siggen code
dealtwith = set()
todeal = set(self.runtaskentries)
while todeal:
ready = set()
for tid in todeal.copy():
if not (self.runtaskentries[tid].depends - dealtwith):
dealtwith.add(tid)
todeal.remove(tid)
self.prepare_task_hash(tid)
bb.event.check_for_interrupts(self.cooker.data)
self.runtaskentries[tid].taskhash_deps = bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
# get_taskhash for a given tid *must* be called before get_unihash* below
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
ready.add(tid)
unihashes = bb.parse.siggen.get_unihashes(ready)
for tid in ready:
dealtwith.add(tid)
todeal.remove(tid)
self.runtaskentries[tid].unihash = unihashes[tid]
bb.event.check_for_interrupts(self.cooker.data)
if time.time() > (lasttime + 30):
lasttime = time.time()
hashequiv_logger.verbose("Initial setup loop progress: %s of %s in %s" % (len(todeal), len(self.runtaskentries), lasttime - starttime))
endtime = time.time()
if (endtime-starttime > 60):
hashequiv_logger.verbose("Initial setup loop took: %s" % (endtime-starttime))
bb.parse.siggen.writeout_file_checksum_cache()
#self.dump_data()
return len(self.runtaskentries)
def prepare_task_hash(self, tid):
bb.parse.siggen.prep_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
self.runtaskentries[tid].hash = bb.parse.siggen.get_taskhash(tid, self.runtaskentries[tid].depends, self.dataCaches)
self.runtaskentries[tid].unihash = bb.parse.siggen.get_unihash(tid)
def dump_data(self):
"""
Dump some debug information on the internal data structures
@@ -2175,12 +2190,20 @@ class RunQueueExecute:
if not hasattr(self, "sorted_setscene_tids"):
# Don't want to sort this set every execution
self.sorted_setscene_tids = sorted(self.rqdata.runq_setscene_tids)
# Resume looping where we left off when we returned to feed the mainloop
self.setscene_tids_generator = itertools.cycle(self.rqdata.runq_setscene_tids)
task = None
if not self.sqdone and self.can_start_task():
# Find the next setscene to run
for nexttask in self.sorted_setscene_tids:
loopcount = 0
# Find the next setscene to run, exit the loop when we've processed all tids or found something to execute
while loopcount < len(self.rqdata.runq_setscene_tids):
loopcount += 1
nexttask = next(self.setscene_tids_generator)
if nexttask in self.sq_buildable and nexttask not in self.sq_running and self.sqdata.stamps[nexttask] not in self.build_stamps.values() and nexttask not in self.sq_harddep_deferred:
if nexttask in self.sq_deferred and self.sq_deferred[nexttask] not in self.runq_complete:
# Skip deferred tasks quickly before the 'expensive' tests below - this is key to performant multiconfig builds
continue
if nexttask not in self.sqdata.unskippable and self.sqdata.sq_revdeps[nexttask] and \
nexttask not in self.sq_needed_harddeps and \
self.sqdata.sq_revdeps[nexttask].issubset(self.scenequeue_covered) and \
@@ -2210,8 +2233,7 @@ class RunQueueExecute:
if t in self.runq_running and t not in self.runq_complete:
continue
if nexttask in self.sq_deferred:
if self.sq_deferred[nexttask] not in self.runq_complete:
continue
# Deferred tasks that were still deferred were skipped above so we now need to process
logger.debug("Task %s no longer deferred" % nexttask)
del self.sq_deferred[nexttask]
valid = self.rq.validate_hashes(set([nexttask]), self.cooker.data, 0, False, summary=False)
@@ -2438,14 +2460,17 @@ class RunQueueExecute:
taskdepdata_cache = {}
for task in self.rqdata.runtaskentries:
(mc, fn, taskname, taskfn) = split_tid_mcfn(task)
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
deps = self.rqdata.runtaskentries[task].depends
provides = self.rqdata.dataCaches[mc].fn_provides[taskfn]
taskhash = self.rqdata.runtaskentries[task].hash
unihash = self.rqdata.runtaskentries[task].unihash
deps = self.filtermcdeps(task, mc, deps)
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn]
taskdepdata_cache[task] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
taskdepdata_cache[task] = bb.TaskData(
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn],
taskname = taskname,
fn = fn,
deps = self.filtermcdeps(task, mc, self.rqdata.runtaskentries[task].depends),
provides = self.rqdata.dataCaches[mc].fn_provides[taskfn],
taskhash = self.rqdata.runtaskentries[task].hash,
unihash = self.rqdata.runtaskentries[task].unihash,
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn],
taskhash_deps = self.rqdata.runtaskentries[task].taskhash_deps,
)
self.taskdepdata_cache = taskdepdata_cache
@@ -2460,9 +2485,11 @@ class RunQueueExecute:
while next:
additional = []
for revdep in next:
self.taskdepdata_cache[revdep][6] = self.rqdata.runtaskentries[revdep].unihash
self.taskdepdata_cache[revdep] = self.taskdepdata_cache[revdep]._replace(
unihash=self.rqdata.runtaskentries[revdep].unihash
)
taskdepdata[revdep] = self.taskdepdata_cache[revdep]
for revdep2 in self.taskdepdata_cache[revdep][3]:
for revdep2 in self.taskdepdata_cache[revdep].deps:
if revdep2 not in taskdepdata:
additional.append(revdep2)
next = additional
@@ -2531,9 +2558,6 @@ class RunQueueExecute:
self.rqdata.runtaskentries[hashtid].unihash = unihash
bb.parse.siggen.set_unihash(hashtid, unihash)
toprocess.add(hashtid)
if torehash:
# Need to save after set_unihash above
bb.parse.siggen.save_unitaskhashes()
# Work out all tasks which depend upon these
total = set()
@@ -2556,17 +2580,28 @@ class RunQueueExecute:
elif self.rqdata.runtaskentries[p].depends.isdisjoint(total):
next.add(p)
starttime = time.time()
lasttime = starttime
# When an item doesn't have dependencies in total, we can process it. Drop items from total when handled
while next:
current = next.copy()
next = set()
ready = {}
for tid in current:
if self.rqdata.runtaskentries[p].depends and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total):
continue
# get_taskhash for a given tid *must* be called before get_unihash* below
ready[tid] = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches)
unihashes = bb.parse.siggen.get_unihashes(ready.keys())
for tid in ready:
orighash = self.rqdata.runtaskentries[tid].hash
newhash = bb.parse.siggen.get_taskhash(tid, self.rqdata.runtaskentries[tid].depends, self.rqdata.dataCaches)
newhash = ready[tid]
origuni = self.rqdata.runtaskentries[tid].unihash
newuni = bb.parse.siggen.get_unihash(tid)
newuni = unihashes[tid]
# FIXME, need to check it can come from sstate at all for determinism?
remapped = False
if newuni == origuni:
@@ -2587,6 +2622,15 @@ class RunQueueExecute:
next |= self.rqdata.runtaskentries[tid].revdeps
total.remove(tid)
next.intersection_update(total)
bb.event.check_for_interrupts(self.cooker.data)
if time.time() > (lasttime + 30):
lasttime = time.time()
hashequiv_logger.verbose("Rehash loop slow progress: %s in %s" % (len(total), lasttime - starttime))
endtime = time.time()
if (endtime-starttime > 60):
hashequiv_logger.verbose("Rehash loop took more than 60s: %s" % (endtime-starttime))
if changed:
for mc in self.rq.worker:
@@ -2712,8 +2756,12 @@ class RunQueueExecute:
logger.debug2("%s was unavailable and is a hard dependency of %s so skipping" % (task, dep))
self.sq_task_failoutright(dep)
continue
# For performance, only compute allcovered once if needed
if self.sqdata.sq_deps[task]:
allcovered = self.scenequeue_covered | self.scenequeue_notcovered
for dep in sorted(self.sqdata.sq_deps[task]):
if self.sqdata.sq_revdeps[dep].issubset(self.scenequeue_covered | self.scenequeue_notcovered):
if self.sqdata.sq_revdeps[dep].issubset(allcovered):
if dep not in self.sq_buildable:
self.sq_buildable.add(dep)
@@ -2806,13 +2854,19 @@ class RunQueueExecute:
additional = []
for revdep in next:
(mc, fn, taskname, taskfn) = split_tid_mcfn(revdep)
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn]
deps = getsetscenedeps(revdep)
provides = self.rqdata.dataCaches[mc].fn_provides[taskfn]
taskhash = self.rqdata.runtaskentries[revdep].hash
unihash = self.rqdata.runtaskentries[revdep].unihash
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn]
taskdepdata[revdep] = [pn, taskname, fn, deps, provides, taskhash, unihash, hashfn]
taskdepdata[revdep] = bb.TaskData(
pn = self.rqdata.dataCaches[mc].pkg_fn[taskfn],
taskname = taskname,
fn = fn,
deps = deps,
provides = self.rqdata.dataCaches[mc].fn_provides[taskfn],
taskhash = self.rqdata.runtaskentries[revdep].hash,
unihash = self.rqdata.runtaskentries[revdep].unihash,
hashfn = self.rqdata.dataCaches[mc].hashfn[taskfn],
taskhash_deps = self.rqdata.runtaskentries[revdep].taskhash_deps,
)
for revdep2 in deps:
if revdep2 not in taskdepdata:
additional.append(revdep2)

View File

@@ -201,9 +201,6 @@ class SignatureGenerator(object):
def save_unitaskhashes(self):
return
def copy_unitaskhashes(self, targetdir):
return
def set_setscene_tasks(self, setscene_tasks):
return
@@ -381,7 +378,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
self.taints[tid] = taint
logger.warning("%s is tainted from a forced run" % tid)
return
return set(dep for _, dep in self.runtaskdeps[tid])
def get_taskhash(self, tid, deps, dataCaches):
@@ -418,9 +415,6 @@ class SignatureGeneratorBasic(SignatureGenerator):
def save_unitaskhashes(self):
self.unihash_cache.save(self.unitaskhashes)
def copy_unitaskhashes(self, targetdir):
self.unihash_cache.copyfile(targetdir)
def dump_sigtask(self, mcfn, task, stampbase, runtime):
tid = mcfn + ":" + task
mc = bb.runqueue.mc_from_tid(mcfn)
@@ -540,7 +534,7 @@ class SignatureGeneratorUniHashMixIn(object):
def __init__(self, data):
self.extramethod = {}
# NOTE: The cache only tracks hashes that exist. Hashes that don't
# exist are always queries from the server since it is possible for
# exist are always queried from the server since it is possible for
# hashes to appear over time, but much less likely for them to
# disappear
self.unihash_exists_cache = set()
@@ -558,11 +552,11 @@ class SignatureGeneratorUniHashMixIn(object):
super().__init__(data)
def get_taskdata(self):
return (self.server, self.method, self.extramethod, self.max_parallel, self.username, self.password, self.env) + super().get_taskdata()
return (self.server, self.method, self.extramethod, self.username, self.password, self.env) + super().get_taskdata()
def set_taskdata(self, data):
self.server, self.method, self.extramethod, self.max_parallel, self.username, self.password, self.env = data[:7]
super().set_taskdata(data[7:])
self.server, self.method, self.extramethod, self.username, self.password, self.env = data[:6]
super().set_taskdata(data[6:])
def get_hashserv_creds(self):
if self.username and self.password:
@@ -595,13 +589,6 @@ class SignatureGeneratorUniHashMixIn(object):
self._client = hashserv.create_client(self.server, **self.get_hashserv_creds())
yield self._client
@contextmanager
def client_pool(self):
with self._client_env():
if getattr(self, '_client_pool', None) is None:
self._client_pool = hashserv.client.ClientPool(self.server, self.max_parallel, **self.get_hashserv_creds())
yield self._client_pool
def reset(self, data):
self.__close_clients()
return super().reset(data)
@@ -678,25 +665,20 @@ class SignatureGeneratorUniHashMixIn(object):
if len(query) == 0:
return {}
uncached_query = {}
query_keys = []
result = {}
for key, unihash in query.items():
if unihash in self.unihash_exists_cache:
result[key] = True
else:
uncached_query[key] = unihash
query_keys.append(key)
if self.max_parallel <= 1 or len(uncached_query) <= 1:
# No parallelism required. Make the query serially with the single client
if query_keys:
with self.client() as client:
uncached_result = {
key: client.unihash_exists(value) for key, value in uncached_query.items()
}
else:
with self.client_pool() as client_pool:
uncached_result = client_pool.unihashes_exist(uncached_query)
query_result = client.unihash_exists_batch(query[k] for k in query_keys)
for key, exists in uncached_result.items():
for idx, key in enumerate(query_keys):
exists = query_result[idx]
if exists:
self.unihash_exists_cache.add(query[key])
result[key] = exists
@@ -712,29 +694,24 @@ class SignatureGeneratorUniHashMixIn(object):
unihash
"""
result = {}
queries = {}
query_result = {}
query_tids = []
for tid in tids:
unihash = self.get_cached_unihash(tid)
if unihash:
result[tid] = unihash
else:
queries[tid] = (self._get_method(tid), self.taskhash[tid])
query_tids.append(tid)
if len(queries) == 0:
return result
if query_tids:
unihashes = []
try:
with self.client() as client:
unihashes = client.get_unihash_batch((self._get_method(tid), self.taskhash[tid]) for tid in query_tids)
except (ConnectionError, FileNotFoundError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
if self.max_parallel <= 1 or len(queries) <= 1:
# No parallelism required. Make the query serially with the single client
with self.client() as client:
for tid, args in queries.items():
query_result[tid] = client.get_unihash(*args)
else:
with self.client_pool() as client_pool:
query_result = client_pool.get_unihashes(queries)
for tid, unihash in query_result.items():
for idx, tid in enumerate(query_tids):
# In the absence of being able to discover a unique hash from the
# server, make it be equivalent to the taskhash. The unique "hash" only
# really needs to be a unique string (not even necessarily a hash), but
@@ -749,7 +726,9 @@ class SignatureGeneratorUniHashMixIn(object):
# to the server, there is a better chance that they will agree on
# the unique hash.
taskhash = self.taskhash[tid]
if unihash:
if unihashes and unihashes[idx]:
unihash = unihashes[idx]
# A unique hash equal to the taskhash is not very interesting,
# so it is reported it at debug level 2. If they differ, that
# is much more interesting, so it is reported at debug level 1
@@ -758,7 +737,6 @@ class SignatureGeneratorUniHashMixIn(object):
hashequiv_logger.debug2('No reported unihash for %s:%s from %s' % (tid, taskhash, self.server))
unihash = taskhash
self.set_unihash(tid, unihash)
self.unihash[tid] = unihash
result[tid] = unihash
@@ -839,7 +817,7 @@ class SignatureGeneratorUniHashMixIn(object):
d.setVar('BB_UNIHASH', new_unihash)
else:
hashequiv_logger.debug('Reported task %s as unihash %s to %s' % (taskhash, unihash, self.server))
except ConnectionError as e:
except (ConnectionError, FileNotFoundError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
finally:
if sigfile:
@@ -881,7 +859,7 @@ class SignatureGeneratorUniHashMixIn(object):
# TODO: What to do here?
hashequiv_logger.verbose('Task %s unihash reported as unwanted hash %s' % (tid, finalunihash))
except ConnectionError as e:
except (ConnectionError, FileNotFoundError) as e:
bb.warn('Error contacting Hash Equivalence Server %s: %s' % (self.server, str(e)))
return False
@@ -895,13 +873,12 @@ class SignatureGeneratorTestEquivHash(SignatureGeneratorUniHashMixIn, SignatureG
super().init_rundepcheck(data)
self.server = data.getVar('BB_HASHSERVE')
self.method = "sstate_output_hash"
self.max_parallel = 1
def clean_checksum_file_path(file_checksum_tuple):
f, cs = file_checksum_tuple
if "/./" in f:
return "./" + f.split("/./")[1]
return f
return os.path.basename(f)
def dump_this_task(outfile, d):
import bb.parse

View File

@@ -106,6 +106,46 @@ ${D}${libdir}/pkgconfig/*.pc
self.parseExpression("foo=$(echo bar)")
self.assertExecs(set(["echo"]))
def test_assign_subshell_expansion_quotes(self):
self.parseExpression('foo="$(echo bar)"')
self.assertExecs(set(["echo"]))
def test_assign_subshell_expansion_nested(self):
self.parseExpression('foo="$(func1 "$(func2 bar$(func3))")"')
self.assertExecs(set(["func1", "func2", "func3"]))
def test_assign_subshell_expansion_multiple(self):
self.parseExpression('foo="$(func1 "$(func2)") $(func3)"')
self.assertExecs(set(["func1", "func2", "func3"]))
def test_assign_subshell_expansion_escaped_quotes(self):
self.parseExpression('foo="\\"fo\\"o$(func1)"')
self.assertExecs(set(["func1"]))
def test_assign_subshell_expansion_empty(self):
self.parseExpression('foo="bar$()foo"')
self.assertExecs(set())
def test_assign_subshell_backticks(self):
self.parseExpression("foo=`echo bar`")
self.assertExecs(set(["echo"]))
def test_assign_subshell_backticks_quotes(self):
self.parseExpression('foo="`echo bar`"')
self.assertExecs(set(["echo"]))
def test_assign_subshell_backticks_multiple(self):
self.parseExpression('foo="`func1 bar` `func2`"')
self.assertExecs(set(["func1", "func2"]))
def test_assign_subshell_backticks_escaped_quotes(self):
self.parseExpression('foo="\\"fo\\"o`func1`"')
self.assertExecs(set(["func1"]))
def test_assign_subshell_backticks_empty(self):
self.parseExpression('foo="bar``foo"')
self.assertExecs(set())
def test_shell_unexpanded(self):
self.setEmptyVars(["QT_BASE_NAME"])
self.parseExpression('echo "${QT_BASE_NAME}"')

View File

@@ -511,7 +511,8 @@ class MirrorUriTest(FetcherTest):
mirrorvar = "http://.*/.* file:///somepath/downloads/ " \
"git://someserver.org/bitbake git://git.openembedded.org/bitbake " \
"https://.*/.* file:///someotherpath/downloads/ " \
"http://.*/.* file:///someotherpath/downloads/"
"http://.*/.* file:///someotherpath/downloads/ " \
"svn://svn.server1.com/ svn://svn.server2.com/"
def test_urireplace(self):
self.d.setVar("FILESPATH", ".")
@@ -535,6 +536,13 @@ class MirrorUriTest(FetcherTest):
uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d)
self.assertEqual(uris, ['file:///someotherpath/downloads/bitbake-1.0.tar.gz'])
def test_urilistsvn(self):
# Catch svn:// -> svn:// bug
fetcher = bb.fetch.FetchData("svn://svn.server1.com/isource/svnroot/reponame/tags/tagname;module=path_in_tagnamefolder;protocol=https;rev=2", self.d)
mirrors = bb.fetch2.mirror_from_string(self.mirrorvar)
uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d)
self.assertEqual(uris, ['svn://svn.server2.com/isource/svnroot/reponame/tags/tagname;module=path_in_tagnamefolder;protocol=https;rev=2'])
def test_mirror_of_mirror(self):
# Test if mirror of a mirror works
mirrorvar = self.mirrorvar + " http://.*/.* http://otherdownloads.yoctoproject.org/downloads/"
@@ -1419,12 +1427,12 @@ class FetchLatestVersionTest(FetcherTest):
("dtc", "git://git.yoctoproject.org/bbfetchtests-dtc.git;branch=master;protocol=https", "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf", "", "")
: "1.4.0",
# combination version pattern
("sysprof", "git://gitlab.gnome.org/GNOME/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "")
("sysprof", "git://git.yoctoproject.org/sysprof.git;protocol=https;branch=master", "cd44ee6644c3641507fb53b8a2a69137f2971219", "", "")
: "1.2.0",
("u-boot-mkimage", "git://git.denx.de/u-boot.git;branch=master;protocol=git", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "")
("u-boot-mkimage", "git://source.denx.de/u-boot/u-boot.git;branch=master;protocol=https", "62c175fbb8a0f9a926c88294ea9f7e88eb898f6c", "", "")
: "2014.01",
# version pattern "yyyymmdd"
("mobile-broadband-provider-info", "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "")
("mobile-broadband-provider-info", "git://git.yoctoproject.org/mobile-broadband-provider-info.git;protocol=https;branch=master", "4ed19e11c2975105b71b956440acdb25d46a347d", "", "")
: "20120614",
# packages with a valid UPSTREAM_CHECK_GITTAGREGEX
# mirror of git://anongit.freedesktop.org/xorg/driver/xf86-video-omap since network issues interfered with testing
@@ -1493,6 +1501,12 @@ class FetchLatestVersionTest(FetcherTest):
: "2.8",
}
test_crate_uris = {
# basic example; version pattern "A.B.C+cargo-D.E.F"
("cargo-c", "crate://crates.io/cargo-c/0.9.18+cargo-0.69")
: "0.9.29"
}
@skipIfNoNetwork()
def test_git_latest_versionstring(self):
for k, v in self.test_git_uris.items():
@@ -1511,7 +1525,7 @@ class FetchLatestVersionTest(FetcherTest):
def test_wget_latest_versionstring(self):
testdata = os.path.dirname(os.path.abspath(__file__)) + "/fetch-testdata"
server = HTTPService(testdata)
server = HTTPService(testdata, host="127.0.0.1")
server.start()
port = server.port
try:
@@ -1519,10 +1533,10 @@ class FetchLatestVersionTest(FetcherTest):
self.d.setVar("PN", k[0])
checkuri = ""
if k[2]:
checkuri = "http://localhost:%s/" % port + k[2]
checkuri = "http://127.0.0.1:%s/" % port + k[2]
self.d.setVar("UPSTREAM_CHECK_URI", checkuri)
self.d.setVar("UPSTREAM_CHECK_REGEX", k[3])
url = "http://localhost:%s/" % port + k[1]
url = "http://127.0.0.1:%s/" % port + k[1]
ud = bb.fetch2.FetchData(url, self.d)
pupver = ud.method.latest_versionstring(ud, self.d)
verstring = pupver[0]
@@ -1532,6 +1546,16 @@ class FetchLatestVersionTest(FetcherTest):
finally:
server.stop()
@skipIfNoNetwork()
def test_crate_latest_versionstring(self):
for k, v in self.test_crate_uris.items():
self.d.setVar("PN", k[0])
ud = bb.fetch2.FetchData(k[1], self.d)
pupver = ud.method.latest_versionstring(ud, self.d)
verstring = pupver[0]
self.assertTrue(verstring, msg="Could not find upstream version for %s" % k[0])
r = bb.utils.vercmp_string(v, verstring)
self.assertTrue(r == -1 or r == 0, msg="Package %s, version: %s <= %s" % (k[0], v, verstring))
class FetchCheckStatusTest(FetcherTest):
test_wget_uris = ["https://downloads.yoctoproject.org/releases/sato/sato-engine-0.1.tar.gz",
@@ -2010,9 +2034,9 @@ class GitShallowTest(FetcherTest):
self.add_empty_file('b')
self.git('checkout -b a_branch', cwd=self.srcdir)
self.add_empty_file('c')
self.git('tag v0.0 HEAD', cwd=self.srcdir)
self.add_empty_file('d')
self.git('checkout master', cwd=self.srcdir)
self.git('tag v0.0 a_branch', cwd=self.srcdir)
self.add_empty_file('e')
self.git('merge --no-ff --no-edit a_branch', cwd=self.srcdir)
self.add_empty_file('f')
@@ -2028,7 +2052,7 @@ class GitShallowTest(FetcherTest):
self.fetch_shallow(uri)
self.assertRevCount(5)
self.assertRevCount(4)
self.assertRefs(['master', 'origin/master', 'origin/a_branch'])
def test_shallow_multi_one_uri_depths(self):
@@ -2175,7 +2199,7 @@ class GitShallowTest(FetcherTest):
self.fetch_shallow()
self.assertRevCount(5)
self.assertRevCount(2)
def test_shallow_invalid_revs(self):
self.add_empty_file('a')
@@ -2194,7 +2218,10 @@ class GitShallowTest(FetcherTest):
self.git('tag v0.0 master', cwd=self.srcdir)
self.d.setVar('BB_GIT_SHALLOW_DEPTH', '0')
self.d.setVar('BB_GIT_SHALLOW_REVS', 'v0.0')
self.fetch_shallow()
with self.assertRaises(bb.fetch2.FetchError), self.assertLogs("BitBake.Fetcher", level="ERROR") as cm:
self.fetch_shallow()
self.assertIn("fatal: no commits selected for shallow requests", cm.output[0])
def test_shallow_fetch_missing_revs_fails(self):
self.add_empty_file('a')
@@ -2225,7 +2252,7 @@ class GitShallowTest(FetcherTest):
revs = len(self.git('rev-list master').splitlines())
self.assertNotEqual(orig_revs, revs)
self.assertRefs(['master', 'origin/master'])
self.assertRevCount(orig_revs - 1758)
self.assertRevCount(orig_revs - 1760)
def test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist(self):
self.add_empty_file('a')
@@ -3363,3 +3390,212 @@ class FetchPremirroronlyBrokenTarball(FetcherTest):
fetcher.download()
output = "".join(logs.output)
self.assertFalse(" not a git repository (or any parent up to mount point /)" in output)
class GoModTest(FetcherTest):
@skipIfNoNetwork()
def test_gomod_url(self):
urls = ['gomod://github.com/Azure/azure-sdk-for-go/sdk/storage/azblob;version=v1.0.0;'
'sha256sum=9bb69aea32f1d59711701f9562d66432c9c0374205e5009d1d1a62f03fb4fdad']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.url, 'https://proxy.golang.org/github.com/%21azure/azure-sdk-for-go/sdk/storage/azblob/%40v/v1.0.0.zip')
self.assertNotIn('name', ud.parm)
fetcher.download()
fetcher.unpack(self.unpackdir)
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.mod')),
'7873b8544842329b4f385a3aa6cf82cc2bc8defb41a04fa5291c35fd5900e873')
@skipIfNoNetwork()
def test_gomod_url_go_mod_only(self):
urls = ['gomod://github.com/Azure/azure-sdk-for-go/sdk/storage/azblob;version=v1.0.0;mod=1;'
'sha256sum=7873b8544842329b4f385a3aa6cf82cc2bc8defb41a04fa5291c35fd5900e873']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.url, 'https://proxy.golang.org/github.com/%21azure/azure-sdk-for-go/sdk/storage/azblob/%40v/v1.0.0.mod')
self.assertNotIn('name', ud.parm)
fetcher.download()
fetcher.unpack(self.unpackdir)
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.mod')))
@skipIfNoNetwork()
def test_gomod_url_sha256sum_varflag(self):
urls = ['gomod://gopkg.in/ini.v1;version=v1.67.0']
self.d.setVarFlag('SRC_URI', 'gopkg.in/ini.v1@v1.67.0.sha256sum', 'bd845dfc762a87a56e5a32a07770dc83e86976db7705d7f89c5dbafdc60b06c6')
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.url, 'https://proxy.golang.org/gopkg.in/ini.v1/%40v/v1.67.0.zip')
self.assertEqual(ud.parm['name'], 'gopkg.in/ini.v1@v1.67.0')
fetcher.download()
fetcher.unpack(self.unpackdir)
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')),
'13aedd85db8e555104108e0e613bb7e4d1242af7f27c15423dd9ab63b60b72a1')
@skipIfNoNetwork()
def test_gomod_url_no_go_mod_in_module(self):
urls = ['gomod://gopkg.in/ini.v1;version=v1.67.0;'
'sha256sum=bd845dfc762a87a56e5a32a07770dc83e86976db7705d7f89c5dbafdc60b06c6']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.url, 'https://proxy.golang.org/gopkg.in/ini.v1/%40v/v1.67.0.zip')
self.assertNotIn('name', ud.parm)
fetcher.download()
fetcher.unpack(self.unpackdir)
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')),
'13aedd85db8e555104108e0e613bb7e4d1242af7f27c15423dd9ab63b60b72a1')
@skipIfNoNetwork()
def test_gomod_url_host_only(self):
urls = ['gomod://go.opencensus.io;version=v0.24.0;'
'sha256sum=203a767d7f8e7c1ebe5588220ad168d1e15b14ae70a636de7ca9a4a88a7e0d0c']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.url, 'https://proxy.golang.org/go.opencensus.io/%40v/v0.24.0.zip')
self.assertNotIn('name', ud.parm)
fetcher.download()
fetcher.unpack(self.unpackdir)
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.mod')),
'0dc9ccc660ad21cebaffd548f2cc6efa27891c68b4fbc1f8a3893b00f1acec96')
class GoModGitTest(FetcherTest):
@skipIfNoNetwork()
def test_gomodgit_url_repo(self):
urls = ['gomodgit://golang.org/x/net;version=v0.9.0;'
'repo=go.googlesource.com/net;'
'srcrev=694cff8668bac64e0864b552bffc280cd27f21b1']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.host, 'go.googlesource.com')
self.assertEqual(ud.path, '/net')
self.assertEqual(ud.names, ['golang.org/x/net@v0.9.0'])
self.assertEqual(self.d.getVar('SRCREV_golang.org/x/net@v0.9.0'), '694cff8668bac64e0864b552bffc280cd27f21b1')
fetcher.download()
self.assertTrue(os.path.exists(ud.localpath))
fetcher.unpack(self.unpackdir)
vcsdir = os.path.join(self.unpackdir, 'pkg/mod/cache/vcs')
self.assertTrue(os.path.exists(os.path.join(vcsdir, 'ed42bd05533fd84ae290a5d33ebd3695a0a2b06131beebd5450825bee8603aca')))
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'golang.org/x/net/@v/v0.9.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'golang.org/x/net/@v/v0.9.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'golang.org/x/net/@v/v0.9.0.mod')),
'c5d6851ede50ec1c001afb763040194b68961bf06997e2605e8bf06dcd2aeb2e')
@skipIfNoNetwork()
def test_gomodgit_url_subdir(self):
urls = ['gomodgit://github.com/Azure/azure-sdk-for-go/sdk/storage/azblob;version=v1.0.0;'
'repo=github.com/Azure/azure-sdk-for-go;subdir=sdk/storage/azblob;'
'srcrev=ec928e0ed34db682b3f783d3739d1c538142e0c3']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.host, 'github.com')
self.assertEqual(ud.path, '/Azure/azure-sdk-for-go')
self.assertEqual(ud.parm['subpath'], 'sdk/storage/azblob')
self.assertEqual(ud.names, ['github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@v1.0.0'])
self.assertEqual(self.d.getVar('SRCREV_github.com/Azure/azure-sdk-for-go/sdk/storage/azblob@v1.0.0'), 'ec928e0ed34db682b3f783d3739d1c538142e0c3')
fetcher.download()
self.assertTrue(os.path.exists(ud.localpath))
fetcher.unpack(self.unpackdir)
vcsdir = os.path.join(self.unpackdir, 'pkg/mod/cache/vcs')
self.assertTrue(os.path.exists(os.path.join(vcsdir, 'd31d6145676ed3066ce573a8198f326dea5be45a43b3d8f41ce7787fd71d66b3')))
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'github.com/!azure/azure-sdk-for-go/sdk/storage/azblob/@v/v1.0.0.mod')),
'7873b8544842329b4f385a3aa6cf82cc2bc8defb41a04fa5291c35fd5900e873')
@skipIfNoNetwork()
def test_gomodgit_url_srcrev_var(self):
urls = ['gomodgit://gopkg.in/ini.v1;version=v1.67.0']
self.d.setVar('SRCREV_gopkg.in/ini.v1@v1.67.0', 'b2f570e5b5b844226bbefe6fb521d891f529a951')
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.host, 'gopkg.in')
self.assertEqual(ud.path, '/ini.v1')
self.assertEqual(ud.names, ['gopkg.in/ini.v1@v1.67.0'])
self.assertEqual(ud.parm['srcrev'], 'b2f570e5b5b844226bbefe6fb521d891f529a951')
fetcher.download()
fetcher.unpack(self.unpackdir)
vcsdir = os.path.join(self.unpackdir, 'pkg/mod/cache/vcs')
self.assertTrue(os.path.exists(os.path.join(vcsdir, 'b7879a4be9ba8598851b8278b14c4f71a8316be64913298d1639cce6bde59bc3')))
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')),
'13aedd85db8e555104108e0e613bb7e4d1242af7f27c15423dd9ab63b60b72a1')
@skipIfNoNetwork()
def test_gomodgit_url_no_go_mod_in_module(self):
urls = ['gomodgit://gopkg.in/ini.v1;version=v1.67.0;'
'srcrev=b2f570e5b5b844226bbefe6fb521d891f529a951']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.host, 'gopkg.in')
self.assertEqual(ud.path, '/ini.v1')
self.assertEqual(ud.names, ['gopkg.in/ini.v1@v1.67.0'])
self.assertEqual(self.d.getVar('SRCREV_gopkg.in/ini.v1@v1.67.0'), 'b2f570e5b5b844226bbefe6fb521d891f529a951')
fetcher.download()
fetcher.unpack(self.unpackdir)
vcsdir = os.path.join(self.unpackdir, 'pkg/mod/cache/vcs')
self.assertTrue(os.path.exists(os.path.join(vcsdir, 'b7879a4be9ba8598851b8278b14c4f71a8316be64913298d1639cce6bde59bc3')))
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'gopkg.in/ini.v1/@v/v1.67.0.mod')),
'13aedd85db8e555104108e0e613bb7e4d1242af7f27c15423dd9ab63b60b72a1')
@skipIfNoNetwork()
def test_gomodgit_url_host_only(self):
urls = ['gomodgit://go.opencensus.io;version=v0.24.0;'
'repo=github.com/census-instrumentation/opencensus-go;'
'srcrev=b1a01ee95db0e690d91d7193d037447816fae4c5']
fetcher = bb.fetch2.Fetch(urls, self.d)
ud = fetcher.ud[urls[0]]
self.assertEqual(ud.host, 'github.com')
self.assertEqual(ud.path, '/census-instrumentation/opencensus-go')
self.assertEqual(ud.names, ['go.opencensus.io@v0.24.0'])
self.assertEqual(self.d.getVar('SRCREV_go.opencensus.io@v0.24.0'), 'b1a01ee95db0e690d91d7193d037447816fae4c5')
fetcher.download()
fetcher.unpack(self.unpackdir)
vcsdir = os.path.join(self.unpackdir, 'pkg/mod/cache/vcs')
self.assertTrue(os.path.exists(os.path.join(vcsdir, 'aae3ac7b2122ed3345654e6327855e9682f4a5350d63e93dbcfc51c4419df0e1')))
downloaddir = os.path.join(self.unpackdir, 'pkg/mod/cache/download')
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.zip')))
self.assertTrue(os.path.exists(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.mod')))
self.assertEqual(bb.utils.sha256_file(os.path.join(downloaddir, 'go.opencensus.io/@v/v0.24.0.mod')),
'0dc9ccc660ad21cebaffd548f2cc6efa27891c68b4fbc1f8a3893b00f1acec96')

View File

@@ -177,7 +177,19 @@ python () {
addtask_deltask = """
addtask do_patch after do_foo after do_unpack before do_configure before do_compile
addtask do_fetch do_patch
addtask do_fetch2 do_patch2
addtask do_myplaintask
addtask do_myplaintask2
deltask do_myplaintask2
addtask do_mytask# comment
addtask do_mytask2 # comment2
addtask do_mytask3
deltask do_mytask3# comment
deltask do_mytask4 # comment2
# Ensure a missing task prefix on after works
addtask do_mytask5 after mytask
MYVAR = "do_patch"
EMPTYVAR = ""
@@ -185,17 +197,12 @@ deltask do_fetch ${MYVAR} ${EMPTYVAR}
deltask ${EMPTYVAR}
"""
def test_parse_addtask_deltask(self):
import sys
with self.assertLogs() as logs:
f = self.parsehelper(self.addtask_deltask)
d = bb.parse.handle(f.name, self.d)['']
f = self.parsehelper(self.addtask_deltask)
d = bb.parse.handle(f.name, self.d)['']
output = "".join(logs.output)
self.assertTrue("addtask contained multiple 'before' keywords" in output)
self.assertTrue("addtask contained multiple 'after' keywords" in output)
self.assertTrue('addtask ignored: " do_patch"' in output)
#self.assertTrue('dependent task do_foo for do_patch does not exist' in output)
self.assertEqual(['do_fetch2', 'do_patch2', 'do_myplaintask', 'do_mytask', 'do_mytask2', 'do_mytask5'], d.getVar("__BBTASKS"))
self.assertEqual(['do_mytask'], d.getVarFlag("do_mytask5", "deps"))
broken_multiline_comment = """
# First line of comment \\

View File

@@ -559,7 +559,10 @@ class ORMWrapper(object):
# we might have an invalid link; no way to detect this. just set it to None
filetarget_obj = None
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
try:
parent_obj = Target_File.objects.get(target = target_obj, path = parent_path, inodetype = Target_File.ITYPE_DIRECTORY)
except Target_File.DoesNotExist:
parent_obj = None
Target_File.objects.create(
target = target_obj,

View File

@@ -577,6 +577,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
else:
log_exec_tty = False
should_print_hyperlinks = sys.stdout.isatty() and os.environ.get('NO_COLOR', '') == ''
helper = uihelper.BBUIHelper()
# Look for the specially designated handlers which need to be passed to the
@@ -640,7 +642,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
return_value = 0
errors = 0
warnings = 0
taskfailures = []
taskfailures = {}
printintervaldelta = 10 * 60 # 10 minutes
printinterval = printintervaldelta
@@ -726,6 +728,8 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if isinstance(event, bb.build.TaskFailed):
return_value = 1
print_event_log(event, includelogs, loglines, termfilter)
k = "{}:{}".format(event._fn, event._task)
taskfailures[k] = event.logfile
if isinstance(event, bb.build.TaskBase):
logger.info(event._message)
continue
@@ -821,7 +825,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
if isinstance(event, bb.runqueue.runQueueTaskFailed):
return_value = 1
taskfailures.append(event.taskstring)
taskfailures.setdefault(event.taskstring)
logger.error(str(event))
continue
@@ -942,11 +946,21 @@ def main(server, eventHandler, params, tf = TerminalFilter):
try:
termfilter.clearFooter()
summary = ""
def format_hyperlink(url, link_text):
if should_print_hyperlinks:
start = f'\033]8;;{url}\033\\'
end = '\033]8;;\033\\'
return f'{start}{link_text}{end}'
return link_text
if taskfailures:
summary += pluralise("\nSummary: %s task failed:",
"\nSummary: %s tasks failed:", len(taskfailures))
for failure in taskfailures:
for (failure, log_file) in taskfailures.items():
summary += "\n %s" % failure
if log_file:
hyperlink = format_hyperlink(f"file://{log_file}", log_file)
summary += "\n log: {}".format(hyperlink)
if warnings:
summary += pluralise("\nSummary: There was %s WARNING message.",
"\nSummary: There were %s WARNING messages.", warnings)

View File

@@ -30,7 +30,6 @@ import bb.build
import bb.command
import bb.cooker
import bb.event
import bb.exceptions
import bb.runqueue
from bb.ui import uihelper
@@ -102,10 +101,6 @@ class TeamcityLogFormatter(logging.Formatter):
details = ""
if hasattr(record, 'bb_exc_formatted'):
details = ''.join(record.bb_exc_formatted)
elif hasattr(record, 'bb_exc_info'):
etype, value, tb = record.bb_exc_info
formatted = bb.exceptions.format_exception(etype, value, tb, limit=5)
details = ''.join(formatted)
if record.levelno in [bb.msg.BBLogFormatter.ERROR, bb.msg.BBLogFormatter.CRITICAL]:
# ERROR gets a separate errorDetails field

View File

@@ -50,8 +50,8 @@ class ActionPlugin(LayerPlugin):
try:
notadded, _ = bb.utils.edit_bblayers_conf(bblayers_conf, layerdirs, None)
self.tinfoil.modified_files()
if not (args.force or notadded):
self.tinfoil.modified_files()
try:
self.tinfoil.run_command('parseConfiguration')
except (bb.tinfoil.TinfoilUIException, bb.BBHandledException):
@@ -83,6 +83,8 @@ class ActionPlugin(LayerPlugin):
layerdir = os.path.abspath(item)
layerdirs.append(layerdir)
(_, notremoved) = bb.utils.edit_bblayers_conf(bblayers_conf, None, layerdirs)
if args.force > 1:
return 0
self.tinfoil.modified_files()
if notremoved:
for item in notremoved:

49
bitbake/lib/bs4/AUTHORS Normal file
View File

@@ -0,0 +1,49 @@
Behold, mortal, the origins of Beautiful Soup...
================================================
Leonard Richardson is the primary maintainer.
Aaron DeVore and Isaac Muse have made significant contributions to the
code base.
Mark Pilgrim provided the encoding detection code that forms the base
of UnicodeDammit.
Thomas Kluyver and Ezio Melotti finished the work of getting Beautiful
Soup 4 working under Python 3.
Simon Willison wrote soupselect, which was used to make Beautiful Soup
support CSS selectors. Isaac Muse wrote SoupSieve, which made it
possible to _remove_ the CSS selector code from Beautiful Soup.
Sam Ruby helped with a lot of edge cases.
Jonathan Ellis was awarded the prestigious Beau Potage D'Or for his
work in solving the nestable tags conundrum.
An incomplete list of people have contributed patches to Beautiful
Soup:
Istvan Albert, Andrew Lin, Anthony Baxter, Oliver Beattie, Andrew
Boyko, Tony Chang, Francisco Canas, "Delong", Zephyr Fang, Fuzzy,
Roman Gaufman, Yoni Gilad, Richie Hindle, Toshihiro Kamiya, Peteris
Krumins, Kent Johnson, Marek Kapolka, Andreas Kostyrka, Roel Kramer,
Ben Last, Robert Leftwich, Stefaan Lippens, "liquider", Staffan
Malmgren, Ksenia Marasanova, JP Moins, Adam Monsen, John Nagle, "Jon",
Ed Oskiewicz, Martijn Peters, Greg Phillips, Giles Radford, Stefano
Revera, Arthur Rudolph, Marko Samastur, James Salter, Jouni Sepp<70>nen,
Alexander Schmolck, Tim Shirley, Geoffrey Sneddon, Ville Skytt<74>,
"Vikas", Jens Svalgaard, Andy Theyers, Eric Weiser, Glyn Webster, John
Wiseman, Paul Wright, Danny Yoo
An incomplete list of people who made suggestions or found bugs or
found ways to break Beautiful Soup:
Hanno B<>ck, Matteo Bertini, Chris Curvey, Simon Cusack, Bruce Eckel,
Matt Ernst, Michael Foord, Tom Harris, Bill de hOra, Donald Howes,
Matt Patterson, Scott Roberts, Steve Strassmann, Mike Williams,
warchild at redho dot com, Sami Kuisma, Carlos Rocha, Bob Hutchison,
Joren Mc, Michal Migurski, John Kleven, Tim Heaney, Tripp Lilley, Ed
Summers, Dennis Sutch, Chris Smith, Aaron Swartz, Stuart
Turner, Greg Edwards, Kevin J Kalupson, Nikos Kouremenos, Artur de
Sousa Rocha, Yichun Wei, Per Vognsen

View File

@@ -1,43 +0,0 @@
Behold, mortal, the origins of Beautiful Soup...
================================================
Leonard Richardson is the primary programmer.
Aaron DeVore is awesome.
Mark Pilgrim provided the encoding detection code that forms the base
of UnicodeDammit.
Thomas Kluyver and Ezio Melotti finished the work of getting Beautiful
Soup 4 working under Python 3.
Simon Willison wrote soupselect, which was used to make Beautiful Soup
support CSS selectors.
Sam Ruby helped with a lot of edge cases.
Jonathan Ellis was awarded the prestigous Beau Potage D'Or for his
work in solving the nestable tags conundrum.
An incomplete list of people have contributed patches to Beautiful
Soup:
Istvan Albert, Andrew Lin, Anthony Baxter, Andrew Boyko, Tony Chang,
Zephyr Fang, Fuzzy, Roman Gaufman, Yoni Gilad, Richie Hindle, Peteris
Krumins, Kent Johnson, Ben Last, Robert Leftwich, Staffan Malmgren,
Ksenia Marasanova, JP Moins, Adam Monsen, John Nagle, "Jon", Ed
Oskiewicz, Greg Phillips, Giles Radford, Arthur Rudolph, Marko
Samastur, Jouni Sepp<70>nen, Alexander Schmolck, Andy Theyers, Glyn
Webster, Paul Wright, Danny Yoo
An incomplete list of people who made suggestions or found bugs or
found ways to break Beautiful Soup:
Hanno B<>ck, Matteo Bertini, Chris Curvey, Simon Cusack, Bruce Eckel,
Matt Ernst, Michael Foord, Tom Harris, Bill de hOra, Donald Howes,
Matt Patterson, Scott Roberts, Steve Strassmann, Mike Williams,
warchild at redho dot com, Sami Kuisma, Carlos Rocha, Bob Hutchison,
Joren Mc, Michal Migurski, John Kleven, Tim Heaney, Tripp Lilley, Ed
Summers, Dennis Sutch, Chris Smith, Aaron Sweep^W Swartz, Stuart
Turner, Greg Edwards, Kevin J Kalupson, Nikos Kouremenos, Artur de
Sousa Rocha, Yichun Wei, Per Vognsen

View File

@@ -1,3 +1,776 @@
= 4.12.3 (20240117)
* The Beautiful Soup documentation now has a Spanish translation, thanks
to Carlos Romero. Delong Wang's Chinese translation has been updated
to cover Beautiful Soup 4.12.0.
* Fixed a regression such that if you set .hidden on a tag, the tag
becomes invisible but its contents are still visible. User manipulation
of .hidden is not a documented or supported feature, so don't do this,
but it wasn't too difficult to keep the old behavior working.
* Fixed a case found by Mengyuhan where html.parser giving up on
markup would result in an AssertionError instead of a
ParserRejectedMarkup exception.
* Added the correct stacklevel to instances of the XMLParsedAsHTMLWarning.
[bug=2034451]
* Corrected the syntax of the license definition in pyproject.toml. Patch
by Louis Maddox. [bug=2032848]
* Corrected a typo in a test that was causing test failures when run against
libxml2 2.12.1. [bug=2045481]
= 4.12.2 (20230407)
* Fixed an unhandled exception in BeautifulSoup.decode_contents
and methods that call it. [bug=2015545]
= 4.12.1 (20230405)
NOTE: the following things are likely to be dropped in the next
feature release of Beautiful Soup:
Official support for Python 3.6.
Inclusion of unit tests and test data in the wheel file.
Two scripts: demonstrate_parser_differences.py and test-all-versions.
Changes:
* This version of Beautiful Soup replaces setup.py and setup.cfg
with pyproject.toml. Beautiful Soup now uses tox as its test backend
and hatch to do builds.
* The main functional improvement in this version is a nonrecursive technique
for regenerating a tree. This technique is used to avoid situations where,
in previous versions, doing something to a very deeply nested tree
would overflow the Python interpreter stack:
1. Outputting a tree as a string, e.g. with
BeautifulSoup.encode() [bug=1471755]
2. Making copies of trees (copy.copy() and
copy.deepcopy() from the Python standard library). [bug=1709837]
3. Pickling a BeautifulSoup object. (Note that pickling a Tag
object can still cause an overflow.)
* Making a copy of a BeautifulSoup object no longer parses the
document again, which should improve performance significantly.
* When a BeautifulSoup object is unpickled, Beautiful Soup now
tries to associate an appropriate TreeBuilder object with it.
* Tag.prettify() will now consistently end prettified markup with
a newline.
* Added unit tests for fuzz test cases created by third
parties. Some of these tests are skipped since they point
to problems outside of Beautiful Soup, but this change
puts them all in one convenient place.
* PageElement now implements the known_xml attribute. (This was technically
a bug, but it shouldn't be an issue in normal use.) [bug=2007895]
* The demonstrate_parser_differences.py script was still written in
Python 2. I've converted it to Python 3, but since no one has
mentioned this over the years, it's a sign that no one uses this
script and it's not serving its purpose.
= 4.12.0 (20230320)
* Introduced the .css property, which centralizes all access to
the Soup Sieve API. This allows Beautiful Soup to give direct
access to as much of Soup Sieve that makes sense, without cluttering
the BeautifulSoup and Tag classes with a lot of new methods.
This does mean one addition to the BeautifulSoup and Tag classes
(the .css property itself), so this might be a breaking change if you
happen to use Beautiful Soup to parse XML that includes a tag called
<css>. In particular, code like this will stop working in 4.12.0:
soup.css['id']
Code like this will work just as before:
soup.find_one('css')['id']
The Soup Sieve methods supported through the .css property are
select(), select_one(), iselect(), closest(), match(), filter(),
escape(), and compile(). The BeautifulSoup and Tag classes still
support the select() and select_one() methods; they have not been
deprecated, but they have been demoted to convenience methods.
[bug=2003677]
* When the html.parser parser decides it can't parse a document, Beautiful
Soup now consistently propagates this fact by raising a
ParserRejectedMarkup error. [bug=2007343]
* Removed some error checking code from diagnose(), which is redundant with
similar (but more Pythonic) code in the BeautifulSoup constructor.
[bug=2007344]
* Added intersphinx references to the documentation so that other
projects have a target to point to when they reference Beautiful
Soup classes. [bug=1453370]
= 4.11.2 (20230131)
* Fixed test failures caused by nondeterministic behavior of
UnicodeDammit's character detection, depending on the platform setup.
[bug=1973072]
* Fixed another crash when overriding multi_valued_attributes and using the
html5lib parser. [bug=1948488]
* The HTMLFormatter and XMLFormatter constructors no longer return a
value. [bug=1992693]
* Tag.interesting_string_types is now propagated when a tag is
copied. [bug=1990400]
* Warnings now do their best to provide an appropriate stacklevel,
improving the usefulness of the message. [bug=1978744]
* Passing a Tag's .contents into PageElement.extend() now works the
same way as passing the Tag itself.
* Soup Sieve tests will be skipped if the library is not installed.
= 4.11.1 (20220408)
This release was done to ensure that the unit tests are packaged along
with the released source. There are no functionality changes in this
release, but there are a few other packaging changes:
* The Japanese and Korean translations of the documentation are included.
* The changelog is now packaged as CHANGELOG, and the license file is
packaged as LICENSE. NEWS.txt and COPYING.txt are still present,
but may be removed in the future.
* TODO.txt is no longer packaged, since a TODO is not relevant for released
code.
= 4.11.0 (20220407)
* Ported unit tests to use pytest.
* Added special string classes, RubyParenthesisString and RubyTextString,
to make it possible to treat ruby text specially in get_text() calls.
[bug=1941980]
* It's now possible to customize the way output is indented by
providing a value for the 'indent' argument to the Formatter
constructor. The 'indent' argument works very similarly to the
argument of the same name in the Python standard library's
json.dump() function. [bug=1955497]
* If the charset-normalizer Python module
(https://pypi.org/project/charset-normalizer/) is installed, Beautiful
Soup will use it to detect the character sets of incoming documents.
This is also the module used by newer versions of the Requests library.
For the sake of backwards compatibility, chardet and cchardet both take
precedence if installed. [bug=1955346]
* Added a workaround for an lxml bug
(https://bugs.launchpad.net/lxml/+bug/1948551) that causes
problems when parsing a Unicode string beginning with BYTE ORDER MARK.
[bug=1947768]
* Issue a warning when an HTML parser is used to parse a document that
looks like XML but not XHTML. [bug=1939121]
* Do a better job of keeping track of namespaces as an XML document is
parsed, so that CSS selectors that use namespaces will do the right
thing more often. [bug=1946243]
* Some time ago, the misleadingly named "text" argument to find-type
methods was renamed to the more accurate "string." But this supposed
"renaming" didn't make it into important places like the method
signatures or the docstrings. That's corrected in this
version. "text" still works, but will give a DeprecationWarning.
[bug=1947038]
* Fixed a crash when pickling a BeautifulSoup object that has no
tree builder. [bug=1934003]
* Fixed a crash when overriding multi_valued_attributes and using the
html5lib parser. [bug=1948488]
* Standardized the wording of the MarkupResemblesLocatorWarning
warnings to omit untrusted input and make the warnings less
judgmental about what you ought to be doing. [bug=1955450]
* Removed support for the iconv_codec library, which doesn't seem
to exist anymore and was never put up on PyPI. (The closest
replacement on PyPI, iconv_codecs, is GPL-licensed, so we can't use
it--it's also quite old.)
= 4.10.0 (20210907)
* This is the first release of Beautiful Soup to only support Python
3. I dropped Python 2 support to maintain support for newer versions
(58 and up) of setuptools. See:
https://github.com/pypa/setuptools/issues/2769 [bug=1942919]
* The behavior of methods like .get_text() and .strings now differs
depending on the type of tag. The change is visible with HTML tags
like <script>, <style>, and <template>. Starting in 4.9.0, methods
like get_text() returned no results on such tags, because the
contents of those tags are not considered 'text' within the document
as a whole.
But a user who calls script.get_text() is working from a different
definition of 'text' than a user who calls div.get_text()--otherwise
there would be no need to call script.get_text() at all. In 4.10.0,
the contents of (e.g.) a <script> tag are considered 'text' during a
get_text() call on the tag itself, but not considered 'text' during
a get_text() call on the tag's parent.
Because of this change, calling get_text() on each child of a tag
may now return a different result than calling get_text() on the tag
itself. That's because different tags now have different
understandings of what counts as 'text'. [bug=1906226] [bug=1868861]
* NavigableString and its subclasses now implement the get_text()
method, as well as the properties .strings and
.stripped_strings. These methods will either return the string
itself, or nothing, so the only reason to use this is when iterating
over a list of mixed Tag and NavigableString objects. [bug=1904309]
* The 'html5' formatter now treats attributes whose values are the
empty string as HTML boolean attributes. Previously (and in other
formatters), an attribute value must be set as None to be treated as
a boolean attribute. In a future release, I plan to also give this
behavior to the 'html' formatter. Patch by Isaac Muse. [bug=1915424]
* The 'replace_with()' method now takes a variable number of arguments,
and can be used to replace a single element with a sequence of elements.
Patch by Bill Chandos. [rev=605]
* Corrected output when the namespace prefix associated with a
namespaced attribute is the empty string, as opposed to
None. [bug=1915583]
* Performance improvement when processing tags that speeds up overall
tree construction by 2%. Patch by Morotti. [bug=1899358]
* Corrected the use of special string container classes in cases when a
single tag may contain strings with different containers; such as
the <template> tag, which may contain both TemplateString objects
and Comment objects. [bug=1913406]
* The html.parser tree builder can now handle named entities
found in the HTML5 spec in much the same way that the html5lib
tree builder does. Note that the lxml HTML tree builder doesn't handle
named entities this way. [bug=1924908]
* Added a second way to pass specify encodings to UnicodeDammit and
EncodingDetector, based on the order of precedence defined in the
HTML5 spec, starting at:
https://html.spec.whatwg.org/multipage/parsing.html#parsing-with-a-known-character-encoding
Encodings in 'known_definite_encodings' are tried first, then
byte-order-mark sniffing is run, then encodings in 'user_encodings'
are tried. The old argument, 'override_encodings', is now a
deprecated alias for 'known_definite_encodings'.
This changes the default behavior of the html.parser and lxml tree
builders, in a way that may slightly improve encoding
detection but will probably have no effect. [bug=1889014]
* Improve the warning issued when a directory name (as opposed to
the name of a regular file) is passed as markup into the BeautifulSoup
constructor. [bug=1913628]
= 4.9.3 (20201003)
This is the final release of Beautiful Soup to support Python
2. Beautiful Soup's official support for Python 2 ended on 01 January,
2021. In the Launchpad Git repository, the final revision to support
Python 2 was revision 70f546b1e689a70e2f103795efce6d261a3dadf7; it is
tagged as "python2".
* Implemented a significant performance optimization to the process of
searching the parse tree. Patch by Morotti. [bug=1898212]
= 4.9.2 (20200926)
* Fixed a bug that caused too many tags to be popped from the tag
stack during tree building, when encountering a closing tag that had
no matching opening tag. [bug=1880420]
* Fixed a bug that inconsistently moved elements over when passing
a Tag, rather than a list, into Tag.extend(). [bug=1885710]
* Specify the soupsieve dependency in a way that complies with
PEP 508. Patch by Mike Nerone. [bug=1893696]
* Change the signatures for BeautifulSoup.insert_before and insert_after
(which are not implemented) to match PageElement.insert_before and
insert_after, quieting warnings in some IDEs. [bug=1897120]
= 4.9.1 (20200517)
* Added a keyword argument 'on_duplicate_attribute' to the
BeautifulSoupHTMLParser constructor (used by the html.parser tree
builder) which lets you customize the handling of markup that
contains the same attribute more than once, as in:
<a href="url1" href="url2"> [bug=1878209]
* Added a distinct subclass, GuessedAtParserWarning, for the warning
issued when BeautifulSoup is instantiated without a parser being
specified. [bug=1873787]
* Added a distinct subclass, MarkupResemblesLocatorWarning, for the
warning issued when BeautifulSoup is instantiated with 'markup' that
actually seems to be a URL or the path to a file on
disk. [bug=1873787]
* The new NavigableString subclasses (Stylesheet, Script, and
TemplateString) can now be imported directly from the bs4 package.
* If you encode a document with a Python-specific encoding like
'unicode_escape', that encoding is no longer mentioned in the final
XML or HTML document. Instead, encoding information is omitted or
left blank. [bug=1874955]
* Fixed test failures when run against soupselect 2.0. Patch by Tomáš
Chvátal. [bug=1872279]
= 4.9.0 (20200405)
* Added PageElement.decomposed, a new property which lets you
check whether you've already called decompose() on a Tag or
NavigableString.
* Embedded CSS and Javascript is now stored in distinct Stylesheet and
Script tags, which are ignored by methods like get_text() since most
people don't consider this sort of content to be 'text'. This
feature is not supported by the html5lib treebuilder. [bug=1868861]
* Added a Russian translation by 'authoress' to the repository.
* Fixed an unhandled exception when formatting a Tag that had been
decomposed.[bug=1857767]
* Fixed a bug that happened when passing a Unicode filename containing
non-ASCII characters as markup into Beautiful Soup, on a system that
allows Unicode filenames. [bug=1866717]
* Added a performance optimization to PageElement.extract(). Patch by
Arthur Darcet.
= 4.8.2 (20191224)
* Added Python docstrings to all public methods of the most commonly
used classes.
* Added a Chinese translation by Deron Wang and a Brazilian Portuguese
translation by Cezar Peixeiro to the repository.
* Fixed two deprecation warnings. Patches by Colin
Watson and Nicholas Neumann. [bug=1847592] [bug=1855301]
* The html.parser tree builder now correctly handles DOCTYPEs that are
not uppercase. [bug=1848401]
* PageElement.select() now returns a ResultSet rather than a regular
list, making it consistent with methods like find_all().
= 4.8.1 (20191006)
* When the html.parser or html5lib parsers are in use, Beautiful Soup
will, by default, record the position in the original document where
each tag was encountered. This includes line number (Tag.sourceline)
and position within a line (Tag.sourcepos). Based on code by Chris
Mayo. [bug=1742921]
* When instantiating a BeautifulSoup object, it's now possible to
provide a dictionary ('element_classes') of the classes you'd like to be
instantiated instead of Tag, NavigableString, etc.
* Fixed the definition of the default XML namespace when using
lxml 4.4. Patch by Isaac Muse. [bug=1840141]
* Fixed a crash when pretty-printing tags that were not created
during initial parsing. [bug=1838903]
* Copying a Tag preserves information that was originally obtained from
the TreeBuilder used to build the original Tag. [bug=1838903]
* Raise an explanatory exception when the underlying parser
completely rejects the incoming markup. [bug=1838877]
* Avoid a crash when trying to detect the declared encoding of a
Unicode document. [bug=1838877]
* Avoid a crash when unpickling certain parse trees generated
using html5lib on Python 3. [bug=1843545]
= 4.8.0 (20190720, "One Small Soup")
This release focuses on making it easier to customize Beautiful Soup's
input mechanism (the TreeBuilder) and output mechanism (the Formatter).
* You can customize the TreeBuilder object by passing keyword
arguments into the BeautifulSoup constructor. Those keyword
arguments will be passed along into the TreeBuilder constructor.
The main reason to do this right now is to change how which
attributes are treated as multi-valued attributes (the way 'class'
is treated by default). You can do this with the
'multi_valued_attributes' argument. [bug=1832978]
* The role of Formatter objects has been greatly expanded. The Formatter
class now controls the following:
- The function to call to perform entity substitution. (This was
previously Formatter's only job.)
- Which tags should be treated as containing CDATA and have their
contents exempt from entity substitution.
- The order in which a tag's attributes are output. [bug=1812422]
- Whether or not to put a '/' inside a void element, e.g. '<br/>' vs '<br>'
All preexisting code should work as before.
* Added a new method to the API, Tag.smooth(), which consolidates
multiple adjacent NavigableString elements. [bug=1697296]
* &apos; (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is always
recognized as a named entity and converted to a single quote. [bug=1818721]
= 4.7.1 (20190106)
* Fixed a significant performance problem introduced in 4.7.0. [bug=1810617]
* Fixed an incorrectly raised exception when inserting a tag before or
after an identical tag. [bug=1810692]
* Beautiful Soup will no longer try to keep track of namespaces that
are not defined with a prefix; this can confuse soupselect. [bug=1810680]
* Tried even harder to avoid the deprecation warning originally fixed in
4.6.1. [bug=1778909]
= 4.7.0 (20181231)
* Beautiful Soup's CSS Selector implementation has been replaced by a
dependency on Isaac Muse's SoupSieve project (the soupsieve package
on PyPI). The good news is that SoupSieve has a much more robust and
complete implementation of CSS selectors, resolving a large number
of longstanding issues. The bad news is that from this point onward,
SoupSieve must be installed if you want to use the select() method.
You don't have to change anything lf you installed Beautiful Soup
through pip (SoupSieve will be automatically installed when you
upgrade Beautiful Soup) or if you don't use CSS selectors from
within Beautiful Soup.
SoupSieve documentation: https://facelessuser.github.io/soupsieve/
* Added the PageElement.extend() method, which works like list.append().
[bug=1514970]
* PageElement.insert_before() and insert_after() now take a variable
number of arguments. [bug=1514970]
* Fix a number of problems with the tree builder that caused
trees that were superficially okay, but which fell apart when bits
were extracted. Patch by Isaac Muse. [bug=1782928,1809910]
* Fixed a problem with the tree builder in which elements that
contained no content (such as empty comments and all-whitespace
elements) were not being treated as part of the tree. Patch by Isaac
Muse. [bug=1798699]
* Fixed a problem with multi-valued attributes where the value
contained whitespace. Thanks to Jens Svalgaard for the
fix. [bug=1787453]
* Clarified ambiguous license statements in the source code. Beautiful
Soup is released under the MIT license, and has been since 4.4.0.
* This file has been renamed from NEWS.txt to CHANGELOG.
= 4.6.3 (20180812)
* Exactly the same as 4.6.2. Re-released to make the README file
render properly on PyPI.
= 4.6.2 (20180812)
* Fix an exception when a custom formatter was asked to format a void
element. [bug=1784408]
= 4.6.1 (20180728)
* Stop data loss when encountering an empty numeric entity, and
possibly in other cases. Thanks to tos.kamiya for the fix. [bug=1698503]
* Preserve XML namespaces introduced inside an XML document, not just
the ones introduced at the top level. [bug=1718787]
* Added a new formatter, "html5", which represents void elements
as "<element>" rather than "<element/>". [bug=1716272]
* Fixed a problem where the html.parser tree builder interpreted
a string like "&foo " as the character entity "&foo;" [bug=1728706]
* Correctly handle invalid HTML numeric character entities like &#147;
which reference code points that are not Unicode code points. Note
that this is only fixed when Beautiful Soup is used with the
html.parser parser -- html5lib already worked and I couldn't fix it
with lxml. [bug=1782933]
* Improved the warning given when no parser is specified. [bug=1780571]
* When markup contains duplicate elements, a select() call that
includes multiple match clauses will match all relevant
elements. [bug=1770596]
* Fixed code that was causing deprecation warnings in recent Python 3
versions. Includes a patch from Ville Skyttä. [bug=1778909] [bug=1689496]
* Fixed a Windows crash in diagnose() when checking whether a long
markup string is a filename. [bug=1737121]
* Stopped HTMLParser from raising an exception in very rare cases of
bad markup. [bug=1708831]
* Fixed a bug where find_all() was not working when asked to find a
tag with a namespaced name in an XML document that was parsed as
HTML. [bug=1723783]
* You can get finer control over formatting by subclassing
bs4.element.Formatter and passing a Formatter instance into (e.g.)
encode(). [bug=1716272]
* You can pass a dictionary of `attrs` into
BeautifulSoup.new_tag. This makes it possible to create a tag with
an attribute like 'name' that would otherwise be masked by another
argument of new_tag. [bug=1779276]
* Clarified the deprecation warning when accessing tag.fooTag, to cover
the possibility that you might really have been looking for a tag
called 'fooTag'.
= 4.6.0 (20170507) =
* Added the `Tag.get_attribute_list` method, which acts like `Tag.get` for
getting the value of an attribute, but which always returns a list,
whether or not the attribute is a multi-value attribute. [bug=1678589]
* It's now possible to use a tag's namespace prefix when searching,
e.g. soup.find('namespace:tag') [bug=1655332]
* Improved the handling of empty-element tags like <br> when using the
html.parser parser. [bug=1676935]
* HTML parsers treat all HTML4 and HTML5 empty element tags (aka void
element tags) correctly. [bug=1656909]
* Namespace prefix is preserved when an XML tag is copied. Thanks
to Vikas for a patch and test. [bug=1685172]
= 4.5.3 (20170102) =
* Fixed foster parenting when html5lib is the tree builder. Thanks to
Geoffrey Sneddon for a patch and test.
* Fixed yet another problem that caused the html5lib tree builder to
create a disconnected parse tree. [bug=1629825]
= 4.5.2 (20170102) =
* Apart from the version number, this release is identical to
4.5.3. Due to user error, it could not be completely uploaded to
PyPI. Use 4.5.3 instead.
= 4.5.1 (20160802) =
* Fixed a crash when passing Unicode markup that contained a
processing instruction into the lxml HTML parser on Python
3. [bug=1608048]
= 4.5.0 (20160719) =
* Beautiful Soup is no longer compatible with Python 2.6. This
actually happened a few releases ago, but it's now official.
* Beautiful Soup will now work with versions of html5lib greater than
0.99999999. [bug=1603299]
* If a search against each individual value of a multi-valued
attribute fails, the search will be run one final time against the
complete attribute value considered as a single string. That is, if
a tag has class="foo bar" and neither "foo" nor "bar" matches, but
"foo bar" does, the tag is now considered a match.
This happened in previous versions, but only when the value being
searched for was a string. Now it also works when that value is
a regular expression, a list of strings, etc. [bug=1476868]
* Fixed a bug that deranged the tree when a whitespace element was
reparented into a tag that contained an identical whitespace
element. [bug=1505351]
* Added support for CSS selector values that contain quoted spaces,
such as tag[style="display: foo"]. [bug=1540588]
* Corrected handling of XML processing instructions. [bug=1504393]
* Corrected an encoding error that happened when a BeautifulSoup
object was copied. [bug=1554439]
* The contents of <textarea> tags will no longer be modified when the
tree is prettified. [bug=1555829]
* When a BeautifulSoup object is pickled but its tree builder cannot
be pickled, its .builder attribute is set to None instead of being
destroyed. This avoids a performance problem once the object is
unpickled. [bug=1523629]
* Specify the file and line number when warning about a
BeautifulSoup object being instantiated without a parser being
specified. [bug=1574647]
* The `limit` argument to `select()` now works correctly, though it's
not implemented very efficiently. [bug=1520530]
* Fixed a Python 3 ByteWarning when a URL was passed in as though it
were markup. Thanks to James Salter for a patch and
test. [bug=1533762]
* We don't run the check for a filename passed in as markup if the
'filename' contains a less-than character; the less-than character
indicates it's most likely a very small document. [bug=1577864]
= 4.4.1 (20150928) =
* Fixed a bug that deranged the tree when part of it was
removed. Thanks to Eric Weiser for the patch and John Wiseman for a
test. [bug=1481520]
* Fixed a parse bug with the html5lib tree-builder. Thanks to Roel
Kramer for the patch. [bug=1483781]
* Improved the implementation of CSS selector grouping. Thanks to
Orangain for the patch. [bug=1484543]
* Fixed the test_detect_utf8 test so that it works when chardet is
installed. [bug=1471359]
* Corrected the output of Declaration objects. [bug=1477847]
= 4.4.0 (20150703) =
Especially important changes:
* Added a warning when you instantiate a BeautifulSoup object without
explicitly naming a parser. [bug=1398866]
* __repr__ now returns an ASCII bytestring in Python 2, and a Unicode
string in Python 3, instead of a UTF8-encoded bytestring in both
versions. In Python 3, __str__ now returns a Unicode string instead
of a bytestring. [bug=1420131]
* The `text` argument to the find_* methods is now called `string`,
which is more accurate. `text` still works, but `string` is the
argument described in the documentation. `text` may eventually
change its meaning, but not for a very long time. [bug=1366856]
* Changed the way soup objects work under copy.copy(). Copying a
NavigableString or a Tag will give you a new NavigableString that's
equal to the old one but not connected to the parse tree. Patch by
Martijn Peters. [bug=1307490]
* Started using a standard MIT license. [bug=1294662]
* Added a Chinese translation of the documentation by Delong .w.
New features:
* Introduced the select_one() method, which uses a CSS selector but
only returns the first match, instead of a list of
matches. [bug=1349367]
* You can now create a Tag object without specifying a
TreeBuilder. Patch by Martijn Pieters. [bug=1307471]
* You can now create a NavigableString or a subclass just by invoking
the constructor. [bug=1294315]
* Added an `exclude_encodings` argument to UnicodeDammit and to the
Beautiful Soup constructor, which lets you prohibit the detection of
an encoding that you know is wrong. [bug=1469408]
* The select() method now supports selector grouping. Patch by
Francisco Canas [bug=1191917]
Bug fixes:
* Fixed yet another problem that caused the html5lib tree builder to
create a disconnected parse tree. [bug=1237763]
* Force object_was_parsed() to keep the tree intact even when an element
from later in the document is moved into place. [bug=1430633]
* Fixed yet another bug that caused a disconnected tree when html5lib
copied an element from one part of the tree to another. [bug=1270611]
* Fixed a bug where Element.extract() could create an infinite loop in
the remaining tree.
* The select() method can now find tags whose names contain
dashes. Patch by Francisco Canas. [bug=1276211]
* The select() method can now find tags with attributes whose names
contain dashes. Patch by Marek Kapolka. [bug=1304007]
* Improved the lxml tree builder's handling of processing
instructions. [bug=1294645]
* Restored the helpful syntax error that happens when you try to
import the Python 2 edition of Beautiful Soup under Python
3. [bug=1213387]
* In Python 3.4 and above, set the new convert_charrefs argument to
the html.parser constructor to avoid a warning and future
failures. Patch by Stefano Revera. [bug=1375721]
* The warning when you pass in a filename or URL as markup will now be
displayed correctly even if the filename or URL is a Unicode
string. [bug=1268888]
* If the initial <html> tag contains a CDATA list attribute such as
'class', the html5lib tree builder will now turn its value into a
list, as it would with any other tag. [bug=1296481]
* Fixed an import error in Python 3.5 caused by the removal of the
HTMLParseError class. [bug=1420063]
* Improved docstring for encode_contents() and
decode_contents(). [bug=1441543]
* Fixed a crash in Unicode, Dammit's encoding detector when the name
of the encoding itself contained invalid bytes. [bug=1360913]
* Improved the exception raised when you call .unwrap() or
.replace_with() on an element that's not attached to a tree.
* Raise a NotImplementedError whenever an unsupported CSS pseudoclass
is used in select(). Previously some cases did not result in a
NotImplementedError.
* It's now possible to pickle a BeautifulSoup object no matter which
tree builder was used to create it. However, the only tree builder
that survives the pickling process is the HTMLParserTreeBuilder
('html.parser'). If you unpickle a BeautifulSoup object created with
some other tree builder, soup.builder will be None. [bug=1231545]
= 4.3.2 (20131002) =
* Fixed a bug in which short Unicode input was improperly encoded to
@@ -331,7 +1104,7 @@
* Renamed Tag.nsprefix to Tag.prefix, for consistency with
NamespacedAttribute.
* Fixed a test failure that occured on Python 3.x when chardet was
* Fixed a test failure that occurred on Python 3.x when chardet was
installed.
* Made prettify() return Unicode by default, so it will look nice on
@@ -365,7 +1138,7 @@
* Restored compatibility with Python 2.6.
* The install process no longer installs docs or auxillary text files.
* The install process no longer installs docs or auxiliary text files.
* It's now possible to deepcopy a BeautifulSoup object created with
Python's built-in HTML parser.
@@ -604,7 +1377,7 @@ Added an import that makes BS work in Python 2.3.
Fixed a UnicodeDecodeError when unpickling documents that contain
non-ASCII characters.
Fixed a TypeError that occured in some circumstances when a tag
Fixed a TypeError that occurred in some circumstances when a tag
contained no text.
Jump through hoops to avoid the use of chardet, which can be extremely

View File

@@ -1,6 +1,6 @@
Beautiful Soup is made available under the MIT license:
Copyright (c) 2004-2012 Leonard Richardson
Copyright (c) Leonard Richardson
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -20,7 +20,12 @@ Beautiful Soup is made available under the MIT license:
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE, DAMMIT.
SOFTWARE.
Beautiful Soup incorporates code from the html5lib library, which is
also made available under the MIT license.
also made available under the MIT license. Copyright (c) James Graham
and other contributors
Beautiful Soup has an optional dependency on the soupsieve library,
which is also made available under the MIT license. Copyright (c)
Isaac Muse

View File

@@ -1,65 +1,99 @@
"""Beautiful Soup
Elixir and Tonic
"The Screen-Scraper's Friend"
"""Beautiful Soup Elixir and Tonic - "The Screen-Scraper's Friend".
http://www.crummy.com/software/BeautifulSoup/
Beautiful Soup uses a pluggable XML or HTML parser to parse a
(possibly invalid) document into a tree representation. Beautiful Soup
provides provides methods and Pythonic idioms that make it easy to
navigate, search, and modify the parse tree.
provides methods and Pythonic idioms that make it easy to navigate,
search, and modify the parse tree.
Beautiful Soup works with Python 2.6 and up. It works better if lxml
Beautiful Soup works with Python 3.6 and up. It works better if lxml
and/or html5lib is installed.
For more than you ever wanted to know about Beautiful Soup, see the
documentation:
http://www.crummy.com/software/BeautifulSoup/bs4/doc/
documentation: http://www.crummy.com/software/BeautifulSoup/bs4/doc/
"""
__author__ = "Leonard Richardson (leonardr@segfault.org)"
__version__ = "4.4.1"
__copyright__ = "Copyright (c) 2004-2015 Leonard Richardson"
__version__ = "4.12.3"
__copyright__ = "Copyright (c) 2004-2024 Leonard Richardson"
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
__all__ = ['BeautifulSoup']
from collections import Counter
import os
import re
import sys
import traceback
import warnings
from .builder import builder_registry, ParserRejectedMarkup
# The very first thing we do is give a useful error if someone is
# running this code under Python 2.
if sys.version_info.major < 3:
raise ImportError('You are trying to use a Python 3-specific version of Beautiful Soup under Python 2. This will not work. The final version of Beautiful Soup to support Python 2 was 4.9.3.')
from .builder import (
builder_registry,
ParserRejectedMarkup,
XMLParsedAsHTMLWarning,
HTMLParserTreeBuilder
)
from .dammit import UnicodeDammit
from .element import (
CData,
Comment,
CSS,
DEFAULT_OUTPUT_ENCODING,
Declaration,
Doctype,
NavigableString,
PageElement,
ProcessingInstruction,
PYTHON_SPECIFIC_ENCODINGS,
ResultSet,
Script,
Stylesheet,
SoupStrainer,
Tag,
TemplateString,
)
# The very first thing we do is give a useful error if someone is
# running this code under Python 3 without converting it.
'You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.'!='You need to convert the code, either by installing it (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).'
class BeautifulSoup(Tag):
# Define some custom warnings.
class GuessedAtParserWarning(UserWarning):
"""The warning issued when BeautifulSoup has to guess what parser to
use -- probably because no parser was specified in the constructor.
"""
This class defines the basic interface called by the tree builders.
These methods will be called by the parser:
reset()
feed(markup)
class MarkupResemblesLocatorWarning(UserWarning):
"""The warning issued when BeautifulSoup is given 'markup' that
actually looks like a resource locator -- a URL or a path to a file
on disk.
"""
class BeautifulSoup(Tag):
"""A data structure representing a parsed HTML or XML document.
Most of the methods you'll call on a BeautifulSoup object are inherited from
PageElement or Tag.
Internally, this class defines the basic interface called by the
tree builders when converting an HTML/XML document into a data
structure. The interface abstracts away the differences between
parsers. To write a new tree builder, you'll need to understand
these methods as a whole.
These methods will be called by the BeautifulSoup constructor:
* reset()
* feed(markup)
The tree builder may call these methods from its feed() implementation:
handle_starttag(name, attrs) # See note about return value
handle_endtag(name)
handle_data(data) # Appends to the current data node
endData(containerClass=NavigableString) # Ends the current data node
* handle_starttag(name, attrs) # See note about return value
* handle_endtag(name)
* handle_data(data) # Appends to the current data node
* endData(containerClass) # Ends the current data node
No matter how complicated the underlying parser is, you should be
able to build a tree using 'start tag' events, 'end tag' events,
@@ -69,24 +103,77 @@ class BeautifulSoup(Tag):
like HTML's <br> tag), call handle_starttag and then
handle_endtag.
"""
# Since BeautifulSoup subclasses Tag, it's possible to treat it as
# a Tag with a .name. This name makes it clear the BeautifulSoup
# object isn't a real markup tag.
ROOT_TAG_NAME = '[document]'
# If the end-user gives no indication which tree builder they
# want, look for one with these features.
DEFAULT_BUILDER_FEATURES = ['html', 'fast']
# A string containing all ASCII whitespace characters, used in
# endData() to detect data chunks that seem 'empty'.
ASCII_SPACES = '\x20\x0a\x09\x0c\x0d'
NO_PARSER_SPECIFIED_WARNING = "No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system (\"%(parser)s\"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.\n\nTo get rid of this warning, change this:\n\n BeautifulSoup([your markup])\n\nto this:\n\n BeautifulSoup([your markup], \"%(parser)s\")\n"
NO_PARSER_SPECIFIED_WARNING = "No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system (\"%(parser)s\"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.\n\nThe code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, pass the additional argument 'features=\"%(parser)s\"' to the BeautifulSoup constructor.\n"
def __init__(self, markup="", features=None, builder=None,
parse_only=None, from_encoding=None, exclude_encodings=None,
**kwargs):
"""The Soup object is initialized as the 'root tag', and the
provided markup (which can be a string or a file-like object)
is fed into the underlying parser."""
element_classes=None, **kwargs):
"""Constructor.
:param markup: A string or a file-like object representing
markup to be parsed.
:param features: Desirable features of the parser to be
used. This may be the name of a specific parser ("lxml",
"lxml-xml", "html.parser", or "html5lib") or it may be the
type of markup to be used ("html", "html5", "xml"). It's
recommended that you name a specific parser, so that
Beautiful Soup gives you the same results across platforms
and virtual environments.
:param builder: A TreeBuilder subclass to instantiate (or
instance to use) instead of looking one up based on
`features`. You only need to use this if you've implemented a
custom TreeBuilder.
:param parse_only: A SoupStrainer. Only parts of the document
matching the SoupStrainer will be considered. This is useful
when parsing part of a document that would otherwise be too
large to fit into memory.
:param from_encoding: A string indicating the encoding of the
document to be parsed. Pass this in if Beautiful Soup is
guessing wrongly about the document's encoding.
:param exclude_encodings: A list of strings indicating
encodings known to be wrong. Pass this in if you don't know
the document's encoding but you know Beautiful Soup's guess is
wrong.
:param element_classes: A dictionary mapping BeautifulSoup
classes like Tag and NavigableString, to other classes you'd
like to be instantiated instead as the parse tree is
built. This is useful for subclassing Tag or NavigableString
to modify default behavior.
:param kwargs: For backwards compatibility purposes, the
constructor accepts certain keyword arguments used in
Beautiful Soup 3. None of these arguments do anything in
Beautiful Soup 4; they will result in a warning and then be
ignored.
Apart from this, any keyword arguments passed into the
BeautifulSoup constructor are propagated to the TreeBuilder
constructor. This makes it possible to configure a
TreeBuilder by passing in arguments, not just by saying which
one to use.
"""
if 'convertEntities' in kwargs:
del kwargs['convertEntities']
warnings.warn(
"BS4 does not respect the convertEntities argument to the "
"BeautifulSoup constructor. Entities are always converted "
@@ -125,10 +212,10 @@ class BeautifulSoup(Tag):
if old_name in kwargs:
warnings.warn(
'The "%s" argument to the BeautifulSoup constructor '
'has been renamed to "%s."' % (old_name, new_name))
value = kwargs[old_name]
del kwargs[old_name]
return value
'has been renamed to "%s."' % (old_name, new_name),
DeprecationWarning, stacklevel=3
)
return kwargs.pop(old_name)
return None
parse_only = parse_only or deprecated_argument(
@@ -137,13 +224,23 @@ class BeautifulSoup(Tag):
from_encoding = from_encoding or deprecated_argument(
"fromEncoding", "from_encoding")
if len(kwargs) > 0:
arg = list(kwargs.keys()).pop()
raise TypeError(
"__init__() got an unexpected keyword argument '%s'" % arg)
if from_encoding and isinstance(markup, str):
warnings.warn("You provided Unicode markup but also provided a value for from_encoding. Your from_encoding will be ignored.")
from_encoding = None
if builder is None:
original_features = features
self.element_classes = element_classes or dict()
# We need this information to track whether or not the builder
# was specified well enough that we can omit the 'you need to
# specify a parser' warning.
original_builder = builder
original_features = features
if isinstance(builder, type):
# A builder class was passed in; it needs to be instantiated.
builder_class = builder
builder = None
elif builder is None:
if isinstance(features, str):
features = [features]
if features is None or len(features) == 0:
@@ -154,85 +251,227 @@ class BeautifulSoup(Tag):
"Couldn't find a tree builder with the features you "
"requested: %s. Do you need to install a parser library?"
% ",".join(features))
builder = builder_class()
if not (original_features == builder.NAME or
original_features in builder.ALTERNATE_NAMES):
# At this point either we have a TreeBuilder instance in
# builder, or we have a builder_class that we can instantiate
# with the remaining **kwargs.
if builder is None:
builder = builder_class(**kwargs)
if not original_builder and not (
original_features == builder.NAME or
original_features in builder.ALTERNATE_NAMES
) and markup:
# The user did not tell us which TreeBuilder to use,
# and we had to guess. Issue a warning.
if builder.is_xml:
markup_type = "XML"
else:
markup_type = "HTML"
warnings.warn(self.NO_PARSER_SPECIFIED_WARNING % dict(
parser=builder.NAME,
markup_type=markup_type))
# This code adapted from warnings.py so that we get the same line
# of code as our warnings.warn() call gets, even if the answer is wrong
# (as it may be in a multithreading situation).
caller = None
try:
caller = sys._getframe(1)
except ValueError:
pass
if caller:
globals = caller.f_globals
line_number = caller.f_lineno
else:
globals = sys.__dict__
line_number= 1
filename = globals.get('__file__')
if filename:
fnl = filename.lower()
if fnl.endswith((".pyc", ".pyo")):
filename = filename[:-1]
if filename:
# If there is no filename at all, the user is most likely in a REPL,
# and the warning is not necessary.
values = dict(
filename=filename,
line_number=line_number,
parser=builder.NAME,
markup_type=markup_type
)
warnings.warn(
self.NO_PARSER_SPECIFIED_WARNING % values,
GuessedAtParserWarning, stacklevel=2
)
else:
if kwargs:
warnings.warn("Keyword arguments to the BeautifulSoup constructor will be ignored. These would normally be passed into the TreeBuilder constructor, but a TreeBuilder instance was passed in as `builder`.")
self.builder = builder
self.is_xml = builder.is_xml
self.builder.soup = self
self.known_xml = self.is_xml
self._namespaces = dict()
self.parse_only = parse_only
if hasattr(markup, 'read'): # It's a file-type object.
markup = markup.read()
elif len(markup) <= 256:
# Print out warnings for a couple beginner problems
elif len(markup) <= 256 and (
(isinstance(markup, bytes) and not b'<' in markup)
or (isinstance(markup, str) and not '<' in markup)
):
# Issue warnings for a couple beginner problems
# involving passing non-markup to Beautiful Soup.
# Beautiful Soup will still parse the input as markup,
# just in case that's what the user really wants.
if (isinstance(markup, str)
and not os.path.supports_unicode_filenames):
possible_filename = markup.encode("utf8")
else:
possible_filename = markup
is_file = False
try:
is_file = os.path.exists(possible_filename)
except Exception as e:
# This is almost certainly a problem involving
# characters not valid in filenames on this
# system. Just let it go.
pass
if is_file:
if isinstance(markup, str):
markup = markup.encode("utf8")
warnings.warn(
'"%s" looks like a filename, not markup. You should probably open this file and pass the filehandle into Beautiful Soup.' % markup)
if markup[:5] == "http:" or markup[:6] == "https:":
# TODO: This is ugly but I couldn't get it to work in
# Python 3 otherwise.
if ((isinstance(markup, bytes) and not b' ' in markup)
or (isinstance(markup, str) and not ' ' in markup)):
if isinstance(markup, str):
markup = markup.encode("utf8")
warnings.warn(
'"%s" looks like a URL. Beautiful Soup is not an HTTP client. You should probably use an HTTP client to get the document behind the URL, and feed that document to Beautiful Soup.' % markup)
# since that is sometimes the intended behavior.
if not self._markup_is_url(markup):
self._markup_resembles_filename(markup)
rejections = []
success = False
for (self.markup, self.original_encoding, self.declared_html_encoding,
self.contains_replacement_characters) in (
self.builder.prepare_markup(
markup, from_encoding, exclude_encodings=exclude_encodings)):
self.reset()
self.builder.initialize_soup(self)
try:
self._feed()
success = True
break
except ParserRejectedMarkup:
except ParserRejectedMarkup as e:
rejections.append(e)
pass
if not success:
other_exceptions = [str(e) for e in rejections]
raise ParserRejectedMarkup(
"The markup you provided was rejected by the parser. Trying a different parser or a different encoding may help.\n\nOriginal exception(s) from parser:\n " + "\n ".join(other_exceptions)
)
# Clear out the markup and remove the builder's circular
# reference to this object.
self.markup = None
self.builder.soup = None
def __copy__(self):
return type(self)(self.encode(), builder=self.builder)
def _clone(self):
"""Create a new BeautifulSoup object with the same TreeBuilder,
but not associated with any markup.
This is the first step of the deepcopy process.
"""
clone = type(self)("", None, self.builder)
# Keep track of the encoding of the original document,
# since we won't be parsing it again.
clone.original_encoding = self.original_encoding
return clone
def __getstate__(self):
# Frequently a tree builder can't be pickled.
d = dict(self.__dict__)
if 'builder' in d and not self.builder.picklable:
del d['builder']
if 'builder' in d and d['builder'] is not None and not self.builder.picklable:
d['builder'] = type(self.builder)
# Store the contents as a Unicode string.
d['contents'] = []
d['markup'] = self.decode()
# If _most_recent_element is present, it's a Tag object left
# over from initial parse. It might not be picklable and we
# don't need it.
if '_most_recent_element' in d:
del d['_most_recent_element']
return d
def __setstate__(self, state):
# If necessary, restore the TreeBuilder by looking it up.
self.__dict__ = state
if isinstance(self.builder, type):
self.builder = self.builder()
elif not self.builder:
# We don't know which builder was used to build this
# parse tree, so use a default we know is always available.
self.builder = HTMLParserTreeBuilder()
self.builder.soup = self
self.reset()
self._feed()
return state
@classmethod
def _decode_markup(cls, markup):
"""Ensure `markup` is bytes so it's safe to send into warnings.warn.
TODO: warnings.warn had this problem back in 2010 but it might not
anymore.
"""
if isinstance(markup, bytes):
decoded = markup.decode('utf-8', 'replace')
else:
decoded = markup
return decoded
@classmethod
def _markup_is_url(cls, markup):
"""Error-handling method to raise a warning if incoming markup looks
like a URL.
:param markup: A string.
:return: Whether or not the markup resembles a URL
closely enough to justify a warning.
"""
if isinstance(markup, bytes):
space = b' '
cant_start_with = (b"http:", b"https:")
elif isinstance(markup, str):
space = ' '
cant_start_with = ("http:", "https:")
else:
return False
if any(markup.startswith(prefix) for prefix in cant_start_with):
if not space in markup:
warnings.warn(
'The input looks more like a URL than markup. You may want to use'
' an HTTP client like requests to get the document behind'
' the URL, and feed that document to Beautiful Soup.',
MarkupResemblesLocatorWarning,
stacklevel=3
)
return True
return False
@classmethod
def _markup_resembles_filename(cls, markup):
"""Error-handling method to raise a warning if incoming markup
resembles a filename.
:param markup: A bytestring or string.
:return: Whether or not the markup resembles a filename
closely enough to justify a warning.
"""
path_characters = '/\\'
extensions = ['.html', '.htm', '.xml', '.xhtml', '.txt']
if isinstance(markup, bytes):
path_characters = path_characters.encode("utf8")
extensions = [x.encode('utf8') for x in extensions]
filelike = False
if any(x in markup for x in path_characters):
filelike = True
else:
lower = markup.lower()
if any(lower.endswith(ext) for ext in extensions):
filelike = True
if filelike:
warnings.warn(
'The input looks more like a filename than markup. You may'
' want to open this file and pass the filehandle into'
' Beautiful Soup.',
MarkupResemblesLocatorWarning, stacklevel=3
)
return True
return False
def _feed(self):
"""Internal method that parses previously set markup, creating a large
number of Tag and NavigableString objects.
"""
# Convert the document to Unicode.
self.builder.reset()
@@ -243,48 +482,111 @@ class BeautifulSoup(Tag):
self.popTag()
def reset(self):
"""Reset this object to a state as though it had never parsed any
markup.
"""
Tag.__init__(self, self, self.builder, self.ROOT_TAG_NAME)
self.hidden = 1
self.builder.reset()
self.current_data = []
self.currentTag = None
self.tagStack = []
self.open_tag_counter = Counter()
self.preserve_whitespace_tag_stack = []
self.string_container_stack = []
self._most_recent_element = None
self.pushTag(self)
def new_tag(self, name, namespace=None, nsprefix=None, **attrs):
"""Create a new tag associated with this soup."""
return Tag(None, self.builder, name, namespace, nsprefix, attrs)
def new_tag(self, name, namespace=None, nsprefix=None, attrs={},
sourceline=None, sourcepos=None, **kwattrs):
"""Create a new Tag associated with this BeautifulSoup object.
def new_string(self, s, subclass=NavigableString):
"""Create a new NavigableString associated with this soup."""
return subclass(s)
:param name: The name of the new Tag.
:param namespace: The URI of the new Tag's XML namespace, if any.
:param prefix: The prefix for the new Tag's XML namespace, if any.
:param attrs: A dictionary of this Tag's attribute values; can
be used instead of `kwattrs` for attributes like 'class'
that are reserved words in Python.
:param sourceline: The line number where this tag was
(purportedly) found in its source document.
:param sourcepos: The character position within `sourceline` where this
tag was (purportedly) found.
:param kwattrs: Keyword arguments for the new Tag's attribute values.
def insert_before(self, successor):
"""
kwattrs.update(attrs)
return self.element_classes.get(Tag, Tag)(
None, self.builder, name, namespace, nsprefix, kwattrs,
sourceline=sourceline, sourcepos=sourcepos
)
def string_container(self, base_class=None):
container = base_class or NavigableString
# There may be a general override of NavigableString.
container = self.element_classes.get(
container, container
)
# On top of that, we may be inside a tag that needs a special
# container class.
if self.string_container_stack and container is NavigableString:
container = self.builder.string_containers.get(
self.string_container_stack[-1].name, container
)
return container
def new_string(self, s, subclass=None):
"""Create a new NavigableString associated with this BeautifulSoup
object.
"""
container = self.string_container(subclass)
return container(s)
def insert_before(self, *args):
"""This method is part of the PageElement API, but `BeautifulSoup` doesn't implement
it because there is nothing before or after it in the parse tree.
"""
raise NotImplementedError("BeautifulSoup objects don't support insert_before().")
def insert_after(self, successor):
def insert_after(self, *args):
"""This method is part of the PageElement API, but `BeautifulSoup` doesn't implement
it because there is nothing before or after it in the parse tree.
"""
raise NotImplementedError("BeautifulSoup objects don't support insert_after().")
def popTag(self):
"""Internal method called by _popToTag when a tag is closed."""
tag = self.tagStack.pop()
if tag.name in self.open_tag_counter:
self.open_tag_counter[tag.name] -= 1
if self.preserve_whitespace_tag_stack and tag == self.preserve_whitespace_tag_stack[-1]:
self.preserve_whitespace_tag_stack.pop()
#print "Pop", tag.name
if self.string_container_stack and tag == self.string_container_stack[-1]:
self.string_container_stack.pop()
#print("Pop", tag.name)
if self.tagStack:
self.currentTag = self.tagStack[-1]
return self.currentTag
def pushTag(self, tag):
#print "Push", tag.name
if self.currentTag:
"""Internal method called by handle_starttag when a tag is opened."""
#print("Push", tag.name)
if self.currentTag is not None:
self.currentTag.contents.append(tag)
self.tagStack.append(tag)
self.currentTag = self.tagStack[-1]
if tag.name != self.ROOT_TAG_NAME:
self.open_tag_counter[tag.name] += 1
if tag.name in self.builder.preserve_whitespace_tags:
self.preserve_whitespace_tag_stack.append(tag)
if tag.name in self.builder.string_containers:
self.string_container_stack.append(tag)
def endData(self, containerClass=NavigableString):
def endData(self, containerClass=None):
"""Method called by the TreeBuilder when the end of a data segment
occurs.
"""
if self.current_data:
current_data = ''.join(self.current_data)
# If whitespace is not preserved, and this string contains
@@ -311,61 +613,93 @@ class BeautifulSoup(Tag):
not self.parse_only.search(current_data)):
return
containerClass = self.string_container(containerClass)
o = containerClass(current_data)
self.object_was_parsed(o)
def object_was_parsed(self, o, parent=None, most_recent_element=None):
"""Add an object to the parse tree."""
parent = parent or self.currentTag
previous_element = most_recent_element or self._most_recent_element
"""Method called by the TreeBuilder to integrate an object into the parse tree."""
if parent is None:
parent = self.currentTag
if most_recent_element is not None:
previous_element = most_recent_element
else:
previous_element = self._most_recent_element
next_element = previous_sibling = next_sibling = None
if isinstance(o, Tag):
next_element = o.next_element
next_sibling = o.next_sibling
previous_sibling = o.previous_sibling
if not previous_element:
if previous_element is None:
previous_element = o.previous_element
fix = parent.next_element is not None
o.setup(parent, previous_element, next_element, previous_sibling, next_sibling)
self._most_recent_element = o
parent.contents.append(o)
if parent.next_sibling:
# This node is being inserted into an element that has
# already been parsed. Deal with any dangling references.
index = parent.contents.index(o)
if index == 0:
previous_element = parent
previous_sibling = None
else:
previous_element = previous_sibling = parent.contents[index-1]
if index == len(parent.contents)-1:
next_element = parent.next_sibling
next_sibling = None
else:
next_element = next_sibling = parent.contents[index+1]
# Check if we are inserting into an already parsed node.
if fix:
self._linkage_fixer(parent)
o.previous_element = previous_element
if previous_element:
previous_element.next_element = o
o.next_element = next_element
if next_element:
next_element.previous_element = o
o.next_sibling = next_sibling
if next_sibling:
next_sibling.previous_sibling = o
o.previous_sibling = previous_sibling
if previous_sibling:
previous_sibling.next_sibling = o
def _linkage_fixer(self, el):
"""Make sure linkage of this fragment is sound."""
first = el.contents[0]
child = el.contents[-1]
descendant = child
if child is first and el.parent is not None:
# Parent should be linked to first child
el.next_element = child
# We are no longer linked to whatever this element is
prev_el = child.previous_element
if prev_el is not None and prev_el is not el:
prev_el.next_element = None
# First child should be linked to the parent, and no previous siblings.
child.previous_element = el
child.previous_sibling = None
# We have no sibling as we've been appended as the last.
child.next_sibling = None
# This index is a tag, dig deeper for a "last descendant"
if isinstance(child, Tag) and child.contents:
descendant = child._last_descendant(False)
# As the final step, link last descendant. It should be linked
# to the parent's next sibling (if found), else walk up the chain
# and find a parent with a sibling. It should have no next sibling.
descendant.next_element = None
descendant.next_sibling = None
target = el
while True:
if target is None:
break
elif target.next_sibling is not None:
descendant.next_element = target.next_sibling
target.next_sibling.previous_element = child
break
target = target.parent
def _popToTag(self, name, nsprefix=None, inclusivePop=True):
"""Pops the tag stack up to and including the most recent
instance of the given tag. If inclusivePop is false, pops the tag
stack up to but *not* including the most recent instqance of
the given tag."""
#print "Popping to %s" % name
instance of the given tag.
If there are no open tags with the given name, nothing will be
popped.
:param name: Pop up to the most recent tag with this name.
:param nsprefix: The namespace prefix that goes with `name`.
:param inclusivePop: It this is false, pops the tag stack up
to but *not* including the most recent instqance of the
given tag.
"""
#print("Popping to %s" % name)
if name == self.ROOT_TAG_NAME:
# The BeautifulSoup object itself can never be popped.
return
@@ -374,6 +708,8 @@ class BeautifulSoup(Tag):
stack_size = len(self.tagStack)
for i in range(stack_size - 1, 0, -1):
if not self.open_tag_counter.get(name):
break
t = self.tagStack[i]
if (name == t.name and nsprefix == t.prefix):
if inclusivePop:
@@ -383,16 +719,26 @@ class BeautifulSoup(Tag):
return most_recently_popped
def handle_starttag(self, name, namespace, nsprefix, attrs):
"""Push a start tag on to the stack.
def handle_starttag(self, name, namespace, nsprefix, attrs, sourceline=None,
sourcepos=None, namespaces=None):
"""Called by the tree builder when a new tag is encountered.
If this method returns None, the tag was rejected by the
SoupStrainer. You should proceed as if the tag had not occured
:param name: Name of the tag.
:param nsprefix: Namespace prefix for the tag.
:param attrs: A dictionary of attribute values.
:param sourceline: The line number where this tag was found in its
source document.
:param sourcepos: The character position within `sourceline` where this
tag was found.
:param namespaces: A dictionary of all namespace prefix mappings
currently in scope in the document.
If this method returns None, the tag was rejected by an active
SoupStrainer. You should proceed as if the tag had not occurred
in the document. For instance, if this was a self-closing tag,
don't call handle_endtag.
"""
# print "Start tag %s: %s" % (name, attrs)
# print("Start tag %s: %s" % (name, attrs))
self.endData()
if (self.parse_only and len(self.tagStack) <= 1
@@ -400,34 +746,54 @@ class BeautifulSoup(Tag):
or not self.parse_only.search_tag(name, attrs))):
return None
tag = Tag(self, self.builder, name, namespace, nsprefix, attrs,
self.currentTag, self._most_recent_element)
tag = self.element_classes.get(Tag, Tag)(
self, self.builder, name, namespace, nsprefix, attrs,
self.currentTag, self._most_recent_element,
sourceline=sourceline, sourcepos=sourcepos,
namespaces=namespaces
)
if tag is None:
return tag
if self._most_recent_element:
if self._most_recent_element is not None:
self._most_recent_element.next_element = tag
self._most_recent_element = tag
self.pushTag(tag)
return tag
def handle_endtag(self, name, nsprefix=None):
#print "End tag: " + name
"""Called by the tree builder when an ending tag is encountered.
:param name: Name of the tag.
:param nsprefix: Namespace prefix for the tag.
"""
#print("End tag: " + name)
self.endData()
self._popToTag(name, nsprefix)
def handle_data(self, data):
"""Called by the tree builder when a chunk of textual data is encountered."""
self.current_data.append(data)
def decode(self, pretty_print=False,
eventual_encoding=DEFAULT_OUTPUT_ENCODING,
formatter="minimal"):
"""Returns a string or Unicode representation of this document.
To get Unicode, pass None for encoding."""
formatter="minimal", iterator=None):
"""Returns a string or Unicode representation of the parse tree
as an HTML or XML document.
:param pretty_print: If this is True, indentation will be used to
make the document more readable.
:param eventual_encoding: The encoding of the final document.
If this is None, the document will be a Unicode string.
"""
if self.is_xml:
# Print the XML declaration
encoding_part = ''
if eventual_encoding is not None:
if eventual_encoding in PYTHON_SPECIFIC_ENCODINGS:
# This is a special Python encoding; it can't actually
# go into an XML document because it means nothing
# outside of Python.
eventual_encoding = None
if eventual_encoding != None:
encoding_part = ' encoding="%s"' % eventual_encoding
prefix = '<?xml version="1.0"%s?>\n' % encoding_part
else:
@@ -437,9 +803,9 @@ class BeautifulSoup(Tag):
else:
indent_level = 0
return prefix + super(BeautifulSoup, self).decode(
indent_level, eventual_encoding, formatter)
indent_level, eventual_encoding, formatter, iterator)
# Alias to make it easier to type import: 'from bs4 import _soup'
# Aliases to make it easier to get started quickly, e.g. 'from bs4 import _soup'
_s = BeautifulSoup
_soup = BeautifulSoup
@@ -450,19 +816,25 @@ class BeautifulStoneSoup(BeautifulSoup):
kwargs['features'] = 'xml'
warnings.warn(
'The BeautifulStoneSoup class is deprecated. Instead of using '
'it, pass features="xml" into the BeautifulSoup constructor.')
'it, pass features="xml" into the BeautifulSoup constructor.',
DeprecationWarning, stacklevel=2
)
super(BeautifulStoneSoup, self).__init__(*args, **kwargs)
class StopParsing(Exception):
"""Exception raised by a TreeBuilder if it's unable to continue parsing."""
pass
class FeatureNotFound(ValueError):
"""Exception raised by the BeautifulSoup constructor if no parser with the
requested features is found.
"""
pass
#By default, act as an HTML pretty-printer.
#If this file is run as a script, act as an HTML pretty-printer.
if __name__ == '__main__':
import sys
soup = BeautifulSoup(sys.stdin)
print(soup.prettify())
print((soup.prettify()))

View File

@@ -1,11 +1,21 @@
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
from collections import defaultdict
import itertools
import re
import warnings
import sys
from bs4.element import (
CharsetMetaAttributeValue,
ContentMetaAttributeValue,
whitespace_re
)
RubyParenthesisString,
RubyTextString,
Stylesheet,
Script,
TemplateString,
nonwhitespace_re
)
__all__ = [
'HTMLTreeBuilder',
@@ -22,20 +32,41 @@ XML = 'xml'
HTML = 'html'
HTML_5 = 'html5'
class XMLParsedAsHTMLWarning(UserWarning):
"""The warning issued when an HTML parser is used to parse
XML that is not XHTML.
"""
MESSAGE = """It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument `features="xml"` into the BeautifulSoup constructor."""
class TreeBuilderRegistry(object):
"""A way of looking up TreeBuilder subclasses by their name or by desired
features.
"""
def __init__(self):
self.builders_for_feature = defaultdict(list)
self.builders = []
def register(self, treebuilder_class):
"""Register a treebuilder based on its advertised features."""
"""Register a treebuilder based on its advertised features.
:param treebuilder_class: A subclass of Treebuilder. its .features
attribute should list its features.
"""
for feature in treebuilder_class.features:
self.builders_for_feature[feature].insert(0, treebuilder_class)
self.builders.insert(0, treebuilder_class)
def lookup(self, *features):
"""Look up a TreeBuilder subclass with the desired features.
:param features: A list of features to look for. If none are
provided, the most recently registered TreeBuilder subclass
will be used.
:return: A TreeBuilder subclass, or None if there's no
registered subclass with all the requested features.
"""
if len(self.builders) == 0:
# There are no builders at all.
return None
@@ -78,7 +109,7 @@ class TreeBuilderRegistry(object):
builder_registry = TreeBuilderRegistry()
class TreeBuilder(object):
"""Turn a document into a Beautiful Soup object tree."""
"""Turn a textual document into a Beautiful Soup object tree."""
NAME = "[Unknown tree builder]"
ALTERNATE_NAMES = []
@@ -86,19 +117,89 @@ class TreeBuilder(object):
is_xml = False
picklable = False
preserve_whitespace_tags = set()
empty_element_tags = None # A tag will be considered an empty-element
# tag when and only when it has no contents.
# A value for these tag/attribute combinations is a space- or
# comma-separated list of CDATA, rather than a single CDATA.
cdata_list_attributes = {}
DEFAULT_CDATA_LIST_ATTRIBUTES = defaultdict(list)
# Whitespace should be preserved inside these tags.
DEFAULT_PRESERVE_WHITESPACE_TAGS = set()
def __init__(self):
# The textual contents of tags with these names should be
# instantiated with some class other than NavigableString.
DEFAULT_STRING_CONTAINERS = {}
USE_DEFAULT = object()
# Most parsers don't keep track of line numbers.
TRACKS_LINE_NUMBERS = False
def __init__(self, multi_valued_attributes=USE_DEFAULT,
preserve_whitespace_tags=USE_DEFAULT,
store_line_numbers=USE_DEFAULT,
string_containers=USE_DEFAULT,
):
"""Constructor.
:param multi_valued_attributes: If this is set to None, the
TreeBuilder will not turn any values for attributes like
'class' into lists. Setting this to a dictionary will
customize this behavior; look at DEFAULT_CDATA_LIST_ATTRIBUTES
for an example.
Internally, these are called "CDATA list attributes", but that
probably doesn't make sense to an end-user, so the argument name
is `multi_valued_attributes`.
:param preserve_whitespace_tags: A list of tags to treat
the way <pre> tags are treated in HTML. Tags in this list
are immune from pretty-printing; their contents will always be
output as-is.
:param string_containers: A dictionary mapping tag names to
the classes that should be instantiated to contain the textual
contents of those tags. The default is to use NavigableString
for every tag, no matter what the name. You can override the
default by changing DEFAULT_STRING_CONTAINERS.
:param store_line_numbers: If the parser keeps track of the
line numbers and positions of the original markup, that
information will, by default, be stored in each corresponding
`Tag` object. You can turn this off by passing
store_line_numbers=False. If the parser you're using doesn't
keep track of this information, then setting store_line_numbers=True
will do nothing.
"""
self.soup = None
if multi_valued_attributes is self.USE_DEFAULT:
multi_valued_attributes = self.DEFAULT_CDATA_LIST_ATTRIBUTES
self.cdata_list_attributes = multi_valued_attributes
if preserve_whitespace_tags is self.USE_DEFAULT:
preserve_whitespace_tags = self.DEFAULT_PRESERVE_WHITESPACE_TAGS
self.preserve_whitespace_tags = preserve_whitespace_tags
if store_line_numbers == self.USE_DEFAULT:
store_line_numbers = self.TRACKS_LINE_NUMBERS
self.store_line_numbers = store_line_numbers
if string_containers == self.USE_DEFAULT:
string_containers = self.DEFAULT_STRING_CONTAINERS
self.string_containers = string_containers
def initialize_soup(self, soup):
"""The BeautifulSoup object has been initialized and is now
being associated with the TreeBuilder.
:param soup: A BeautifulSoup object.
"""
self.soup = soup
def reset(self):
"""Do any work necessary to reset the underlying parser
for a new document.
By default, this does nothing.
"""
pass
def can_be_empty_element(self, tag_name):
@@ -110,24 +211,58 @@ class TreeBuilder(object):
For instance: an HTMLBuilder does not consider a <p> tag to be
an empty-element tag (it's not in
HTMLBuilder.empty_element_tags). This means an empty <p> tag
will be presented as "<p></p>", not "<p />".
will be presented as "<p></p>", not "<p/>" or "<p>".
The default implementation has no opinion about which tags are
empty-element tags, so a tag will be presented as an
empty-element tag if and only if it has no contents.
"<foo></foo>" will become "<foo />", and "<foo>bar</foo>" will
empty-element tag if and only if it has no children.
"<foo></foo>" will become "<foo/>", and "<foo>bar</foo>" will
be left alone.
:param tag_name: The name of a markup tag.
"""
if self.empty_element_tags is None:
return True
return tag_name in self.empty_element_tags
def feed(self, markup):
"""Run some incoming markup through some parsing process,
populating the `BeautifulSoup` object in self.soup.
This method is not implemented in TreeBuilder; it must be
implemented in subclasses.
:return: None.
"""
raise NotImplementedError()
def prepare_markup(self, markup, user_specified_encoding=None,
document_declared_encoding=None):
return markup, None, None, False
document_declared_encoding=None, exclude_encodings=None):
"""Run any preliminary steps necessary to make incoming markup
acceptable to the parser.
:param markup: Some markup -- probably a bytestring.
:param user_specified_encoding: The user asked to try this encoding.
:param document_declared_encoding: The markup itself claims to be
in this encoding. NOTE: This argument is not used by the
calling code and can probably be removed.
:param exclude_encodings: The user asked _not_ to try any of
these encodings.
:yield: A series of 4-tuples:
(markup, encoding, declared encoding,
has undergone character replacement)
Each 4-tuple represents a strategy for converting the
document to Unicode and parsing it. Each strategy will be tried
in turn.
By default, the only strategy is to parse the markup
as-is. See `LXMLTreeBuilderForXML` and
`HTMLParserTreeBuilder` for implementations that take into
account the quirks of particular parsers.
"""
yield markup, None, None, False
def test_fragment_to_document(self, fragment):
"""Wrap an HTML fragment to make it look like a document.
@@ -139,16 +274,36 @@ class TreeBuilder(object):
results against other HTML fragments.
This method should not be used outside of tests.
:param fragment: A string -- fragment of HTML.
:return: A string -- a full HTML document.
"""
return fragment
def set_up_substitutions(self, tag):
"""Set up any substitutions that will need to be performed on
a `Tag` when it's output as a string.
By default, this does nothing. See `HTMLTreeBuilder` for a
case where this is used.
:param tag: A `Tag`
:return: Whether or not a substitution was performed.
"""
return False
def _replace_cdata_list_attribute_values(self, tag_name, attrs):
"""Replaces class="foo bar" with class=["foo", "bar"]
"""When an attribute value is associated with a tag that can
have multiple values for that attribute, convert the string
value to a list of strings.
Modifies its input in place.
Basically, replaces class="foo bar" with class=["foo", "bar"]
NOTE: This method modifies its input in place.
:param tag_name: The name of a tag.
:param attrs: A dictionary containing the tag's attributes.
Any appropriate attribute values will be modified in place.
"""
if not attrs:
return attrs
@@ -163,7 +318,7 @@ class TreeBuilder(object):
# values. Split it into a list.
value = attrs[attr]
if isinstance(value, str):
values = whitespace_re.split(value)
values = nonwhitespace_re.findall(value)
else:
# html5lib sometimes calls setAttributes twice
# for the same tag when rearranging the parse
@@ -174,9 +329,13 @@ class TreeBuilder(object):
values = value
attrs[attr] = values
return attrs
class SAXTreeBuilder(TreeBuilder):
"""A Beautiful Soup treebuilder that listens for SAX events."""
"""A Beautiful Soup treebuilder that listens for SAX events.
This is not currently used for anything, but it demonstrates
how a simple TreeBuilder would work.
"""
def feed(self, markup):
raise NotImplementedError()
@@ -186,11 +345,11 @@ class SAXTreeBuilder(TreeBuilder):
def startElement(self, name, attrs):
attrs = dict((key[1], value) for key, value in list(attrs.items()))
#print "Start %s, %r" % (name, attrs)
#print("Start %s, %r" % (name, attrs))
self.soup.handle_starttag(name, attrs)
def endElement(self, name):
#print "End %s" % name
#print("End %s" % name)
self.soup.handle_endtag(name)
def startElementNS(self, nsTuple, nodeName, attrs):
@@ -227,10 +386,44 @@ class HTMLTreeBuilder(TreeBuilder):
Such as which tags are empty-element tags.
"""
preserve_whitespace_tags = set(['pre', 'textarea'])
empty_element_tags = set(['br' , 'hr', 'input', 'img', 'meta',
'spacer', 'link', 'frame', 'base'])
empty_element_tags = set([
# These are from HTML5.
'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',
# These are from earlier versions of HTML and are removed in HTML5.
'basefont', 'bgsound', 'command', 'frame', 'image', 'isindex', 'nextid', 'spacer'
])
# The HTML standard defines these as block-level elements. Beautiful
# Soup does not treat these elements differently from other elements,
# but it may do so eventually, and this information is available if
# you need to use it.
block_elements = set(["address", "article", "aside", "blockquote", "canvas", "dd", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "li", "main", "nav", "noscript", "ol", "output", "p", "pre", "section", "table", "tfoot", "ul", "video"])
# These HTML tags need special treatment so they can be
# represented by a string class other than NavigableString.
#
# For some of these tags, it's because the HTML standard defines
# an unusual content model for them. I made this list by going
# through the HTML spec
# (https://html.spec.whatwg.org/#metadata-content) and looking for
# "metadata content" elements that can contain strings.
#
# The Ruby tags (<rt> and <rp>) are here despite being normal
# "phrasing content" tags, because the content they contain is
# qualitatively different from other text in the document, and it
# can be useful to be able to distinguish it.
#
# TODO: Arguably <noscript> could go here but it seems
# qualitatively different from the other tags.
DEFAULT_STRING_CONTAINERS = {
'rt' : RubyTextString,
'rp' : RubyParenthesisString,
'style': Stylesheet,
'script': Script,
'template': TemplateString,
}
# The HTML standard defines these attributes as containing a
# space-separated list of values, not a single value. That is,
# class="foo bar" means that the 'class' attribute has two values,
@@ -238,7 +431,7 @@ class HTMLTreeBuilder(TreeBuilder):
# encounter one of these attributes, we will parse its value into
# a list of values if possible. Upon output, the list will be
# converted back into a string.
cdata_list_attributes = {
DEFAULT_CDATA_LIST_ATTRIBUTES = {
"*" : ['class', 'accesskey', 'dropzone'],
"a" : ['rel', 'rev'],
"link" : ['rel', 'rev'],
@@ -255,7 +448,19 @@ class HTMLTreeBuilder(TreeBuilder):
"output" : ["for"],
}
DEFAULT_PRESERVE_WHITESPACE_TAGS = set(['pre', 'textarea'])
def set_up_substitutions(self, tag):
"""Replace the declared encoding in a <meta> tag with a placeholder,
to be substituted when the tag is output to a string.
An HTML document may come in to Beautiful Soup as one
encoding, but exit in a different encoding, and the <meta> tag
needs to be changed to reflect this.
:param tag: A `Tag`
:return: Whether or not a substitution was performed.
"""
# We are only interested in <meta> tags
if tag.name != 'meta':
return False
@@ -288,10 +493,107 @@ class HTMLTreeBuilder(TreeBuilder):
return (meta_encoding is not None)
class DetectsXMLParsedAsHTML(object):
"""A mixin class for any class (a TreeBuilder, or some class used by a
TreeBuilder) that's in a position to detect whether an XML
document is being incorrectly parsed as HTML, and issue an
appropriate warning.
This requires being able to observe an incoming processing
instruction that might be an XML declaration, and also able to
observe tags as they're opened. If you can't do that for a given
TreeBuilder, there's a less reliable implementation based on
examining the raw markup.
"""
# Regular expression for seeing if markup has an <html> tag.
LOOKS_LIKE_HTML = re.compile("<[^ +]html", re.I)
LOOKS_LIKE_HTML_B = re.compile(b"<[^ +]html", re.I)
XML_PREFIX = '<?xml'
XML_PREFIX_B = b'<?xml'
@classmethod
def warn_if_markup_looks_like_xml(cls, markup, stacklevel=3):
"""Perform a check on some markup to see if it looks like XML
that's not XHTML. If so, issue a warning.
This is much less reliable than doing the check while parsing,
but some of the tree builders can't do that.
:param stacklevel: The stacklevel of the code calling this
function.
:return: True if the markup looks like non-XHTML XML, False
otherwise.
"""
if isinstance(markup, bytes):
prefix = cls.XML_PREFIX_B
looks_like_html = cls.LOOKS_LIKE_HTML_B
else:
prefix = cls.XML_PREFIX
looks_like_html = cls.LOOKS_LIKE_HTML
if (markup is not None
and markup.startswith(prefix)
and not looks_like_html.search(markup[:500])
):
cls._warn(stacklevel=stacklevel+2)
return True
return False
@classmethod
def _warn(cls, stacklevel=5):
"""Issue a warning about XML being parsed as HTML."""
warnings.warn(
XMLParsedAsHTMLWarning.MESSAGE, XMLParsedAsHTMLWarning,
stacklevel=stacklevel
)
def _initialize_xml_detector(self):
"""Call this method before parsing a document."""
self._first_processing_instruction = None
self._root_tag = None
def _document_might_be_xml(self, processing_instruction):
"""Call this method when encountering an XML declaration, or a
"processing instruction" that might be an XML declaration.
"""
if (self._first_processing_instruction is not None
or self._root_tag is not None):
# The document has already started. Don't bother checking
# anymore.
return
self._first_processing_instruction = processing_instruction
# We won't know until we encounter the first tag whether or
# not this is actually a problem.
def _root_tag_encountered(self, name):
"""Call this when you encounter the document's root tag.
This is where we actually check whether an XML document is
being incorrectly parsed as HTML, and issue the warning.
"""
if self._root_tag is not None:
# This method was incorrectly called multiple times. Do
# nothing.
return
self._root_tag = name
if (name != 'html' and self._first_processing_instruction is not None
and self._first_processing_instruction.lower().startswith('xml ')):
# We encountered an XML declaration and then a tag other
# than 'html'. This is a reliable indicator that a
# non-XHTML document is being parsed as XML.
self._warn()
def register_treebuilders_from(module):
"""Copy TreeBuilders from the given module into this module."""
# I'm fairly sure this is not the best way to do this.
this_module = sys.modules['bs4.builder']
this_module = sys.modules[__name__]
for name in module.__all__:
obj = getattr(module, name)
@@ -302,12 +604,22 @@ def register_treebuilders_from(module):
this_module.builder_registry.register(obj)
class ParserRejectedMarkup(Exception):
pass
"""An Exception to be raised when the underlying parser simply
refuses to parse the given markup.
"""
def __init__(self, message_or_exception):
"""Explain why the parser rejected the given markup, either
with a textual explanation or another exception.
"""
if isinstance(message_or_exception, Exception):
e = message_or_exception
message_or_exception = "%s: %s" % (e.__class__.__name__, str(e))
super(ParserRejectedMarkup, self).__init__(message_or_exception)
# Builders are registered in reverse order of priority, so that custom
# builder registrations will take precedence. In general, we want lxml
# to take precedence over html5lib, because it's faster. And we only
# want to use HTMLParser as a last result.
# want to use HTMLParser as a last resort.
from . import _htmlparser
register_treebuilders_from(_htmlparser)
try:

View File

@@ -1,9 +1,14 @@
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
__all__ = [
'HTML5TreeBuilder',
]
import warnings
import re
from bs4.builder import (
DetectsXMLParsedAsHTML,
PERMISSIVE,
HTML,
HTML_5,
@@ -11,17 +16,13 @@ from bs4.builder import (
)
from bs4.element import (
NamespacedAttribute,
whitespace_re,
nonwhitespace_re,
)
import html5lib
try:
# html5lib >= 0.99999999/1.0b9
from html5lib.treebuilders import base as treebuildersbase
except ImportError:
# html5lib <= 0.9999999/1.0b8
from html5lib.treebuilders import _base as treebuildersbase
from html5lib.constants import namespaces
from html5lib.constants import (
namespaces,
prefixes,
)
from bs4.element import (
Comment,
Doctype,
@@ -29,13 +30,37 @@ from bs4.element import (
Tag,
)
try:
# Pre-0.99999999
from html5lib.treebuilders import _base as treebuilder_base
new_html5lib = False
except ImportError as e:
# 0.99999999 and up
from html5lib.treebuilders import base as treebuilder_base
new_html5lib = True
class HTML5TreeBuilder(HTMLTreeBuilder):
"""Use html5lib to build a tree."""
"""Use html5lib to build a tree.
Note that this TreeBuilder does not support some features common
to HTML TreeBuilders. Some of these features could theoretically
be implemented, but at the very least it's quite difficult,
because html5lib moves the parse tree around as it's being built.
* This TreeBuilder doesn't use different subclasses of NavigableString
based on the name of the tag in which the string was found.
* You can't use a SoupStrainer to parse only part of a document.
"""
NAME = "html5lib"
features = [NAME, PERMISSIVE, HTML_5, HTML]
# html5lib can tell us which line number and position in the
# original file is the source of an element.
TRACKS_LINE_NUMBERS = True
def prepare_markup(self, markup, user_specified_encoding,
document_declared_encoding=None, exclude_encodings=None):
# Store the user-specified encoding for use later on.
@@ -45,27 +70,56 @@ class HTML5TreeBuilder(HTMLTreeBuilder):
# ATM because the html5lib TreeBuilder doesn't use
# UnicodeDammit.
if exclude_encodings:
warnings.warn("You provided a value for exclude_encoding, but the html5lib tree builder doesn't support exclude_encoding.")
warnings.warn(
"You provided a value for exclude_encoding, but the html5lib tree builder doesn't support exclude_encoding.",
stacklevel=3
)
# html5lib only parses HTML, so if it's given XML that's worth
# noting.
DetectsXMLParsedAsHTML.warn_if_markup_looks_like_xml(
markup, stacklevel=3
)
yield (markup, None, None, False)
# These methods are defined by Beautiful Soup.
def feed(self, markup):
if self.soup.parse_only is not None:
warnings.warn("You provided a value for parse_only, but the html5lib tree builder doesn't support parse_only. The entire document will be parsed.")
warnings.warn(
"You provided a value for parse_only, but the html5lib tree builder doesn't support parse_only. The entire document will be parsed.",
stacklevel=4
)
parser = html5lib.HTMLParser(tree=self.create_treebuilder)
doc = parser.parse(markup, encoding=self.user_specified_encoding)
self.underlying_builder.parser = parser
extra_kwargs = dict()
if not isinstance(markup, str):
if new_html5lib:
extra_kwargs['override_encoding'] = self.user_specified_encoding
else:
extra_kwargs['encoding'] = self.user_specified_encoding
doc = parser.parse(markup, **extra_kwargs)
# Set the character encoding detected by the tokenizer.
if isinstance(markup, str):
# We need to special-case this because html5lib sets
# charEncoding to UTF-8 if it gets Unicode input.
doc.original_encoding = None
else:
doc.original_encoding = parser.tokenizer.stream.charEncoding[0]
original_encoding = parser.tokenizer.stream.charEncoding[0]
if not isinstance(original_encoding, str):
# In 0.99999999 and up, the encoding is an html5lib
# Encoding object. We want to use a string for compatibility
# with other tree builders.
original_encoding = original_encoding.name
doc.original_encoding = original_encoding
self.underlying_builder.parser = None
def create_treebuilder(self, namespaceHTMLElements):
self.underlying_builder = TreeBuilderForHtml5lib(
self.soup, namespaceHTMLElements)
namespaceHTMLElements, self.soup,
store_line_numbers=self.store_line_numbers
)
return self.underlying_builder
def test_fragment_to_document(self, fragment):
@@ -73,12 +127,30 @@ class HTML5TreeBuilder(HTMLTreeBuilder):
return '<html><head></head><body>%s</body></html>' % fragment
class TreeBuilderForHtml5lib(treebuildersbase.TreeBuilder):
def __init__(self, soup, namespaceHTMLElements):
self.soup = soup
class TreeBuilderForHtml5lib(treebuilder_base.TreeBuilder):
def __init__(self, namespaceHTMLElements, soup=None,
store_line_numbers=True, **kwargs):
if soup:
self.soup = soup
else:
from bs4 import BeautifulSoup
# TODO: Why is the parser 'html.parser' here? To avoid an
# infinite loop?
self.soup = BeautifulSoup(
"", "html.parser", store_line_numbers=store_line_numbers,
**kwargs
)
# TODO: What are **kwargs exactly? Should they be passed in
# here in addition to/instead of being passed to the BeautifulSoup
# constructor?
super(TreeBuilderForHtml5lib, self).__init__(namespaceHTMLElements)
# This will be set later to an html5lib.html5parser.HTMLParser
# object, which we can use to track the current line number.
self.parser = None
self.store_line_numbers = store_line_numbers
def documentClass(self):
self.soup.reset()
return Element(self.soup, self.soup, None)
@@ -92,14 +164,26 @@ class TreeBuilderForHtml5lib(treebuildersbase.TreeBuilder):
self.soup.object_was_parsed(doctype)
def elementClass(self, name, namespace):
tag = self.soup.new_tag(name, namespace)
kwargs = {}
if self.parser and self.store_line_numbers:
# This represents the point immediately after the end of the
# tag. We don't know when the tag started, but we do know
# where it ended -- the character just before this one.
sourceline, sourcepos = self.parser.tokenizer.stream.position()
kwargs['sourceline'] = sourceline
kwargs['sourcepos'] = sourcepos-1
tag = self.soup.new_tag(name, namespace, **kwargs)
return Element(tag, self.soup, namespace)
def commentClass(self, data):
return TextNode(Comment(data), self.soup)
def fragmentClass(self):
self.soup = BeautifulSoup("")
from bs4 import BeautifulSoup
# TODO: Why is the parser 'html.parser' here? To avoid an
# infinite loop?
self.soup = BeautifulSoup("", "html.parser")
self.soup.name = "[document_fragment]"
return Element(self.soup, self.soup, None)
@@ -111,7 +195,57 @@ class TreeBuilderForHtml5lib(treebuildersbase.TreeBuilder):
return self.soup
def getFragment(self):
return treebuildersbase.TreeBuilder.getFragment(self).element
return treebuilder_base.TreeBuilder.getFragment(self).element
def testSerializer(self, element):
from bs4 import BeautifulSoup
rv = []
doctype_re = re.compile(r'^(.*?)(?: PUBLIC "(.*?)"(?: "(.*?)")?| SYSTEM "(.*?)")?$')
def serializeElement(element, indent=0):
if isinstance(element, BeautifulSoup):
pass
if isinstance(element, Doctype):
m = doctype_re.match(element)
if m:
name = m.group(1)
if m.lastindex > 1:
publicId = m.group(2) or ""
systemId = m.group(3) or m.group(4) or ""
rv.append("""|%s<!DOCTYPE %s "%s" "%s">""" %
(' ' * indent, name, publicId, systemId))
else:
rv.append("|%s<!DOCTYPE %s>" % (' ' * indent, name))
else:
rv.append("|%s<!DOCTYPE >" % (' ' * indent,))
elif isinstance(element, Comment):
rv.append("|%s<!-- %s -->" % (' ' * indent, element))
elif isinstance(element, NavigableString):
rv.append("|%s\"%s\"" % (' ' * indent, element))
else:
if element.namespace:
name = "%s %s" % (prefixes[element.namespace],
element.name)
else:
name = element.name
rv.append("|%s<%s>" % (' ' * indent, name))
if element.attrs:
attributes = []
for name, value in list(element.attrs.items()):
if isinstance(name, NamespacedAttribute):
name = "%s %s" % (prefixes[name.namespace], name.name)
if isinstance(value, list):
value = " ".join(value)
attributes.append((name, value))
for name, value in sorted(attributes):
rv.append('|%s%s="%s"' % (' ' * (indent + 2), name, value))
indent += 2
for child in element.children:
serializeElement(child, indent)
serializeElement(element, 0)
return "\n".join(rv)
class AttrList(object):
def __init__(self, element):
@@ -122,14 +256,14 @@ class AttrList(object):
def __setitem__(self, name, value):
# If this attribute is a multi-valued attribute for this element,
# turn its value into a list.
list_attr = HTML5TreeBuilder.cdata_list_attributes
if (name in list_attr['*']
list_attr = self.element.cdata_list_attributes or {}
if (name in list_attr.get('*', [])
or (self.element.name in list_attr
and name in list_attr[self.element.name])):
and name in list_attr.get(self.element.name, []))):
# A node that is being cloned may have already undergone
# this procedure.
if not isinstance(value, list):
value = whitespace_re.split(value)
value = nonwhitespace_re.findall(value)
self.element[name] = value
def items(self):
return list(self.attrs.items())
@@ -143,9 +277,9 @@ class AttrList(object):
return name in list(self.attrs.keys())
class Element(treebuildersbase.Node):
class Element(treebuilder_base.Node):
def __init__(self, element, soup, namespace):
treebuildersbase.Node.__init__(self, element.name)
treebuilder_base.Node.__init__(self, element.name)
self.element = element
self.soup = soup
self.namespace = namespace
@@ -164,13 +298,15 @@ class Element(treebuildersbase.Node):
child = node
elif node.element.__class__ == NavigableString:
string_child = child = node.element
node.parent = self
else:
child = node.element
node.parent = self
if not isinstance(child, str) and child.parent is not None:
node.element.extract()
if (string_child and self.element.contents
if (string_child is not None and self.element.contents
and self.element.contents[-1].__class__ == NavigableString):
# We are appending a string onto another string.
# TODO This has O(n^2) performance, for input like
@@ -203,12 +339,12 @@ class Element(treebuildersbase.Node):
most_recent_element=most_recent_element)
def getAttributes(self):
if isinstance(self.element, Comment):
return {}
return AttrList(self.element)
def setAttributes(self, attributes):
if attributes is not None and len(attributes) > 0:
converted_attributes = []
for name, value in list(attributes.items()):
if isinstance(name, tuple):
@@ -230,11 +366,11 @@ class Element(treebuildersbase.Node):
attributes = property(getAttributes, setAttributes)
def insertText(self, data, insertBefore=None):
text = TextNode(self.soup.new_string(data), self.soup)
if insertBefore:
text = TextNode(self.soup.new_string(data), self.soup)
self.insertBefore(data, insertBefore)
self.insertBefore(text, insertBefore)
else:
self.appendChild(data)
self.appendChild(text)
def insertBefore(self, node, refNode):
index = self.element.index(refNode.element)
@@ -253,9 +389,10 @@ class Element(treebuildersbase.Node):
def reparentChildren(self, new_parent):
"""Move all of this tag's children into another tag."""
# print "MOVE", self.element.contents
# print "FROM", self.element
# print "TO", new_parent.element
# print("MOVE", self.element.contents)
# print("FROM", self.element)
# print("TO", new_parent.element)
element = self.element
new_parent_element = new_parent.element
# Determine what this tag's next_element will be once all the children
@@ -274,29 +411,35 @@ class Element(treebuildersbase.Node):
new_parents_last_descendant_next_element = new_parent_element.next_element
to_append = element.contents
append_after = new_parent_element.contents
if len(to_append) > 0:
# Set the first child's previous_element and previous_sibling
# to elements within the new parent
first_child = to_append[0]
if new_parents_last_descendant:
if new_parents_last_descendant is not None:
first_child.previous_element = new_parents_last_descendant
else:
first_child.previous_element = new_parent_element
first_child.previous_sibling = new_parents_last_child
if new_parents_last_descendant:
if new_parents_last_descendant is not None:
new_parents_last_descendant.next_element = first_child
else:
new_parent_element.next_element = first_child
if new_parents_last_child:
if new_parents_last_child is not None:
new_parents_last_child.next_sibling = first_child
# Fix the last child's next_element and next_sibling
last_child = to_append[-1]
last_child.next_element = new_parents_last_descendant_next_element
if new_parents_last_descendant_next_element:
new_parents_last_descendant_next_element.previous_element = last_child
last_child.next_sibling = None
# Find the very last element being moved. It is now the
# parent's last descendant. It has no .next_sibling and
# its .next_element is whatever the previous last
# descendant had.
last_childs_last_descendant = to_append[-1]._last_descendant(False, True)
last_childs_last_descendant.next_element = new_parents_last_descendant_next_element
if new_parents_last_descendant_next_element is not None:
# TODO: This code has no test coverage and I'm not sure
# how to get html5lib to go through this path, but it's
# just the other side of the previous line.
new_parents_last_descendant_next_element.previous_element = last_childs_last_descendant
last_childs_last_descendant.next_sibling = None
for child in to_append:
child.parent = new_parent_element
@@ -306,9 +449,9 @@ class Element(treebuildersbase.Node):
element.contents = []
element.next_element = final_next_element
# print "DONE WITH MOVE"
# print "FROM", self.element
# print "TO", new_parent_element
# print("DONE WITH MOVE")
# print("FROM", self.element)
# print("TO", new_parent_element)
def cloneNode(self):
tag = self.soup.new_tag(self.element.name, self.namespace)
@@ -321,7 +464,7 @@ class Element(treebuildersbase.Node):
return self.element.contents
def getNameTuple(self):
if self.namespace is None:
if self.namespace == None:
return namespaces["html"], self.name
else:
return self.namespace, self.name
@@ -330,7 +473,7 @@ class Element(treebuildersbase.Node):
class TextNode(Element):
def __init__(self, element, soup):
treebuildersbase.Node.__init__(self, None)
treebuilder_base.Node.__init__(self, None)
self.element = element
self.soup = soup

View File

@@ -1,35 +1,18 @@
# encoding: utf-8
"""Use the HTMLParser library to parse HTML files that aren't too bad."""
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
__all__ = [
'HTMLParserTreeBuilder',
]
from html.parser import HTMLParser
try:
from html.parser import HTMLParseError
except ImportError as e:
# HTMLParseError is removed in Python 3.5. Since it can never be
# thrown in 3.5, we can just define our own class as a placeholder.
class HTMLParseError(Exception):
pass
import sys
import warnings
# Starting in Python 3.2, the HTMLParser constructor takes a 'strict'
# argument, which we'd like to set to False. Unfortunately,
# http://bugs.python.org/issue13273 makes strict=True a better bet
# before Python 3.2.3.
#
# At the end of this file, we monkeypatch HTMLParser so that
# strict=True works well on Python 3.2.2.
major, minor, release = sys.version_info[:3]
CONSTRUCTOR_TAKES_STRICT = major == 3 and minor == 2 and release >= 3
CONSTRUCTOR_STRICT_IS_DEPRECATED = major == 3 and minor == 3
CONSTRUCTOR_TAKES_CONVERT_CHARREFS = major == 3 and minor >= 4
from bs4.element import (
CData,
Comment,
@@ -40,6 +23,8 @@ from bs4.element import (
from bs4.dammit import EntitySubstitution, UnicodeDammit
from bs4.builder import (
DetectsXMLParsedAsHTML,
ParserRejectedMarkup,
HTML,
HTMLTreeBuilder,
STRICT,
@@ -48,8 +33,84 @@ from bs4.builder import (
HTMLPARSER = 'html.parser'
class BeautifulSoupHTMLParser(HTMLParser):
def handle_starttag(self, name, attrs):
class BeautifulSoupHTMLParser(HTMLParser, DetectsXMLParsedAsHTML):
"""A subclass of the Python standard library's HTMLParser class, which
listens for HTMLParser events and translates them into calls
to Beautiful Soup's tree construction API.
"""
# Strategies for handling duplicate attributes
IGNORE = 'ignore'
REPLACE = 'replace'
def __init__(self, *args, **kwargs):
"""Constructor.
:param on_duplicate_attribute: A strategy for what to do if a
tag includes the same attribute more than once. Accepted
values are: REPLACE (replace earlier values with later
ones, the default), IGNORE (keep the earliest value
encountered), or a callable. A callable must take three
arguments: the dictionary of attributes already processed,
the name of the duplicate attribute, and the most recent value
encountered.
"""
self.on_duplicate_attribute = kwargs.pop(
'on_duplicate_attribute', self.REPLACE
)
HTMLParser.__init__(self, *args, **kwargs)
# Keep a list of empty-element tags that were encountered
# without an explicit closing tag. If we encounter a closing tag
# of this type, we'll associate it with one of those entries.
#
# This isn't a stack because we don't care about the
# order. It's a list of closing tags we've already handled and
# will ignore, assuming they ever show up.
self.already_closed_empty_element = []
self._initialize_xml_detector()
def error(self, message):
# NOTE: This method is required so long as Python 3.9 is
# supported. The corresponding code is removed from HTMLParser
# in 3.5, but not removed from ParserBase until 3.10.
# https://github.com/python/cpython/issues/76025
#
# The original implementation turned the error into a warning,
# but in every case I discovered, this made HTMLParser
# immediately crash with an error message that was less
# helpful than the warning. The new implementation makes it
# more clear that html.parser just can't parse this
# markup. The 3.10 implementation does the same, though it
# raises AssertionError rather than calling a method. (We
# catch this error and wrap it in a ParserRejectedMarkup.)
raise ParserRejectedMarkup(message)
def handle_startendtag(self, name, attrs):
"""Handle an incoming empty-element tag.
This is only called when the markup looks like <tag/>.
:param name: Name of the tag.
:param attrs: Dictionary of the tag's attributes.
"""
# is_startend() tells handle_starttag not to close the tag
# just because its name matches a known empty-element tag. We
# know that this is an empty-element tag and we want to call
# handle_endtag ourselves.
tag = self.handle_starttag(name, attrs, handle_empty_element=False)
self.handle_endtag(name)
def handle_starttag(self, name, attrs, handle_empty_element=True):
"""Handle an opening tag, e.g. '<tag>'
:param name: Name of the tag.
:param attrs: Dictionary of the tag's attributes.
:param handle_empty_element: True if this tag is known to be
an empty-element tag (i.e. there is not expected to be any
closing tag).
"""
# XXX namespace
attr_dict = {}
for key, value in attrs:
@@ -57,20 +118,78 @@ class BeautifulSoupHTMLParser(HTMLParser):
# for consistency with the other tree builders.
if value is None:
value = ''
attr_dict[key] = value
if key in attr_dict:
# A single attribute shows up multiple times in this
# tag. How to handle it depends on the
# on_duplicate_attribute setting.
on_dupe = self.on_duplicate_attribute
if on_dupe == self.IGNORE:
pass
elif on_dupe in (None, self.REPLACE):
attr_dict[key] = value
else:
on_dupe(attr_dict, key, value)
else:
attr_dict[key] = value
attrvalue = '""'
self.soup.handle_starttag(name, None, None, attr_dict)
#print("START", name)
sourceline, sourcepos = self.getpos()
tag = self.soup.handle_starttag(
name, None, None, attr_dict, sourceline=sourceline,
sourcepos=sourcepos
)
if tag and tag.is_empty_element and handle_empty_element:
# Unlike other parsers, html.parser doesn't send separate end tag
# events for empty-element tags. (It's handled in
# handle_startendtag, but only if the original markup looked like
# <tag/>.)
#
# So we need to call handle_endtag() ourselves. Since we
# know the start event is identical to the end event, we
# don't want handle_endtag() to cross off any previous end
# events for tags of this name.
self.handle_endtag(name, check_already_closed=False)
def handle_endtag(self, name):
self.soup.handle_endtag(name)
# But we might encounter an explicit closing tag for this tag
# later on. If so, we want to ignore it.
self.already_closed_empty_element.append(name)
if self._root_tag is None:
self._root_tag_encountered(name)
def handle_endtag(self, name, check_already_closed=True):
"""Handle a closing tag, e.g. '</tag>'
:param name: A tag name.
:param check_already_closed: True if this tag is expected to
be the closing portion of an empty-element tag,
e.g. '<tag></tag>'.
"""
#print("END", name)
if check_already_closed and name in self.already_closed_empty_element:
# This is a redundant end tag for an empty-element tag.
# We've already called handle_endtag() for it, so just
# check it off the list.
#print("ALREADY CLOSED", name)
self.already_closed_empty_element.remove(name)
else:
self.soup.handle_endtag(name)
def handle_data(self, data):
"""Handle some textual data that shows up between tags."""
self.soup.handle_data(data)
def handle_charref(self, name):
# XXX workaround for a bug in HTMLParser. Remove this once
# it's fixed in all supported versions.
# http://bugs.python.org/issue13633
"""Handle a numeric character reference by converting it to the
corresponding Unicode character and treating it as textual
data.
:param name: Character number, possibly in hexadecimal.
"""
# TODO: This was originally a workaround for a bug in
# HTMLParser. (http://bugs.python.org/issue13633) The bug has
# been fixed, but removing this code still makes some
# Beautiful Soup tests fail. This needs investigation.
if name.startswith('x'):
real_name = int(name.lstrip('x'), 16)
elif name.startswith('X'):
@@ -78,37 +197,71 @@ class BeautifulSoupHTMLParser(HTMLParser):
else:
real_name = int(name)
try:
data = chr(real_name)
except (ValueError, OverflowError) as e:
data = "\N{REPLACEMENT CHARACTER}"
data = None
if real_name < 256:
# HTML numeric entities are supposed to reference Unicode
# code points, but sometimes they reference code points in
# some other encoding (ahem, Windows-1252). E.g. &#147;
# instead of &#201; for LEFT DOUBLE QUOTATION MARK. This
# code tries to detect this situation and compensate.
for encoding in (self.soup.original_encoding, 'windows-1252'):
if not encoding:
continue
try:
data = bytearray([real_name]).decode(encoding)
except UnicodeDecodeError as e:
pass
if not data:
try:
data = chr(real_name)
except (ValueError, OverflowError) as e:
pass
data = data or "\N{REPLACEMENT CHARACTER}"
self.handle_data(data)
def handle_entityref(self, name):
"""Handle a named entity reference by converting it to the
corresponding Unicode character(s) and treating it as textual
data.
:param name: Name of the entity reference.
"""
character = EntitySubstitution.HTML_ENTITY_TO_CHARACTER.get(name)
if character is not None:
data = character
else:
data = "&%s;" % name
# If this were XML, it would be ambiguous whether "&foo"
# was an character entity reference with a missing
# semicolon or the literal string "&foo". Since this is
# HTML, we have a complete list of all character entity references,
# and this one wasn't found, so assume it's the literal string "&foo".
data = "&%s" % name
self.handle_data(data)
def handle_comment(self, data):
"""Handle an HTML comment.
:param data: The text of the comment.
"""
self.soup.endData()
self.soup.handle_data(data)
self.soup.endData(Comment)
def handle_decl(self, data):
"""Handle a DOCTYPE declaration.
:param data: The text of the declaration.
"""
self.soup.endData()
if data.startswith("DOCTYPE "):
data = data[len("DOCTYPE "):]
elif data == 'DOCTYPE':
# i.e. "<!DOCTYPE>"
data = ''
data = data[len("DOCTYPE "):]
self.soup.handle_data(data)
self.soup.endData(Doctype)
def unknown_decl(self, data):
"""Handle a declaration of unknown type -- probably a CDATA block.
:param data: The text of the declaration.
"""
if data.upper().startswith('CDATA['):
cls = CData
data = data[len('CDATA['):]
@@ -119,144 +272,116 @@ class BeautifulSoupHTMLParser(HTMLParser):
self.soup.endData(cls)
def handle_pi(self, data):
"""Handle a processing instruction.
:param data: The text of the instruction.
"""
self.soup.endData()
self.soup.handle_data(data)
self._document_might_be_xml(data)
self.soup.endData(ProcessingInstruction)
class HTMLParserTreeBuilder(HTMLTreeBuilder):
"""A Beautiful soup `TreeBuilder` that uses the `HTMLParser` parser,
found in the Python standard library.
"""
is_xml = False
picklable = True
NAME = HTMLPARSER
features = [NAME, HTML, STRICT]
def __init__(self, *args, **kwargs):
if CONSTRUCTOR_TAKES_STRICT and not CONSTRUCTOR_STRICT_IS_DEPRECATED:
kwargs['strict'] = False
if CONSTRUCTOR_TAKES_CONVERT_CHARREFS:
kwargs['convert_charrefs'] = False
self.parser_args = (args, kwargs)
# The html.parser knows which line number and position in the
# original file is the source of an element.
TRACKS_LINE_NUMBERS = True
def __init__(self, parser_args=None, parser_kwargs=None, **kwargs):
"""Constructor.
:param parser_args: Positional arguments to pass into
the BeautifulSoupHTMLParser constructor, once it's
invoked.
:param parser_kwargs: Keyword arguments to pass into
the BeautifulSoupHTMLParser constructor, once it's
invoked.
:param kwargs: Keyword arguments for the superclass constructor.
"""
# Some keyword arguments will be pulled out of kwargs and placed
# into parser_kwargs.
extra_parser_kwargs = dict()
for arg in ('on_duplicate_attribute',):
if arg in kwargs:
value = kwargs.pop(arg)
extra_parser_kwargs[arg] = value
super(HTMLParserTreeBuilder, self).__init__(**kwargs)
parser_args = parser_args or []
parser_kwargs = parser_kwargs or {}
parser_kwargs.update(extra_parser_kwargs)
parser_kwargs['convert_charrefs'] = False
self.parser_args = (parser_args, parser_kwargs)
def prepare_markup(self, markup, user_specified_encoding=None,
document_declared_encoding=None, exclude_encodings=None):
"""
:return: A 4-tuple (markup, original encoding, encoding
declared within markup, whether any characters had to be
replaced with REPLACEMENT CHARACTER).
"""Run any preliminary steps necessary to make incoming markup
acceptable to the parser.
:param markup: Some markup -- probably a bytestring.
:param user_specified_encoding: The user asked to try this encoding.
:param document_declared_encoding: The markup itself claims to be
in this encoding.
:param exclude_encodings: The user asked _not_ to try any of
these encodings.
:yield: A series of 4-tuples:
(markup, encoding, declared encoding,
has undergone character replacement)
Each 4-tuple represents a strategy for converting the
document to Unicode and parsing it. Each strategy will be tried
in turn.
"""
if isinstance(markup, str):
# Parse Unicode as-is.
yield (markup, None, None, False)
return
# Ask UnicodeDammit to sniff the most likely encoding.
# This was provided by the end-user; treat it as a known
# definite encoding per the algorithm laid out in the HTML5
# spec. (See the EncodingDetector class for details.)
known_definite_encodings = [user_specified_encoding]
# This was found in the document; treat it as a slightly lower-priority
# user encoding.
user_encodings = [document_declared_encoding]
try_encodings = [user_specified_encoding, document_declared_encoding]
dammit = UnicodeDammit(markup, try_encodings, is_html=True,
exclude_encodings=exclude_encodings)
dammit = UnicodeDammit(
markup,
known_definite_encodings=known_definite_encodings,
user_encodings=user_encodings,
is_html=True,
exclude_encodings=exclude_encodings
)
yield (dammit.markup, dammit.original_encoding,
dammit.declared_html_encoding,
dammit.contains_replacement_characters)
def feed(self, markup):
"""Run some incoming markup through some parsing process,
populating the `BeautifulSoup` object in self.soup.
"""
args, kwargs = self.parser_args
parser = BeautifulSoupHTMLParser(*args, **kwargs)
parser.soup = self.soup
try:
parser.feed(markup)
except HTMLParseError as e:
warnings.warn(RuntimeWarning(
"Python's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser for help."))
raise e
# Patch 3.2 versions of HTMLParser earlier than 3.2.3 to use some
# 3.2.3 code. This ensures they don't treat markup like <p></p> as a
# string.
#
# XXX This code can be removed once most Python 3 users are on 3.2.3.
if major == 3 and minor == 2 and not CONSTRUCTOR_TAKES_STRICT:
import re
attrfind_tolerant = re.compile(
r'\s*((?<=[\'"\s])[^\s/>][^\s/=>]*)(\s*=+\s*'
r'(\'[^\']*\'|"[^"]*"|(?![\'"])[^>\s]*))?')
HTMLParserTreeBuilder.attrfind_tolerant = attrfind_tolerant
locatestarttagend = re.compile(r"""
<[a-zA-Z][-.a-zA-Z0-9:_]* # tag name
(?:\s+ # whitespace before attribute name
(?:[a-zA-Z_][-.:a-zA-Z0-9_]* # attribute name
(?:\s*=\s* # value indicator
(?:'[^']*' # LITA-enclosed value
|\"[^\"]*\" # LIT-enclosed value
|[^'\">\s]+ # bare value
)
)?
)
)*
\s* # trailing whitespace
""", re.VERBOSE)
BeautifulSoupHTMLParser.locatestarttagend = locatestarttagend
from html.parser import tagfind, attrfind
def parse_starttag(self, i):
self.__starttag_text = None
endpos = self.check_for_whole_start_tag(i)
if endpos < 0:
return endpos
rawdata = self.rawdata
self.__starttag_text = rawdata[i:endpos]
# Now parse the data between i+1 and j into a tag and attrs
attrs = []
match = tagfind.match(rawdata, i+1)
assert match, 'unexpected call to parse_starttag()'
k = match.end()
self.lasttag = tag = rawdata[i+1:k].lower()
while k < endpos:
if self.strict:
m = attrfind.match(rawdata, k)
else:
m = attrfind_tolerant.match(rawdata, k)
if not m:
break
attrname, rest, attrvalue = m.group(1, 2, 3)
if not rest:
attrvalue = None
elif attrvalue[:1] == '\'' == attrvalue[-1:] or \
attrvalue[:1] == '"' == attrvalue[-1:]:
attrvalue = attrvalue[1:-1]
if attrvalue:
attrvalue = self.unescape(attrvalue)
attrs.append((attrname.lower(), attrvalue))
k = m.end()
end = rawdata[k:endpos].strip()
if end not in (">", "/>"):
lineno, offset = self.getpos()
if "\n" in self.__starttag_text:
lineno = lineno + self.__starttag_text.count("\n")
offset = len(self.__starttag_text) \
- self.__starttag_text.rfind("\n")
else:
offset = offset + len(self.__starttag_text)
if self.strict:
self.error("junk characters in start tag: %r"
% (rawdata[k:endpos][:20],))
self.handle_data(rawdata[i:endpos])
return endpos
if end.endswith('/>'):
# XHTML-style empty tag: <span attr="value" />
self.handle_startendtag(tag, attrs)
else:
self.handle_starttag(tag, attrs)
if tag in self.CDATA_CONTENT_ELEMENTS:
self.set_cdata_mode(tag)
return endpos
def set_cdata_mode(self, elem):
self.cdata_elem = elem.lower()
self.interesting = re.compile(r'</\s*%s\s*>' % self.cdata_elem, re.I)
BeautifulSoupHTMLParser.parse_starttag = parse_starttag
BeautifulSoupHTMLParser.set_cdata_mode = set_cdata_mode
CONSTRUCTOR_TAKES_STRICT = True
parser.close()
except AssertionError as e:
# html.parser raises AssertionError in rare cases to
# indicate a fatal problem with the markup, especially
# when there's an error in the doctype declaration.
raise ParserRejectedMarkup(e)
parser.already_closed_empty_element = []

View File

@@ -1,19 +1,28 @@
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
__all__ = [
'LXMLTreeBuilderForXML',
'LXMLTreeBuilder',
]
try:
from collections.abc import Callable # Python 3.6
except ImportError as e:
from collections import Callable
from io import BytesIO
from io import StringIO
import collections
from lxml import etree
from bs4.element import (
Comment,
Doctype,
NamespacedAttribute,
ProcessingInstruction,
XMLProcessingInstruction,
)
from bs4.builder import (
DetectsXMLParsedAsHTML,
FAST,
HTML,
HTMLTreeBuilder,
@@ -25,10 +34,15 @@ from bs4.dammit import EncodingDetector
LXML = 'lxml'
def _invert(d):
"Invert a dictionary."
return dict((v,k) for k, v in list(d.items()))
class LXMLTreeBuilderForXML(TreeBuilder):
DEFAULT_PARSER_CLASS = etree.XMLParser
is_xml = True
processing_instruction_class = XMLProcessingInstruction
NAME = "lxml-xml"
ALTERNATE_NAMES = ["xml"]
@@ -40,26 +54,79 @@ class LXMLTreeBuilderForXML(TreeBuilder):
# This namespace mapping is specified in the XML Namespace
# standard.
DEFAULT_NSMAPS = {'http://www.w3.org/XML/1998/namespace' : "xml"}
DEFAULT_NSMAPS = dict(xml='http://www.w3.org/XML/1998/namespace')
DEFAULT_NSMAPS_INVERTED = _invert(DEFAULT_NSMAPS)
# NOTE: If we parsed Element objects and looked at .sourceline,
# we'd be able to see the line numbers from the original document.
# But instead we build an XMLParser or HTMLParser object to serve
# as the target of parse messages, and those messages don't include
# line numbers.
# See: https://bugs.launchpad.net/lxml/+bug/1846906
def initialize_soup(self, soup):
"""Let the BeautifulSoup object know about the standard namespace
mapping.
:param soup: A `BeautifulSoup`.
"""
super(LXMLTreeBuilderForXML, self).initialize_soup(soup)
self._register_namespaces(self.DEFAULT_NSMAPS)
def _register_namespaces(self, mapping):
"""Let the BeautifulSoup object know about namespaces encountered
while parsing the document.
This might be useful later on when creating CSS selectors.
This will track (almost) all namespaces, even ones that were
only in scope for part of the document. If two namespaces have
the same prefix, only the first one encountered will be
tracked. Un-prefixed namespaces are not tracked.
:param mapping: A dictionary mapping namespace prefixes to URIs.
"""
for key, value in list(mapping.items()):
# This is 'if key' and not 'if key is not None' because we
# don't track un-prefixed namespaces. Soupselect will
# treat an un-prefixed namespace as the default, which
# causes confusion in some cases.
if key and key not in self.soup._namespaces:
# Let the BeautifulSoup object know about a new namespace.
# If there are multiple namespaces defined with the same
# prefix, the first one in the document takes precedence.
self.soup._namespaces[key] = value
def default_parser(self, encoding):
# This can either return a parser object or a class, which
# will be instantiated with default arguments.
"""Find the default parser for the given encoding.
:param encoding: A string.
:return: Either a parser object or a class, which
will be instantiated with default arguments.
"""
if self._default_parser is not None:
return self._default_parser
return etree.XMLParser(
target=self, strip_cdata=False, recover=True, encoding=encoding)
def parser_for(self, encoding):
"""Instantiate an appropriate parser for the given encoding.
:param encoding: A string.
:return: A parser object such as an `etree.XMLParser`.
"""
# Use the default parser.
parser = self.default_parser(encoding)
if isinstance(parser, collections.Callable):
if isinstance(parser, Callable):
# Instantiate the parser with default arguments
parser = parser(target=self, strip_cdata=False, encoding=encoding)
parser = parser(
target=self, strip_cdata=False, recover=True, encoding=encoding
)
return parser
def __init__(self, parser=None, empty_element_tags=None):
def __init__(self, parser=None, empty_element_tags=None, **kwargs):
# TODO: Issue a warning if parser is present but not a
# callable, since that means there's no way to create new
# parsers for different encodings.
@@ -67,8 +134,10 @@ class LXMLTreeBuilderForXML(TreeBuilder):
if empty_element_tags is not None:
self.empty_element_tags = set(empty_element_tags)
self.soup = None
self.nsmaps = [self.DEFAULT_NSMAPS]
self.nsmaps = [self.DEFAULT_NSMAPS_INVERTED]
self.active_namespace_prefixes = [dict(self.DEFAULT_NSMAPS)]
super(LXMLTreeBuilderForXML, self).__init__(**kwargs)
def _getNsTag(self, tag):
# Split the namespace URL out of a fully-qualified lxml tag
# name. Copied from lxml's src/lxml/sax.py.
@@ -80,16 +149,51 @@ class LXMLTreeBuilderForXML(TreeBuilder):
def prepare_markup(self, markup, user_specified_encoding=None,
exclude_encodings=None,
document_declared_encoding=None):
"""
:yield: A series of 4-tuples.
"""Run any preliminary steps necessary to make incoming markup
acceptable to the parser.
lxml really wants to get a bytestring and convert it to
Unicode itself. So instead of using UnicodeDammit to convert
the bytestring to Unicode using different encodings, this
implementation uses EncodingDetector to iterate over the
encodings, and tell lxml to try to parse the document as each
one in turn.
:param markup: Some markup -- hopefully a bytestring.
:param user_specified_encoding: The user asked to try this encoding.
:param document_declared_encoding: The markup itself claims to be
in this encoding.
:param exclude_encodings: The user asked _not_ to try any of
these encodings.
:yield: A series of 4-tuples:
(markup, encoding, declared encoding,
has undergone character replacement)
Each 4-tuple represents a strategy for parsing the document.
Each 4-tuple represents a strategy for converting the
document to Unicode and parsing it. Each strategy will be tried
in turn.
"""
is_html = not self.is_xml
if is_html:
self.processing_instruction_class = ProcessingInstruction
# We're in HTML mode, so if we're given XML, that's worth
# noting.
DetectsXMLParsedAsHTML.warn_if_markup_looks_like_xml(
markup, stacklevel=3
)
else:
self.processing_instruction_class = XMLProcessingInstruction
if isinstance(markup, str):
# We were given Unicode. Maybe lxml can parse Unicode on
# this system?
# TODO: This is a workaround for
# https://bugs.launchpad.net/lxml/+bug/1948551.
# We can remove it once the upstream issue is fixed.
if len(markup) > 0 and markup[0] == u'\N{BYTE ORDER MARK}':
markup = markup[1:]
yield markup, None, document_declared_encoding, False
if isinstance(markup, str):
@@ -98,14 +202,19 @@ class LXMLTreeBuilderForXML(TreeBuilder):
yield (markup.encode("utf8"), "utf8",
document_declared_encoding, False)
# Instead of using UnicodeDammit to convert the bytestring to
# Unicode using different encodings, use EncodingDetector to
# iterate over the encodings, and tell lxml to try to parse
# the document as each one in turn.
is_html = not self.is_xml
try_encodings = [user_specified_encoding, document_declared_encoding]
# This was provided by the end-user; treat it as a known
# definite encoding per the algorithm laid out in the HTML5
# spec. (See the EncodingDetector class for details.)
known_definite_encodings = [user_specified_encoding]
# This was found in the document; treat it as a slightly lower-priority
# user encoding.
user_encodings = [document_declared_encoding]
detector = EncodingDetector(
markup, try_encodings, is_html, exclude_encodings)
markup, known_definite_encodings=known_definite_encodings,
user_encodings=user_encodings, is_html=is_html,
exclude_encodings=exclude_encodings
)
for encoding in detector.encodings:
yield (detector.markup, encoding, document_declared_encoding, False)
@@ -128,25 +237,45 @@ class LXMLTreeBuilderForXML(TreeBuilder):
self.parser.feed(data)
self.parser.close()
except (UnicodeDecodeError, LookupError, etree.ParserError) as e:
raise ParserRejectedMarkup(str(e))
raise ParserRejectedMarkup(e)
def close(self):
self.nsmaps = [self.DEFAULT_NSMAPS]
self.nsmaps = [self.DEFAULT_NSMAPS_INVERTED]
def start(self, name, attrs, nsmap={}):
# Make sure attrs is a mutable dict--lxml may send an immutable dictproxy.
attrs = dict(attrs)
nsprefix = None
# Invert each namespace map as it comes in.
if len(self.nsmaps) > 1:
# There are no new namespaces for this tag, but
# non-default namespaces are in play, so we need a
# separate tag stack to know when they end.
self.nsmaps.append(None)
if len(nsmap) == 0 and len(self.nsmaps) > 1:
# There are no new namespaces for this tag, but
# non-default namespaces are in play, so we need a
# separate tag stack to know when they end.
self.nsmaps.append(None)
elif len(nsmap) > 0:
# A new namespace mapping has come into play.
inverted_nsmap = dict((value, key) for key, value in list(nsmap.items()))
self.nsmaps.append(inverted_nsmap)
# First, Let the BeautifulSoup object know about it.
self._register_namespaces(nsmap)
# Then, add it to our running list of inverted namespace
# mappings.
self.nsmaps.append(_invert(nsmap))
# The currently active namespace prefixes have
# changed. Calculate the new mapping so it can be stored
# with all Tag objects created while these prefixes are in
# scope.
current_mapping = dict(self.active_namespace_prefixes[-1])
current_mapping.update(nsmap)
# We should not track un-prefixed namespaces as we can only hold one
# and it will be recognized as the default namespace by soupsieve,
# which may be confusing in some situations.
if '' in current_mapping:
del current_mapping['']
self.active_namespace_prefixes.append(current_mapping)
# Also treat the namespace mapping as a set of attributes on the
# tag, so we can recreate it later.
attrs = attrs.copy()
@@ -171,8 +300,11 @@ class LXMLTreeBuilderForXML(TreeBuilder):
namespace, name = self._getNsTag(name)
nsprefix = self._prefix_for_namespace(namespace)
self.soup.handle_starttag(name, namespace, nsprefix, attrs)
self.soup.handle_starttag(
name, namespace, nsprefix, attrs,
namespaces=self.active_namespace_prefixes[-1]
)
def _prefix_for_namespace(self, namespace):
"""Find the currently active prefix for the given namespace."""
if namespace is None:
@@ -196,13 +328,20 @@ class LXMLTreeBuilderForXML(TreeBuilder):
if len(self.nsmaps) > 1:
# This tag, or one of its parents, introduced a namespace
# mapping, so pop it off the stack.
self.nsmaps.pop()
out_of_scope_nsmap = self.nsmaps.pop()
if out_of_scope_nsmap is not None:
# This tag introduced a namespace mapping which is no
# longer in scope. Recalculate the currently active
# namespace prefixes.
self.active_namespace_prefixes.pop()
def pi(self, target, data):
self.soup.endData()
self.soup.handle_data(target + ' ' + data)
self.soup.endData(ProcessingInstruction)
data = target + ' ' + data
self.soup.handle_data(data)
self.soup.endData(self.processing_instruction_class)
def data(self, content):
self.soup.handle_data(content)
@@ -229,6 +368,7 @@ class LXMLTreeBuilder(HTMLTreeBuilder, LXMLTreeBuilderForXML):
features = ALTERNATE_NAMES + [NAME, HTML, FAST, PERMISSIVE]
is_xml = False
processing_instruction_class = ProcessingInstruction
def default_parser(self, encoding):
return etree.HTMLParser
@@ -240,7 +380,7 @@ class LXMLTreeBuilder(HTMLTreeBuilder, LXMLTreeBuilderForXML):
self.parser.feed(markup)
self.parser.close()
except (UnicodeDecodeError, LookupError, etree.ParserError) as e:
raise ParserRejectedMarkup(str(e))
raise ParserRejectedMarkup(e)
def test_fragment_to_document(self, fragment):

274
bitbake/lib/bs4/css.py Normal file
View File

@@ -0,0 +1,274 @@
"""Integration code for CSS selectors using Soup Sieve (pypi: soupsieve)."""
# We don't use soupsieve
soupsieve = None
class CSS(object):
"""A proxy object against the soupsieve library, to simplify its
CSS selector API.
Acquire this object through the .css attribute on the
BeautifulSoup object, or on the Tag you want to use as the
starting point for a CSS selector.
The main advantage of doing this is that the tag to be selected
against doesn't need to be explicitly specified in the function
calls, since it's already scoped to a tag.
"""
def __init__(self, tag, api=soupsieve):
"""Constructor.
You don't need to instantiate this class yourself; instead,
access the .css attribute on the BeautifulSoup object, or on
the Tag you want to use as the starting point for your CSS
selector.
:param tag: All CSS selectors will use this as their starting
point.
:param api: A plug-in replacement for the soupsieve module,
designed mainly for use in tests.
"""
if api is None:
raise NotImplementedError(
"Cannot execute CSS selectors because the soupsieve package is not installed."
)
self.api = api
self.tag = tag
def escape(self, ident):
"""Escape a CSS identifier.
This is a simple wrapper around soupselect.escape(). See the
documentation for that function for more information.
"""
if soupsieve is None:
raise NotImplementedError(
"Cannot escape CSS identifiers because the soupsieve package is not installed."
)
return self.api.escape(ident)
def _ns(self, ns, select):
"""Normalize a dictionary of namespaces."""
if not isinstance(select, self.api.SoupSieve) and ns is None:
# If the selector is a precompiled pattern, it already has
# a namespace context compiled in, which cannot be
# replaced.
ns = self.tag._namespaces
return ns
def _rs(self, results):
"""Normalize a list of results to a Resultset.
A ResultSet is more consistent with the rest of Beautiful
Soup's API, and ResultSet.__getattr__ has a helpful error
message if you try to treat a list of results as a single
result (a common mistake).
"""
# Import here to avoid circular import
from bs4.element import ResultSet
return ResultSet(None, results)
def compile(self, select, namespaces=None, flags=0, **kwargs):
"""Pre-compile a selector and return the compiled object.
:param selector: A CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will use the prefixes it encountered while
parsing the document.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.compile() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.compile() method.
:return: A precompiled selector object.
:rtype: soupsieve.SoupSieve
"""
return self.api.compile(
select, self._ns(namespaces, select), flags, **kwargs
)
def select_one(self, select, namespaces=None, flags=0, **kwargs):
"""Perform a CSS selection operation on the current Tag and return the
first result.
This uses the Soup Sieve library. For more information, see
that library's documentation for the soupsieve.select_one()
method.
:param selector: A CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will use the prefixes it encountered while
parsing the document.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.select_one() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.select_one() method.
:return: A Tag, or None if the selector has no match.
:rtype: bs4.element.Tag
"""
return self.api.select_one(
select, self.tag, self._ns(namespaces, select), flags, **kwargs
)
def select(self, select, namespaces=None, limit=0, flags=0, **kwargs):
"""Perform a CSS selection operation on the current Tag.
This uses the Soup Sieve library. For more information, see
that library's documentation for the soupsieve.select()
method.
:param selector: A string containing a CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will pass in the prefixes it encountered while
parsing the document.
:param limit: After finding this number of results, stop looking.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.select() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.select() method.
:return: A ResultSet of Tag objects.
:rtype: bs4.element.ResultSet
"""
if limit is None:
limit = 0
return self._rs(
self.api.select(
select, self.tag, self._ns(namespaces, select), limit, flags,
**kwargs
)
)
def iselect(self, select, namespaces=None, limit=0, flags=0, **kwargs):
"""Perform a CSS selection operation on the current Tag.
This uses the Soup Sieve library. For more information, see
that library's documentation for the soupsieve.iselect()
method. It is the same as select(), but it returns a generator
instead of a list.
:param selector: A string containing a CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will pass in the prefixes it encountered while
parsing the document.
:param limit: After finding this number of results, stop looking.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.iselect() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.iselect() method.
:return: A generator
:rtype: types.GeneratorType
"""
return self.api.iselect(
select, self.tag, self._ns(namespaces, select), limit, flags, **kwargs
)
def closest(self, select, namespaces=None, flags=0, **kwargs):
"""Find the Tag closest to this one that matches the given selector.
This uses the Soup Sieve library. For more information, see
that library's documentation for the soupsieve.closest()
method.
:param selector: A string containing a CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will pass in the prefixes it encountered while
parsing the document.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.closest() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.closest() method.
:return: A Tag, or None if there is no match.
:rtype: bs4.Tag
"""
return self.api.closest(
select, self.tag, self._ns(namespaces, select), flags, **kwargs
)
def match(self, select, namespaces=None, flags=0, **kwargs):
"""Check whether this Tag matches the given CSS selector.
This uses the Soup Sieve library. For more information, see
that library's documentation for the soupsieve.match()
method.
:param: a CSS selector.
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will pass in the prefixes it encountered while
parsing the document.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.match() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.match() method.
:return: True if this Tag matches the selector; False otherwise.
:rtype: bool
"""
return self.api.match(
select, self.tag, self._ns(namespaces, select), flags, **kwargs
)
def filter(self, select, namespaces=None, flags=0, **kwargs):
"""Filter this Tag's direct children based on the given CSS selector.
This uses the Soup Sieve library. It works the same way as
passing this Tag into that library's soupsieve.filter()
method. More information, for more information see the
documentation for soupsieve.filter().
:param namespaces: A dictionary mapping namespace prefixes
used in the CSS selector to namespace URIs. By default,
Beautiful Soup will pass in the prefixes it encountered while
parsing the document.
:param flags: Flags to be passed into Soup Sieve's
soupsieve.filter() method.
:param kwargs: Keyword arguments to be passed into SoupSieve's
soupsieve.filter() method.
:return: A ResultSet of Tag objects.
:rtype: bs4.element.ResultSet
"""
return self._rs(
self.api.filter(
select, self.tag, self._ns(namespaces, select), flags, **kwargs
)
)

View File

@@ -6,61 +6,185 @@ necessary. It is heavily based on code from Mark Pilgrim's Universal
Feed Parser. It works best on XML and HTML, but it does not rewrite the
XML or HTML to reflect a new encoding; that's the tree builder's job.
"""
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
import codecs
from html.entities import codepoint2name
from collections import defaultdict
import codecs
import re
import logging
import string
# Import a library to autodetect character encodings.
chardet_type = None
# Import a library to autodetect character encodings. We'll support
# any of a number of libraries that all support the same API:
#
# * cchardet
# * chardet
# * charset-normalizer
chardet_module = None
try:
# First try the fast C implementation.
# PyPI package: cchardet
import cchardet
def chardet_dammit(s):
return cchardet.detect(s)['encoding']
import cchardet as chardet_module
except ImportError:
try:
# Fall back to the pure Python implementation
# Debian package: python-chardet
# PyPI package: chardet
import chardet
def chardet_dammit(s):
return chardet.detect(s)['encoding']
#import chardet.constants
#chardet.constants._debug = 1
import chardet as chardet_module
except ImportError:
# No chardet available.
def chardet_dammit(s):
return None
try:
# PyPI package: charset-normalizer
import charset_normalizer as chardet_module
except ImportError:
# No chardet available.
chardet_module = None
xml_encoding_re = re.compile(
r'^<\?.*encoding=[\'"](.*?)[\'"].*\?>'.encode(), re.I)
html_meta_re = re.compile(
r'<\s*meta[^>]+charset\s*=\s*["\']?([^>]*?)[ /;\'">]'.encode(), re.I)
if chardet_module:
def chardet_dammit(s):
if isinstance(s, str):
return None
return chardet_module.detect(s)['encoding']
else:
def chardet_dammit(s):
return None
# Build bytestring and Unicode versions of regular expressions for finding
# a declared encoding inside an XML or HTML document.
xml_encoding = '^\\s*<\\?.*encoding=[\'"](.*?)[\'"].*\\?>'
html_meta = '<\\s*meta[^>]+charset\\s*=\\s*["\']?([^>]*?)[ /;\'">]'
encoding_res = dict()
encoding_res[bytes] = {
'html' : re.compile(html_meta.encode("ascii"), re.I),
'xml' : re.compile(xml_encoding.encode("ascii"), re.I),
}
encoding_res[str] = {
'html' : re.compile(html_meta, re.I),
'xml' : re.compile(xml_encoding, re.I)
}
from html.entities import html5
class EntitySubstitution(object):
"""Substitute XML or HTML entities for the corresponding characters."""
"""The ability to substitute XML or HTML entities for certain characters."""
def _populate_class_variables():
lookup = {}
reverse_lookup = {}
characters_for_re = []
"""Initialize variables used by this class to manage the plethora of
HTML5 named entities.
This function returns a 3-tuple containing two dictionaries
and a regular expression:
unicode_to_name - A mapping of Unicode strings like "" to
entity names like "angmsdaa". When a single Unicode string has
multiple entity names, we try to choose the most commonly-used
name.
name_to_unicode: A mapping of entity names like "angmsdaa" to
Unicode strings like "".
named_entity_re: A regular expression matching (almost) any
Unicode string that corresponds to an HTML5 named entity.
"""
unicode_to_name = {}
name_to_unicode = {}
short_entities = set()
long_entities_by_first_character = defaultdict(set)
for name_with_semicolon, character in sorted(html5.items()):
# "It is intentional, for legacy compatibility, that many
# code points have multiple character reference names. For
# example, some appear both with and without the trailing
# semicolon, or with different capitalizations."
# - https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
#
# The parsers are in charge of handling (or not) character
# references with no trailing semicolon, so we remove the
# semicolon whenever it appears.
if name_with_semicolon.endswith(';'):
name = name_with_semicolon[:-1]
else:
name = name_with_semicolon
# When parsing HTML, we want to recognize any known named
# entity and convert it to a sequence of Unicode
# characters.
if name not in name_to_unicode:
name_to_unicode[name] = character
# When _generating_ HTML, we want to recognize special
# character sequences that _could_ be converted to named
# entities.
unicode_to_name[character] = name
# We also need to build a regular expression that lets us
# _find_ those characters in output strings so we can
# replace them.
#
# This is tricky, for two reasons.
if (len(character) == 1 and ord(character) < 128
and character not in '<>&'):
# First, it would be annoying to turn single ASCII
# characters like | into named entities like
# &verbar;. The exceptions are <>&, which we _must_
# turn into named entities to produce valid HTML.
continue
if len(character) > 1 and all(ord(x) < 128 for x in character):
# We also do not want to turn _combinations_ of ASCII
# characters like 'fj' into named entities like '&fjlig;',
# though that's more debateable.
continue
# Second, some named entities have a Unicode value that's
# a subset of the Unicode value for some _other_ named
# entity. As an example, \u2267' is &GreaterFullEqual;,
# but '\u2267\u0338' is &NotGreaterFullEqual;. Our regular
# expression needs to match the first two characters of
# "\u2267\u0338foo", but only the first character of
# "\u2267foo".
#
# In this step, we build two sets of characters that
# _eventually_ need to go into the regular expression. But
# we won't know exactly what the regular expression needs
# to look like until we've gone through the entire list of
# named entities.
if len(character) == 1:
short_entities.add(character)
else:
long_entities_by_first_character[character[0]].add(character)
# Now that we've been through the entire list of entities, we
# can create a regular expression that matches any of them.
particles = set()
for short in short_entities:
long_versions = long_entities_by_first_character[short]
if not long_versions:
particles.add(short)
else:
ignore = "".join([x[1] for x in long_versions])
# This finds, e.g. \u2267 but only if it is _not_
# followed by \u0338.
particles.add("%s(?![%s])" % (short, ignore))
for long_entities in list(long_entities_by_first_character.values()):
for long_entity in long_entities:
particles.add(long_entity)
re_definition = "(%s)" % "|".join(particles)
# If an entity shows up in both html5 and codepoint2name, it's
# likely that HTML5 gives it several different names, such as
# 'rsquo' and 'rsquor'. When converting Unicode characters to
# named entities, the codepoint2name name should take
# precedence where possible, since that's the more easily
# recognizable one.
for codepoint, name in list(codepoint2name.items()):
character = chr(codepoint)
if codepoint != 34:
# There's no point in turning the quotation mark into
# &quot;, unless it happens within an attribute value, which
# is handled elsewhere.
characters_for_re.append(character)
lookup[character] = name
# But we do want to turn &quot; into the quotation mark.
reverse_lookup[name] = character
re_definition = "[%s]" % "".join(characters_for_re)
return lookup, reverse_lookup, re.compile(re_definition)
unicode_to_name[character] = name
return unicode_to_name, name_to_unicode, re.compile(re_definition)
(CHARACTER_TO_HTML_ENTITY, HTML_ENTITY_TO_CHARACTER,
CHARACTER_TO_HTML_ENTITY_RE) = _populate_class_variables()
@@ -72,21 +196,23 @@ class EntitySubstitution(object):
">": "gt",
}
BARE_AMPERSAND_OR_BRACKET = re.compile(r"([<>]|"
r"&(?!#\d+;|#x[0-9a-fA-F]+;|\w+;)"
r")")
BARE_AMPERSAND_OR_BRACKET = re.compile("([<>]|"
"&(?!#\\d+;|#x[0-9a-fA-F]+;|\\w+;)"
")")
AMPERSAND_OR_BRACKET = re.compile(r"([<>&])")
AMPERSAND_OR_BRACKET = re.compile("([<>&])")
@classmethod
def _substitute_html_entity(cls, matchobj):
"""Used with a regular expression to substitute the
appropriate HTML entity for a special character string."""
entity = cls.CHARACTER_TO_HTML_ENTITY.get(matchobj.group(0))
return "&%s;" % entity
@classmethod
def _substitute_xml_entity(cls, matchobj):
"""Used with a regular expression to substitute the
appropriate XML entity for an XML special character."""
appropriate XML entity for a special character string."""
entity = cls.CHARACTER_TO_XML_ENTITY[matchobj.group(0)]
return "&%s;" % entity
@@ -181,6 +307,8 @@ class EntitySubstitution(object):
containg a LATIN SMALL LETTER E WITH ACUTE, but replacing that
character with "&eacute;" will make it more readable to some
people.
:param s: A Unicode string.
"""
return cls.CHARACTER_TO_HTML_ENTITY_RE.sub(
cls._substitute_html_entity, s)
@@ -192,23 +320,65 @@ class EncodingDetector:
Order of precedence:
1. Encodings you specifically tell EncodingDetector to try first
(the override_encodings argument to the constructor).
(the known_definite_encodings argument to the constructor).
2. An encoding declared within the bytestring itself, either in an
2. An encoding determined by sniffing the document's byte-order mark.
3. Encodings you specifically tell EncodingDetector to try if
byte-order mark sniffing fails (the user_encodings argument to the
constructor).
4. An encoding declared within the bytestring itself, either in an
XML declaration (if the bytestring is to be interpreted as an XML
document), or in a <meta> tag (if the bytestring is to be
interpreted as an HTML document.)
3. An encoding detected through textual analysis by chardet,
5. An encoding detected through textual analysis by chardet,
cchardet, or a similar external library.
4. UTF-8.
5. Windows-1252.
"""
def __init__(self, markup, override_encodings=None, is_html=False,
exclude_encodings=None):
self.override_encodings = override_encodings or []
def __init__(self, markup, known_definite_encodings=None,
is_html=False, exclude_encodings=None,
user_encodings=None, override_encodings=None):
"""Constructor.
:param markup: Some markup in an unknown encoding.
:param known_definite_encodings: When determining the encoding
of `markup`, these encodings will be tried first, in
order. In HTML terms, this corresponds to the "known
definite encoding" step defined here:
https://html.spec.whatwg.org/multipage/parsing.html#parsing-with-a-known-character-encoding
:param user_encodings: These encodings will be tried after the
`known_definite_encodings` have been tried and failed, and
after an attempt to sniff the encoding by looking at a
byte order mark has failed. In HTML terms, this
corresponds to the step "user has explicitly instructed
the user agent to override the document's character
encoding", defined here:
https://html.spec.whatwg.org/multipage/parsing.html#determining-the-character-encoding
:param override_encodings: A deprecated alias for
known_definite_encodings. Any encodings here will be tried
immediately after the encodings in
known_definite_encodings.
:param is_html: If True, this markup is considered to be
HTML. Otherwise it's assumed to be XML.
:param exclude_encodings: These encodings will not be tried,
even if they otherwise would be.
"""
self.known_definite_encodings = list(known_definite_encodings or [])
if override_encodings:
self.known_definite_encodings += override_encodings
self.user_encodings = user_encodings or []
exclude_encodings = exclude_encodings or []
self.exclude_encodings = set([x.lower() for x in exclude_encodings])
self.chardet_encoding = None
@@ -219,6 +389,12 @@ class EncodingDetector:
self.markup, self.sniffed_encoding = self.strip_byte_order_mark(markup)
def _usable(self, encoding, tried):
"""Should we even bother to try this encoding?
:param encoding: Name of an encoding.
:param tried: Encodings that have already been tried. This will be modified
as a side effect.
"""
if encoding is not None:
encoding = encoding.lower()
if encoding in self.exclude_encodings:
@@ -230,9 +406,14 @@ class EncodingDetector:
@property
def encodings(self):
"""Yield a number of encodings that might work for this markup."""
"""Yield a number of encodings that might work for this markup.
:yield: A sequence of strings.
"""
tried = set()
for e in self.override_encodings:
# First, try the known definite encodings
for e in self.known_definite_encodings:
if self._usable(e, tried):
yield e
@@ -241,6 +422,12 @@ class EncodingDetector:
if self._usable(self.sniffed_encoding, tried):
yield self.sniffed_encoding
# Sniffing the byte-order mark did nothing; try the user
# encodings.
for e in self.user_encodings:
if self._usable(e, tried):
yield e
# Look within the document for an XML or HTML encoding
# declaration.
if self.declared_encoding is None:
@@ -263,7 +450,11 @@ class EncodingDetector:
@classmethod
def strip_byte_order_mark(cls, data):
"""If a byte-order mark is present, strip it and return the encoding it implies."""
"""If a byte-order mark is present, strip it and return the encoding it implies.
:param data: Some markup.
:return: A 2-tuple (modified data, implied encoding)
"""
encoding = None
if isinstance(data, str):
# Unicode data cannot have a byte-order mark.
@@ -295,21 +486,36 @@ class EncodingDetector:
An HTML encoding is declared in a <meta> tag, hopefully near the
beginning of the document.
:param markup: Some markup.
:param is_html: If True, this markup is considered to be HTML. Otherwise
it's assumed to be XML.
:param search_entire_document: Since an encoding is supposed to declared near the beginning
of the document, most of the time it's only necessary to search a few kilobytes of data.
Set this to True to force this method to search the entire document.
"""
if search_entire_document:
xml_endpos = html_endpos = len(markup)
else:
xml_endpos = 1024
html_endpos = max(2048, int(len(markup) * 0.05))
if isinstance(markup, bytes):
res = encoding_res[bytes]
else:
res = encoding_res[str]
xml_re = res['xml']
html_re = res['html']
declared_encoding = None
declared_encoding_match = xml_encoding_re.search(markup, endpos=xml_endpos)
declared_encoding_match = xml_re.search(markup, endpos=xml_endpos)
if not declared_encoding_match and is_html:
declared_encoding_match = html_meta_re.search(markup, endpos=html_endpos)
declared_encoding_match = html_re.search(markup, endpos=html_endpos)
if declared_encoding_match is not None:
declared_encoding = declared_encoding_match.groups()[0].decode(
'ascii', 'replace')
declared_encoding = declared_encoding_match.groups()[0]
if declared_encoding:
if isinstance(declared_encoding, bytes):
declared_encoding = declared_encoding.decode('ascii', 'replace')
return declared_encoding.lower()
return None
@@ -332,15 +538,53 @@ class UnicodeDammit:
"iso-8859-2",
]
def __init__(self, markup, override_encodings=[],
smart_quotes_to=None, is_html=False, exclude_encodings=[]):
def __init__(self, markup, known_definite_encodings=[],
smart_quotes_to=None, is_html=False, exclude_encodings=[],
user_encodings=None, override_encodings=None
):
"""Constructor.
:param markup: A bytestring representing markup in an unknown encoding.
:param known_definite_encodings: When determining the encoding
of `markup`, these encodings will be tried first, in
order. In HTML terms, this corresponds to the "known
definite encoding" step defined here:
https://html.spec.whatwg.org/multipage/parsing.html#parsing-with-a-known-character-encoding
:param user_encodings: These encodings will be tried after the
`known_definite_encodings` have been tried and failed, and
after an attempt to sniff the encoding by looking at a
byte order mark has failed. In HTML terms, this
corresponds to the step "user has explicitly instructed
the user agent to override the document's character
encoding", defined here:
https://html.spec.whatwg.org/multipage/parsing.html#determining-the-character-encoding
:param override_encodings: A deprecated alias for
known_definite_encodings. Any encodings here will be tried
immediately after the encodings in
known_definite_encodings.
:param smart_quotes_to: By default, Microsoft smart quotes will, like all other characters, be converted
to Unicode characters. Setting this to 'ascii' will convert them to ASCII quotes instead.
Setting it to 'xml' will convert them to XML entity references, and setting it to 'html'
will convert them to HTML entity references.
:param is_html: If True, this markup is considered to be HTML. Otherwise
it's assumed to be XML.
:param exclude_encodings: These encodings will not be considered, even
if the sniffing code thinks they might make sense.
"""
self.smart_quotes_to = smart_quotes_to
self.tried_encodings = []
self.contains_replacement_characters = False
self.is_html = is_html
self.log = logging.getLogger(__name__)
self.detector = EncodingDetector(
markup, override_encodings, is_html, exclude_encodings)
markup, known_definite_encodings, is_html, exclude_encodings,
user_encodings, override_encodings
)
# Short-circuit if the data is in Unicode to begin with.
if isinstance(markup, str) or markup == '':
@@ -368,9 +612,10 @@ class UnicodeDammit:
if encoding != "ascii":
u = self._convert_from(encoding, "replace")
if u is not None:
logging.warning(
self.log.warning(
"Some characters could not be decoded, and were "
"replaced with REPLACEMENT CHARACTER.")
"replaced with REPLACEMENT CHARACTER."
)
self.contains_replacement_characters = True
break
@@ -399,6 +644,10 @@ class UnicodeDammit:
return sub
def _convert_from(self, proposed, errors="strict"):
"""Attempt to convert the markup to the proposed encoding.
:param proposed: The name of a character encoding.
"""
proposed = self.find_codec(proposed)
if not proposed or (proposed, errors) in self.tried_encodings:
return None
@@ -413,30 +662,40 @@ class UnicodeDammit:
markup = smart_quotes_compiled.sub(self._sub_ms_char, markup)
try:
#print "Trying to convert document to %s (errors=%s)" % (
# proposed, errors)
#print("Trying to convert document to %s (errors=%s)" % (
# proposed, errors))
u = self._to_unicode(markup, proposed, errors)
self.markup = u
self.original_encoding = proposed
except Exception as e:
#print "That didn't work!"
#print e
#print("That didn't work!")
#print(e)
return None
#print "Correct encoding: %s" % proposed
#print("Correct encoding: %s" % proposed)
return self.markup
def _to_unicode(self, data, encoding, errors="strict"):
'''Given a string and its encoding, decodes the string into Unicode.
%encoding is a string recognized by encodings.aliases'''
"""Given a string and its encoding, decodes the string into Unicode.
:param encoding: The name of an encoding.
"""
return str(data, encoding, errors)
@property
def declared_html_encoding(self):
"""If the markup is an HTML document, returns the encoding declared _within_
the document.
"""
if not self.is_html:
return None
return self.detector.declared_encoding
def find_codec(self, charset):
"""Convert the name of a character set to a codec name.
:param charset: The name of a character set.
:return: The name of a codec.
"""
value = (self._codec(self.CHARSET_ALIASES.get(charset, charset))
or (charset and self._codec(charset.replace("-", "")))
or (charset and self._codec(charset.replace("-", "_")))
@@ -726,7 +985,7 @@ class UnicodeDammit:
0xde : b'\xc3\x9e', # Þ
0xdf : b'\xc3\x9f', # ß
0xe0 : b'\xc3\xa0', # à
0xe1 : b'\xa1', # á
0xe1 : b'\xa1', # á
0xe2 : b'\xc3\xa2', # â
0xe3 : b'\xc3\xa3', # ã
0xe4 : b'\xc3\xa4', # ä
@@ -775,12 +1034,16 @@ class UnicodeDammit:
Currently the only situation supported is Windows-1252 (or its
subset ISO-8859-1), embedded in UTF-8.
The input must be a bytestring. If you've already converted
the document to Unicode, you're too late.
The output is a bytestring in which `embedded_encoding`
characters have been converted to their `main_encoding`
equivalents.
:param in_bytes: A bytestring that you suspect contains
characters from multiple encodings. Note that this _must_
be a bytestring. If you've already converted the document
to Unicode, you're too late.
:param main_encoding: The primary encoding of `in_bytes`.
:param embedded_encoding: The encoding that was used to embed characters
in the main document.
:return: A bytestring in which `embedded_encoding`
characters have been converted to their `main_encoding`
equivalents.
"""
if embedded_encoding.replace('_', '-').lower() not in (
'windows-1252', 'windows_1252'):

View File

@@ -1,9 +1,10 @@
"""Diagnostic functions, mainly for use when doing tech support."""
# Use of this source code is governed by the MIT license.
__license__ = "MIT"
import cProfile
from io import StringIO
from io import BytesIO
from html.parser import HTMLParser
import bs4
from bs4 import BeautifulSoup, __version__
@@ -19,9 +20,13 @@ import sys
import cProfile
def diagnose(data):
"""Diagnostic suite for isolating common problems."""
print("Diagnostic running on Beautiful Soup %s" % __version__)
print("Python version %s" % sys.version)
"""Diagnostic suite for isolating common problems.
:param data: A string containing markup that needs to be explained.
:return: None; diagnostics are printed to standard output.
"""
print(("Diagnostic running on Beautiful Soup %s" % __version__))
print(("Python version %s" % sys.version))
basic_parsers = ["html.parser", "html5lib", "lxml"]
for name in basic_parsers:
@@ -35,61 +40,70 @@ def diagnose(data):
name))
if 'lxml' in basic_parsers:
basic_parsers.append(["lxml", "xml"])
basic_parsers.append("lxml-xml")
try:
from lxml import etree
print("Found lxml version %s" % ".".join(map(str,etree.LXML_VERSION)))
print(("Found lxml version %s" % ".".join(map(str,etree.LXML_VERSION))))
except ImportError as e:
print (
print(
"lxml is not installed or couldn't be imported.")
if 'html5lib' in basic_parsers:
try:
import html5lib
print("Found html5lib version %s" % html5lib.__version__)
print(("Found html5lib version %s" % html5lib.__version__))
except ImportError as e:
print (
print(
"html5lib is not installed or couldn't be imported.")
if hasattr(data, 'read'):
data = data.read()
elif os.path.exists(data):
print('"%s" looks like a filename. Reading data from the file.' % data)
data = open(data).read()
elif data.startswith("http:") or data.startswith("https:"):
print('"%s" looks like a URL. Beautiful Soup is not an HTTP client.' % data)
print("You need to use some other library to get the document behind the URL, and feed that document to Beautiful Soup.")
return
print()
for parser in basic_parsers:
print("Trying to parse your markup with %s" % parser)
print(("Trying to parse your markup with %s" % parser))
success = False
try:
soup = BeautifulSoup(data, parser)
soup = BeautifulSoup(data, features=parser)
success = True
except Exception as e:
print("%s could not parse the markup." % parser)
print(("%s could not parse the markup." % parser))
traceback.print_exc()
if success:
print("Here's what %s did with the markup:" % parser)
print(soup.prettify())
print(("Here's what %s did with the markup:" % parser))
print((soup.prettify()))
print("-" * 80)
print(("-" * 80))
def lxml_trace(data, html=True, **kwargs):
"""Print out the lxml events that occur during parsing.
This lets you see how lxml parses a document when no Beautiful
Soup code is running.
Soup code is running. You can use this to determine whether
an lxml-specific problem is in Beautiful Soup's lxml tree builders
or in lxml itself.
:param data: Some markup.
:param html: If True, markup will be parsed with lxml's HTML parser.
if False, lxml's XML parser will be used.
"""
from lxml import etree
for event, element in etree.iterparse(StringIO(data), html=html, **kwargs):
recover = kwargs.pop('recover', True)
if isinstance(data, str):
data = data.encode("utf8")
reader = BytesIO(data)
for event, element in etree.iterparse(
reader, html=html, recover=recover, **kwargs
):
print(("%s, %4s, %s" % (event, element.tag, element.text)))
class AnnouncingParser(HTMLParser):
"""Announces HTMLParser parse events, without doing anything else."""
"""Subclass of HTMLParser that announces parse events, without doing
anything else.
You can use this to get a picture of how html.parser sees a given
document. The easiest way to do this is to call `htmlparser_trace`.
"""
def _p(self, s):
print(s)
@@ -126,6 +140,8 @@ def htmlparser_trace(data):
This lets you see how HTMLParser parses a document when no
Beautiful Soup code is running.
:param data: Some markup.
"""
parser = AnnouncingParser()
parser.feed(data)
@@ -168,9 +184,9 @@ def rdoc(num_elements=1000):
def benchmark_parsers(num_elements=100000):
"""Very basic head-to-head performance benchmark."""
print("Comparative parser benchmark on Beautiful Soup %s" % __version__)
print(("Comparative parser benchmark on Beautiful Soup %s" % __version__))
data = rdoc(num_elements)
print("Generated a large invalid HTML document (%d bytes)." % len(data))
print(("Generated a large invalid HTML document (%d bytes)." % len(data)))
for parser in ["lxml", ["lxml", "html"], "html5lib", "html.parser"]:
success = False
@@ -180,26 +196,26 @@ def benchmark_parsers(num_elements=100000):
b = time.time()
success = True
except Exception as e:
print("%s could not parse the markup." % parser)
print(("%s could not parse the markup." % parser))
traceback.print_exc()
if success:
print("BS4+%s parsed the markup in %.2fs." % (parser, b-a))
print(("BS4+%s parsed the markup in %.2fs." % (parser, b-a)))
from lxml import etree
a = time.time()
etree.HTML(data)
b = time.time()
print("Raw lxml parsed the markup in %.2fs." % (b-a))
print(("Raw lxml parsed the markup in %.2fs." % (b-a)))
import html5lib
parser = html5lib.HTMLParser()
a = time.time()
parser.parse(data)
b = time.time()
print("Raw html5lib parsed the markup in %.2fs." % (b-a))
print(("Raw html5lib parsed the markup in %.2fs." % (b-a)))
def profile(num_elements=100000, parser="lxml"):
"""Use Python's profiler on a randomly generated document."""
filehandle = tempfile.NamedTemporaryFile()
filename = filehandle.name
@@ -212,5 +228,6 @@ def profile(num_elements=100000, parser="lxml"):
stats.sort_stats("cumulative")
stats.print_stats('_html5lib|bs4', 50)
# If this file is run as a script, standard input is diagnosed.
if __name__ == '__main__':
diagnose(sys.stdin.read())

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,185 @@
from bs4.dammit import EntitySubstitution
class Formatter(EntitySubstitution):
"""Describes a strategy to use when outputting a parse tree to a string.
Some parts of this strategy come from the distinction between
HTML4, HTML5, and XML. Others are configurable by the user.
Formatters are passed in as the `formatter` argument to methods
like `PageElement.encode`. Most people won't need to think about
formatters, and most people who need to think about them can pass
in one of these predefined strings as `formatter` rather than
making a new Formatter object:
For HTML documents:
* 'html' - HTML entity substitution for generic HTML documents. (default)
* 'html5' - HTML entity substitution for HTML5 documents, as
well as some optimizations in the way tags are rendered.
* 'minimal' - Only make the substitutions necessary to guarantee
valid HTML.
* None - Do not perform any substitution. This will be faster
but may result in invalid markup.
For XML documents:
* 'html' - Entity substitution for XHTML documents.
* 'minimal' - Only make the substitutions necessary to guarantee
valid XML. (default)
* None - Do not perform any substitution. This will be faster
but may result in invalid markup.
"""
# Registries of XML and HTML formatters.
XML_FORMATTERS = {}
HTML_FORMATTERS = {}
HTML = 'html'
XML = 'xml'
HTML_DEFAULTS = dict(
cdata_containing_tags=set(["script", "style"]),
)
def _default(self, language, value, kwarg):
if value is not None:
return value
if language == self.XML:
return set()
return self.HTML_DEFAULTS[kwarg]
def __init__(
self, language=None, entity_substitution=None,
void_element_close_prefix='/', cdata_containing_tags=None,
empty_attributes_are_booleans=False, indent=1,
):
r"""Constructor.
:param language: This should be Formatter.XML if you are formatting
XML markup and Formatter.HTML if you are formatting HTML markup.
:param entity_substitution: A function to call to replace special
characters with XML/HTML entities. For examples, see
bs4.dammit.EntitySubstitution.substitute_html and substitute_xml.
:param void_element_close_prefix: By default, void elements
are represented as <tag/> (XML rules) rather than <tag>
(HTML rules). To get <tag>, pass in the empty string.
:param cdata_containing_tags: The list of tags that are defined
as containing CDATA in this dialect. For example, in HTML,
<script> and <style> tags are defined as containing CDATA,
and their contents should not be formatted.
:param blank_attributes_are_booleans: Render attributes whose value
is the empty string as HTML-style boolean attributes.
(Attributes whose value is None are always rendered this way.)
:param indent: If indent is a non-negative integer or string,
then the contents of elements will be indented
appropriately when pretty-printing. An indent level of 0,
negative, or "" will only insert newlines. Using a
positive integer indent indents that many spaces per
level. If indent is a string (such as "\t"), that string
is used to indent each level. The default behavior is to
indent one space per level.
"""
self.language = language
self.entity_substitution = entity_substitution
self.void_element_close_prefix = void_element_close_prefix
self.cdata_containing_tags = self._default(
language, cdata_containing_tags, 'cdata_containing_tags'
)
self.empty_attributes_are_booleans=empty_attributes_are_booleans
if indent is None:
indent = 0
if isinstance(indent, int):
if indent < 0:
indent = 0
indent = ' ' * indent
elif isinstance(indent, str):
indent = indent
else:
indent = ' '
self.indent = indent
def substitute(self, ns):
"""Process a string that needs to undergo entity substitution.
This may be a string encountered in an attribute value or as
text.
:param ns: A string.
:return: A string with certain characters replaced by named
or numeric entities.
"""
if not self.entity_substitution:
return ns
from .element import NavigableString
if (isinstance(ns, NavigableString)
and ns.parent is not None
and ns.parent.name in self.cdata_containing_tags):
# Do nothing.
return ns
# Substitute.
return self.entity_substitution(ns)
def attribute_value(self, value):
"""Process the value of an attribute.
:param ns: A string.
:return: A string with certain characters replaced by named
or numeric entities.
"""
return self.substitute(value)
def attributes(self, tag):
"""Reorder a tag's attributes however you want.
By default, attributes are sorted alphabetically. This makes
behavior consistent between Python 2 and Python 3, and preserves
backwards compatibility with older versions of Beautiful Soup.
If `empty_boolean_attributes` is True, then attributes whose
values are set to the empty string will be treated as boolean
attributes.
"""
if tag.attrs is None:
return []
return sorted(
(k, (None if self.empty_attributes_are_booleans and v == '' else v))
for k, v in list(tag.attrs.items())
)
class HTMLFormatter(Formatter):
"""A generic Formatter for HTML."""
REGISTRY = {}
def __init__(self, *args, **kwargs):
super(HTMLFormatter, self).__init__(self.HTML, *args, **kwargs)
class XMLFormatter(Formatter):
"""A generic Formatter for XML."""
REGISTRY = {}
def __init__(self, *args, **kwargs):
super(XMLFormatter, self).__init__(self.XML, *args, **kwargs)
# Set up aliases for the default formatters.
HTMLFormatter.REGISTRY['html'] = HTMLFormatter(
entity_substitution=EntitySubstitution.substitute_html
)
HTMLFormatter.REGISTRY["html5"] = HTMLFormatter(
entity_substitution=EntitySubstitution.substitute_html,
void_element_close_prefix=None,
empty_attributes_are_booleans=True,
)
HTMLFormatter.REGISTRY["minimal"] = HTMLFormatter(
entity_substitution=EntitySubstitution.substitute_xml
)
HTMLFormatter.REGISTRY[None] = HTMLFormatter(
entity_substitution=None
)
XMLFormatter.REGISTRY["html"] = XMLFormatter(
entity_substitution=EntitySubstitution.substitute_html
)
XMLFormatter.REGISTRY["minimal"] = XMLFormatter(
entity_substitution=EntitySubstitution.substitute_xml
)
XMLFormatter.REGISTRY[None] = Formatter(
Formatter(Formatter.XML, entity_substitution=None)
)

View File

@@ -1,686 +0,0 @@
"""Helper classes for tests."""
__license__ = "MIT"
import pickle
import copy
import unittest
from unittest import TestCase
from bs4 import BeautifulSoup
from bs4.element import (
CharsetMetaAttributeValue,
Comment,
ContentMetaAttributeValue,
Doctype,
SoupStrainer,
)
from bs4.builder._htmlparser import HTMLParserTreeBuilder
default_builder = HTMLParserTreeBuilder
class SoupTest(unittest.TestCase):
@property
def default_builder(self):
return default_builder()
def soup(self, markup, **kwargs):
"""Build a Beautiful Soup object from markup."""
builder = kwargs.pop('builder', self.default_builder)
return BeautifulSoup(markup, builder=builder, **kwargs)
def document_for(self, markup):
"""Turn an HTML fragment into a document.
The details depend on the builder.
"""
return self.default_builder.test_fragment_to_document(markup)
def assertSoupEquals(self, to_parse, compare_parsed_to=None):
builder = self.default_builder
obj = BeautifulSoup(to_parse, builder=builder)
if compare_parsed_to is None:
compare_parsed_to = to_parse
self.assertEqual(obj.decode(), self.document_for(compare_parsed_to))
def assertConnectedness(self, element):
"""Ensure that next_element and previous_element are properly
set for all descendants of the given element.
"""
earlier = None
for e in element.descendants:
if earlier:
self.assertEqual(e, earlier.next_element)
self.assertEqual(earlier, e.previous_element)
earlier = e
class HTMLTreeBuilderSmokeTest(SoupTest):
"""A basic test of a treebuilder's competence.
Any HTML treebuilder, present or future, should be able to pass
these tests. With invalid markup, there's room for interpretation,
and different parsers can handle it differently. But with the
markup in these tests, there's not much room for interpretation.
"""
def test_pickle_and_unpickle_identity(self):
# Pickling a tree, then unpickling it, yields a tree identical
# to the original.
tree = self.soup("<a><b>foo</a>")
dumped = pickle.dumps(tree, 2)
loaded = pickle.loads(dumped)
self.assertEqual(loaded.__class__, BeautifulSoup)
self.assertEqual(loaded.decode(), tree.decode())
def assertDoctypeHandled(self, doctype_fragment):
"""Assert that a given doctype string is handled correctly."""
doctype_str, soup = self._document_with_doctype(doctype_fragment)
# Make sure a Doctype object was created.
doctype = soup.contents[0]
self.assertEqual(doctype.__class__, Doctype)
self.assertEqual(doctype, doctype_fragment)
self.assertEqual(str(soup)[:len(doctype_str)], doctype_str)
# Make sure that the doctype was correctly associated with the
# parse tree and that the rest of the document parsed.
self.assertEqual(soup.p.contents[0], 'foo')
def _document_with_doctype(self, doctype_fragment):
"""Generate and parse a document with the given doctype."""
doctype = '<!DOCTYPE %s>' % doctype_fragment
markup = doctype + '\n<p>foo</p>'
soup = self.soup(markup)
return doctype, soup
def test_normal_doctypes(self):
"""Make sure normal, everyday HTML doctypes are handled correctly."""
self.assertDoctypeHandled("html")
self.assertDoctypeHandled(
'html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"')
def test_empty_doctype(self):
soup = self.soup("<!DOCTYPE>")
doctype = soup.contents[0]
self.assertEqual("", doctype.strip())
def test_public_doctype_with_url(self):
doctype = 'html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"'
self.assertDoctypeHandled(doctype)
def test_system_doctype(self):
self.assertDoctypeHandled('foo SYSTEM "http://www.example.com/"')
def test_namespaced_system_doctype(self):
# We can handle a namespaced doctype with a system ID.
self.assertDoctypeHandled('xsl:stylesheet SYSTEM "htmlent.dtd"')
def test_namespaced_public_doctype(self):
# Test a namespaced doctype with a public id.
self.assertDoctypeHandled('xsl:stylesheet PUBLIC "htmlent.dtd"')
def test_real_xhtml_document(self):
"""A real XHTML document should come out more or less the same as it went in."""
markup = b"""<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Hello.</title></head>
<body>Goodbye.</body>
</html>"""
soup = self.soup(markup)
self.assertEqual(
soup.encode("utf-8").replace(b"\n", b""),
markup.replace(b"\n", b""))
def test_processing_instruction(self):
markup = b"""<?PITarget PIContent?>"""
soup = self.soup(markup)
self.assertEqual(markup, soup.encode("utf8"))
def test_deepcopy(self):
"""Make sure you can copy the tree builder.
This is important because the builder is part of a
BeautifulSoup object, and we want to be able to copy that.
"""
copy.deepcopy(self.default_builder)
def test_p_tag_is_never_empty_element(self):
"""A <p> tag is never designated as an empty-element tag.
Even if the markup shows it as an empty-element tag, it
shouldn't be presented that way.
"""
soup = self.soup("<p/>")
self.assertFalse(soup.p.is_empty_element)
self.assertEqual(str(soup.p), "<p></p>")
def test_unclosed_tags_get_closed(self):
"""A tag that's not closed by the end of the document should be closed.
This applies to all tags except empty-element tags.
"""
self.assertSoupEquals("<p>", "<p></p>")
self.assertSoupEquals("<b>", "<b></b>")
self.assertSoupEquals("<br>", "<br/>")
def test_br_is_always_empty_element_tag(self):
"""A <br> tag is designated as an empty-element tag.
Some parsers treat <br></br> as one <br/> tag, some parsers as
two tags, but it should always be an empty-element tag.
"""
soup = self.soup("<br></br>")
self.assertTrue(soup.br.is_empty_element)
self.assertEqual(str(soup.br), "<br/>")
def test_nested_formatting_elements(self):
self.assertSoupEquals("<em><em></em></em>")
def test_double_head(self):
html = '''<!DOCTYPE html>
<html>
<head>
<title>Ordinary HEAD element test</title>
</head>
<script type="text/javascript">
alert("Help!");
</script>
<body>
Hello, world!
</body>
</html>
'''
soup = self.soup(html)
self.assertEqual("text/javascript", soup.find('script')['type'])
def test_comment(self):
# Comments are represented as Comment objects.
markup = "<p>foo<!--foobar-->baz</p>"
self.assertSoupEquals(markup)
soup = self.soup(markup)
comment = soup.find(text="foobar")
self.assertEqual(comment.__class__, Comment)
# The comment is properly integrated into the tree.
foo = soup.find(text="foo")
self.assertEqual(comment, foo.next_element)
baz = soup.find(text="baz")
self.assertEqual(comment, baz.previous_element)
def test_preserved_whitespace_in_pre_and_textarea(self):
"""Whitespace must be preserved in <pre> and <textarea> tags."""
self.assertSoupEquals("<pre> </pre>")
self.assertSoupEquals("<textarea> woo </textarea>")
def test_nested_inline_elements(self):
"""Inline elements can be nested indefinitely."""
b_tag = "<b>Inside a B tag</b>"
self.assertSoupEquals(b_tag)
nested_b_tag = "<p>A <i>nested <b>tag</b></i></p>"
self.assertSoupEquals(nested_b_tag)
double_nested_b_tag = "<p>A <a>doubly <i>nested <b>tag</b></i></a></p>"
self.assertSoupEquals(nested_b_tag)
def test_nested_block_level_elements(self):
"""Block elements can be nested."""
soup = self.soup('<blockquote><p><b>Foo</b></p></blockquote>')
blockquote = soup.blockquote
self.assertEqual(blockquote.p.b.string, 'Foo')
self.assertEqual(blockquote.b.string, 'Foo')
def test_correctly_nested_tables(self):
"""One table can go inside another one."""
markup = ('<table id="1">'
'<tr>'
"<td>Here's another table:"
'<table id="2">'
'<tr><td>foo</td></tr>'
'</table></td>')
self.assertSoupEquals(
markup,
'<table id="1"><tr><td>Here\'s another table:'
'<table id="2"><tr><td>foo</td></tr></table>'
'</td></tr></table>')
self.assertSoupEquals(
"<table><thead><tr><td>Foo</td></tr></thead>"
"<tbody><tr><td>Bar</td></tr></tbody>"
"<tfoot><tr><td>Baz</td></tr></tfoot></table>")
def test_deeply_nested_multivalued_attribute(self):
# html5lib can set the attributes of the same tag many times
# as it rearranges the tree. This has caused problems with
# multivalued attributes.
markup = '<table><div><div class="css"></div></div></table>'
soup = self.soup(markup)
self.assertEqual(["css"], soup.div.div['class'])
def test_multivalued_attribute_on_html(self):
# html5lib uses a different API to set the attributes ot the
# <html> tag. This has caused problems with multivalued
# attributes.
markup = '<html class="a b"></html>'
soup = self.soup(markup)
self.assertEqual(["a", "b"], soup.html['class'])
def test_angle_brackets_in_attribute_values_are_escaped(self):
self.assertSoupEquals('<a b="<a>"></a>', '<a b="&lt;a&gt;"></a>')
def test_entities_in_attributes_converted_to_unicode(self):
expect = '<p id="pi\N{LATIN SMALL LETTER N WITH TILDE}ata"></p>'
self.assertSoupEquals('<p id="pi&#241;ata"></p>', expect)
self.assertSoupEquals('<p id="pi&#xf1;ata"></p>', expect)
self.assertSoupEquals('<p id="pi&#Xf1;ata"></p>', expect)
self.assertSoupEquals('<p id="pi&ntilde;ata"></p>', expect)
def test_entities_in_text_converted_to_unicode(self):
expect = '<p>pi\N{LATIN SMALL LETTER N WITH TILDE}ata</p>'
self.assertSoupEquals("<p>pi&#241;ata</p>", expect)
self.assertSoupEquals("<p>pi&#xf1;ata</p>", expect)
self.assertSoupEquals("<p>pi&#Xf1;ata</p>", expect)
self.assertSoupEquals("<p>pi&ntilde;ata</p>", expect)
def test_quot_entity_converted_to_quotation_mark(self):
self.assertSoupEquals("<p>I said &quot;good day!&quot;</p>",
'<p>I said "good day!"</p>')
def test_out_of_range_entity(self):
expect = "\N{REPLACEMENT CHARACTER}"
self.assertSoupEquals("&#10000000000000;", expect)
self.assertSoupEquals("&#x10000000000000;", expect)
self.assertSoupEquals("&#1000000000;", expect)
def test_multipart_strings(self):
"Mostly to prevent a recurrence of a bug in the html5lib treebuilder."
soup = self.soup("<html><h2>\nfoo</h2><p></p></html>")
self.assertEqual("p", soup.h2.string.next_element.name)
self.assertEqual("p", soup.p.name)
self.assertConnectedness(soup)
def test_head_tag_between_head_and_body(self):
"Prevent recurrence of a bug in the html5lib treebuilder."
content = """<html><head></head>
<link></link>
<body>foo</body>
</html>
"""
soup = self.soup(content)
self.assertNotEqual(None, soup.html.body)
self.assertConnectedness(soup)
def test_multiple_copies_of_a_tag(self):
"Prevent recurrence of a bug in the html5lib treebuilder."
content = """<!DOCTYPE html>
<html>
<body>
<article id="a" >
<div><a href="1"></div>
<footer>
<a href="2"></a>
</footer>
</article>
</body>
</html>
"""
soup = self.soup(content)
self.assertConnectedness(soup.article)
def test_basic_namespaces(self):
"""Parsers don't need to *understand* namespaces, but at the
very least they should not choke on namespaces or lose
data."""
markup = b'<html xmlns="http://www.w3.org/1999/xhtml" xmlns:mathml="http://www.w3.org/1998/Math/MathML" xmlns:svg="http://www.w3.org/2000/svg"><head></head><body><mathml:msqrt>4</mathml:msqrt><b svg:fill="red"></b></body></html>'
soup = self.soup(markup)
self.assertEqual(markup, soup.encode())
html = soup.html
self.assertEqual('http://www.w3.org/1999/xhtml', soup.html['xmlns'])
self.assertEqual(
'http://www.w3.org/1998/Math/MathML', soup.html['xmlns:mathml'])
self.assertEqual(
'http://www.w3.org/2000/svg', soup.html['xmlns:svg'])
def test_multivalued_attribute_value_becomes_list(self):
markup = b'<a class="foo bar">'
soup = self.soup(markup)
self.assertEqual(['foo', 'bar'], soup.a['class'])
#
# Generally speaking, tests below this point are more tests of
# Beautiful Soup than tests of the tree builders. But parsers are
# weird, so we run these tests separately for every tree builder
# to detect any differences between them.
#
def test_can_parse_unicode_document(self):
# A seemingly innocuous document... but it's in Unicode! And
# it contains characters that can't be represented in the
# encoding found in the declaration! The horror!
markup = '<html><head><meta encoding="euc-jp"></head><body>Sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!</body>'
soup = self.soup(markup)
self.assertEqual('Sacr\xe9 bleu!', soup.body.string)
def test_soupstrainer(self):
"""Parsers should be able to work with SoupStrainers."""
strainer = SoupStrainer("b")
soup = self.soup("A <b>bold</b> <meta/> <i>statement</i>",
parse_only=strainer)
self.assertEqual(soup.decode(), "<b>bold</b>")
def test_single_quote_attribute_values_become_double_quotes(self):
self.assertSoupEquals("<foo attr='bar'></foo>",
'<foo attr="bar"></foo>')
def test_attribute_values_with_nested_quotes_are_left_alone(self):
text = """<foo attr='bar "brawls" happen'>a</foo>"""
self.assertSoupEquals(text)
def test_attribute_values_with_double_nested_quotes_get_quoted(self):
text = """<foo attr='bar "brawls" happen'>a</foo>"""
soup = self.soup(text)
soup.foo['attr'] = 'Brawls happen at "Bob\'s Bar"'
self.assertSoupEquals(
soup.foo.decode(),
"""<foo attr="Brawls happen at &quot;Bob\'s Bar&quot;">a</foo>""")
def test_ampersand_in_attribute_value_gets_escaped(self):
self.assertSoupEquals('<this is="really messed up & stuff"></this>',
'<this is="really messed up &amp; stuff"></this>')
self.assertSoupEquals(
'<a href="http://example.org?a=1&b=2;3">foo</a>',
'<a href="http://example.org?a=1&amp;b=2;3">foo</a>')
def test_escaped_ampersand_in_attribute_value_is_left_alone(self):
self.assertSoupEquals('<a href="http://example.org?a=1&amp;b=2;3"></a>')
def test_entities_in_strings_converted_during_parsing(self):
# Both XML and HTML entities are converted to Unicode characters
# during parsing.
text = "<p>&lt;&lt;sacr&eacute;&#32;bleu!&gt;&gt;</p>"
expected = "<p>&lt;&lt;sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!&gt;&gt;</p>"
self.assertSoupEquals(text, expected)
def test_smart_quotes_converted_on_the_way_in(self):
# Microsoft smart quotes are converted to Unicode characters during
# parsing.
quote = b"<p>\x91Foo\x92</p>"
soup = self.soup(quote)
self.assertEqual(
soup.p.string,
"\N{LEFT SINGLE QUOTATION MARK}Foo\N{RIGHT SINGLE QUOTATION MARK}")
def test_non_breaking_spaces_converted_on_the_way_in(self):
soup = self.soup("<a>&nbsp;&nbsp;</a>")
self.assertEqual(soup.a.string, "\N{NO-BREAK SPACE}" * 2)
def test_entities_converted_on_the_way_out(self):
text = "<p>&lt;&lt;sacr&eacute;&#32;bleu!&gt;&gt;</p>"
expected = "<p>&lt;&lt;sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!&gt;&gt;</p>".encode("utf-8")
soup = self.soup(text)
self.assertEqual(soup.p.encode("utf-8"), expected)
def test_real_iso_latin_document(self):
# Smoke test of interrelated functionality, using an
# easy-to-understand document.
# Here it is in Unicode. Note that it claims to be in ISO-Latin-1.
unicode_html = '<html><head><meta content="text/html; charset=ISO-Latin-1" http-equiv="Content-type"/></head><body><p>Sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!</p></body></html>'
# That's because we're going to encode it into ISO-Latin-1, and use
# that to test.
iso_latin_html = unicode_html.encode("iso-8859-1")
# Parse the ISO-Latin-1 HTML.
soup = self.soup(iso_latin_html)
# Encode it to UTF-8.
result = soup.encode("utf-8")
# What do we expect the result to look like? Well, it would
# look like unicode_html, except that the META tag would say
# UTF-8 instead of ISO-Latin-1.
expected = unicode_html.replace("ISO-Latin-1", "utf-8")
# And, of course, it would be in UTF-8, not Unicode.
expected = expected.encode("utf-8")
# Ta-da!
self.assertEqual(result, expected)
def test_real_shift_jis_document(self):
# Smoke test to make sure the parser can handle a document in
# Shift-JIS encoding, without choking.
shift_jis_html = (
b'<html><head></head><body><pre>'
b'\x82\xb1\x82\xea\x82\xcdShift-JIS\x82\xc5\x83R\x81[\x83f'
b'\x83B\x83\x93\x83O\x82\xb3\x82\xea\x82\xbd\x93\xfa\x96{\x8c'
b'\xea\x82\xcc\x83t\x83@\x83C\x83\x8b\x82\xc5\x82\xb7\x81B'
b'</pre></body></html>')
unicode_html = shift_jis_html.decode("shift-jis")
soup = self.soup(unicode_html)
# Make sure the parse tree is correctly encoded to various
# encodings.
self.assertEqual(soup.encode("utf-8"), unicode_html.encode("utf-8"))
self.assertEqual(soup.encode("euc_jp"), unicode_html.encode("euc_jp"))
def test_real_hebrew_document(self):
# A real-world test to make sure we can convert ISO-8859-9 (a
# Hebrew encoding) to UTF-8.
hebrew_document = b'<html><head><title>Hebrew (ISO 8859-8) in Visual Directionality</title></head><body><h1>Hebrew (ISO 8859-8) in Visual Directionality</h1>\xed\xe5\xec\xf9</body></html>'
soup = self.soup(
hebrew_document, from_encoding="iso8859-8")
self.assertEqual(soup.original_encoding, 'iso8859-8')
self.assertEqual(
soup.encode('utf-8'),
hebrew_document.decode("iso8859-8").encode("utf-8"))
def test_meta_tag_reflects_current_encoding(self):
# Here's the <meta> tag saying that a document is
# encoded in Shift-JIS.
meta_tag = ('<meta content="text/html; charset=x-sjis" '
'http-equiv="Content-type"/>')
# Here's a document incorporating that meta tag.
shift_jis_html = (
'<html><head>\n%s\n'
'<meta http-equiv="Content-language" content="ja"/>'
'</head><body>Shift-JIS markup goes here.') % meta_tag
soup = self.soup(shift_jis_html)
# Parse the document, and the charset is seemingly unaffected.
parsed_meta = soup.find('meta', {'http-equiv': 'Content-type'})
content = parsed_meta['content']
self.assertEqual('text/html; charset=x-sjis', content)
# But that value is actually a ContentMetaAttributeValue object.
self.assertTrue(isinstance(content, ContentMetaAttributeValue))
# And it will take on a value that reflects its current
# encoding.
self.assertEqual('text/html; charset=utf8', content.encode("utf8"))
# For the rest of the story, see TestSubstitutions in
# test_tree.py.
def test_html5_style_meta_tag_reflects_current_encoding(self):
# Here's the <meta> tag saying that a document is
# encoded in Shift-JIS.
meta_tag = ('<meta id="encoding" charset="x-sjis" />')
# Here's a document incorporating that meta tag.
shift_jis_html = (
'<html><head>\n%s\n'
'<meta http-equiv="Content-language" content="ja"/>'
'</head><body>Shift-JIS markup goes here.') % meta_tag
soup = self.soup(shift_jis_html)
# Parse the document, and the charset is seemingly unaffected.
parsed_meta = soup.find('meta', id="encoding")
charset = parsed_meta['charset']
self.assertEqual('x-sjis', charset)
# But that value is actually a CharsetMetaAttributeValue object.
self.assertTrue(isinstance(charset, CharsetMetaAttributeValue))
# And it will take on a value that reflects its current
# encoding.
self.assertEqual('utf8', charset.encode("utf8"))
def test_tag_with_no_attributes_can_have_attributes_added(self):
data = self.soup("<a>text</a>")
data.a['foo'] = 'bar'
self.assertEqual('<a foo="bar">text</a>', data.a.decode())
class XMLTreeBuilderSmokeTest(SoupTest):
def test_pickle_and_unpickle_identity(self):
# Pickling a tree, then unpickling it, yields a tree identical
# to the original.
tree = self.soup("<a><b>foo</a>")
dumped = pickle.dumps(tree, 2)
loaded = pickle.loads(dumped)
self.assertEqual(loaded.__class__, BeautifulSoup)
self.assertEqual(loaded.decode(), tree.decode())
def test_docstring_generated(self):
soup = self.soup("<root/>")
self.assertEqual(
soup.encode(), b'<?xml version="1.0" encoding="utf-8"?>\n<root/>')
def test_xml_declaration(self):
markup = b"""<?xml version="1.0" encoding="utf8"?>\n<foo/>"""
soup = self.soup(markup)
self.assertEqual(markup, soup.encode("utf8"))
def test_real_xhtml_document(self):
"""A real XHTML document should come out *exactly* the same as it went in."""
markup = b"""<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Hello.</title></head>
<body>Goodbye.</body>
</html>"""
soup = self.soup(markup)
self.assertEqual(
soup.encode("utf-8"), markup)
def test_formatter_processes_script_tag_for_xml_documents(self):
doc = """
<script type="text/javascript">
</script>
"""
soup = BeautifulSoup(doc, "lxml-xml")
# lxml would have stripped this while parsing, but we can add
# it later.
soup.script.string = 'console.log("< < hey > > ");'
encoded = soup.encode()
self.assertTrue(b"&lt; &lt; hey &gt; &gt;" in encoded)
def test_can_parse_unicode_document(self):
markup = '<?xml version="1.0" encoding="euc-jp"><root>Sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!</root>'
soup = self.soup(markup)
self.assertEqual('Sacr\xe9 bleu!', soup.root.string)
def test_popping_namespaced_tag(self):
markup = '<rss xmlns:dc="foo"><dc:creator>b</dc:creator><dc:date>2012-07-02T20:33:42Z</dc:date><dc:rights>c</dc:rights><image>d</image></rss>'
soup = self.soup(markup)
self.assertEqual(
str(soup.rss), markup)
def test_docstring_includes_correct_encoding(self):
soup = self.soup("<root/>")
self.assertEqual(
soup.encode("latin1"),
b'<?xml version="1.0" encoding="latin1"?>\n<root/>')
def test_large_xml_document(self):
"""A large XML document should come out the same as it went in."""
markup = (b'<?xml version="1.0" encoding="utf-8"?>\n<root>'
+ b'0' * (2**12)
+ b'</root>')
soup = self.soup(markup)
self.assertEqual(soup.encode("utf-8"), markup)
def test_tags_are_empty_element_if_and_only_if_they_are_empty(self):
self.assertSoupEquals("<p>", "<p/>")
self.assertSoupEquals("<p>foo</p>")
def test_namespaces_are_preserved(self):
markup = '<root xmlns:a="http://example.com/" xmlns:b="http://example.net/"><a:foo>This tag is in the a namespace</a:foo><b:foo>This tag is in the b namespace</b:foo></root>'
soup = self.soup(markup)
root = soup.root
self.assertEqual("http://example.com/", root['xmlns:a'])
self.assertEqual("http://example.net/", root['xmlns:b'])
def test_closing_namespaced_tag(self):
markup = '<p xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:date>20010504</dc:date></p>'
soup = self.soup(markup)
self.assertEqual(str(soup.p), markup)
def test_namespaced_attributes(self):
markup = '<foo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><bar xsi:schemaLocation="http://www.example.com"/></foo>'
soup = self.soup(markup)
self.assertEqual(str(soup.foo), markup)
def test_namespaced_attributes_xml_namespace(self):
markup = '<foo xml:lang="fr">bar</foo>'
soup = self.soup(markup)
self.assertEqual(str(soup.foo), markup)
class HTML5TreeBuilderSmokeTest(HTMLTreeBuilderSmokeTest):
"""Smoke test for a tree builder that supports HTML5."""
def test_real_xhtml_document(self):
# Since XHTML is not HTML5, HTML5 parsers are not tested to handle
# XHTML documents in any particular way.
pass
def test_html_tags_have_namespace(self):
markup = "<a>"
soup = self.soup(markup)
self.assertEqual("http://www.w3.org/1999/xhtml", soup.a.namespace)
def test_svg_tags_have_namespace(self):
markup = '<svg><circle/></svg>'
soup = self.soup(markup)
namespace = "http://www.w3.org/2000/svg"
self.assertEqual(namespace, soup.svg.namespace)
self.assertEqual(namespace, soup.circle.namespace)
def test_mathml_tags_have_namespace(self):
markup = '<math><msqrt>5</msqrt></math>'
soup = self.soup(markup)
namespace = 'http://www.w3.org/1998/Math/MathML'
self.assertEqual(namespace, soup.math.namespace)
self.assertEqual(namespace, soup.msqrt.namespace)
def test_xml_declaration_becomes_comment(self):
markup = '<?xml version="1.0" encoding="utf-8"?><html></html>'
soup = self.soup(markup)
self.assertTrue(isinstance(soup.contents[0], Comment))
self.assertEqual(soup.contents[0], '?xml version="1.0" encoding="utf-8"?')
self.assertEqual("html", soup.contents[0].next_element.name)
def skipIf(condition, reason):
def nothing(test, *args, **kwargs):
return None
def decorator(test_item):
if condition:
return nothing
else:
return test_item
return decorator

View File

@@ -1 +0,0 @@
"The beautifulsoup tests."

View File

@@ -1,147 +0,0 @@
"""Tests of the builder registry."""
import unittest
import warnings
from bs4 import BeautifulSoup
from bs4.builder import (
builder_registry as registry,
HTMLParserTreeBuilder,
TreeBuilderRegistry,
)
try:
from bs4.builder import HTML5TreeBuilder
HTML5LIB_PRESENT = True
except ImportError:
HTML5LIB_PRESENT = False
try:
from bs4.builder import (
LXMLTreeBuilderForXML,
LXMLTreeBuilder,
)
LXML_PRESENT = True
except ImportError:
LXML_PRESENT = False
class BuiltInRegistryTest(unittest.TestCase):
"""Test the built-in registry with the default builders registered."""
def test_combination(self):
if LXML_PRESENT:
self.assertEqual(registry.lookup('fast', 'html'),
LXMLTreeBuilder)
if LXML_PRESENT:
self.assertEqual(registry.lookup('permissive', 'xml'),
LXMLTreeBuilderForXML)
self.assertEqual(registry.lookup('strict', 'html'),
HTMLParserTreeBuilder)
if HTML5LIB_PRESENT:
self.assertEqual(registry.lookup('html5lib', 'html'),
HTML5TreeBuilder)
def test_lookup_by_markup_type(self):
if LXML_PRESENT:
self.assertEqual(registry.lookup('html'), LXMLTreeBuilder)
self.assertEqual(registry.lookup('xml'), LXMLTreeBuilderForXML)
else:
self.assertEqual(registry.lookup('xml'), None)
if HTML5LIB_PRESENT:
self.assertEqual(registry.lookup('html'), HTML5TreeBuilder)
else:
self.assertEqual(registry.lookup('html'), HTMLParserTreeBuilder)
def test_named_library(self):
if LXML_PRESENT:
self.assertEqual(registry.lookup('lxml', 'xml'),
LXMLTreeBuilderForXML)
self.assertEqual(registry.lookup('lxml', 'html'),
LXMLTreeBuilder)
if HTML5LIB_PRESENT:
self.assertEqual(registry.lookup('html5lib'),
HTML5TreeBuilder)
self.assertEqual(registry.lookup('html.parser'),
HTMLParserTreeBuilder)
def test_beautifulsoup_constructor_does_lookup(self):
with warnings.catch_warnings(record=True) as w:
# This will create a warning about not explicitly
# specifying a parser, but we'll ignore it.
# You can pass in a string.
BeautifulSoup("", features="html")
# Or a list of strings.
BeautifulSoup("", features=["html", "fast"])
# You'll get an exception if BS can't find an appropriate
# builder.
self.assertRaises(ValueError, BeautifulSoup,
"", features="no-such-feature")
class RegistryTest(unittest.TestCase):
"""Test the TreeBuilderRegistry class in general."""
def setUp(self):
self.registry = TreeBuilderRegistry()
def builder_for_features(self, *feature_list):
cls = type('Builder_' + '_'.join(feature_list),
(object,), {'features' : feature_list})
self.registry.register(cls)
return cls
def test_register_with_no_features(self):
builder = self.builder_for_features()
# Since the builder advertises no features, you can't find it
# by looking up features.
self.assertEqual(self.registry.lookup('foo'), None)
# But you can find it by doing a lookup with no features, if
# this happens to be the only registered builder.
self.assertEqual(self.registry.lookup(), builder)
def test_register_with_features_makes_lookup_succeed(self):
builder = self.builder_for_features('foo', 'bar')
self.assertEqual(self.registry.lookup('foo'), builder)
self.assertEqual(self.registry.lookup('bar'), builder)
def test_lookup_fails_when_no_builder_implements_feature(self):
builder = self.builder_for_features('foo', 'bar')
self.assertEqual(self.registry.lookup('baz'), None)
def test_lookup_gets_most_recent_registration_when_no_feature_specified(self):
builder1 = self.builder_for_features('foo')
builder2 = self.builder_for_features('bar')
self.assertEqual(self.registry.lookup(), builder2)
def test_lookup_fails_when_no_tree_builders_registered(self):
self.assertEqual(self.registry.lookup(), None)
def test_lookup_gets_most_recent_builder_supporting_all_features(self):
has_one = self.builder_for_features('foo')
has_the_other = self.builder_for_features('bar')
has_both_early = self.builder_for_features('foo', 'bar', 'baz')
has_both_late = self.builder_for_features('foo', 'bar', 'quux')
lacks_one = self.builder_for_features('bar')
has_the_other = self.builder_for_features('foo')
# There are two builders featuring 'foo' and 'bar', but
# the one that also features 'quux' was registered later.
self.assertEqual(self.registry.lookup('foo', 'bar'),
has_both_late)
# There is only one builder featuring 'foo', 'bar', and 'baz'.
self.assertEqual(self.registry.lookup('foo', 'bar', 'baz'),
has_both_early)
def test_lookup_fails_when_cannot_reconcile_requested_features(self):
builder1 = self.builder_for_features('foo', 'bar')
builder2 = self.builder_for_features('foo', 'baz')
self.assertEqual(self.registry.lookup('bar', 'baz'), None)

View File

@@ -1,32 +0,0 @@
"Test harness for doctests."
# pylint: disable-msg=E0611,W0142
__metaclass__ = type
__all__ = [
'additional_tests',
]
import doctest
#from pkg_resources import (
# resource_filename, resource_exists, resource_listdir, cleanup_resources)
DOCTEST_FLAGS = (
doctest.ELLIPSIS |
doctest.NORMALIZE_WHITESPACE |
doctest.REPORT_NDIFF)
# def additional_tests():
# "Run the doc tests (README.txt and docs/*, if any exist)"
# doctest_files = [
# os.path.abspath(resource_filename('bs4', 'README.txt'))]
# if resource_exists('bs4', 'docs'):
# for name in resource_listdir('bs4', 'docs'):
# if name.endswith('.txt'):
# doctest_files.append(
# os.path.abspath(
# resource_filename('bs4', 'docs/%s' % name)))
# kwargs = dict(module_relative=False, optionflags=DOCTEST_FLAGS)
# atexit.register(cleanup_resources)
# return unittest.TestSuite((
# doctest.DocFileSuite(*doctest_files, **kwargs)))

View File

@@ -1,98 +0,0 @@
"""Tests to ensure that the html5lib tree builder generates good trees."""
import warnings
try:
from bs4.builder import HTML5TreeBuilder
HTML5LIB_PRESENT = True
except ImportError as e:
HTML5LIB_PRESENT = False
from bs4.element import SoupStrainer
from bs4.testing import (
HTML5TreeBuilderSmokeTest,
SoupTest,
skipIf,
)
@skipIf(
not HTML5LIB_PRESENT,
"html5lib seems not to be present, not testing its tree builder.")
class HTML5LibBuilderSmokeTest(SoupTest, HTML5TreeBuilderSmokeTest):
"""See ``HTML5TreeBuilderSmokeTest``."""
@property
def default_builder(self):
return HTML5TreeBuilder()
def test_soupstrainer(self):
# The html5lib tree builder does not support SoupStrainers.
strainer = SoupStrainer("b")
markup = "<p>A <b>bold</b> statement.</p>"
with warnings.catch_warnings(record=True) as w:
soup = self.soup(markup, parse_only=strainer)
self.assertEqual(
soup.decode(), self.document_for(markup))
self.assertTrue(
"the html5lib tree builder doesn't support parse_only" in
str(w[0].message))
def test_correctly_nested_tables(self):
"""html5lib inserts <tbody> tags where other parsers don't."""
markup = ('<table id="1">'
'<tr>'
"<td>Here's another table:"
'<table id="2">'
'<tr><td>foo</td></tr>'
'</table></td>')
self.assertSoupEquals(
markup,
'<table id="1"><tbody><tr><td>Here\'s another table:'
'<table id="2"><tbody><tr><td>foo</td></tr></tbody></table>'
'</td></tr></tbody></table>')
self.assertSoupEquals(
"<table><thead><tr><td>Foo</td></tr></thead>"
"<tbody><tr><td>Bar</td></tr></tbody>"
"<tfoot><tr><td>Baz</td></tr></tfoot></table>")
def test_xml_declaration_followed_by_doctype(self):
markup = '''<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<p>foo</p>
</body>
</html>'''
soup = self.soup(markup)
# Verify that we can reach the <p> tag; this means the tree is connected.
self.assertEqual(b"<p>foo</p>", soup.p.encode())
def test_reparented_markup(self):
markup = '<p><em>foo</p>\n<p>bar<a></a></em></p>'
soup = self.soup(markup)
self.assertEqual("<body><p><em>foo</em></p><em>\n</em><p><em>bar<a></a></em></p></body>", soup.body.decode())
self.assertEqual(2, len(soup.find_all('p')))
def test_reparented_markup_ends_with_whitespace(self):
markup = '<p><em>foo</p>\n<p>bar<a></a></em></p>\n'
soup = self.soup(markup)
self.assertEqual("<body><p><em>foo</em></p><em>\n</em><p><em>bar<a></a></em></p>\n</body>", soup.body.decode())
self.assertEqual(2, len(soup.find_all('p')))
def test_processing_instruction(self):
"""Processing instructions become comments."""
markup = b"""<?PITarget PIContent?>"""
soup = self.soup(markup)
assert str(soup).startswith("<!--?PITarget PIContent?-->")
def test_cloned_multivalue_node(self):
markup = b"""<a class="my_class"><p></a>"""
soup = self.soup(markup)
a1, a2 = soup.find_all('a')
self.assertEqual(a1, a2)
assert a1 is not a2

View File

@@ -1,31 +0,0 @@
"""Tests to ensure that the html.parser tree builder generates good
trees."""
import pickle
from bs4.testing import SoupTest, HTMLTreeBuilderSmokeTest
from bs4.builder import HTMLParserTreeBuilder
class HTMLParserTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest):
@property
def default_builder(self):
return HTMLParserTreeBuilder()
def test_namespaced_system_doctype(self):
# html.parser can't handle namespaced doctypes, so skip this one.
pass
def test_namespaced_public_doctype(self):
# html.parser can't handle namespaced doctypes, so skip this one.
pass
def test_builder_is_pickled(self):
"""Unlike most tree builders, HTMLParserTreeBuilder and will
be restored after pickling.
"""
tree = self.soup("<a><b>foo</a>")
dumped = pickle.dumps(tree, 2)
loaded = pickle.loads(dumped)
self.assertTrue(isinstance(loaded.builder, type(tree.builder)))

View File

@@ -1,70 +0,0 @@
"""Tests to ensure that the lxml tree builder generates good trees."""
import warnings
try:
import lxml.etree
LXML_PRESENT = True
LXML_VERSION = lxml.etree.LXML_VERSION
except ImportError as e:
LXML_PRESENT = False
LXML_VERSION = (0,)
if LXML_PRESENT:
from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML
from bs4 import BeautifulStoneSoup
from bs4.testing import skipIf
from bs4.testing import (
HTMLTreeBuilderSmokeTest,
XMLTreeBuilderSmokeTest,
SoupTest,
skipIf,
)
@skipIf(
not LXML_PRESENT,
"lxml seems not to be present, not testing its tree builder.")
class LXMLTreeBuilderSmokeTest(SoupTest, HTMLTreeBuilderSmokeTest):
"""See ``HTMLTreeBuilderSmokeTest``."""
@property
def default_builder(self):
return LXMLTreeBuilder()
def test_out_of_range_entity(self):
self.assertSoupEquals(
"<p>foo&#10000000000000;bar</p>", "<p>foobar</p>")
self.assertSoupEquals(
"<p>foo&#x10000000000000;bar</p>", "<p>foobar</p>")
self.assertSoupEquals(
"<p>foo&#1000000000;bar</p>", "<p>foobar</p>")
# In lxml < 2.3.5, an empty doctype causes a segfault. Skip this
# test if an old version of lxml is installed.
@skipIf(
not LXML_PRESENT or LXML_VERSION < (2,3,5,0),
"Skipping doctype test for old version of lxml to avoid segfault.")
def test_empty_doctype(self):
soup = self.soup("<!DOCTYPE>")
doctype = soup.contents[0]
self.assertEqual("", doctype.strip())
def test_beautifulstonesoup_is_xml_parser(self):
# Make sure that the deprecated BSS class uses an xml builder
# if one is installed.
with warnings.catch_warnings(record=True) as w:
soup = BeautifulStoneSoup("<b />")
self.assertEqual("<b/>", str(soup.b))
self.assertTrue("BeautifulStoneSoup class is deprecated" in str(w[0].message))
@skipIf(
not LXML_PRESENT,
"lxml seems not to be present, not testing its XML tree builder.")
class LXMLXMLTreeBuilderSmokeTest(SoupTest, XMLTreeBuilderSmokeTest):
"""See ``HTMLTreeBuilderSmokeTest``."""
@property
def default_builder(self):
return LXMLTreeBuilderForXML()

View File

@@ -1,479 +0,0 @@
# -*- coding: utf-8 -*-
"""Tests of Beautiful Soup as a whole."""
import logging
import unittest
import sys
import tempfile
from bs4 import BeautifulSoup
from bs4.element import (
CharsetMetaAttributeValue,
ContentMetaAttributeValue,
SoupStrainer,
NamespacedAttribute,
)
import bs4.dammit
from bs4.dammit import (
EntitySubstitution,
UnicodeDammit,
EncodingDetector,
)
from bs4.testing import (
SoupTest,
skipIf,
)
import warnings
try:
from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML
LXML_PRESENT = True
except ImportError as e:
LXML_PRESENT = False
PYTHON_2_PRE_2_7 = (sys.version_info < (2,7))
PYTHON_3_PRE_3_2 = (sys.version_info[0] == 3 and sys.version_info < (3,2))
class TestConstructor(SoupTest):
def test_short_unicode_input(self):
data = "<h1>éé</h1>"
soup = self.soup(data)
self.assertEqual("éé", soup.h1.string)
def test_embedded_null(self):
data = "<h1>foo\0bar</h1>"
soup = self.soup(data)
self.assertEqual("foo\0bar", soup.h1.string)
def test_exclude_encodings(self):
utf8_data = "Räksmörgås".encode("utf-8")
soup = self.soup(utf8_data, exclude_encodings=["utf-8"])
self.assertEqual("windows-1252", soup.original_encoding)
class TestWarnings(SoupTest):
def _no_parser_specified(self, s, is_there=True):
v = s.startswith(BeautifulSoup.NO_PARSER_SPECIFIED_WARNING[:80])
self.assertTrue(v)
def test_warning_if_no_parser_specified(self):
with warnings.catch_warnings(record=True) as w:
soup = self.soup("<a><b></b></a>")
msg = str(w[0].message)
self._assert_no_parser_specified(msg)
def test_warning_if_parser_specified_too_vague(self):
with warnings.catch_warnings(record=True) as w:
soup = self.soup("<a><b></b></a>", "html")
msg = str(w[0].message)
self._assert_no_parser_specified(msg)
def test_no_warning_if_explicit_parser_specified(self):
with warnings.catch_warnings(record=True) as w:
soup = self.soup("<a><b></b></a>", "html.parser")
self.assertEqual([], w)
def test_parseOnlyThese_renamed_to_parse_only(self):
with warnings.catch_warnings(record=True) as w:
soup = self.soup("<a><b></b></a>", parseOnlyThese=SoupStrainer("b"))
msg = str(w[0].message)
self.assertTrue("parseOnlyThese" in msg)
self.assertTrue("parse_only" in msg)
self.assertEqual(b"<b></b>", soup.encode())
def test_fromEncoding_renamed_to_from_encoding(self):
with warnings.catch_warnings(record=True) as w:
utf8 = b"\xc3\xa9"
soup = self.soup(utf8, fromEncoding="utf8")
msg = str(w[0].message)
self.assertTrue("fromEncoding" in msg)
self.assertTrue("from_encoding" in msg)
self.assertEqual("utf8", soup.original_encoding)
def test_unrecognized_keyword_argument(self):
self.assertRaises(
TypeError, self.soup, "<a>", no_such_argument=True)
class TestWarnings(SoupTest):
def test_disk_file_warning(self):
filehandle = tempfile.NamedTemporaryFile()
filename = filehandle.name
try:
with warnings.catch_warnings(record=True) as w:
soup = self.soup(filename)
msg = str(w[0].message)
self.assertTrue("looks like a filename" in msg)
finally:
filehandle.close()
# The file no longer exists, so Beautiful Soup will no longer issue the warning.
with warnings.catch_warnings(record=True) as w:
soup = self.soup(filename)
self.assertEqual(0, len(w))
def test_url_warning(self):
with warnings.catch_warnings(record=True) as w:
soup = self.soup("http://www.crummy.com/")
msg = str(w[0].message)
self.assertTrue("looks like a URL" in msg)
with warnings.catch_warnings(record=True) as w:
soup = self.soup("http://www.crummy.com/ is great")
self.assertEqual(0, len(w))
class TestSelectiveParsing(SoupTest):
def test_parse_with_soupstrainer(self):
markup = "No<b>Yes</b><a>No<b>Yes <c>Yes</c></b>"
strainer = SoupStrainer("b")
soup = self.soup(markup, parse_only=strainer)
self.assertEqual(soup.encode(), b"<b>Yes</b><b>Yes <c>Yes</c></b>")
class TestEntitySubstitution(unittest.TestCase):
"""Standalone tests of the EntitySubstitution class."""
def setUp(self):
self.sub = EntitySubstitution
def test_simple_html_substitution(self):
# Unicode characters corresponding to named HTML entites
# are substituted, and no others.
s = "foo\u2200\N{SNOWMAN}\u00f5bar"
self.assertEqual(self.sub.substitute_html(s),
"foo&forall;\N{SNOWMAN}&otilde;bar")
def test_smart_quote_substitution(self):
# MS smart quotes are a common source of frustration, so we
# give them a special test.
quotes = b"\x91\x92foo\x93\x94"
dammit = UnicodeDammit(quotes)
self.assertEqual(self.sub.substitute_html(dammit.markup),
"&lsquo;&rsquo;foo&ldquo;&rdquo;")
def test_xml_converstion_includes_no_quotes_if_make_quoted_attribute_is_false(self):
s = 'Welcome to "my bar"'
self.assertEqual(self.sub.substitute_xml(s, False), s)
def test_xml_attribute_quoting_normally_uses_double_quotes(self):
self.assertEqual(self.sub.substitute_xml("Welcome", True),
'"Welcome"')
self.assertEqual(self.sub.substitute_xml("Bob's Bar", True),
'"Bob\'s Bar"')
def test_xml_attribute_quoting_uses_single_quotes_when_value_contains_double_quotes(self):
s = 'Welcome to "my bar"'
self.assertEqual(self.sub.substitute_xml(s, True),
"'Welcome to \"my bar\"'")
def test_xml_attribute_quoting_escapes_single_quotes_when_value_contains_both_single_and_double_quotes(self):
s = 'Welcome to "Bob\'s Bar"'
self.assertEqual(
self.sub.substitute_xml(s, True),
'"Welcome to &quot;Bob\'s Bar&quot;"')
def test_xml_quotes_arent_escaped_when_value_is_not_being_quoted(self):
quoted = 'Welcome to "Bob\'s Bar"'
self.assertEqual(self.sub.substitute_xml(quoted), quoted)
def test_xml_quoting_handles_angle_brackets(self):
self.assertEqual(
self.sub.substitute_xml("foo<bar>"),
"foo&lt;bar&gt;")
def test_xml_quoting_handles_ampersands(self):
self.assertEqual(self.sub.substitute_xml("AT&T"), "AT&amp;T")
def test_xml_quoting_including_ampersands_when_they_are_part_of_an_entity(self):
self.assertEqual(
self.sub.substitute_xml("&Aacute;T&T"),
"&amp;Aacute;T&amp;T")
def test_xml_quoting_ignoring_ampersands_when_they_are_part_of_an_entity(self):
self.assertEqual(
self.sub.substitute_xml_containing_entities("&Aacute;T&T"),
"&Aacute;T&amp;T")
def test_quotes_not_html_substituted(self):
"""There's no need to do this except inside attribute values."""
text = 'Bob\'s "bar"'
self.assertEqual(self.sub.substitute_html(text), text)
class TestEncodingConversion(SoupTest):
# Test Beautiful Soup's ability to decode and encode from various
# encodings.
def setUp(self):
super(TestEncodingConversion, self).setUp()
self.unicode_data = '<html><head><meta charset="utf-8"/></head><body><foo>Sacr\N{LATIN SMALL LETTER E WITH ACUTE} bleu!</foo></body></html>'
self.utf8_data = self.unicode_data.encode("utf-8")
# Just so you know what it looks like.
self.assertEqual(
self.utf8_data,
b'<html><head><meta charset="utf-8"/></head><body><foo>Sacr\xc3\xa9 bleu!</foo></body></html>')
def test_ascii_in_unicode_out(self):
# ASCII input is converted to Unicode. The original_encoding
# attribute is set to 'utf-8', a superset of ASCII.
chardet = bs4.dammit.chardet_dammit
logging.disable(logging.WARNING)
try:
def noop(str):
return None
# Disable chardet, which will realize that the ASCII is ASCII.
bs4.dammit.chardet_dammit = noop
ascii = b"<foo>a</foo>"
soup_from_ascii = self.soup(ascii)
unicode_output = soup_from_ascii.decode()
self.assertTrue(isinstance(unicode_output, str))
self.assertEqual(unicode_output, self.document_for(ascii.decode()))
self.assertEqual(soup_from_ascii.original_encoding.lower(), "utf-8")
finally:
logging.disable(logging.NOTSET)
bs4.dammit.chardet_dammit = chardet
def test_unicode_in_unicode_out(self):
# Unicode input is left alone. The original_encoding attribute
# is not set.
soup_from_unicode = self.soup(self.unicode_data)
self.assertEqual(soup_from_unicode.decode(), self.unicode_data)
self.assertEqual(soup_from_unicode.foo.string, 'Sacr\xe9 bleu!')
self.assertEqual(soup_from_unicode.original_encoding, None)
def test_utf8_in_unicode_out(self):
# UTF-8 input is converted to Unicode. The original_encoding
# attribute is set.
soup_from_utf8 = self.soup(self.utf8_data)
self.assertEqual(soup_from_utf8.decode(), self.unicode_data)
self.assertEqual(soup_from_utf8.foo.string, 'Sacr\xe9 bleu!')
def test_utf8_out(self):
# The internal data structures can be encoded as UTF-8.
soup_from_unicode = self.soup(self.unicode_data)
self.assertEqual(soup_from_unicode.encode('utf-8'), self.utf8_data)
@skipIf(
PYTHON_2_PRE_2_7 or PYTHON_3_PRE_3_2,
"Bad HTMLParser detected; skipping test of non-ASCII characters in attribute name.")
def test_attribute_name_containing_unicode_characters(self):
markup = '<div><a \N{SNOWMAN}="snowman"></a></div>'
self.assertEqual(self.soup(markup).div.encode("utf8"), markup.encode("utf8"))
class TestUnicodeDammit(unittest.TestCase):
"""Standalone tests of UnicodeDammit."""
def test_unicode_input(self):
markup = "I'm already Unicode! \N{SNOWMAN}"
dammit = UnicodeDammit(markup)
self.assertEqual(dammit.unicode_markup, markup)
def test_smart_quotes_to_unicode(self):
markup = b"<foo>\x91\x92\x93\x94</foo>"
dammit = UnicodeDammit(markup)
self.assertEqual(
dammit.unicode_markup, "<foo>\u2018\u2019\u201c\u201d</foo>")
def test_smart_quotes_to_xml_entities(self):
markup = b"<foo>\x91\x92\x93\x94</foo>"
dammit = UnicodeDammit(markup, smart_quotes_to="xml")
self.assertEqual(
dammit.unicode_markup, "<foo>&#x2018;&#x2019;&#x201C;&#x201D;</foo>")
def test_smart_quotes_to_html_entities(self):
markup = b"<foo>\x91\x92\x93\x94</foo>"
dammit = UnicodeDammit(markup, smart_quotes_to="html")
self.assertEqual(
dammit.unicode_markup, "<foo>&lsquo;&rsquo;&ldquo;&rdquo;</foo>")
def test_smart_quotes_to_ascii(self):
markup = b"<foo>\x91\x92\x93\x94</foo>"
dammit = UnicodeDammit(markup, smart_quotes_to="ascii")
self.assertEqual(
dammit.unicode_markup, """<foo>''""</foo>""")
def test_detect_utf8(self):
utf8 = b"Sacr\xc3\xa9 bleu! \xe2\x98\x83"
dammit = UnicodeDammit(utf8)
self.assertEqual(dammit.original_encoding.lower(), 'utf-8')
self.assertEqual(dammit.unicode_markup, 'Sacr\xe9 bleu! \N{SNOWMAN}')
def test_convert_hebrew(self):
hebrew = b"\xed\xe5\xec\xf9"
dammit = UnicodeDammit(hebrew, ["iso-8859-8"])
self.assertEqual(dammit.original_encoding.lower(), 'iso-8859-8')
self.assertEqual(dammit.unicode_markup, '\u05dd\u05d5\u05dc\u05e9')
def test_dont_see_smart_quotes_where_there_are_none(self):
utf_8 = b"\343\202\261\343\203\274\343\202\277\343\202\244 Watch"
dammit = UnicodeDammit(utf_8)
self.assertEqual(dammit.original_encoding.lower(), 'utf-8')
self.assertEqual(dammit.unicode_markup.encode("utf-8"), utf_8)
def test_ignore_inappropriate_codecs(self):
utf8_data = "Räksmörgås".encode("utf-8")
dammit = UnicodeDammit(utf8_data, ["iso-8859-8"])
self.assertEqual(dammit.original_encoding.lower(), 'utf-8')
def test_ignore_invalid_codecs(self):
utf8_data = "Räksmörgås".encode("utf-8")
for bad_encoding in ['.utf8', '...', 'utF---16.!']:
dammit = UnicodeDammit(utf8_data, [bad_encoding])
self.assertEqual(dammit.original_encoding.lower(), 'utf-8')
def test_exclude_encodings(self):
# This is UTF-8.
utf8_data = "Räksmörgås".encode("utf-8")
# But if we exclude UTF-8 from consideration, the guess is
# Windows-1252.
dammit = UnicodeDammit(utf8_data, exclude_encodings=["utf-8"])
self.assertEqual(dammit.original_encoding.lower(), 'windows-1252')
# And if we exclude that, there is no valid guess at all.
dammit = UnicodeDammit(
utf8_data, exclude_encodings=["utf-8", "windows-1252"])
self.assertEqual(dammit.original_encoding, None)
def test_encoding_detector_replaces_junk_in_encoding_name_with_replacement_character(self):
detected = EncodingDetector(
b'<?xml version="1.0" encoding="UTF-\xdb" ?>')
encodings = list(detected.encodings)
assert 'utf-\N{REPLACEMENT CHARACTER}' in encodings
def test_detect_html5_style_meta_tag(self):
for data in (
b'<html><meta charset="euc-jp" /></html>',
b"<html><meta charset='euc-jp' /></html>",
b"<html><meta charset=euc-jp /></html>",
b"<html><meta charset=euc-jp/></html>"):
dammit = UnicodeDammit(data, is_html=True)
self.assertEqual(
"euc-jp", dammit.original_encoding)
def test_last_ditch_entity_replacement(self):
# This is a UTF-8 document that contains bytestrings
# completely incompatible with UTF-8 (ie. encoded with some other
# encoding).
#
# Since there is no consistent encoding for the document,
# Unicode, Dammit will eventually encode the document as UTF-8
# and encode the incompatible characters as REPLACEMENT
# CHARACTER.
#
# If chardet is installed, it will detect that the document
# can be converted into ISO-8859-1 without errors. This happens
# to be the wrong encoding, but it is a consistent encoding, so the
# code we're testing here won't run.
#
# So we temporarily disable chardet if it's present.
doc = b"""\357\273\277<?xml version="1.0" encoding="UTF-8"?>
<html><b>\330\250\330\252\330\261</b>
<i>\310\322\321\220\312\321\355\344</i></html>"""
chardet = bs4.dammit.chardet_dammit
logging.disable(logging.WARNING)
try:
def noop(str):
return None
bs4.dammit.chardet_dammit = noop
dammit = UnicodeDammit(doc)
self.assertEqual(True, dammit.contains_replacement_characters)
self.assertTrue("\ufffd" in dammit.unicode_markup)
soup = BeautifulSoup(doc, "html.parser")
self.assertTrue(soup.contains_replacement_characters)
finally:
logging.disable(logging.NOTSET)
bs4.dammit.chardet_dammit = chardet
def test_byte_order_mark_removed(self):
# A document written in UTF-16LE will have its byte order marker stripped.
data = b'\xff\xfe<\x00a\x00>\x00\xe1\x00\xe9\x00<\x00/\x00a\x00>\x00'
dammit = UnicodeDammit(data)
self.assertEqual("<a>áé</a>", dammit.unicode_markup)
self.assertEqual("utf-16le", dammit.original_encoding)
def test_detwingle(self):
# Here's a UTF8 document.
utf8 = ("\N{SNOWMAN}" * 3).encode("utf8")
# Here's a Windows-1252 document.
windows_1252 = (
"\N{LEFT DOUBLE QUOTATION MARK}Hi, I like Windows!"
"\N{RIGHT DOUBLE QUOTATION MARK}").encode("windows_1252")
# Through some unholy alchemy, they've been stuck together.
doc = utf8 + windows_1252 + utf8
# The document can't be turned into UTF-8:
self.assertRaises(UnicodeDecodeError, doc.decode, "utf8")
# Unicode, Dammit thinks the whole document is Windows-1252,
# and decodes it into "☃☃☃“Hi, I like Windows!”☃☃☃"
# But if we run it through fix_embedded_windows_1252, it's fixed:
fixed = UnicodeDammit.detwingle(doc)
self.assertEqual(
"☃☃☃“Hi, I like Windows!”☃☃☃", fixed.decode("utf8"))
def test_detwingle_ignores_multibyte_characters(self):
# Each of these characters has a UTF-8 representation ending
# in \x93. \x93 is a smart quote if interpreted as
# Windows-1252. But our code knows to skip over multibyte
# UTF-8 characters, so they'll survive the process unscathed.
for tricky_unicode_char in (
"\N{LATIN SMALL LIGATURE OE}", # 2-byte char '\xc5\x93'
"\N{LATIN SUBSCRIPT SMALL LETTER X}", # 3-byte char '\xe2\x82\x93'
"\xf0\x90\x90\x93", # This is a CJK character, not sure which one.
):
input = tricky_unicode_char.encode("utf8")
self.assertTrue(input.endswith(b'\x93'))
output = UnicodeDammit.detwingle(input)
self.assertEqual(output, input)
class TestNamedspacedAttribute(SoupTest):
def test_name_may_be_none(self):
a = NamespacedAttribute("xmlns", None)
self.assertEqual(a, "xmlns")
def test_attribute_is_equivalent_to_colon_separated_string(self):
a = NamespacedAttribute("a", "b")
self.assertEqual("a:b", a)
def test_attributes_are_equivalent_if_prefix_and_name_identical(self):
a = NamespacedAttribute("a", "b", "c")
b = NamespacedAttribute("a", "b", "c")
self.assertEqual(a, b)
# The actual namespace is not considered.
c = NamespacedAttribute("a", "b", None)
self.assertEqual(a, c)
# But name and prefix are important.
d = NamespacedAttribute("a", "z", "c")
self.assertNotEqual(a, d)
e = NamespacedAttribute("z", "b", "c")
self.assertNotEqual(a, e)
class TestAttributeValueWithCharsetSubstitution(unittest.TestCase):
def test_content_meta_attribute_value(self):
value = CharsetMetaAttributeValue("euc-jp")
self.assertEqual("euc-jp", value)
self.assertEqual("euc-jp", value.original_value)
self.assertEqual("utf8", value.encode("utf8"))
def test_content_meta_attribute_value(self):
value = ContentMetaAttributeValue("text/html; charset=euc-jp")
self.assertEqual("text/html; charset=euc-jp", value)
self.assertEqual("text/html; charset=euc-jp", value.original_value)
self.assertEqual("text/html; charset=utf8", value.encode("utf8"))

File diff suppressed because it is too large Load Diff

View File

@@ -13,6 +13,7 @@ from bb.asyncrpc.client import parse_address, ADDR_TYPE_UNIX, ADDR_TYPE_WS
User = namedtuple("User", ("username", "permissions"))
def create_server(
addr,
dbname,
@@ -25,6 +26,7 @@ def create_server(
anon_perms=None,
admin_username=None,
admin_password=None,
reuseport=False,
):
def sqlite_engine():
from .sqlite import DatabaseEngine
@@ -60,9 +62,9 @@ def create_server(
s.start_unix_server(*a)
elif typ == ADDR_TYPE_WS:
url = urlparse(a[0])
s.start_websocket_server(url.hostname, url.port)
s.start_websocket_server(url.hostname, url.port, reuseport=reuseport)
else:
s.start_tcp_server(*a)
s.start_tcp_server(*a, reuseport=reuseport)
return s

View File

@@ -5,6 +5,7 @@
import logging
import socket
import asyncio
import bb.asyncrpc
import json
from . import create_async_client
@@ -13,6 +14,66 @@ from . import create_async_client
logger = logging.getLogger("hashserv.client")
class Batch(object):
def __init__(self):
self.done = False
self.cond = asyncio.Condition()
self.pending = []
self.results = []
self.sent_count = 0
async def recv(self, socket):
while True:
async with self.cond:
await self.cond.wait_for(lambda: self.pending or self.done)
if not self.pending:
if self.done:
return
continue
r = await socket.recv()
self.results.append(r)
async with self.cond:
self.pending.pop(0)
async def send(self, socket, msgs):
try:
# In the event of a restart due to a reconnect, all in-flight
# messages need to be resent first to keep to result count in sync
for m in self.pending:
await socket.send(m)
for m in msgs:
# Add the message to the pending list before attempting to send
# it so that if the send fails it will be retried
async with self.cond:
self.pending.append(m)
self.cond.notify()
self.sent_count += 1
await socket.send(m)
finally:
async with self.cond:
self.done = True
self.cond.notify()
async def process(self, socket, msgs):
await asyncio.gather(
self.recv(socket),
self.send(socket, msgs),
)
if len(self.results) != self.sent_count:
raise ValueError(
f"Expected result count {len(self.results)}. Expected {self.sent_count}"
)
return self.results
class AsyncClient(bb.asyncrpc.AsyncClient):
MODE_NORMAL = 0
MODE_GET_STREAM = 1
@@ -36,32 +97,52 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
if become:
await self.become_user(become)
async def send_stream(self, mode, msg):
async def send_stream_batch(self, mode, msgs):
"""
Does a "batch" process of stream messages. This sends the query
messages as fast as possible, and simultaneously attempts to read the
messages back. This helps to mitigate the effects of latency to the
hash equivalence server be allowing multiple queries to be "in-flight"
at once
The implementation does more complicated tracking using a count of sent
messages so that `msgs` can be a generator function (i.e. its length is
unknown)
"""
b = Batch()
async def proc():
nonlocal b
await self._set_mode(mode)
await self.socket.send(msg)
return await self.socket.recv()
return await b.process(self.socket, msgs)
return await self._send_wrapper(proc)
async def invoke(self, *args, **kwargs):
async def invoke(self, *args, skip_mode=False, **kwargs):
# It's OK if connection errors cause a failure here, because the mode
# is also reset to normal on a new connection
await self._set_mode(self.MODE_NORMAL)
if not skip_mode:
await self._set_mode(self.MODE_NORMAL)
return await super().invoke(*args, **kwargs)
async def _set_mode(self, new_mode):
async def stream_to_normal():
# Check if already in normal mode (e.g. due to a connection reset)
if self.mode == self.MODE_NORMAL:
return "ok"
await self.socket.send("END")
return await self.socket.recv()
async def normal_to_stream(command):
r = await self.invoke({command: None})
r = await self.invoke({command: None}, skip_mode=True)
if r != "ok":
self.check_invoke_error(r)
raise ConnectionError(
f"Unable to transition to stream mode: Bad response from server {r!r}"
)
self.logger.debug("Mode is now %s", command)
if new_mode == self.mode:
@@ -89,10 +170,15 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
self.mode = new_mode
async def get_unihash(self, method, taskhash):
r = await self.send_stream(self.MODE_GET_STREAM, "%s %s" % (method, taskhash))
if not r:
return None
return r
r = await self.get_unihash_batch([(method, taskhash)])
return r[0]
async def get_unihash_batch(self, args):
result = await self.send_stream_batch(
self.MODE_GET_STREAM,
(f"{method} {taskhash}" for method, taskhash in args),
)
return [r if r else None for r in result]
async def report_unihash(self, taskhash, method, outhash, unihash, extra={}):
m = extra.copy()
@@ -115,8 +201,12 @@ class AsyncClient(bb.asyncrpc.AsyncClient):
)
async def unihash_exists(self, unihash):
r = await self.send_stream(self.MODE_EXIST_STREAM, unihash)
return r == "true"
r = await self.unihash_exists_batch([unihash])
return r[0]
async def unihash_exists_batch(self, unihashes):
result = await self.send_stream_batch(self.MODE_EXIST_STREAM, unihashes)
return [r == "true" for r in result]
async def get_outhash(self, method, outhash, taskhash, with_unihash=True):
return await self.invoke(
@@ -237,10 +327,12 @@ class Client(bb.asyncrpc.Client):
"connect_tcp",
"connect_websocket",
"get_unihash",
"get_unihash_batch",
"report_unihash",
"report_unihash_equiv",
"get_taskhash",
"unihash_exists",
"unihash_exists_batch",
"get_outhash",
"get_stats",
"reset_stats",
@@ -264,83 +356,3 @@ class Client(bb.asyncrpc.Client):
def _get_async_client(self):
return AsyncClient(self.username, self.password)
class ClientPool(bb.asyncrpc.ClientPool):
def __init__(
self,
address,
max_clients,
*,
username=None,
password=None,
become=None,
):
super().__init__(max_clients)
self.address = address
self.username = username
self.password = password
self.become = become
async def _new_client(self):
client = await create_async_client(
self.address,
username=self.username,
password=self.password,
)
if self.become:
await client.become_user(self.become)
return client
def _run_key_tasks(self, queries, call):
results = {key: None for key in queries.keys()}
def make_task(key, args):
async def task(client):
nonlocal results
unihash = await call(client, args)
results[key] = unihash
return task
def gen_tasks():
for key, args in queries.items():
yield make_task(key, args)
self.run_tasks(gen_tasks())
return results
def get_unihashes(self, queries):
"""
Query multiple unihashes in parallel.
The queries argument is a dictionary with arbitrary key. The values
must be a tuple of (method, taskhash).
Returns a dictionary with a corresponding key for each input key, and
the value is the queried unihash (which might be none if the query
failed)
"""
async def call(client, args):
method, taskhash = args
return await client.get_unihash(method, taskhash)
return self._run_key_tasks(queries, call)
def unihashes_exist(self, queries):
"""
Query multiple unihash existence checks in parallel.
The queries argument is a dictionary with arbitrary key. The values
must be a unihash.
Returns a dictionary with a corresponding key for each input key, and
the value is True or False if the unihash is known by the server (or
None if there was a failure)
"""
async def call(client, unihash):
return await client.unihash_exists(unihash)
return self._run_key_tasks(queries, call)

View File

@@ -8,7 +8,6 @@
from . import create_server, create_client
from .server import DEFAULT_ANON_PERMS, ALL_PERMISSIONS
from bb.asyncrpc import InvokeError
from .client import ClientPool
import hashlib
import logging
import multiprocessing
@@ -94,9 +93,6 @@ class HashEquivalenceTestSetup(object):
return self.start_client(self.auth_server_address, user["username"], user["token"])
def setUp(self):
if sys.version_info < (3, 5, 0):
self.skipTest('Python 3.5 or later required')
self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-hashserv')
self.addCleanup(self.temp_dir.cleanup)
@@ -555,8 +551,7 @@ class HashEquivalenceCommonTests(object):
# shares a taskhash with Task 2
self.assertClientGetHash(self.client, taskhash2, unihash2)
def test_client_pool_get_unihashes(self):
def test_get_unihash_batch(self):
TEST_INPUT = (
# taskhash outhash unihash
('8aa96fcffb5831b3c2c0cb75f0431e3f8b20554a', 'afe240a439959ce86f5e322f8c208e1fedefea9e813f2140c81af866cc9edf7e','218e57509998197d570e2c98512d0105985dffc9'),
@@ -573,28 +568,27 @@ class HashEquivalenceCommonTests(object):
"6b6be7a84ab179b4240c4302518dc3f6",
)
with ClientPool(self.server_address, 10) as client_pool:
for taskhash, outhash, unihash in TEST_INPUT:
self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
for taskhash, outhash, unihash in TEST_INPUT:
self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
query = {idx: (self.METHOD, data[0]) for idx, data in enumerate(TEST_INPUT)}
for idx, taskhash in enumerate(EXTRA_QUERIES):
query[idx + len(TEST_INPUT)] = (self.METHOD, taskhash)
result = client_pool.get_unihashes(query)
result = self.client.get_unihash_batch(
[(self.METHOD, data[0]) for data in TEST_INPUT] +
[(self.METHOD, e) for e in EXTRA_QUERIES]
)
self.assertDictEqual(result, {
0: "218e57509998197d570e2c98512d0105985dffc9",
1: "218e57509998197d570e2c98512d0105985dffc9",
2: "218e57509998197d570e2c98512d0105985dffc9",
3: "3b5d3d83f07f259e9086fcb422c855286e18a57d",
4: "f46d3fbb439bd9b921095da657a4de906510d2cd",
5: "f46d3fbb439bd9b921095da657a4de906510d2cd",
6: "05d2a63c81e32f0a36542ca677e8ad852365c538",
7: None,
})
self.assertListEqual(result, [
"218e57509998197d570e2c98512d0105985dffc9",
"218e57509998197d570e2c98512d0105985dffc9",
"218e57509998197d570e2c98512d0105985dffc9",
"3b5d3d83f07f259e9086fcb422c855286e18a57d",
"f46d3fbb439bd9b921095da657a4de906510d2cd",
"f46d3fbb439bd9b921095da657a4de906510d2cd",
"05d2a63c81e32f0a36542ca677e8ad852365c538",
None,
])
def test_client_pool_unihash_exists(self):
def test_unihash_exists_batch(self):
TEST_INPUT = (
# taskhash outhash unihash
('8aa96fcffb5831b3c2c0cb75f0431e3f8b20554a', 'afe240a439959ce86f5e322f8c208e1fedefea9e813f2140c81af866cc9edf7e','218e57509998197d570e2c98512d0105985dffc9'),
@@ -614,28 +608,24 @@ class HashEquivalenceCommonTests(object):
result_unihashes = set()
with ClientPool(self.server_address, 10) as client_pool:
for taskhash, outhash, unihash in TEST_INPUT:
result = self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
result_unihashes.add(result["unihash"])
for taskhash, outhash, unihash in TEST_INPUT:
result = self.client.report_unihash(taskhash, self.METHOD, outhash, unihash)
result_unihashes.add(result["unihash"])
query = {}
expected = {}
query = []
expected = []
for _, _, unihash in TEST_INPUT:
idx = len(query)
query[idx] = unihash
expected[idx] = unihash in result_unihashes
for _, _, unihash in TEST_INPUT:
query.append(unihash)
expected.append(unihash in result_unihashes)
for unihash in EXTRA_QUERIES:
idx = len(query)
query[idx] = unihash
expected[idx] = False
result = client_pool.unihashes_exist(query)
self.assertDictEqual(result, expected)
for unihash in EXTRA_QUERIES:
query.append(unihash)
expected.append(False)
result = self.client.unihash_exists_batch(query)
self.assertListEqual(result, expected)
def test_auth_read_perms(self):
admin_client = self.start_auth_server()

View File

@@ -4,17 +4,92 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "1.0.0"
import os, time
import sys, logging
__version__ = "2.0.0"
def init_logger(logfile, loglevel):
numeric_level = getattr(logging, loglevel.upper(), None)
if not isinstance(numeric_level, int):
raise ValueError("Invalid log level: %s" % loglevel)
FORMAT = "%(asctime)-15s %(message)s"
logging.basicConfig(level=numeric_level, filename=logfile, format=FORMAT)
import logging
logger = logging.getLogger("BitBake.PRserv")
class NotFoundError(Exception):
pass
from bb.asyncrpc.client import parse_address, ADDR_TYPE_UNIX, ADDR_TYPE_WS
def create_server(addr, dbpath, upstream=None, read_only=False):
from . import serv
s = serv.PRServer(dbpath, upstream=upstream, read_only=read_only)
host, port = addr.split(":")
s.start_tcp_server(host, int(port))
return s
def increase_revision(ver):
"""Take a revision string such as "1" or "1.2.3" or even a number and increase its last number
This fails if the last number is not an integer"""
fields=str(ver).split('.')
last = fields[-1]
try:
val = int(last)
except Exception as e:
logger.critical("Unable to increase revision value %s: %s" % (ver, e))
raise e
return ".".join(fields[0:-1] + [ str(val + 1) ])
def _revision_greater_or_equal(rev1, rev2):
"""Compares x.y.z revision numbers, using integer comparison
Returns True if rev1 is greater or equal to rev2"""
fields1 = rev1.split(".")
fields2 = rev2.split(".")
l1 = len(fields1)
l2 = len(fields2)
for i in range(l1):
val1 = int(fields1[i])
if i < l2:
val2 = int(fields2[i])
if val2 < val1:
return True
elif val2 > val1:
return False
else:
return True
return True
def revision_smaller(rev1, rev2):
"""Compares x.y.z revision numbers, using integer comparison
Returns True if rev1 is strictly smaller than rev2"""
return not(_revision_greater_or_equal(rev1, rev2))
def revision_greater(rev1, rev2):
"""Compares x.y.z revision numbers, using integer comparison
Returns True if rev1 is strictly greater than rev2"""
return _revision_greater_or_equal(rev1, rev2) and (rev1 != rev2)
def create_client(addr):
from . import client
c = client.PRClient()
try:
(typ, a) = parse_address(addr)
c.connect_tcp(*a)
return c
except Exception as e:
c.close()
raise e
async def create_async_client(addr):
from . import client
c = client.PRAsyncClient()
try:
(typ, a) = parse_address(addr)
await c.connect_tcp(*a)
return c
except Exception as e:
await c.close()
raise e

View File

@@ -6,6 +6,7 @@
import logging
import bb.asyncrpc
from . import create_async_client
logger = logging.getLogger("BitBake.PRserv")
@@ -13,16 +14,16 @@ class PRAsyncClient(bb.asyncrpc.AsyncClient):
def __init__(self):
super().__init__("PRSERVICE", "1.0", logger)
async def getPR(self, version, pkgarch, checksum):
async def getPR(self, version, pkgarch, checksum, history=False):
response = await self.invoke(
{"get-pr": {"version": version, "pkgarch": pkgarch, "checksum": checksum}}
{"get-pr": {"version": version, "pkgarch": pkgarch, "checksum": checksum, "history": history}}
)
if response:
return response["value"]
async def test_pr(self, version, pkgarch, checksum):
async def test_pr(self, version, pkgarch, checksum, history=False):
response = await self.invoke(
{"test-pr": {"version": version, "pkgarch": pkgarch, "checksum": checksum}}
{"test-pr": {"version": version, "pkgarch": pkgarch, "checksum": checksum, "history": history}}
)
if response:
return response["value"]
@@ -48,9 +49,9 @@ class PRAsyncClient(bb.asyncrpc.AsyncClient):
if response:
return response["value"]
async def export(self, version, pkgarch, checksum, colinfo):
async def export(self, version, pkgarch, checksum, colinfo, history=False):
response = await self.invoke(
{"export": {"version": version, "pkgarch": pkgarch, "checksum": checksum, "colinfo": colinfo}}
{"export": {"version": version, "pkgarch": pkgarch, "checksum": checksum, "colinfo": colinfo, "history": history}}
)
if response:
return (response["metainfo"], response["datainfo"])
@@ -65,7 +66,7 @@ class PRAsyncClient(bb.asyncrpc.AsyncClient):
class PRClient(bb.asyncrpc.Client):
def __init__(self):
super().__init__()
self._add_methods("getPR", "test_pr", "test_package", "importone", "export", "is_readonly")
self._add_methods("getPR", "test_pr", "test_package", "max_package_pr", "importone", "export", "is_readonly")
def _get_async_client(self):
return PRAsyncClient()

View File

@@ -8,19 +8,13 @@ import logging
import os.path
import errno
import prserv
import time
import sqlite3
try:
import sqlite3
except ImportError:
from pysqlite2 import dbapi2 as sqlite3
from contextlib import closing
from . import increase_revision, revision_greater, revision_smaller
logger = logging.getLogger("BitBake.PRserv")
sqlversion = sqlite3.sqlite_version_info
if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
raise Exception("sqlite3 version 3.3.0 or later is required.")
#
# "No History" mode - for a given query tuple (version, pkgarch, checksum),
# the returned value will be the largest among all the values of the same
@@ -29,287 +23,232 @@ if sqlversion[0] < 3 or (sqlversion[0] == 3 and sqlversion[1] < 3):
# "History" mode - Return a new higher value for previously unseen query
# tuple (version, pkgarch, checksum), otherwise return historical value.
# Value can decrement if returning to a previous build.
#
class PRTable(object):
def __init__(self, conn, table, nohist, read_only):
def __init__(self, conn, table, read_only):
self.conn = conn
self.nohist = nohist
self.read_only = read_only
self.dirty = False
if nohist:
self.table = "%s_nohist" % table
else:
self.table = "%s_hist" % table
self.table = table
if self.read_only:
table_exists = self._execute(
"SELECT count(*) FROM sqlite_master \
WHERE type='table' AND name='%s'" % (self.table))
if not table_exists:
raise prserv.NotFoundError
else:
self._execute("CREATE TABLE IF NOT EXISTS %s \
# Creating the table even if the server is read-only.
# This avoids a race condition if a shared database
# is accessed by a read-only server first.
with closing(self.conn.cursor()) as cursor:
cursor.execute("CREATE TABLE IF NOT EXISTS %s \
(version TEXT NOT NULL, \
pkgarch TEXT NOT NULL, \
checksum TEXT NOT NULL, \
value INTEGER, \
PRIMARY KEY (version, pkgarch, checksum));" % self.table)
def _execute(self, *query):
"""Execute a query, waiting to acquire a lock if necessary"""
start = time.time()
end = start + 20
while True:
try:
return self.conn.execute(*query)
except sqlite3.OperationalError as exc:
if "is locked" in str(exc) and end > time.time():
continue
raise exc
def sync(self):
if not self.read_only:
value TEXT, \
PRIMARY KEY (version, pkgarch, checksum, value));" % self.table)
self.conn.commit()
self._execute("BEGIN EXCLUSIVE TRANSACTION")
def sync_if_dirty(self):
if self.dirty:
self.sync()
self.dirty = False
def _extremum_value(self, rows, is_max):
value = None
for row in rows:
current_value = row[0]
if value is None:
value = current_value
else:
if is_max:
is_new_extremum = revision_greater(current_value, value)
else:
is_new_extremum = revision_smaller(current_value, value)
if is_new_extremum:
value = current_value
return value
def _max_value(self, rows):
return self._extremum_value(rows, True)
def _min_value(self, rows):
return self._extremum_value(rows, False)
def test_package(self, version, pkgarch):
"""Returns whether the specified package version is found in the database for the specified architecture"""
# Just returns the value if found or None otherwise
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=?;" % self.table,
(version, pkgarch))
row=data.fetchone()
if row is not None:
return True
else:
return False
with closing(self.conn.cursor()) as cursor:
data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=?;" % self.table,
(version, pkgarch))
row=data.fetchone()
if row is not None:
return True
else:
return False
def test_checksum_value(self, version, pkgarch, checksum, value):
"""Returns whether the specified value is found in the database for the specified package, architecture and checksum"""
with closing(self.conn.cursor()) as cursor:
data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=? and checksum=? and value=?;" % self.table,
(version, pkgarch, checksum, value))
row=data.fetchone()
if row is not None:
return True
else:
return False
def test_value(self, version, pkgarch, value):
"""Returns whether the specified value is found in the database for the specified package and architecture"""
# Just returns the value if found or None otherwise
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? and value=?;" % self.table,
(version, pkgarch, value))
row=data.fetchone()
if row is not None:
return True
else:
return False
with closing(self.conn.cursor()) as cursor:
data=cursor.execute("SELECT value FROM %s WHERE version=? AND pkgarch=? and value=?;" % self.table,
(version, pkgarch, value))
row=data.fetchone()
if row is not None:
return True
else:
return False
def find_value(self, version, pkgarch, checksum):
"""Returns the value for the specified checksum if found or None otherwise."""
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row=data.fetchone()
if row is not None:
return row[0]
else:
return None
def find_max_value(self, version, pkgarch):
def find_package_max_value(self, version, pkgarch):
"""Returns the greatest value for (version, pkgarch), or None if not found. Doesn't create a new value"""
data = self._execute("SELECT max(value) FROM %s where version=? AND pkgarch=?;" % (self.table),
(version, pkgarch))
row = data.fetchone()
if row is not None:
return row[0]
with closing(self.conn.cursor()) as cursor:
data = cursor.execute("SELECT value FROM %s where version=? AND pkgarch=?;" % (self.table),
(version, pkgarch))
rows = data.fetchall()
value = self._max_value(rows)
return value
def find_value(self, version, pkgarch, checksum, history=False):
"""Returns the value for the specified checksum if found or None otherwise."""
if history:
return self.find_min_value(version, pkgarch, checksum)
else:
return None
return self.find_max_value(version, pkgarch, checksum)
def _get_value_hist(self, version, pkgarch, checksum):
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row=data.fetchone()
if row is not None:
return row[0]
else:
#no value found, try to insert
if self.read_only:
data = self._execute("SELECT ifnull(max(value)+1, 0) FROM %s where version=? AND pkgarch=?;" % (self.table),
(version, pkgarch))
row = data.fetchone()
if row is not None:
return row[0]
else:
return 0
try:
self._execute("INSERT INTO %s VALUES (?, ?, ?, (select ifnull(max(value)+1, 0) from %s where version=? AND pkgarch=?));"
% (self.table, self.table),
(version, pkgarch, checksum, version, pkgarch))
except sqlite3.IntegrityError as exc:
logger.error(str(exc))
def _find_extremum_value(self, version, pkgarch, checksum, is_max):
"""Returns the maximum (if is_max is True) or minimum (if is_max is False) value
for (version, pkgarch, checksum), or None if not found. Doesn't create a new value"""
self.dirty = True
with closing(self.conn.cursor()) as cursor:
data = cursor.execute("SELECT value FROM %s where version=? AND pkgarch=? AND checksum=?;" % (self.table),
(version, pkgarch, checksum))
rows = data.fetchall()
return self._extremum_value(rows, is_max)
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row=data.fetchone()
if row is not None:
return row[0]
def find_max_value(self, version, pkgarch, checksum):
return self._find_extremum_value(version, pkgarch, checksum, True)
def find_min_value(self, version, pkgarch, checksum):
return self._find_extremum_value(version, pkgarch, checksum, False)
def find_new_subvalue(self, version, pkgarch, base):
"""Take and increase the greatest "<base>.y" value for (version, pkgarch), or return "<base>.0" if not found.
This doesn't store a new value."""
with closing(self.conn.cursor()) as cursor:
data = cursor.execute("SELECT value FROM %s where version=? AND pkgarch=? AND value LIKE '%s.%%';" % (self.table, base),
(version, pkgarch))
rows = data.fetchall()
value = self._max_value(rows)
if value is not None:
return increase_revision(value)
else:
raise prserv.NotFoundError
return base + ".0"
def _get_value_no_hist(self, version, pkgarch, checksum):
data=self._execute("SELECT value FROM %s \
WHERE version=? AND pkgarch=? AND checksum=? AND \
value >= (select max(value) from %s where version=? AND pkgarch=?);"
% (self.table, self.table),
(version, pkgarch, checksum, version, pkgarch))
row=data.fetchone()
if row is not None:
return row[0]
else:
#no value found, try to insert
if self.read_only:
data = self._execute("SELECT ifnull(max(value)+1, 0) FROM %s where version=? AND pkgarch=?;" % (self.table),
(version, pkgarch))
return data.fetchone()[0]
def store_value(self, version, pkgarch, checksum, value):
"""Store value in the database"""
try:
self._execute("INSERT OR REPLACE INTO %s VALUES (?, ?, ?, (select ifnull(max(value)+1, 0) from %s where version=? AND pkgarch=?));"
% (self.table, self.table),
(version, pkgarch, checksum, version, pkgarch))
except sqlite3.IntegrityError as exc:
logger.error(str(exc))
self.conn.rollback()
self.dirty = True
data=self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row=data.fetchone()
if row is not None:
return row[0]
else:
raise prserv.NotFoundError
def get_value(self, version, pkgarch, checksum):
if self.nohist:
return self._get_value_no_hist(version, pkgarch, checksum)
else:
return self._get_value_hist(version, pkgarch, checksum)
def _import_hist(self, version, pkgarch, checksum, value):
if self.read_only:
return None
val = None
data = self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row = data.fetchone()
if row is not None:
val=row[0]
else:
#no value found, try to insert
try:
self._execute("INSERT INTO %s VALUES (?, ?, ?, ?);" % (self.table),
if not self.read_only and not self.test_checksum_value(version, pkgarch, checksum, value):
with closing(self.conn.cursor()) as cursor:
cursor.execute("INSERT INTO %s VALUES (?, ?, ?, ?);" % (self.table),
(version, pkgarch, checksum, value))
except sqlite3.IntegrityError as exc:
logger.error(str(exc))
self.conn.commit()
self.dirty = True
def _get_value(self, version, pkgarch, checksum, history):
data = self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=?;" % self.table,
(version, pkgarch, checksum))
row = data.fetchone()
if row is not None:
val = row[0]
return val
max_value = self.find_package_max_value(version, pkgarch)
def _import_no_hist(self, version, pkgarch, checksum, value):
if self.read_only:
return None
if max_value is None:
# version, pkgarch completely unknown. Return initial value.
return "0"
try:
#try to insert
self._execute("INSERT INTO %s VALUES (?, ?, ?, ?);" % (self.table),
(version, pkgarch, checksum, value))
except sqlite3.IntegrityError as exc:
#already have the record, try to update
try:
self._execute("UPDATE %s SET value=? WHERE version=? AND pkgarch=? AND checksum=? AND value<?"
% (self.table),
(value, version, pkgarch, checksum, value))
except sqlite3.IntegrityError as exc:
logger.error(str(exc))
value = self.find_value(version, pkgarch, checksum, history)
self.dirty = True
if value is None:
# version, pkgarch found but not checksum. Create a new value from the maximum one
return increase_revision(max_value)
data = self._execute("SELECT value FROM %s WHERE version=? AND pkgarch=? AND checksum=? AND value>=?;" % self.table,
(version, pkgarch, checksum, value))
row=data.fetchone()
if row is not None:
return row[0]
if history:
return value
# "no history" mode - If the value is not the maximum value for the package, need to increase it.
if max_value > value:
return increase_revision(max_value)
else:
return None
return value
def get_value(self, version, pkgarch, checksum, history):
value = self._get_value(version, pkgarch, checksum, history)
if not self.read_only:
self.store_value(version, pkgarch, checksum, value)
return value
def importone(self, version, pkgarch, checksum, value):
if self.nohist:
return self._import_no_hist(version, pkgarch, checksum, value)
else:
return self._import_hist(version, pkgarch, checksum, value)
self.store_value(version, pkgarch, checksum, value)
return value
def export(self, version, pkgarch, checksum, colinfo):
def export(self, version, pkgarch, checksum, colinfo, history=False):
metainfo = {}
#column info
if colinfo:
metainfo["tbl_name"] = self.table
metainfo["core_ver"] = prserv.__version__
metainfo["col_info"] = []
data = self._execute("PRAGMA table_info(%s);" % self.table)
with closing(self.conn.cursor()) as cursor:
#column info
if colinfo:
metainfo["tbl_name"] = self.table
metainfo["core_ver"] = prserv.__version__
metainfo["col_info"] = []
data = cursor.execute("PRAGMA table_info(%s);" % self.table)
for row in data:
col = {}
col["name"] = row["name"]
col["type"] = row["type"]
col["notnull"] = row["notnull"]
col["dflt_value"] = row["dflt_value"]
col["pk"] = row["pk"]
metainfo["col_info"].append(col)
#data info
datainfo = []
if history:
sqlstmt = "SELECT * FROM %s as T1 WHERE 1=1 " % self.table
else:
sqlstmt = "SELECT T1.version, T1.pkgarch, T1.checksum, T1.value FROM %s as T1, \
(SELECT version, pkgarch, max(value) as maxvalue FROM %s GROUP BY version, pkgarch) as T2 \
WHERE T1.version=T2.version AND T1.pkgarch=T2.pkgarch AND T1.value=T2.maxvalue " % (self.table, self.table)
sqlarg = []
where = ""
if version:
where += "AND T1.version=? "
sqlarg.append(str(version))
if pkgarch:
where += "AND T1.pkgarch=? "
sqlarg.append(str(pkgarch))
if checksum:
where += "AND T1.checksum=? "
sqlarg.append(str(checksum))
sqlstmt += where + ";"
if len(sqlarg):
data = cursor.execute(sqlstmt, tuple(sqlarg))
else:
data = cursor.execute(sqlstmt)
for row in data:
col = {}
col["name"] = row["name"]
col["type"] = row["type"]
col["notnull"] = row["notnull"]
col["dflt_value"] = row["dflt_value"]
col["pk"] = row["pk"]
metainfo["col_info"].append(col)
#data info
datainfo = []
if self.nohist:
sqlstmt = "SELECT T1.version, T1.pkgarch, T1.checksum, T1.value FROM %s as T1, \
(SELECT version, pkgarch, max(value) as maxvalue FROM %s GROUP BY version, pkgarch) as T2 \
WHERE T1.version=T2.version AND T1.pkgarch=T2.pkgarch AND T1.value=T2.maxvalue " % (self.table, self.table)
else:
sqlstmt = "SELECT * FROM %s as T1 WHERE 1=1 " % self.table
sqlarg = []
where = ""
if version:
where += "AND T1.version=? "
sqlarg.append(str(version))
if pkgarch:
where += "AND T1.pkgarch=? "
sqlarg.append(str(pkgarch))
if checksum:
where += "AND T1.checksum=? "
sqlarg.append(str(checksum))
sqlstmt += where + ";"
if len(sqlarg):
data = self._execute(sqlstmt, tuple(sqlarg))
else:
data = self._execute(sqlstmt)
for row in data:
if row["version"]:
col = {}
col["version"] = row["version"]
col["pkgarch"] = row["pkgarch"]
col["checksum"] = row["checksum"]
col["value"] = row["value"]
datainfo.append(col)
if row["version"]:
col = {}
col["version"] = row["version"]
col["pkgarch"] = row["pkgarch"]
col["checksum"] = row["checksum"]
col["value"] = row["value"]
datainfo.append(col)
return (metainfo, datainfo)
def dump_db(self, fd):
@@ -322,9 +261,8 @@ class PRTable(object):
class PRData(object):
"""Object representing the PR database"""
def __init__(self, filename, nohist=True, read_only=False):
def __init__(self, filename, read_only=False):
self.filename=os.path.abspath(filename)
self.nohist=nohist
self.read_only = read_only
#build directory hierarchy
try:
@@ -334,14 +272,15 @@ class PRData(object):
raise e
uri = "file:%s%s" % (self.filename, "?mode=ro" if self.read_only else "")
logger.debug("Opening PRServ database '%s'" % (uri))
self.connection=sqlite3.connect(uri, uri=True, isolation_level="EXCLUSIVE", check_same_thread = False)
self.connection=sqlite3.connect(uri, uri=True)
self.connection.row_factory=sqlite3.Row
if not self.read_only:
self.connection.execute("pragma synchronous = off;")
self.connection.execute("PRAGMA journal_mode = MEMORY;")
self.connection.execute("PRAGMA synchronous = OFF;")
self.connection.execute("PRAGMA journal_mode = WAL;")
self.connection.commit()
self._tables={}
def disconnect(self):
self.connection.commit()
self.connection.close()
def __getitem__(self, tblname):
@@ -351,7 +290,7 @@ class PRData(object):
if tblname in self._tables:
return self._tables[tblname]
else:
tableobj = self._tables[tblname] = PRTable(self.connection, tblname, self.nohist, self.read_only)
tableobj = self._tables[tblname] = PRTable(self.connection, tblname, self.read_only)
return tableobj
def __delitem__(self, tblname):
@@ -359,3 +298,4 @@ class PRData(object):
del self._tables[tblname]
logger.info("drop table %s" % (tblname))
self.connection.execute("DROP TABLE IF EXISTS %s;" % tblname)
self.connection.commit()

View File

@@ -12,6 +12,7 @@ import sqlite3
import prserv
import prserv.db
import errno
from . import create_async_client, revision_smaller, increase_revision
import bb.asyncrpc
logger = logging.getLogger("BitBake.PRserv")
@@ -41,18 +42,16 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
try:
return await super().dispatch_message(msg)
except:
self.server.table.sync()
raise
else:
self.server.table.sync_if_dirty()
async def handle_test_pr(self, request):
'''Finds the PR value corresponding to the request. If not found, returns None and doesn't insert a new value'''
version = request["version"]
pkgarch = request["pkgarch"]
checksum = request["checksum"]
history = request["history"]
value = self.server.table.find_value(version, pkgarch, checksum)
value = self.server.table.find_value(version, pkgarch, checksum, history)
return {"value": value}
async def handle_test_package(self, request):
@@ -68,22 +67,110 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
version = request["version"]
pkgarch = request["pkgarch"]
value = self.server.table.find_max_value(version, pkgarch)
value = self.server.table.find_package_max_value(version, pkgarch)
return {"value": value}
async def handle_get_pr(self, request):
version = request["version"]
pkgarch = request["pkgarch"]
checksum = request["checksum"]
history = request["history"]
if self.upstream_client is None:
value = self.server.table.get_value(version, pkgarch, checksum, history)
return {"value": value}
# We have an upstream server.
# Check whether the local server already knows the requested configuration.
# If the configuration is a new one, the generated value we will add will
# depend on what's on the upstream server. That's why we're calling find_value()
# instead of get_value() directly.
value = self.server.table.find_value(version, pkgarch, checksum, history)
upstream_max = await self.upstream_client.max_package_pr(version, pkgarch)
if value is not None:
# The configuration is already known locally.
if history:
value = self.server.table.get_value(version, pkgarch, checksum, history)
else:
existing_value = value
# In "no history", we need to make sure the value doesn't decrease
# and is at least greater than the maximum upstream value
# and the maximum local value
local_max = self.server.table.find_package_max_value(version, pkgarch)
if revision_smaller(value, local_max):
value = increase_revision(local_max)
if revision_smaller(value, upstream_max):
# Ask upstream whether it knows the checksum
upstream_value = await self.upstream_client.test_pr(version, pkgarch, checksum)
if upstream_value is None:
# Upstream doesn't have our checksum, let create a new one
value = upstream_max + ".0"
else:
# Fine to take the same value as upstream
value = upstream_max
if not value == existing_value and not self.server.read_only:
self.server.table.store_value(version, pkgarch, checksum, value)
return {"value": value}
# The configuration is a new one for the local server
# Let's ask the upstream server whether it knows it
known_upstream = await self.upstream_client.test_package(version, pkgarch)
if not known_upstream:
# The package is not known upstream, must be a local-only package
# Let's compute the PR number using the local-only method
value = self.server.table.get_value(version, pkgarch, checksum, history)
return {"value": value}
# The package is known upstream, let's ask the upstream server
# whether it knows our new output hash
value = await self.upstream_client.test_pr(version, pkgarch, checksum)
if value is not None:
# Upstream knows this output hash, let's store it and use it too.
if not self.server.read_only:
self.server.table.store_value(version, pkgarch, checksum, value)
# If the local server is read only, won't be able to store the new
# value in the database and will have to keep asking the upstream server
return {"value": value}
# The output hash doesn't exist upstream, get the most recent number from upstream (x)
# Then, we want to have a new PR value for the local server: x.y
upstream_max = await self.upstream_client.max_package_pr(version, pkgarch)
# Here we know that the package is known upstream, so upstream_max can't be None
subvalue = self.server.table.find_new_subvalue(version, pkgarch, upstream_max)
if not self.server.read_only:
self.server.table.store_value(version, pkgarch, checksum, subvalue)
return {"value": subvalue}
async def process_requests(self):
if self.server.upstream is not None:
self.upstream_client = await create_async_client(self.server.upstream)
else:
self.upstream_client = None
response = None
try:
value = self.server.table.get_value(version, pkgarch, checksum)
response = {"value": value}
except prserv.NotFoundError:
self.logger.error("failure storing value in database for (%s, %s)",version, checksum)
return response
await super().process_requests()
finally:
if self.upstream_client is not None:
await self.upstream_client.close()
async def handle_import_one(self, request):
response = None
@@ -104,9 +191,10 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
pkgarch = request["pkgarch"]
checksum = request["checksum"]
colinfo = request["colinfo"]
history = request["history"]
try:
(metainfo, datainfo) = self.server.table.export(version, pkgarch, checksum, colinfo)
(metainfo, datainfo) = self.server.table.export(version, pkgarch, checksum, colinfo, history)
except sqlite3.Error as exc:
self.logger.error(str(exc))
metainfo = datainfo = None
@@ -117,11 +205,12 @@ class PRServerClient(bb.asyncrpc.AsyncServerConnection):
return {"readonly": self.server.read_only}
class PRServer(bb.asyncrpc.AsyncServer):
def __init__(self, dbfile, read_only=False):
def __init__(self, dbfile, read_only=False, upstream=None):
super().__init__(logger)
self.dbfile = dbfile
self.table = None
self.read_only = read_only
self.upstream = upstream
def accept_client(self, socket):
return PRServerClient(socket, self)
@@ -134,27 +223,25 @@ class PRServer(bb.asyncrpc.AsyncServer):
self.logger.info("Started PRServer with DBfile: %s, Address: %s, PID: %s" %
(self.dbfile, self.address, str(os.getpid())))
if self.upstream is not None:
self.logger.info("And upstream PRServer: %s " % (self.upstream))
return tasks
async def stop(self):
self.table.sync_if_dirty()
self.db.disconnect()
await super().stop()
def signal_handler(self):
super().signal_handler()
if self.table:
self.table.sync()
class PRServSingleton(object):
def __init__(self, dbfile, logfile, host, port):
def __init__(self, dbfile, logfile, host, port, upstream):
self.dbfile = dbfile
self.logfile = logfile
self.host = host
self.port = port
self.upstream = upstream
def start(self):
self.prserv = PRServer(self.dbfile)
self.prserv = PRServer(self.dbfile, upstream=self.upstream)
self.prserv.start_tcp_server(socket.gethostbyname(self.host), self.port)
self.process = self.prserv.serve_as_process(log_level=logging.WARNING)
@@ -233,7 +320,7 @@ def run_as_daemon(func, pidfile, logfile):
os.remove(pidfile)
os._exit(0)
def start_daemon(dbfile, host, port, logfile, read_only=False):
def start_daemon(dbfile, host, port, logfile, read_only=False, upstream=None):
ip = socket.gethostbyname(host)
pidfile = PIDPREFIX % (ip, port)
try:
@@ -249,7 +336,7 @@ def start_daemon(dbfile, host, port, logfile, read_only=False):
dbfile = os.path.abspath(dbfile)
def daemon_main():
server = PRServer(dbfile, read_only=read_only)
server = PRServer(dbfile, read_only=read_only, upstream=upstream)
server.start_tcp_server(ip, port)
server.serve_forever()
@@ -336,6 +423,9 @@ def auto_start(d):
host = host_params[0].strip().lower()
port = int(host_params[1])
upstream = d.getVar("PRSERV_UPSTREAM") or None
if is_local_special(host, port):
import bb.utils
cachedir = (d.getVar("PERSISTENT_DIR") or d.getVar("CACHE"))
@@ -350,7 +440,7 @@ def auto_start(d):
auto_shutdown()
if not singleton:
bb.utils.mkdirhier(cachedir)
singleton = PRServSingleton(os.path.abspath(dbfile), os.path.abspath(logfile), host, port)
singleton = PRServSingleton(os.path.abspath(dbfile), os.path.abspath(logfile), host, port, upstream)
singleton.start()
if singleton:
host = singleton.host

388
bitbake/lib/prserv/tests.py Normal file
View File

@@ -0,0 +1,388 @@
#! /usr/bin/env python3
#
# Copyright (C) 2024 BitBake Contributors
#
# SPDX-License-Identifier: GPL-2.0-only
#
from . import create_server, create_client, increase_revision, revision_greater, revision_smaller, _revision_greater_or_equal
import prserv.db as db
from bb.asyncrpc import InvokeError
import logging
import os
import sys
import tempfile
import unittest
import socket
import subprocess
from pathlib import Path
THIS_DIR = Path(__file__).parent
BIN_DIR = THIS_DIR.parent.parent / "bin"
version = "dummy-1.0-r0"
pkgarch = "core2-64"
other_arch = "aarch64"
checksumX = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4f0"
checksum0 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a0"
checksum1 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a1"
checksum2 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a2"
checksum3 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a3"
checksum4 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a4"
checksum5 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a5"
checksum6 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a6"
checksum7 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a7"
checksum8 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a8"
checksum9 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4a9"
checksum10 = "51bf8189dbe9ea81fa6dd89608bf19380c437a9cf12f6c6239887801ba4ab4aa"
def server_prefunc(server, name):
logging.basicConfig(level=logging.DEBUG, filename='prserv-%s.log' % name, filemode='w',
format='%(levelname)s %(filename)s:%(lineno)d %(message)s')
server.logger.debug("Running server %s" % name)
sys.stdout = open('prserv-stdout-%s.log' % name, 'w')
sys.stderr = sys.stdout
class PRTestSetup(object):
def start_server(self, name, dbfile, upstream=None, read_only=False, prefunc=server_prefunc):
def cleanup_server(server):
if server.process.exitcode is not None:
return
server.process.terminate()
server.process.join()
server = create_server(socket.gethostbyname("localhost") + ":0",
dbfile,
upstream=upstream,
read_only=read_only)
server.serve_as_process(prefunc=prefunc, args=(name,))
self.addCleanup(cleanup_server, server)
return server
def start_client(self, server_address):
def cleanup_client(client):
client.close()
client = create_client(server_address)
self.addCleanup(cleanup_client, client)
return client
class FunctionTests(unittest.TestCase):
def setUp(self):
self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
self.addCleanup(self.temp_dir.cleanup)
def test_increase_revision(self):
self.assertEqual(increase_revision("1"), "2")
self.assertEqual(increase_revision("1.0"), "1.1")
self.assertEqual(increase_revision("1.1.1"), "1.1.2")
self.assertEqual(increase_revision("1.1.1.3"), "1.1.1.4")
self.assertEqual(increase_revision("9"), "10")
self.assertEqual(increase_revision("1.9"), "1.10")
self.assertRaises(ValueError, increase_revision, "1.a")
self.assertRaises(ValueError, increase_revision, "1.")
self.assertRaises(ValueError, increase_revision, "")
def test_revision_greater_or_equal(self):
self.assertTrue(_revision_greater_or_equal("2", "2"))
self.assertTrue(_revision_greater_or_equal("2", "1"))
self.assertTrue(_revision_greater_or_equal("10", "2"))
self.assertTrue(_revision_greater_or_equal("1.10", "1.2"))
self.assertFalse(_revision_greater_or_equal("1.2", "1.10"))
self.assertTrue(_revision_greater_or_equal("1.10", "1"))
self.assertTrue(_revision_greater_or_equal("1.10.1", "1.10"))
self.assertFalse(_revision_greater_or_equal("1.10.1", "1.10.2"))
self.assertTrue(_revision_greater_or_equal("1.10.1", "1.10.1"))
self.assertTrue(_revision_greater_or_equal("1.10.1", "1"))
self.assertTrue(revision_greater("1.20", "1.3"))
self.assertTrue(revision_smaller("1.3", "1.20"))
# DB tests
def test_db(self):
dbfile = os.path.join(self.temp_dir.name, "testtable.sqlite3")
self.db = db.PRData(dbfile)
self.table = self.db["PRMAIN"]
self.table.store_value(version, pkgarch, checksum0, "0")
self.table.store_value(version, pkgarch, checksum1, "1")
# "No history" mode supports multiple PRs for the same checksum
self.table.store_value(version, pkgarch, checksum0, "2")
self.table.store_value(version, pkgarch, checksum2, "1.0")
self.assertTrue(self.table.test_package(version, pkgarch))
self.assertFalse(self.table.test_package(version, other_arch))
self.assertTrue(self.table.test_value(version, pkgarch, "0"))
self.assertTrue(self.table.test_value(version, pkgarch, "1"))
self.assertTrue(self.table.test_value(version, pkgarch, "2"))
self.assertEqual(self.table.find_package_max_value(version, pkgarch), "2")
self.assertEqual(self.table.find_min_value(version, pkgarch, checksum0), "0")
self.assertEqual(self.table.find_max_value(version, pkgarch, checksum0), "2")
# Test history modes
self.assertEqual(self.table.find_value(version, pkgarch, checksum0, True), "0")
self.assertEqual(self.table.find_value(version, pkgarch, checksum0, False), "2")
self.assertEqual(self.table.find_new_subvalue(version, pkgarch, "3"), "3.0")
self.assertEqual(self.table.find_new_subvalue(version, pkgarch, "1"), "1.1")
# Revision comparison tests
self.table.store_value(version, pkgarch, checksum1, "1.3")
self.table.store_value(version, pkgarch, checksum1, "1.20")
self.assertEqual(self.table.find_min_value(version, pkgarch, checksum1), "1")
self.assertEqual(self.table.find_max_value(version, pkgarch, checksum1), "1.20")
class PRBasicTests(PRTestSetup, unittest.TestCase):
def setUp(self):
self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
self.addCleanup(self.temp_dir.cleanup)
dbfile = os.path.join(self.temp_dir.name, "prtest-basic.sqlite3")
self.server1 = self.start_server("basic", dbfile)
self.client1 = self.start_client(self.server1.address)
def test_basic(self):
# Checks on non existing configuration
result = self.client1.test_pr(version, pkgarch, checksum0)
self.assertIsNone(result, "test_pr should return 'None' for a non existing PR")
result = self.client1.test_package(version, pkgarch)
self.assertFalse(result, "test_package should return 'False' for a non existing PR")
result = self.client1.max_package_pr(version, pkgarch)
self.assertIsNone(result, "max_package_pr should return 'None' for a non existing PR")
# Add a first configuration
result = self.client1.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "0", "getPR: initial PR of a package should be '0'")
result = self.client1.test_pr(version, pkgarch, checksum0)
self.assertEqual(result, "0", "test_pr should return '0' here, matching the result of getPR")
result = self.client1.test_package(version, pkgarch)
self.assertTrue(result, "test_package should return 'True' for an existing PR")
result = self.client1.max_package_pr(version, pkgarch)
self.assertEqual(result, "0", "max_package_pr should return '0' in the current test series")
# Check that the same request gets the same value
result = self.client1.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "0", "getPR: asking for the same PR a second time in a row should return the same value.")
# Add new configurations
result = self.client1.getPR(version, pkgarch, checksum1)
self.assertEqual(result, "1", "getPR: second PR of a package should be '1'")
result = self.client1.test_pr(version, pkgarch, checksum1)
self.assertEqual(result, "1", "test_pr should return '1' here, matching the result of getPR")
result = self.client1.max_package_pr(version, pkgarch)
self.assertEqual(result, "1", "max_package_pr should return '1' in the current test series")
result = self.client1.getPR(version, pkgarch, checksum2)
self.assertEqual(result, "2", "getPR: second PR of a package should be '2'")
result = self.client1.test_pr(version, pkgarch, checksum2)
self.assertEqual(result, "2", "test_pr should return '2' here, matching the result of getPR")
result = self.client1.max_package_pr(version, pkgarch)
self.assertEqual(result, "2", "max_package_pr should return '2' in the current test series")
result = self.client1.getPR(version, pkgarch, checksum3)
self.assertEqual(result, "3", "getPR: second PR of a package should be '3'")
result = self.client1.test_pr(version, pkgarch, checksum3)
self.assertEqual(result, "3", "test_pr should return '3' here, matching the result of getPR")
result = self.client1.max_package_pr(version, pkgarch)
self.assertEqual(result, "3", "max_package_pr should return '3' in the current test series")
# Ask again for the first configuration
result = self.client1.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "4", "getPR: should return '4' in this configuration")
# Ask again with explicit "no history" mode
result = self.client1.getPR(version, pkgarch, checksum0, False)
self.assertEqual(result, "4", "getPR: should return '4' in this configuration")
# Ask again with explicit "history" mode. This should return the first recorded PR for checksum0
result = self.client1.getPR(version, pkgarch, checksum0, True)
self.assertEqual(result, "0", "getPR: should return '0' in this configuration")
# Check again that another pkgarg resets the counters
result = self.client1.test_pr(version, other_arch, checksum0)
self.assertIsNone(result, "test_pr should return 'None' for a non existing PR")
result = self.client1.test_package(version, other_arch)
self.assertFalse(result, "test_package should return 'False' for a non existing PR")
result = self.client1.max_package_pr(version, other_arch)
self.assertIsNone(result, "max_package_pr should return 'None' for a non existing PR")
# Now add the configuration
result = self.client1.getPR(version, other_arch, checksum0)
self.assertEqual(result, "0", "getPR: initial PR of a package should be '0'")
result = self.client1.test_pr(version, other_arch, checksum0)
self.assertEqual(result, "0", "test_pr should return '0' here, matching the result of getPR")
result = self.client1.test_package(version, other_arch)
self.assertTrue(result, "test_package should return 'True' for an existing PR")
result = self.client1.max_package_pr(version, other_arch)
self.assertEqual(result, "0", "max_package_pr should return '0' in the current test series")
result = self.client1.is_readonly()
self.assertFalse(result, "Server should not be described as 'read-only'")
class PRUpstreamTests(PRTestSetup, unittest.TestCase):
def setUp(self):
self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
self.addCleanup(self.temp_dir.cleanup)
dbfile2 = os.path.join(self.temp_dir.name, "prtest-upstream2.sqlite3")
self.server2 = self.start_server("upstream2", dbfile2)
self.client2 = self.start_client(self.server2.address)
dbfile1 = os.path.join(self.temp_dir.name, "prtest-upstream1.sqlite3")
self.server1 = self.start_server("upstream1", dbfile1, upstream=self.server2.address)
self.client1 = self.start_client(self.server1.address)
dbfile0 = os.path.join(self.temp_dir.name, "prtest-local.sqlite3")
self.server0 = self.start_server("local", dbfile0, upstream=self.server1.address)
self.client0 = self.start_client(self.server0.address)
self.shared_db = dbfile0
def test_upstream_and_readonly(self):
# For identical checksums, all servers should return the same PR
result = self.client2.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "0", "getPR: initial PR of a package should be '0'")
result = self.client1.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "0", "getPR: initial PR of a package should be '0' (same as upstream)")
result = self.client0.getPR(version, pkgarch, checksum0)
self.assertEqual(result, "0", "getPR: initial PR of a package should be '0' (same as upstream)")
# Now introduce new checksums on server1 for, same version
result = self.client1.getPR(version, pkgarch, checksum1)
self.assertEqual(result, "0.0", "getPR: first PR of a package which has a different checksum upstream should be '0.0'")
result = self.client1.getPR(version, pkgarch, checksum2)
self.assertEqual(result, "0.1", "getPR: second PR of a package that has a different checksum upstream should be '0.1'")
# Now introduce checksums on server0 for, same version
result = self.client1.getPR(version, pkgarch, checksum1)
self.assertEqual(result, "0.2", "getPR: can't decrease for known PR")
result = self.client1.getPR(version, pkgarch, checksum2)
self.assertEqual(result, "0.3")
result = self.client1.max_package_pr(version, pkgarch)
self.assertEqual(result, "0.3")
result = self.client0.getPR(version, pkgarch, checksum3)
self.assertEqual(result, "0.3.0", "getPR: first PR of a package that doesn't exist upstream should be '0.3.0'")
result = self.client0.getPR(version, pkgarch, checksum4)
self.assertEqual(result, "0.3.1", "getPR: second PR of a package that doesn't exist upstream should be '0.3.1'")
result = self.client0.getPR(version, pkgarch, checksum3)
self.assertEqual(result, "0.3.2")
# More upstream updates
# Here, we assume no communication between server2 and server0. server2 only impacts server0
# after impacting server1
self.assertEqual(self.client2.getPR(version, pkgarch, checksum5), "1")
self.assertEqual(self.client1.getPR(version, pkgarch, checksum6), "1.0")
self.assertEqual(self.client1.getPR(version, pkgarch, checksum7), "1.1")
self.assertEqual(self.client0.getPR(version, pkgarch, checksum8), "1.1.0")
self.assertEqual(self.client0.getPR(version, pkgarch, checksum9), "1.1.1")
# "history" mode tests
self.assertEqual(self.client2.getPR(version, pkgarch, checksum0, True), "0")
self.assertEqual(self.client1.getPR(version, pkgarch, checksum2, True), "0.1")
self.assertEqual(self.client0.getPR(version, pkgarch, checksum3, True), "0.3.0")
# More "no history" mode tests
self.assertEqual(self.client2.getPR(version, pkgarch, checksum0), "2")
self.assertEqual(self.client1.getPR(version, pkgarch, checksum0), "2") # Same as upstream
self.assertEqual(self.client0.getPR(version, pkgarch, checksum0), "2") # Same as upstream
self.assertEqual(self.client1.getPR(version, pkgarch, checksum7), "3") # This could be surprising, but since the previous revision was "2", increasing it yields "3".
# We don't know how many upstream servers we have
# Start read-only server with server1 as upstream
self.server_ro = self.start_server("local-ro", self.shared_db, upstream=self.server1.address, read_only=True)
self.client_ro = self.start_client(self.server_ro.address)
self.assertTrue(self.client_ro.is_readonly(), "Database should be described as 'read-only'")
# Checks on non existing configurations
self.assertIsNone(self.client_ro.test_pr(version, pkgarch, checksumX))
self.assertFalse(self.client_ro.test_package("unknown", pkgarch))
# Look up existing configurations
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum0), "3") # "no history" mode
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum0, True), "0") # "history" mode
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum3), "3")
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum3, True), "0.3.0")
self.assertEqual(self.client_ro.max_package_pr(version, pkgarch), "2") # normal as "3" was never saved
# Try to insert a new value. Here this one is know upstream.
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum7), "3")
# Try to insert a completely new value. As the max upstream value is already "3", it should be "3.0"
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum10), "3.0")
# Same with another value which only exists in the upstream upstream server
# This time, as the upstream server doesn't know it, it will ask its upstream server. So that's a known one.
self.assertEqual(self.client_ro.getPR(version, pkgarch, checksum9), "3")
class ScriptTests(unittest.TestCase):
def setUp(self):
self.temp_dir = tempfile.TemporaryDirectory(prefix='bb-prserv')
self.addCleanup(self.temp_dir.cleanup)
self.dbfile = os.path.join(self.temp_dir.name, "prtest.sqlite3")
def test_1_start_bitbake_prserv(self):
try:
subprocess.check_call([BIN_DIR / "bitbake-prserv", "--start", "-f", self.dbfile])
except subprocess.CalledProcessError as e:
self.fail("Failed to start bitbake-prserv: %s" % e.returncode)
def test_2_stop_bitbake_prserv(self):
try:
subprocess.check_call([BIN_DIR / "bitbake-prserv", "--stop"])
except subprocess.CalledProcessError as e:
self.fail("Failed to stop bitbake-prserv: %s" % e.returncode)

View File

@@ -9,7 +9,7 @@
#
# Edit the 'current_releases' table for each new release cycle
#
# Usage: ./get_fixtures all
# Usage: ./get_fixtures --all
#
import os
@@ -35,19 +35,22 @@ verbose = False
# [Codename, Yocto Project Version, Release Date, Current Version, Support Level, Poky Version, BitBake branch]
current_releases = [
# Release slot #1
['Kirkstone','4.0','April 2022','4.0.8 (March 2023)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
['Scarthgap','5.0','April 2024','5.0.0 (April 2024)','Long Term Support (until April 2028)','','2.8'],
# Release slot #2 'local'
['HEAD','HEAD','','Local Yocto Project','HEAD','','HEAD'],
# Release slot #3 'master'
['Master','master','','Yocto Project master','master','','master'],
# Release slot #4
['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
['Styhead','5.1','November 2024','5.1.0 (November 2024)','Support for 7 months (until May 2025)','','2.10'],
# ['Nanbield','4.3','November 2023','4.3.0 (November 2023)','Support for 7 months (until May 2024)','','2.6'],
# ['Mickledore','4.2','April 2023','4.2.0 (April 2023)','Support for 7 months (until October 2023)','','2.4'],
# ['Langdale','4.1','October 2022','4.1.2 (January 2023)','Support for 7 months (until May 2023)','','2.2'],
['Kirkstone','4.0','April 2022','4.0.8 (March 2023)','Stable - Long Term Support (until Apr. 2024)','','2.0'],
# ['Honister','3.4','October 2021','3.4.2 (February 2022)','Support for 7 months (until May 2022)','26.0','1.52'],
# ['Hardknott','3.3','April 2021','3.3.5 (March 2022)','Stable - Support for 13 months (until Apr. 2022)','25.0','1.50'],
# ['Gatesgarth','3.2','Oct 2020','3.2.4 (May 2021)','EOL','24.0','1.48'],
# Optional Release slot #5
['Dunfell','3.1','April 2020','3.1.23 (February 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
#['Dunfell','3.1','April 2020','3.1.23 (February 2023)','Stable - Long Term Support (until Apr. 2024)','23.0','1.46'],
]
default_poky_layers = [

View File

@@ -8,9 +8,9 @@
<!-- Bitbake versions which correspond to the metadata release -->
<object model="orm.bitbakeversion" pk="1">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="name">scarthgap</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.0</field>
<field type="CharField" name="branch">2.8</field>
</object>
<object model="orm.bitbakeversion" pk="2">
<field type="CharField" name="name">HEAD</field>
@@ -23,23 +23,23 @@
<field type="CharField" name="branch">master</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">2.4</field>
<field type="CharField" name="branch">2.10</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<field type="CharField" name="name">dunfell</field>
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="giturl">git://git.openembedded.org/bitbake</field>
<field type="CharField" name="branch">1.46</field>
<field type="CharField" name="branch">2.0</field>
</object>
<!-- Releases available -->
<object model="orm.release" pk="1">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Openembedded Kirkstone</field>
<field type="CharField" name="name">scarthgap</field>
<field type="CharField" name="description">Openembedded Scarthgap</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=kirkstone\"&gt;OpenEmbedded Kirkstone&lt;/a&gt; branch.</field>
<field type="CharField" name="branch_name">scarthgap</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=scarthgap\"&gt;OpenEmbedded Scarthgap&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="2">
<field type="CharField" name="name">local</field>
@@ -56,18 +56,18 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/\"&gt;OpenEmbedded master&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="description">Openembedded Mickledore</field>
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="description">Openembedded Styhead</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">mickledore</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=mickledore\"&gt;OpenEmbedded Mickledore&lt;/a&gt; branch.</field>
<field type="CharField" name="branch_name">styhead</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=styhead\"&gt;OpenEmbedded Styhead&lt;/a&gt; branch.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">dunfell</field>
<field type="CharField" name="description">Openembedded Dunfell</field>
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Openembedded Kirkstone</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field type="CharField" name="branch_name">dunfell</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=dunfell\"&gt;OpenEmbedded Dunfell&lt;/a&gt; branch.</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href=\"https://cgit.openembedded.org/openembedded-core/log/?h=kirkstone\"&gt;OpenEmbedded Kirkstone&lt;/a&gt; branch.</field>
</object>
<!-- Default layers for each release -->

View File

@@ -8,9 +8,9 @@
<!-- Bitbake versions which correspond to the metadata release -->
<object model="orm.bitbakeversion" pk="1">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="name">scarthgap</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="2">
@@ -26,26 +26,26 @@
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="4">
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<object model="orm.bitbakeversion" pk="5">
<field type="CharField" name="name">dunfell</field>
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="giturl">git://git.yoctoproject.org/poky</field>
<field type="CharField" name="branch">dunfell</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">bitbake</field>
</object>
<!-- Releases available -->
<object model="orm.release" pk="1">
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Yocto Project 4.0 "Kirkstone"</field>
<field type="CharField" name="name">scarthgap</field>
<field type="CharField" name="description">Yocto Project 5.0 "Scarthgap"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">1</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=kirkstone"&gt;Yocto Project Kirkstone branch&lt;/a&gt;.</field>
<field type="CharField" name="branch_name">scarthgap</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=scarthgap"&gt;Yocto Project Scarthgap branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="2">
<field type="CharField" name="name">local</field>
@@ -62,18 +62,18 @@
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/"&gt;Yocto Project Master branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="4">
<field type="CharField" name="name">mickledore</field>
<field type="CharField" name="description">Yocto Project 4.2 "Mickledore"</field>
<field type="CharField" name="name">styhead</field>
<field type="CharField" name="description">Yocto Project 5.1 "Styhead"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">4</field>
<field type="CharField" name="branch_name">mickledore</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=mickledore"&gt;Yocto Project Mickledore branch&lt;/a&gt;.</field>
<field type="CharField" name="branch_name">styhead</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=styhead"&gt;Yocto Project Styhead branch&lt;/a&gt;.</field>
</object>
<object model="orm.release" pk="5">
<field type="CharField" name="name">dunfell</field>
<field type="CharField" name="description">Yocto Project 3.1 "Dunfell"</field>
<field type="CharField" name="name">kirkstone</field>
<field type="CharField" name="description">Yocto Project 4.0 "Kirkstone"</field>
<field rel="ManyToOneRel" to="orm.bitbakeversion" name="bitbake_version">5</field>
<field type="CharField" name="branch_name">dunfell</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=dunfell"&gt;Yocto Project Dunfell branch&lt;/a&gt;.</field>
<field type="CharField" name="branch_name">kirkstone</field>
<field type="TextField" name="helptext">Toaster will run your builds using the tip of the &lt;a href="https://git.yoctoproject.org/cgit/cgit.cgi/poky/log/?h=kirkstone"&gt;Yocto Project Kirkstone branch&lt;/a&gt;.</field>
</object>
<!-- Default project layers for each release -->
@@ -155,7 +155,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="2">
@@ -177,14 +177,14 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta</field>
</object>
<object model="orm.layer_version" pk="5">
<field rel="ManyToOneRel" to="orm.layer" name="layer">1</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">dunfell</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta</field>
</object>
@@ -200,7 +200,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="7">
@@ -222,14 +222,14 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
<object model="orm.layer_version" pk="10">
<field rel="ManyToOneRel" to="orm.layer" name="layer">2</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">dunfell</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta-poky</field>
</object>
@@ -245,7 +245,7 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">1</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="branch">scarthgap</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="12">
@@ -267,14 +267,14 @@
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">4</field>
<field type="CharField" name="branch">mickledore</field>
<field type="CharField" name="branch">styhead</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
<object model="orm.layer_version" pk="15">
<field rel="ManyToOneRel" to="orm.layer" name="layer">3</field>
<field type="IntegerField" name="layer_source">0</field>
<field rel="ManyToOneRel" to="orm.release" name="release">5</field>
<field type="CharField" name="branch">dunfell</field>
<field type="CharField" name="branch">kirkstone</field>
<field type="CharField" name="dirpath">meta-yocto-bsp</field>
</object>
</django-objects>

View File

@@ -88,15 +88,15 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
False,
)
def test_create_new_project_kirkstone(self):
def test_create_new_project_scarthgap(self):
""" Test create new project using:
- Project Name: Any string
- Release: Yocto Project 4.0 "Kirkstone" (option value: 1)
- Release: Yocto Project 5.0 "Scarthgap" (option value: 1)
- Merge Toaster settings: True
"""
release = '1'
release_title = 'Yocto Project 4.0 "Kirkstone"'
project_name = 'projectkirkstone'
release_title = 'Yocto Project 5.0 "Scarthgap"'
project_name = 'projectscarthgap'
self._create_test_new_project(
project_name,
release,
@@ -104,20 +104,20 @@ class TestCreateNewProject(SeleniumFunctionalTestCase):
True,
)
def test_create_new_project_dunfell(self):
def test_create_new_project_kirkstone(self):
""" Test create new project using:
- Project Name: Any string
- Release: Yocto Project 3.1 "Dunfell" (option value: 5)
- Merge Toaster settings: False
- Release: Yocto Project 4.0 "Kirkstone" (option value: 4)
- Merge Toaster settings: True
"""
release = '5'
release_title = 'Yocto Project 3.1 "Dunfell"'
project_name = 'projectdunfell'
release = '4'
release_title = 'Yocto Project 4.0 "Kirkstone"'
project_name = 'projectkirkstone'
self._create_test_new_project(
project_name,
release,
release_title,
False,
True,
)
def test_create_new_project_local(self):

View File

@@ -708,7 +708,7 @@ class TestProjectPage(SeleniumFunctionalTestCase):
- Check layer summary
- Check layer description
"""
url = reverse("layerdetails", args=(TestProjectPage.project_id, 8))
url = reverse("layerdetails", args=(TestProjectPage.project_id, 7))
self.get(url)
self.wait_until_visible('.page-header')
# check title is displayed

View File

@@ -3,17 +3,18 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
# Release notes are excluded because they contain contributor names and commit messages which can't be modified
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
VALEDOCS ?= .
SOURCEDIR = .
IMAGEDIRS = */svg
BUILDDIR = _build
DESTDIR = final
SVG2PNG = inkscape
SVG2PDF = inkscape
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
SOURCEDIR = .
VALEDOCS ?= $(SOURCEDIR)
SPHINXLINTDOCS ?= $(SOURCEDIR)
IMAGEDIRS = */svg
BUILDDIR = _build
DESTDIR = final
SVG2PNG = rsvg-convert
SVG2PDF = rsvg-convert
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
@@ -25,10 +26,12 @@ help:
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
publish: Makefile html singlehtml
publish: Makefile epub latexpdf html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/_static
cp $(BUILDDIR)/epub/TheYoctoProject.epub $(BUILDDIR)/latex/theyoctoproject.pdf $(BUILDDIR)/$(DESTDIR)/_static/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
@@ -40,11 +43,11 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED
# Pattern rule for converting SVG to PDF
%.pdf : %.svg
$(SVG2PDF) --export-filename=$@ $<
$(SVG2PDF) --format=Pdf --output=$@ $<
# Pattern rule for converting SVG to PNG
%.png : %.svg
$(SVG2PNG) --export-filename=$@ $<
$(SVG2PNG) --format=Png --output=$@ $<
clean:
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst
@@ -54,15 +57,18 @@ stylecheck:
vale $(VALEOPTS) $(VALEDOCS)
sphinx-lint:
sphinx-lint $(SOURCEDIR)
sphinx-lint $(SPHINXLINTDOCS)
epub: $(PNGs)
$(SOURCEDIR)/set_versions.py
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
# Note: we need to pass buf_size here (which is also configurable from
# texmf.cnf), to avoid following error:
# Unable to read an entire line---bufsize=200000. Please increase buf_size in texmf.cnf.
latexpdf: $(PDFs)
$(SOURCEDIR)/set_versions.py
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
buf_size=10000000 $(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
all: html epub latexpdf

View File

@@ -108,32 +108,9 @@ generated with DocBook.
How to build the Yocto Project documentation
============================================
Sphinx is written in Python. While it might work with Python2, for
obvious reasons, we will only support building the Yocto Project
documentation with Python3.
Sphinx might be available in your Linux distro packages repositories,
however it is not recommended to use distro packages, as they might be
old versions, especially if you are using an LTS version of your
distro. The recommended method to install the latest versions of Sphinx
and of its required dependencies is to use the Python Package Index (pip).
To install all required packages run:
$ pip3 install sphinx sphinx_rtd_theme pyyaml
To make sure you always have the latest versions of such packages, you
should regularly run the same command with an added "--upgrade" option:
$ pip3 install --upgrade sphinx sphinx_rtd_theme pyyaml
Also install the "inkscape" package from your distribution.
Inkscape is need to convert SVG graphics to PNG (for EPUB
export) and to PDF (for PDF export).
Additionally install "fncychap.sty" TeX font if you want to build PDFs. Debian
and Ubuntu have it in "texlive-latex-extra" package while RedHat distributions
and OpenSUSE have it in "texlive-fncychap" package for example.
To build the documentation, you need Sphinx and a few other packages,
which depend on your host GNU/Linux distribution. Such packages are listed on
https://docs.yoctoproject.org/dev/ref-manual/system-requirements.html#required-packages-for-the-build-host
To build the documentation locally, run:
@@ -165,7 +142,15 @@ To run Vale:
$ make stylecheck
Link checking the Yocto Project documentation
Style checking the whole documentation might take some time and generate a
lot of warnings/errors, thus one can run Vale on a subset of files or
directories:
$ make stylecheck VALEDOCS=<file>
$ make stylecheck VALEDOCS="<file1> <file2>"
$ make stylecheck VALEDOCS=<dir>
Lint checking the Yocto Project documentation
=============================================
To fix errors which are not reported by Sphinx itself,
@@ -179,6 +164,14 @@ To run sphinx-lint:
$ make sphinx-lint
Lint checking the whole documentation might take some time and generate a
lot of warnings/errors, thus one can run sphinx-lint on a subset of files
or directories:
$ make sphinx-lint SPHINXLINTDOCS=<file>
$ make sphinx-lint SPHINXLINTDOCS="<file1> <file2>"
$ make sphinx-lint SPHINXLINTDOCS=<dir>
Sphinx theme and CSS customization
==================================

View File

@@ -78,7 +78,7 @@ You must install essential host packages on your build host. The
following command installs the host packages based on an Ubuntu
distribution::
$ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
$ sudo apt install &UBUNTU_DEBIAN_HOST_PACKAGES_ESSENTIAL;
.. note::
@@ -251,11 +251,17 @@ an entire Linux distribution, including the toolchain, from source.
To use such mirrors, uncomment the below lines in your ``conf/local.conf``
file in the :term:`Build Directory`::
BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687"
BB_HASHSERVE_UPSTREAM = "wss://hashserv.yoctoproject.org/ws"
SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH"
BB_HASHSERVE = "auto"
BB_SIGNATURE_HANDLER = "OEEquivHash"
The hash equivalence server needs the websockets python module version 9.1
or later. Debian GNU/Linux 12 (Bookworm) and later, Fedora, CentOS Stream
9 and later, and Ubuntu 22.04 (LTS) and later, all have a recent enough
package. Other supported distributions need to get the module some other
place than their package feed, e.g. via ``pip``.
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:

View File

@@ -90,8 +90,9 @@ rst_prolog = """
# external links and substitutions
extlinks = {
'cve': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'bitbake_git': ('https://git.openembedded.org/bitbake%s', None),
'cve_mitre': ('https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-%s', 'CVE-%s'),
'cve_nist': ('https://nvd.nist.gov/vuln/detail/CVE-%s', 'CVE-%s'),
'yocto_home': ('https://www.yoctoproject.org%s', None),
'yocto_wiki': ('https://wiki.yoctoproject.org/wiki%s', None),
'yocto_dl': ('https://downloads.yoctoproject.org%s', None),
@@ -158,9 +159,14 @@ html_last_updated_fmt = '%b %d, %Y'
# Remove the trailing 'dot' in section numbers
html_secnumber_suffix = " "
# We need XeTeX to process special unicode character, sometimes the contributor
# list from the release note contains those.
# See https://docs.readthedocs.io/en/stable/guides/pdf-non-ascii-languages.html.
latex_engine = 'xelatex'
latex_use_xindy = False
latex_elements = {
'passoptionstopackages': '\\PassOptionsToPackage{bookmarksdepth=5}{hyperref}',
'preamble': '\\setcounter{tocdepth}{2}',
'preamble': '\\usepackage[UTF8]{ctex}\n\\setcounter{tocdepth}{2}',
}
# Make the EPUB builder prefer PNG to SVG because of issues rendering Inkscape SVG

View File

@@ -47,10 +47,10 @@ Debian policy closely.
When a recipe references a git revision that does not correspond to a released
version of software (e.g. is not a tagged version), the :term:`PV` variable
should include the Git revision using the following to make the
version clear::
should include the sign ``+``, so :term:`bitbake` automatically includes package
version information during the packaging phase::
PV = "<version>+git${SRCPV}"
PV = "<version>+git"
In this case, ``<version>`` should be the most recently released version of the
software from the current source revision (``git describe`` can be useful for
@@ -395,7 +395,7 @@ one CVE is fixed, separate them using spaces.
CVE Examples
------------
This should be the header of patch that fixes :cve:`2015-8370` in GRUB2::
This should be the header of patch that fixes :cve_nist:`2015-8370` in GRUB2::
grub2: Fix CVE-2015-8370
@@ -409,3 +409,15 @@ This should be the header of patch that fixes :cve:`2015-8370` in GRUB2::
Upstream-Status: Backport [http://git.savannah.gnu.org/cgit/grub.git/commit/?id=451d80e52d851432e109771bb8febafca7a5f1f2]
CVE: CVE-2015-8370
Signed-off-by: Joe Developer <joe.developer@example.com>
Patch format
============
By default, patches created with ``git format-patch`` have a `Git` version signature at the end.
To avoid having a `Git` signature at the end of generated or updated patches,
you can use `Git` configuration settings::
git config --global format.signature ""
.. note::
Patches generated or updated by ``devtool`` are created with no signature.

View File

@@ -65,6 +65,13 @@ use to identify your commits::
git config --global user.name "Ada Lovelace"
git config --global user.email "ada.lovelace@gmail.com"
By default, Git adds a signature line at the end of patches containing the Git
version. We suggest to remove it as it doesn't add useful information.
Remove it with the following command::
git config --global format.signature ""
Clone the Git repository for the component to modify
----------------------------------------------------
@@ -483,7 +490,7 @@ typical usage of ``git send-email``::
git send-email --to <mailing-list-address> *.patch
Then, review each subject line and list of recipients carefully, and then
and then allow the command to send each message.
allow the command to send each message.
You will see that ``git send-email`` will automatically copy the people listed
in any commit tags such as ``Signed-off-by`` or ``Reported-by``.

View File

@@ -0,0 +1,129 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Locking and Unlocking Recipes Using ``bblock``
**********************************************
By design, the OpenEmbedded build system builds everything from scratch
unless BitBake determines that specific tasks do not require rebuilding.
At startup, it computes a signature for all tasks, based on the task's input.
Then, it compares these signatures with the ones from the sstate cache (if they
exist). Any changes cause the task to rerun.
During development, changes might trigger BitBake to rebuild certain
recipes, even when we know they do not require rebuilding at that stage.
For example, modifying a recipe can lead to rebuilding its native
counterpart, which might prove unnecessary. Editing the ``python3`` recipe,
for instance, can prompt BitBake to rebuild ``python3-native`` along with any
recipes that depend on it.
To prevent this, use ``bblock`` to lock specific tasks or recipes to
specific signatures, forcing BitBake to use the sstate cache for them.
.. warning::
Use ``bblock`` only during the development phase.
Forcing BitBake to use the sstate cache, regardless of input changes, means
the recipe metadata no longer directly reflect the output. Use this feature
with caution. If you do not understand why signatures change, see the section
on :yocto_wiki:`understanding what changed </TipsAndTricks/Understanding_what_changed_(diffsigs_etc)>`.
Locking tasks and recipes
-------------------------
To lock a recipe, use::
$ bblock recipe
You can also use a space-separated list of recipes to lock multiple recipes::
$ bblock recipe1 recipe2
Locking a recipe means locking all tasks of the recipe. If you need to
lock only particular tasks, use the `-t` option with a comma-separated
list of tasks::
$ bblock -t task1,task2 recipe
Unlocking tasks and recipes
---------------------------
To unlock a recipe, use the ``-r`` option::
$ bblock -r recipe
You can also use a space-separated list of recipes to unlock multiple recipes::
$ bblock -r recipe1 recipe2
Unlocking a recipe means unlocking all tasks of the recipe. If you need to
unlock only particular tasks use the ``-t`` option with a comma-separated
list of tasks::
$ bblock -r -t task1,task2 recipe
To unlock all recipes, do not specify any recipe::
$ bblock -r
Configuration file
------------------
``bblock`` will dump the signatures in the ``build/conf/bblock.conf`` file,
included by default in :oe_git:`meta/conf/bitbake.conf </openembedded-core/tree/meta/conf/bitbake.conf>`.
To dump the file, use the ``-d`` option::
$ bblock -d
Locking mechanism
-----------------
``bblock`` computes the signature(s) of the task(s) and sets the 3 following
variables: :term:`SIGGEN_LOCKEDSIGS`, :term:`SIGGEN_LOCKEDSIGS_TYPES`
and :term:`SIGGEN_LOCKEDSIGS_TASKSIG_CHECK`.
In particular, ``bblock`` sets::
SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "info"
SIGGEN_LOCKEDSIGS_TYPES += "${PACKAGE_ARCHS}"
SIGGEN_LOCKEDSIGS_<package_arch> += "<recipe>:<task>:<signature>"
This produces architecture specific locks and reminds user that some tasks
have locked signatures.
Example
-------
When working on the ``python3`` recipe, we can lock ``python3-native`` with
the following::
$ bblock python3-native
$ bblock -d
# Generated by bblock
SIGGEN_LOCKEDSIGS_TASKSIG_CHECK = "info"
SIGGEN_LOCKEDSIGS_TYPES += "${PACKAGE_ARCHS}"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_patch:865859c27e603ba42025b7bb766c3cd4c0f477e4962cfd39128c0619d695fce7"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_populate_sysroot:f8fa5d3194cef638416000252b959e86d0a19f6b7898e1f56b643c588cdd8605"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_prepare_recipe_sysroot:fe295ac505d9d1143313424b201c6f3f2a0a90da40a13a905b86b874705f226a"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_fetch:1b6e4728fee631bc7a8a7006855c5b8182a8224579e32e3d0a2db77c26459f25"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_unpack:2ad74d6f865ef75c35c0e6bbe3f9a90923a6b2c62c18a3ddef514ea31fbc588f"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_deploy_source_date_epoch:15f89b8483c1ad7507480f337619bb98c26e231227785eb3543db163593e7b42"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_configure:7960c13d23270fdb12b3a7c426ce1da0d2f5c7cf5e5d3f5bdce5fa330eb7d482"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_compile:012e1d4a63f1a78fc2143bd90d704dbcf5865c5257d6272aa7540ec1cd3063d9"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_install:d3401cc2afa4c996beb154beaad3e45fa0272b9c56fb86e9db14ec3544c68f9d"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_build:fa88bb7afb9046c0417c24a3fa98a058653805a8b00eda2c2d7fea68fc42f882"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_collect_spdx_deps:cc9c53ba7c495567e9a38ec4801830c425c0d1f895aa2fc66930a2edd510d9b4"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_create_spdx:766a1d09368438b7b5a1a8e2a8f823b2b731db44b57e67d8b3196de91966f9c5"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_create_package_spdx:46f80faeab25575e9977ba3bf14c819489c3d489432ae5145255635108c21020"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_recipe_qa:cb960cdb074e7944e894958db58f3dc2a0436ecf87c247feb3e095e214fec0e4"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_populate_lic:15657441621ee83f15c2e650e7edbb036870b56f55e72e046c6142da3c5783fd"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_create_manifest:24f0abbec221d27bbb2909b6e846288b12cab419f1faf9f5006ed80423d37e28"
SIGGEN_LOCKEDSIGS_x86_64 += "python3-native:do_addto_recipe_sysroot:bcb6a1905f113128de3f88d702b706befd6a786267c045ee82532759a7c214d7"

View File

@@ -1,13 +1,13 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Flashing Images Using ``bmaptool``
**********************************
Flashing Images Using `bmaptool`
********************************
A fast and easy way to flash an image to a bootable device is to use
bmaptool, which is integrated into the OpenEmbedded build system.
bmaptool is a generic tool that creates a file's block map (bmap) and
`bmaptool`, which is integrated into the OpenEmbedded build system.
`bmaptool` is a generic tool that creates a file's block map (bmap) and
then uses that map to copy the file. As compared to traditional tools
such as dd or cp, bmaptool can copy (or flash) large files like raw
such as `dd` or `cp`, `bmaptool` can copy (or flash) large files like raw
system image files much faster.
.. note::
@@ -20,13 +20,13 @@ system image files much faster.
$ sudo apt install bmap-tools
- If you are unable to install the ``bmap-tools`` package, you will
need to build bmaptool before using it. Use the following command::
need to build `bmaptool` before using it. Use the following command::
$ bitbake bmaptool-native
$ bitbake bmaptool-native -caddto_recipe_sysroot
Following, is an example that shows how to flash a Wic image. Realize
that while this example uses a Wic image, you can use bmaptool to flash
any type of image. Use these steps to flash an image using bmaptool:
that while this example uses a Wic image, you can use `bmaptool` to flash
any type of image. Use these steps to flash an image using `bmaptool`:
#. *Update your local.conf File:* You need to have the following set
in your ``local.conf`` file before building your image::
@@ -39,18 +39,17 @@ any type of image. Use these steps to flash an image using bmaptool:
$ bitbake image
#. *Flash the Device:* Flash the device with the image by using bmaptool
#. *Flash the Device:* Flash the device with the image by using `bmaptool`
depending on your particular setup. The following commands assume the
image resides in the :term:`Build Directory`'s ``deploy/images/`` area:
- If you have write access to the media, use this command form::
- If you installed the package for `bmaptool`, you can directly run::
$ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
$ sudo bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
- If you do not have write access to the media, set your permissions
first and then use the same command form::
- Otherwise, if you built `bmaptool` with BitBake, run::
$ sudo chmod 666 /dev/sdX
$ sudo chmod a+w /dev/sdX # get write access to the media, needed only once after booting
$ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
For help on the ``bmaptool`` command, use the following command::

View File

@@ -12,10 +12,13 @@ revision number for changes. Currently, you can do this with Apache
Subversion (SVN), Git, and Bazaar (BZR) repositories.
To enable this behavior, the :term:`PV` of
the recipe needs to reference
:term:`SRCPV`. Here is an example::
the recipe needs to include a ``+`` sign in its assignment.
Here is an example::
PV = "1.2.3+git${SRCPV}"
PV = "1.2.3+git"
:term:`Bitbake` later includes the source control information in :term:`PKGV`
during the packaging phase.
Then, you can add the following to your
``local.conf``::

View File

@@ -39,7 +39,6 @@ Yocto Project Development Tasks Manual
external-scm
read-only-rootfs
build-quality
runtime-testing
debugging
licenses
security-subjects
@@ -48,5 +47,6 @@ Yocto Project Development Tasks Manual
error-reporting-tool
wayland
qemu
bblock
.. include:: /boilerplate.rst

View File

@@ -644,6 +644,96 @@ variable and append the layer's root name::
order of ``.conf`` or ``.bbclass`` files. Future versions of BitBake
might address this.
Providing Global-level Configurations With Your Layer
-----------------------------------------------------
When creating a layer, you may need to define configurations that should take
effect globally in your build environment when the layer is part of the build.
The ``layer.conf`` file is a :term:`configuration file` that affects the build
system globally, so it is a candidate for this use-case.
.. warning::
Providing unconditional global level configuration from the ``layer.conf``
file is *not* a good practice, and should be avoided. For this reason, the
section :ref:`ref-conditional-layer-confs` below shows how the ``layer.conf``
file can be used to provide configurations only if a certain condition is
met.
For example, if your layer provides a Linux kernel recipe named
``linux-custom``, you may want to make :term:`PREFERRED_PROVIDER_virtual/kernel
<PREFERRED_PROVIDER>` point to ``linux-custom``::
PREFERRED_PROVIDER_virtual/kernel = "linux-custom"
This can be defined in the ``layer.conf`` file. If your layer is at the last
position in the :term:`BBLAYERS` list, it will take precedence over previous
``PREFERRED_PROVIDER_virtual/kernel`` assignments (unless one is set from a
:term:`configuration file` that is parsed later, such as machine or distro
configuration files).
.. _ref-conditional-layer-confs:
Conditionally Provide Global-level Configurations With Your Layer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In some cases, your layer may provide global configurations only if some
features it provides are enabled. Since the ``layer.conf`` file is parsed at an
earlier stage in the parsing process, the :term:`DISTRO_FEATURES` and
:term:`MACHINE_FEATURES` variables are not yet available to ``layer.conf``, and
declaring conditional assignments based on these variables is not possible. The
following technique shows a way to bypass this limitation by using the
:term:`USER_CLASSES` variable and a conditional ``require`` command.
In the following steps, let's assume our layer is named ``meta-mylayer`` and
that this layer defines a custom :ref:`distro feature <ref-features-distro>`
named ``mylayer-kernel``. We will set the :term:`PREFERRED_PROVIDER` variable
for the kernel only if our feature ``mylayer-kernel`` is part of the
:term:`DISTRO_FEATURES`:
#. Create an include file in the directory
``meta-mylayer/conf/distro/include/``, for example a file named
``mylayer-kernel-provider.inc`` that sets the kernel provider to
``linux-custom``::
PREFERRED_PROVIDER_virtual/kernel = "linux-custom"
#. Provide a path to this include file in your ``layer.conf``::
META_MYLAYER_KERNEL_PROVIDER_PATH = "${LAYERDIR}/conf/distro/include/mylayer-kernel-provider.inc"
#. Create a new class in ``meta-mylayer/classes-global/``, for example a class
``meta-mylayer-cfg.bbclass``. Make it conditionally require the file
``mylayer-kernel-provider.inc`` defined above, using the variable
``META_MYLAYER_KERNEL_PROVIDER_PATH`` defined in ``layer.conf``::
require ${@bb.utils.contains('DISTRO_FEATURES', 'mylayer-kernel', '${META_MYLAYER_KERNEL_PROVIDER_PATH}', '', d)}
For details on the ``bb.utils.contains`` function, see its definition in
:bitbake_git:`lib/bb/utils.py </tree/lib/bb/utils.py>`.
.. note::
The ``require`` command is designed to not fail if the function
``bb.utils.contains`` returns an empty string.
#. Back to your ``layer.conf`` file, add the class ``meta-mylayer-cfg`` class to
the :term:`USER_CLASSES` variable::
USER_CLASSES:append = " meta-mylayer-cfg"
This will add the class ``meta-mylayer-cfg`` to the list of classes to
globally inherit. Since the ``require`` command is conditional in
``meta-mylayer-cfg.bbclass``, even though inherited the class will have no
effect unless the feature ``mylayer-kernel`` is enabled through
:term:`DISTRO_FEATURES`.
This technique can also be used for :ref:`Machine features
<ref-features-machine>` by following the same steps. Though not mandatory, it is
recommended to put include files for :term:`DISTRO_FEATURES` in your layer's
``conf/distro/include`` and the ones for :term:`MACHINE_FEATURES` in your
layer's ``conf/machine/include``.
Managing Layers
===============

View File

@@ -291,13 +291,13 @@ another example that specifies these types of files, see the
Another way of specifying source is from an SCM. For Git repositories,
you must specify :term:`SRCREV` and you should specify :term:`PV` to include
the revision with :term:`SRCPV`. Here is an example from the recipe
``meta/recipes-core/musl/gcompat_git.bb``::
a ``+`` sign in its definition. Here is an example from the recipe
:oe_git:`meta/recipes-sato/l3afpad/l3afpad_git.bb </openembedded-core/tree/meta/recipes-sato/l3afpad/l3afpad_git.bb>`::
SRC_URI = "git://git.adelielinux.org/adelie/gcompat.git;protocol=https;branch=current"
SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https"
PV = "1.0.0+1.1+git${SRCPV}"
SRCREV = "af5a49e489fdc04b9cf02547650d7aeaccd43793"
PV = "0.8.18.1.11+git"
SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff"
If your :term:`SRC_URI` statement includes URLs pointing to individual files
fetched from a remote server other than a version control system,

View File

@@ -16,7 +16,7 @@ This section describes a few tasks that involve packages:
- :ref:`dev-manual/packages:generating and using signed packages`
- :ref:`Setting up and running package test
(ptest) <dev-manual/packages:testing packages with ptest>`
(ptest) <test-manual/ptest:testing packages with ptest>`
- :ref:`dev-manual/packages:creating node package manager (npm) packages`
@@ -84,10 +84,6 @@ the following:
- :term:`PR`: The recipe revision.
- :term:`SRCPV`: The OpenEmbedded
build system uses this string to help define the value of :term:`PV` when
the source code revision needs to be included in it.
- :yocto_wiki:`PR Service </PR_Service>`: A
network-based service that helps automate keeping package feeds
compatible with existing package manager applications such as RPM,
@@ -256,15 +252,14 @@ the software::
SRCREV = "${AUTOREV}"
Furthermore, you need to reference :term:`SRCPV` in :term:`PV` in order to
Furthermore, you need to include a ``+`` sign in :term:`PV` in order to
automatically update the version whenever the revision of the source
code changes. Here is an example::
PV = "1.0+git${SRCPV}"
PV = "1.0+git"
The OpenEmbedded build system substitutes :term:`SRCPV` with the following:
.. code-block:: none
The OpenEmbedded build system will automatically add the source control
information to the end of the variable :term:`PKGV`, in this format::
AUTOINC+source_code_revision
@@ -887,114 +882,8 @@ related to signed package feeds are available:
Testing Packages With ptest
===========================
A Package Test (ptest) runs tests against packages built by the
OpenEmbedded build system on the target machine. A ptest contains at
least two items: the actual test, and a shell script (``run-ptest``)
that starts the test. The shell script that starts the test must not
contain the actual test --- the script only starts the test. On the other
hand, the test can be anything from a simple shell script that runs a
binary and checks the output to an elaborate system of test binaries and
data files.
The test generates output in the format used by Automake::
result: testname
where the result can be ``PASS``, ``FAIL``, or ``SKIP``, and
the testname can be any identifying string.
For a list of Yocto Project recipes that are already enabled with ptest,
see the :yocto_wiki:`Ptest </Ptest>` wiki page.
.. note::
A recipe is "ptest-enabled" if it inherits the :ref:`ref-classes-ptest`
class.
Adding ptest to Your Build
--------------------------
To add package testing to your build, add the :term:`DISTRO_FEATURES` and
:term:`EXTRA_IMAGE_FEATURES` variables to your ``local.conf`` file, which
is found in the :term:`Build Directory`::
DISTRO_FEATURES:append = " ptest"
EXTRA_IMAGE_FEATURES += "ptest-pkgs"
Once your build is complete, the ptest files are installed into the
``/usr/lib/package/ptest`` directory within the image, where ``package``
is the name of the package.
Running ptest
-------------
The ``ptest-runner`` package installs a shell script that loops through
all installed ptest test suites and runs them in sequence. Consequently,
you might want to add this package to your image.
Getting Your Package Ready
--------------------------
In order to enable a recipe to run installed ptests on target hardware,
you need to prepare the recipes that build the packages you want to
test. Here is what you have to do for each recipe:
- *Be sure the recipe inherits the* :ref:`ref-classes-ptest` *class:*
Include the following line in each recipe::
inherit ptest
- *Create run-ptest:* This script starts your test. Locate the
script where you will refer to it using
:term:`SRC_URI`. Here is an
example that starts a test for ``dbus``::
#!/bin/sh
cd test
make -k runtest-TESTS
- *Ensure dependencies are met:* If the test adds build or runtime
dependencies that normally do not exist for the package (such as
requiring "make" to run the test suite), use the
:term:`DEPENDS` and
:term:`RDEPENDS` variables in
your recipe in order for the package to meet the dependencies. Here
is an example where the package has a runtime dependency on "make"::
RDEPENDS:${PN}-ptest += "make"
- *Add a function to build the test suite:* Not many packages support
cross-compilation of their test suites. Consequently, you usually
need to add a cross-compilation function to the package.
Many packages based on Automake compile and run the test suite by
using a single command such as ``make check``. However, the host
``make check`` builds and runs on the same computer, while
cross-compiling requires that the package is built on the host but
executed for the target architecture (though often, as in the case
for ptest, the execution occurs on the host). The built version of
Automake that ships with the Yocto Project includes a patch that
separates building and execution. Consequently, packages that use the
unaltered, patched version of ``make check`` automatically
cross-compiles.
Regardless, you still must add a ``do_compile_ptest`` function to
build the test suite. Add a function similar to the following to your
recipe::
do_compile_ptest() {
oe_runmake buildtest-TESTS
}
- *Ensure special configurations are set:* If the package requires
special configurations prior to compiling the test code, you must
insert a ``do_configure_ptest`` function into the recipe.
- *Install the test suite:* The :ref:`ref-classes-ptest` class
automatically copies the file ``run-ptest`` to the target and then runs make
``install-ptest`` to run the tests. If this is not enough, you need
to create a ``do_install_ptest`` function and make sure it gets
called after the "make install-ptest" completes.
See the :ref:`test-manual/ptest:Testing Packages With ptest` section of the
Yocto Project Test Environment Manual.
Creating Node Package Manager (NPM) Packages
============================================

View File

@@ -853,3 +853,14 @@ similar to checking out by branch name except you use tag names.
``checkout`` command are a snapshot of the "&DISTRO_NAME_NO_CAP;"
development branch at the point where Yocto Project &DISTRO; was
released.
Initializing the Build Environment
==================================
Before you can use Yocto you need to setup the build environment.
From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment
setup script to define Yocto Project's build environment on your build host::
$ source oe-init-build-env
Note, that this step will have to be repeated every time you open a new shell.

View File

@@ -57,6 +57,10 @@ applied and that the issue needs to be investigated. ``Ignored`` means that afte
analysis, it has been deemed to ignore the issue as it for example affects
the software component on a different operating system platform.
By default, no NVD API key is used to retrieve data from the CVE database, which
results in larger delays between NVD API requests. See the :term:`NVDCVE_API_KEY`
documentation on how to request and set a NVD API key.
After a build with CVE check enabled, reports for each compiled source recipe will be
found in ``build/tmp/deploy/cve``.

View File

@@ -513,7 +513,7 @@ or ::
For more information on how to use the ``bmaptool``
to flash a device with an image, see the
":ref:`dev-manual/bmaptool:flashing images using \`\`bmaptool\`\``"
":ref:`dev-manual/bmaptool:flashing images using \`bmaptool\``"
section.
Using a Modified Kickstart File
@@ -721,7 +721,7 @@ the existing kernel, and then inserts a new kernel:
Once the new kernel is added back into the image, you can use the
``dd`` command or :ref:`bmaptool
<dev-manual/bmaptool:flashing images using \`\`bmaptool\`\`>`
<dev-manual/bmaptool:flashing images using \`bmaptool\`>` commands
to flash your wic image onto an SD card or USB stick and test your
target.

Some files were not shown because too many files have changed in this diff Show More