Bruce Ashfield [Thu, 19 May 2022 15:15:02 +0000 (11:15 -0400)]
linux-yocto/5.10: update to v5.10.113
Updating to the latest korg -stable release that comprises
the following commits:
54af9dd2b958 Linux 5.10.113 7992fdb045fb Revert "net: micrel: fix KS8851_MLL Kconfig" 8bedbc8f7f35 block/compat_ioctl: fix range check in BLKGETSIZE fea24b07edfc staging: ion: Prevent incorrect reference counting behavour dccee748af17 spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller 572761645b88 jbd2: fix a potential race while discarding reserved buffers after an abort 50aac4427360 can: isotp: stop timeout monitoring when no first frame was sent e1e96e372721 ext4: force overhead calculation if the s_overhead_cluster makes no sense 4789149b9ea2 ext4: fix overhead calculation to account for the reserved gdt blocks 0c54b093766b ext4, doc: fix incorrect h_reserved size 22c450d39f89 ext4: limit length to bitmap_maxbytes - blocksize in punch_hole 75ac724684b7 ext4: fix use-after-free in ext4_search_dir a46b3d849864 ext4: fix symlink file size not match to file content f6038d43b25b ext4: fix fallocate to use file_modified to update permissions consistently 19590bbc691d perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event e012f9d1af54 powerpc/perf: Fix power9 event alternatives 0a2cef65b329 drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage f8f8b3124b89 KVM: PPC: Fix TCE handling for VFIO 405d98427416 drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare 231381f52116 drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised 51d9cbbb0f5a perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled 88fcfd6ee6c5 sched/pelt: Fix attach_entity_load_avg() corner case c55327bc3712 arm_pmu: Validate single/group leader events 5580b974a84b ARC: entry: fix syscall_trace_exit argument 7082650eb826 e1000e: Fix possible overflow in LTR decoding 43a2a3734aa3 ASoC: soc-dapm: fix two incorrect uses of list iterator 54e6180c8c2d gpio: Request interrupts after IRQ is initialized 0837ff17d052 openvswitch: fix OOB access in reserve_sfa_size() 19f6dcb1f0f0 xtensa: fix a7 clobbering in coprocessor context load/store f399ab11dd6c xtensa: patch_text: Fixup last cpu should be master ba2716da2336 net: atlantic: invert deep par in pm functions, preventing null derefs 358a3846f6a9 dma: at_xdmac: fix a missing check on list iterator cf23a960c5c6 ata: pata_marvell: Check the 'bmdma_addr' beforing reading 9ca66d791439 mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove() ed5d4efb4df1 oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup 6b932920b96f mm, hugetlb: allow for "high" userspace addresses 50cbc583fa83 EDAC/synopsys: Read the error count from the correct register 7ec6e06ee405 nvme-pci: disable namespace identifiers for Qemu controllers 316bd86c2261 nvme: add a quirk to disable namespace identifiers 76101c8e0c31 stat: fix inconsistency between struct stat and struct compat_stat bf28bba30410 scsi: qedi: Fix failed disconnect handling a284cca3d81a net: macb: Restart tx only if queue pointer is lagging 9581e07b549b drm/msm/mdp5: check the return of kzalloc() 8d71edabb0ab dpaa_eth: Fix missing of_node_put in dpaa_get_ts_info() b3afe5a7fd75 brcmfmac: sdio: Fix undefined behavior due to shift overflowing the constant 202748f44148 mt76: Fix undefined behavior due to shift overflowing the constant 0de9c104d04a net: atlantic: Avoid out-of-bounds indexing 5bef9fc38ffa cifs: Check the IOCB_DIRECT flag, not O_DIRECT e129c55153c8 vxlan: fix error return code in vxlan_fdb_append 8e7ea1136475 arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes cd227ac03f2a ALSA: usb-audio: Fix undefined behavior due to shift overflowing the constant 490815f0b50e platform/x86: samsung-laptop: Fix an unsigned comparison which can never be negative cb17b56a9b4d reset: tegra-bpmp: Restore Handle errors in BPMP response d513ea9b7ef8 ARM: vexpress/spc: Avoid negative array index when !SMP 052e4a661f90 arm64: mm: fix p?d_leaf() 18ff7a2efa4e arm64/mm: Remove [PUD|PMD]_TABLE_BIT from [pud|pmd]_bad() 3bf8ca350170 selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets 520aab8b723c dmaengine: idxd: add RO check for wq max_transfer_size write 9a3c026dc3a5 dmaengine: idxd: add RO check for wq max_batch_size write f593f49fcd17 net: stmmac: Use readl_poll_timeout_atomic() in atomic state 3d55b195747c netlink: reset network and mac headers in netlink_dump() 49516e6ed914 ipv6: make ip6_rt_gc_expire an atomic_t 078d839f11ac l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu 0ac8f83d8f64 net/sched: cls_u32: fix possible leak in u32_init_knode() 93366275be72 ip6_gre: Fix skb_under_panic in __gre6_xmit() 200f96ebb389 ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit() 8fb76adb89f0 net/packet: fix packet_sock xmit return value checking a499cb5f3ef9 net/smc: Fix sock leak when release after smc_shutdown() 60592f16a456 rxrpc: Restore removed timer deletion fc7116a79a86 igc: Fix BUG: scheduling while atomic 46b0e4f998ce igc: Fix infinite loop in release_swfw_sync c075c3ea0317 esp: limit skb_page_frag_refill use to a single page 3f7914dbeacd spi: spi-mtk-nor: initialize spi controller after resume f714abf28f81 dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources 9bc949a181ba dmaengine: imx-sdma: Fix error checking in sdma_event_remap 12aa8021c7a7 ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use b6f474cd3097 ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component 608fc58858bf ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek d29c78d3f9c5 dm: fix mempool NULL pointer race when completing IO cf9b19546494 ALSA: hda/realtek: Add quirk for Clevo NP70PNP 8ce3820fc9d4 ALSA: usb-audio: Clear MIDI port active flag after draining 43ce33a68e2b net/sched: cls_u32: fix netns refcount changes in u32_change() 04dd45d9776e gfs2: assign rgrp glock before compute_bitstructs 378061c9b886 perf tools: Fix segfault accessing sample_id xyarray 5e8446e3820c tracing: Dump stacktrace trigger to the corresponding instance 69848f9488bc mm: page_alloc: fix building error on -Werror=array-compare 08ad7a770efa etherdevice: Adjust ether_addr* prototypes to silence -Wstringop-overead
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8be43ceaf742c4c1b59522ac75df4846cc271461) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Thu, 28 Apr 2022 13:47:59 +0000 (09:47 -0400)]
linux-yocto: enable powerpc debug fragment
gcc12 generates some warnings with arch/powerpc, and we know that
these warnings are understood/non-fatal at runtime.
This fragment allows testing to continue, while upstream powerpc
looks at removing warnings.
We only enable it for 5.10/5.15 standard kernels for now, since
this gets us enough coverage to continue working with gcc12.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 992d9d41642981152a387fe59733cc6a77ea3528)
[Make changes only for 5.10 kernel] Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ovidiu Panait [Sun, 20 Mar 2022 09:29:13 +0000 (11:29 +0200)]
openssl: upgrade 1.1.1l -> 1.1.1n
Upgrade openssl 1.1.1l -> 1.1.1n to fix CVE-2022-0778:
https://nvd.nist.gov/vuln/detail/CVE-2022-0778
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=3118eb64934499d93db3230748a452351d1d9a65
This also fixes an evp_extra_test ptest failure introduced by openssl-1.1.1m:
"""
not ok 19 - test_signatures_with_engine
ERROR: (ptr) 'e = ENGINE_by_id(engine_id) != NULL' failed @ ../openssl-1.1.1m/test/evp_extra_test.c:1890
0x0
not ok 20 - test_cipher_with_engine
<snip>
"""
The ptest change is already present in Yocto master since oe-core
commit 5cd40648b0ba ("openssl: upgrade to 3.0.1").
wic/plugins/rootfs: Fix permissions when splitting rootfs folders across partitions
This patches makes locating the file database containing the file and
folder usernames and permissions more reliable.
In addition to locating it relative to the partition directory, we also
try to locate it relative to the IMAGE_ROOTFS.
Prior to this patch, the database was not found when using
--rootfs-dir=${IMAGE_ROOTFS}/<x> in the WIC script, leading to erronous file
permissions and ownership.
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09e18ee246da8b56f446c4db548fb9c7e895142b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Thu, 28 Apr 2022 13:47:56 +0000 (09:47 -0400)]
linux-yocto/5.10: update to v5.10.112
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
1052f9bce629 Linux 5.10.112 5c62d3bf1410 ax25: Fix UAF bugs in ax25 timers f934fa478dd1 ax25: Fix NULL pointer dereferences in ax25 timers 145ea8d213e8 ax25: fix NPD bug in ax25_disconnect a4942c6fea87 ax25: fix UAF bug in ax25_send_control() b20a5ab0f5fb ax25: Fix refcount leaks caused by ax25_cb_del() 57cc15f5fd55 ax25: fix UAF bugs of net_device caused by rebinding operation 5ddae8d06441 ax25: fix reference count leaks of ax25_dev 5ea00fc60676 ax25: add refcount in ax25_dev to avoid UAF bugs 361288633bfa scsi: iscsi: Fix unbound endpoint error handling 129db30599bc scsi: iscsi: Fix endpoint reuse regression 26f827e095ab dma-direct: avoid redundant memory sync for swiotlb 9a5a4d23e24d timers: Fix warning condition in __run_timers() 84837f43e56f i2c: pasemi: Wait for write xfers to finish 89496d80bf84 smp: Fix offline cpu check in flush_smp_call_function_queue() cd02b2687d66 dm integrity: fix memory corruption when tag_size is less than digest size 0a312ec66a03 ARM: davinci: da850-evm: Avoid NULL pointer dereference 0806f1930562 tick/nohz: Use WARN_ON_ONCE() to prevent console saturation 0275c75955d1 genirq/affinity: Consider that CPUs on nodes can be unbalanced 1fcfe37d170a drm/amdgpu: Enable gfxoff quirk on MacBook Pro 68ae52efa132 drm/amd/display: don't ignore alpha property on pre-multiplied mode a263712ba8c9 ipv6: fix panic when forwarding a pkt with no in6 dev 659214603bf2 nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size 912797e54c99 ALSA: pcm: Test for "silence" field in struct "pcm_format_data" 48d070ca5e7e ALSA: hda/realtek: add quirk for Lenovo Thinkpad X12 speakers 163e16247130 ALSA: hda/realtek: Add quirk for Clevo PD50PNT 5e4dd1799883 btrfs: mark resumed async balance as writing 1d2eda18f6ff btrfs: fix root ref counts in error handling in btrfs_get_root_ref 9b7ec35253c9 ath9k: Fix usage of driver-private space in tx_info 0f65cedae500 ath9k: Properly clear TX status area before reporting to mac80211 cc21ae932656 gcc-plugins: latent_entropy: use /dev/urandom c089ffc846c8 memory: renesas-rpc-if: fix platform-device leak in error path 342454231ee5 KVM: x86/mmu: Resolve nx_huge_pages when kvm.ko is loaded 06c348fde545 mm: kmemleak: take a full lowmem check in kmemleak_*_phys() 20ed94f8181a mm: fix unexpected zeroed page mapping with zram swap 192e507ef894 mm, page_alloc: fix build_zonerefs_node() 000b3921b4d5 perf/imx_ddr: Fix undefined behavior due to shift overflowing the constant ca24c5e8f0ac drivers: net: slip: fix NPD bug in sl_tx_timeout() e8cf1e4d953d scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan 5b7ce74b6bc8 scsi: mvsas: Add PCI ID of RocketRaid 2640 4b44cd584057 drm/amd/display: Fix allocate_mst_payload assert on resume 34ea097fb63d drm/amd/display: Revert FEC check in validation fa5ee7c4232c myri10ge: fix an incorrect free for skb in myri10ge_sw_tso d90df6da50c5 net: usb: aqc111: Fix out-of-bounds accesses in RX fixup 9c12fcf1d864 net: axienet: setup mdio unconditionally b643807a735e tlb: hugetlb: Add more sizes to tlb_remove_huge_tlb_entry 98973d2bdd4a arm64: alternatives: mark patch_alternative() as `noinstr` 2462faffbfa5 regulator: wm8994: Add an off-on delay for WM8994 variant aa8cdedaf760 gpu: ipu-v3: Fix dev_dbg frequency output 150fe861c57c ata: libata-core: Disable READ LOG DMA EXT for Samsung 840 EVOs 1ff5359afa5e net: micrel: fix KS8851_MLL Kconfig d3478709edf2 scsi: ibmvscsis: Increase INITIAL_SRP_LIMIT to 1024 b9a110fa755b scsi: lpfc: Fix queue failures when recovering from PCI parity error aec36b98a1bb scsi: target: tcmu: Fix possible page UAF 43666798059c Drivers: hv: vmbus: Prevent load re-ordering when reading ring buffer 1d7a5aae884c drm/amdkfd: Check for potential null return of kmalloc_array() e5afacc826a8 drm/amdgpu/vcn: improve vcn dpg stop procedure d2e0931e6d84 drm/amdkfd: Fix Incorrect VMIDs passed to HWS 7fc0610ad818 drm/amd/display: Update VTEM Infopacket definition 6906e05cf3ad drm/amd/display: FEC check in timing validation 756c61c1680f drm/amd/display: fix audio format not updated after edid updated 76e086ce7b2d btrfs: do not warn for free space inode in cow_file_range 217190dc66ef btrfs: fix fallocate to use file_modified to update permissions consistently 9b5d1b3413d7 drm/amd: Add USBC connector ID 6f9c06501d28 net: bcmgenet: Revert "Use stronger register read/writes to assure ordering" 504c15f07f54 dm mpath: only use ktime_get_ns() in historical selector 4e166a41180b cifs: potential buffer overflow in handling symlinks 67677050cecb nfc: nci: add flush_workqueue to prevent uaf bfba9722cf2e perf tools: Fix misleading add event PMU debug message 280f721edc54 testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set eb8873b324d9 sctp: Initialize daddr on peeled off socket 45226fac4d31 scsi: iscsi: Fix conn cleanup and stop race during iscsid restart 73805795c99f scsi: iscsi: Fix offload conn cleanup when iscsid restarts 699bd835c36e scsi: iscsi: Move iscsi_ep_disconnect() 46f37a34a53d scsi: iscsi: Fix in-kernel conn failure handling 812573896711 scsi: iscsi: Rel ref after iscsi_lookup_endpoint() 22608545b834 scsi: iscsi: Use system_unbound_wq for destroy_work 4029a1e992fc scsi: iscsi: Force immediate failure during shutdown 17d14456f626 scsi: iscsi: Stop queueing during ep_disconnect da9cf24aa739 scsi: pm80xx: Enable upper inbound, outbound queues e08d26971237 scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63 35b91e49bc80 net/smc: Fix NULL pointer dereference in smc_pnet_find_ib() 98a7f6c4ada4 drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init() 5f78ad93837c drm/msm: Fix range size vs end confusion 5513f9a0b068 cfg80211: hold bss_lock while updating nontrans_list a44938950e5e net/sched: taprio: Check if socket flags are valid 08d5e3e95453 net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link 2ad9d890d850 net: dsa: felix: suppress -EPROBE_DEFER errors f2cc341fcc42 net/sched: fix initialization order when updating chain 0 head 7a7cf8414841 mlxsw: i2c: Fix initialization error flow 43e58e119a2b net: mdio: Alphabetically sort header inclusion 9709c8b5cdc8 gpiolib: acpi: use correct format characters d67c900f1947 veth: Ensure eth header is in skb's linear part 845f44ce3d9f net/sched: flower: fix parsing of ethertype following VLAN header 85ee17ca21cf SUNRPC: Fix the svc_deferred_event trace class af12dd71235c media: rockchip/rga: do proper error checking in probe 563712971202 firmware: arm_scmi: Fix sorting of retrieved clock rates 16c628b0c6fa memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe cb66641f8106 drm/msm: Add missing put_task_struct() in debugfs path 921fdc45a084 btrfs: remove unused variable in btrfs_{start,write}_dirty_block_groups() 5d131318bb87 ACPI: processor idle: Check for architectural support for LPI 503934df3108 cpuidle: PSCI: Move the `has_lpi` check to the beginning of the function cfa98ffc42f1 hamradio: remove needs_free_netdev to avoid UAF 80a4df14643f hamradio: defer 6pack kfree after unregister_netdev f0c31f192f38 drm/amdkfd: Use drm_priv to pass VM from KFD to amdgpu 6c8e5cb264df Linux 5.10.111 d36febbcd537 powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit 5c672073bcca mm/sparsemem: fix 'mem_section' will never be NULL gcc 12 warning 5973f7507a73 irqchip/gic, gic-v3: Prevent GSI to SGI translations 000e09462f85 Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb() e1f540b752cb arm64: module: remove (NOLOAD) from linker script 919823bd6738 selftests: cgroup: Test open-time cgroup namespace usage for migration checks 637eca44b8f7 selftests: cgroup: Test open-time credential usage for migration checks 9dd39d2c6572 selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 e74da71e6614 selftests/cgroup: Fix build on older distros 4665722d36ad cgroup: Use open-time credentials for process migraton perm checks f089471d1b75 mm: don't skip swap entry even if zap_details specified 58823a9b097c ubsan: remove CONFIG_UBSAN_OBJECT_SIZE 03b39bbbec8b dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" 40e00885a61f tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts 75c8558d410f tools build: Filter out options and warnings not supported by clang 6374faf49e89 perf python: Fix probing for some clang command line options 79abc219bafd perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13 82e43950143c drm/amdkfd: Create file descriptor after client is added to smi_clients list 326b408e7ec7 drm/nouveau/pmu: Add missing callbacks for Tegra devices 786ae8de3a5e drm/amdgpu/smu10: fix SoC/fclk units in auto mode ff24114bb08d irqchip/gic-v3: Fix GICR_CTLR.RWP polling 451214b266e9 perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator fc629224aa62 ata: sata_dwc_460ex: Fix crash due to OOB write 7e88a50704b0 gpio: Restrict usage of GPIO chip irq members before initialization 5f54364ff6cf RDMA/hfi1: Fix use-after-free bug for mm struct 8bb41682911f arm64: patch_text: Fixup last cpu should be master a044bca8ef31 btrfs: prevent subvol with swapfile from being deleted 82ae73ac963c btrfs: fix qgroup reserve overflow the qgroup limit fc4bdaed4d4e x86/speculation: Restore speculation related MSRs during S3 resume 8c9e26c890ba x86/pm: Save the MSR validity status at context setup 2827328e646d io_uring: fix race between timeout flush and removal f7e183b0a713 mm/mempolicy: fix mpol_new leak in shared_policy_replace 7d659cb1763f mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0) 6adc01a7aa37 lz4: fix LZ4_decompress_safe_partial read out of bound 8b6f04b4c9d9 mmc: renesas_sdhi: don't overwrite TAP settings when HS400 tuning is complete 029b4170737f mmc: mmci: stm32: correctly check all elements of sg list 41a519c05bee Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" 9de98470db6e arm64: Add part number for Arm Cortex-A78AE 4604b5738d5b perf session: Remap buf if there is no space for event 362ced37690d perf tools: Fix perf's libperf_print callback 65210fac639e perf: arm-spe: Fix perf report --mem-mode bd905fed87ce iommu/omap: Fix regression in probe for NULL pointer dereference b3c00be2ff8b SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec() 9a45e08636bb SUNRPC: Handle low memory situations in call_status() 132cbe2f182a SUNRPC: Handle ENOMEM in call_transmit_status() aed30a205406 io_uring: don't touch scm_fp_list after queueing skb 594205b49367 drbd: Fix five use after free bugs in get_initial_state 970a6bb72912 bpf: Support dual-stack sockets in bpf_tcp_check_syncookie 6c17f4ef3c4f spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op() 8928239e5e2e qede: confirm skb is allocated before using b7893388bb88 net: phy: mscc-miim: reject clause 45 register accesses 08ff0e74fab5 rxrpc: fix a race in rxrpc_exit_net() 5ae05b5eb587 net: openvswitch: fix leak of nested actions 42ab401d22de net: openvswitch: don't send internal clone attribute to the userspace. e54ea8fc51ca ice: synchronize_rcu() when terminating rings e3dd1202ab2e ipv6: Fix stats accounting in ip6_pkt_drop ffce126c952e ice: Do not skip not enabled queues in ice_vc_dis_qs_msg b003fc4913ea ice: Set txq_teid to ICE_INVAL_TEID on ring creation ebd1e3458dbf dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe 43c2d7890eca IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition 3a57babfb6e9 RDMA/mlx5: Don't remove cache MRs when a delay is needed d8992b393f97 sfc: Do not free an empty page_ring 0ac74169ebc3 bnxt_en: reserve space inside receive page for skb_shared_info f8b0ef0a5889 drm/imx: Fix memory leak in imx_pd_connector_get_modes 25bc9fd4c8d1 drm/imx: imx-ldb: Check for null pointer after calling kmemdup 02ab4abe5bbf net: stmmac: Fix unset max_speed difference between DT and non-DT platforms 63ea57478aaa net: ipv4: fix route with nexthop object delete warning 4be6ed03107b ice: Clear default forwarding VSI during VSI release 589154d0f189 net/tls: fix slab-out-of-bounds bug in decrypt_internal c5f77b595379 scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() 45b9932b4daa NFSv4: fix open failure with O_ACCMODE flag c688705a3978 Revert "NFSv4: Handle the special Linux file open access mode" cf580d2e3884 Drivers: hv: vmbus: Fix potential crash on module unload 0c122eb3a109 drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire() 84e5dfc05f37 Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build" 3c3fbfa6dddb mm: fix race between MADV_FREE reclaim and blkdev direct IO read 1753a49e266d parisc: Fix patch code locking and flushing f7c35220305f parisc: Fix CPU affinity for Lasi, WAX and Dino chips c74e2f6ecc51 NFS: Avoid writeback threads getting stuck in mempool_alloc() 34681aeddcfc NFS: nfsiod should not block forever in mempool_alloc() 7a506fabcfe1 SUNRPC: Fix socket waits for write buffer space b9c5ac0a15f2 jfs: prevent NULL deref in diFree c69b442125bf virtio_console: eliminate anonymous module_init & module_exit 3309b3221711 serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() 9cb90f9ad597 x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy b3882e78aa0a NFS: swap-out must always use STABLE writes. d4170a28217a NFS: swap IO handling is slightly different for O_DIRECT IO 4b6f122bdfdc SUNRPC: remove scheduling boost for "SWAPPER" tasks. f4fc47e71e32 SUNRPC/xprt: async tasks mustn't block waiting for memory f9244d31e05a SUNRPC/call_alloc: async tasks mustn't block waiting for memory e2b2542f7452 clk: Enforce that disjoints limits are invalid 1e9b5538cf16 clk: ti: Preserve node in ti_dt_clocks_register() a2a0e04f6478 xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 4a2544ce244b NFSv4: Protect the state recovery thread against direct reclaim 9b9feec97c1f NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() 2e16895d06e6 w1: w1_therm: fixes w1_seq for ds28ea00 sensors 93498c6e775a staging: wfx: fix an error handling in wfx_init_common() 8f1d24f85ffd phy: amlogic: meson8b-usb2: Use dev_err_probe() aa0b72967853 staging: vchiq_core: handle NULL result of find_service_by_handle be4ecca95819 clk: si5341: fix reported clk_rate when output divider is 2 c9cf6baabf78 minix: fix bug when opening a file with O_DIRECT 8d9efd4434e3 init/main.c: return 1 from handled __setup() functions f44297861296 ceph: fix memory leak in ceph_readdir when note_last_dentry returns error d745512d54fd netlabel: fix out-of-bounds memory accesses 2cc803804ec9 Bluetooth: Fix use after free in hci_send_acl 789621df1963 MIPS: ingenic: correct unit node address 61e25021e67a xtensa: fix DTC warning unit_address_format f6b9550f5367 usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm a4dd3e9e5ae8 net: sfp: add 2500base-X quirk for Lantech SFP module 278b652f0ad9 net: limit altnames to 64k total 423e7107f61f net: account alternate interface name memory 74c4d5025551 can: isotp: set default value for N_As to 50 micro seconds 1d7effe5fff9 scsi: libfc: Fix use after free in fc_exch_abts_resp() 02222bf4f0a2 powerpc/secvar: fix refcount leak in format_show() fd416c3f5a4c MIPS: fix fortify panic when copying asm exception handlers 7c657c0694ff PCI: endpoint: Fix misused goto label 79cfc0052f39 bnxt_en: Eliminate unintended link toggle during FW reset 9567d54e70ff Bluetooth: use memset avoid memory leaks f9b183f1332a Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg} 647b35aaf454 tuntap: add sanity checks about msg_controllen in sendmsg 797b4ea9515e macvtap: advertise link netns via netlink 142ae7d4f215 mips: ralink: fix a refcount leak in ill_acc_of_setup() f2565cb40e9b net/smc: correct settings of RMB window update limit 224903cc60d0 scsi: hisi_sas: Free irq vectors in order for v3 HW f49ffaa85d2c scsi: aha152x: Fix aha152x_setup() __setup handler return value 91ee8a14efb6 mt76: mt7615: Fix assigning negative values to unsigned variable d83574666bac scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req() a0bb65eadbf9 scsi: pm8001: Fix tag leaks on error 2051044d7901 scsi: pm8001: Fix task leak in pm8001_send_abort_all() 3bd9a28798ca scsi: pm8001: Fix pm8001_mpi_task_abort_resp() ef969095c442 scsi: pm8001: Fix pm80xx_pci_mem_copy() interface fe4b6d5a0dd7 drm/amdkfd: make CRAT table missing message informational only 2f2f017ea873 dm: requeue IO if mapping table not yet available 71c8df33fd77 dm ioctl: prevent potential spectre v1 gadget f655b724b440 ipv4: Invalidate neighbour for broadcast address upon address addition bae03957e8ca iwlwifi: mvm: Correctly set fragmented EBS 9538563d31a2 power: supply: axp288-charger: Set Vhold to 4.4V c66cc0404367 PCI: pciehp: Add Qualcomm quirk for Command Completed erratum b1b27b0e8d48 tcp: Don't acquire inet_listen_hashbucket::lock with disabled BH. b02a1a65023f PCI: endpoint: Fix alignment fault error in copy tests 4820847e8bc2 usb: ehci: add pci device support for Aspeed platforms 0b9cf0b59925 iommu/arm-smmu-v3: fix event handling soft lockup e07e420a0056 PCI: aardvark: Fix support for MSI interrupts 6694b8643bde drm/amdgpu: Fix recursive locking warning ea21eaea7f5f powerpc: Set crashkernel offset to mid of RMA region fb5ac62fbe16 ipv6: make mc_forwarding atomic 5baf92a2c46c libbpf: Fix build issue with llvm-readelf 26a1e4739e44 cfg80211: don't add non transmitted BSS to 6GHz scanned channels 9a56e2b271bc mt76: dma: initialize skip_unmap in mt76_dma_rx_fill b42b6d0ec358 power: supply: axp20x_battery: properly report current when discharging de9505936c47 scsi: bfa: Replace snprintf() with sysfs_emit() ed7db959203e scsi: mvsas: Replace snprintf() with sysfs_emit() 995f51788868 bpf: Make dst_port field in struct bpf_sock 16-bit wide 339bd0b55ecd ath11k: mhi: use mhi_sync_power_up() c6a815f5abdf ath11k: fix kernel panic during unload/load ath11k modules e4d2d7201356 powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 02e2ee861984 ptp: replace snprintf with sysfs_emit 9ea17b9f1dd0 usb: gadget: tegra-xudc: Fix control endpoint's definitions 07971b818e18 usb: gadget: tegra-xudc: Do not program SPARAM 927beb05aaa4 drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj 85313d9bc7bd drm/amd/display: Add signal type check when verify stream backends same 9d7d83d0399e ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 850c4351e895 drm: Add orientation quirk for GPD Win Max a24479c5e9f4 KVM: x86/emulator: Emulate RDPID only if it is enabled in guest 66b0fa6b2218 KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs 2e52a294700b rtc: wm8350: Handle error for wm8350_register_irq 0777fe98a44c gfs2: gfs2_setattr_size error path fix f349d7f9ee6d gfs2: Fix gfs2_release for non-writers regression 3f53715fd55c gfs2: Check for active reservation in gfs2_release 2dc49f58a29c ubifs: Rectify space amount budget for mkdir/tmpfile operations
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a5b51284c28013563bf654aa41287b1288684fb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Max Krummenacher [Mon, 22 Nov 2021 16:34:58 +0000 (17:34 +0100)]
perf: sort-pmuevents: don't drop elements
If a struct element neither has an element cpuid or name it gets silenty
dropped.
Kernel 5.15 for some ARCHs have at least one array of structs matching
this.
e.g. for arm pmu-events.c:
Bruce Ashfield [Tue, 12 Apr 2022 21:46:02 +0000 (17:46 -0400)]
lttng-modules: support kernel 5.18+
Backporting changes from lttng master to support building against
the 5.18+ kernel. No changes required to the patches. Once a new
-stable 2.13.x is released, we can drop these patches. To enable
newer kernel development against the LTS, it is worth pulling these
in while we wait for an upstream release.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8a7237a47488442513741930ea55d69dd6bd7be4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Fri, 6 May 2022 15:56:03 +0000 (16:56 +0100)]
scripts/git: Ensure we don't have circular references
This is horrible but I'm running out of better ideas. We hit circular reference
issues which we were trying to avoid in the core HOSTTOOLS code. When building
the eSDK, there can be two copies of the script.
Therefore assume git will never be in a directory called scripts. This
fixes eSDK build failures.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27de610ac30d4c81352efc794df7e9b1060f7a68) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Fri, 6 May 2022 15:56:02 +0000 (16:56 +0100)]
scripts: Make git intercept global
The previous minimially invasive git intercept simply isn't enough. For example,
meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure
step so at install time, changing PATH has no effect.
There are lots of interesting things we could do to try and avoid problems but
making the git intercept and dropping fakeroot privs for git global is probably
the least worst solution at this point. It will add slight overhead to git calls
but we don't make many so the overall impact is likely minimal.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Paul Gortmaker [Wed, 20 Apr 2022 15:11:41 +0000 (11:11 -0400)]
install/devshell: Introduce git intercept script due to fakeroot issues
In a devshell, recent versions of git will complain if the repo is owned
by someone other than the current UID - consider this example:
------
bitbake -c devshell linux-yocto
[...]
kernel-source#git branch
fatal: unsafe repository ('/home/paul/poky/build-qemuarm64/tmp/work-shared/qemuarm64/kernel-source' is owned by someone else)
To add an exception for this directory, call:
Of course the devshell has UID zero and the "real" UID is for "paul" in
this case. And so recent git versions complain.
As the whole purpose of the devshell is to invoke a shell where development
can take place, having a non-functional git is clearly unacceptable.
Richard suggested we could use PSEUDO_UNLOAD=1 to evade this issue, and I
suggested we probably will see other similar instances like this and should
make use of PATH to intercept via devshell wrappers - conveniently we already
have examples of this.
Here, we copy the existing "ar" example and tune it to the needs of git to
combine Richard's suggestion and mine.
As such we now also can store commit logs and use send-email with our user
specific settings, instead of "root", so in additon to fixing basic
commands like "git branch" it should also increase general usefulness.
RP: Tweaked the patch so the PATH change only applies to the devshell task
and is a generic git intercept rather than devshell specific.
RP: Also apply the PATH change to do_install tasks since that also runs under
fakeroot and several software projects inject "git describe" output into
their binaries (systemd, iputils, llvm, ipt-gpu-tools at least) causing
reproducibility issues from systems with different git versions.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3266c327dfa186791e0f1e2ad63c6f5d39714814) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Fri, 6 May 2022 15:56:00 +0000 (16:56 +0100)]
oeqa/selftest: add test for git working correctly inside pseudo
The fix for CVE-2022-24765 in git[1] breaks any use of git inside
pseudo. Add a simple test case to oe-selftest to verify that at least
basic uses of git work fine under pseudo.
Davide Gardenal [Wed, 4 May 2022 08:39:04 +0000 (10:39 +0200)]
rootfs-postcommands: fix symlinks where link and output path are equal
When creating the manifest and the testdata.json links, if the link
name is equal to the output name the link is not created, otherwise
it is. This prevents a link-to-self in the first case.
The tarball (neard-0.16.tar.xz) fetched by the recipe is incomplete.
Few plugins (e.g. tizen) and tests scripts (e.g. Test-channel, test-see,
neard-ui.py, ndef-agent etc) are missing.
Since neard did not release latest tarballs, so as per community
recommendation switching the recipe SRC_URI to git repo.
Community Discussion:
https://lists.openembedded.org/g/openembedded-core/topic/90058043#163681
Ross Burton [Tue, 26 Apr 2022 12:07:20 +0000 (13:07 +0100)]
bitbake.conf: mark all directories as safe for git to read
Recent git releases containing [1] have an ownership check when opening
repositories, and refuse to open a repository if it is owned by a
different user.
This breaks any use of git in do_install, as that is executed by the
(fake) root user. Whilst not common, this does happen.
Setting the git configuration safe.directories=* disables this check, so
that git is usable in fakeroot tasks. This can be set globally via the
internal environment variable GIT_CONFIG_PARAMETERS, we can't use
GIT_CONFIG_*_KEY/VALUE as that isn't present in all the releases which
have the ownership check.
We already set GIT_CEILING_DIRECTORIES to ensure that git doesn't
recurse up out of the work directory, so this isn't a security issue.
Richard Purdie [Wed, 20 Apr 2022 11:54:23 +0000 (13:54 +0200)]
shadow-native: Simplify and fix syslog disable patch
Shadow is happily spamming the host syslog with messages and shouldn't be
which suggests the patch isn't working. Redo it to work at the configure
level which is simpler and hopefully more effective.
This is a squashed cherry-pick of commit 8f181686 (shadow-native:
Simplify and fix syslog disable patch) and commit e1f21d0d (shadow:
Disable the use of syslog() for the native tools).
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
According to the WHENCE file, some a3k firmware files are licensed
under the special ar3k license, while others are licensed under the more
generic Atheros license. Document this by adding extending the
LICENSE:${PN}-ar3k and depending on both of them.
Richard Purdie [Fri, 15 Apr 2022 08:09:18 +0000 (09:09 +0100)]
alsa-tools: Ensure we install correctly
With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sat, 16 Apr 2022 10:53:26 +0000 (03:53 -0700)]
libxshmfence: Correct LICENSE to HPND
The license in this code is listed as MIT and whilst it is compatible with and
usable as MIT, it actually looks like HPND. Clarify the license field accordingly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Mon, 11 Apr 2022 22:02:26 +0000 (23:02 +0100)]
externalsrc/devtool: Fix to work with fixed export funcition flags handling
If we fix bitbake to correctly handle the cleandirs and fakeroot flags
for tasks handled by EXPORT_FUNCTIONS, we break devtool since it only
considers these for top level functions. Add in extra code to intercept
the cleandirs flags for commonly used sub functions too.
[YOCTO #8621]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 67fad829f37ed0a8e20c599d2b65635158591d06) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Sat, 9 Apr 2022 20:26:24 +0000 (21:26 +0100)]
uninative: Upgrade to 3.6 with gcc 12 support
There are reports of issues with the new libstdc++ from gcc 12. This upgrades
to a gcc 12 version of uninative to allow builds on those systems. Gcc 12 isn't
finalised so we may need to add a new version of this if/as appropriate when it
is.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e3da4da7e5da5bb9e1d360e2be2fdd5132e69320) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Mon, 14 Mar 2022 13:35:00 +0000 (13:35 +0000)]
scripts/runqemu: Fix memory limits for qemux86-64
When setting memory to 4GB, qemu is only running with 2GB for x86_64.
Avoid this by removing the mem= option to the kernel and letting the
qemu configuration handle it for x86 in a similar way to mips.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2fd53417eba354c31c058c4bb066bb882e098add) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ralph Siemsen [Fri, 11 Mar 2022 16:58:54 +0000 (11:58 -0500)]
libxml2: move to gitlab.gnome.org
The project has migrated from www.xmlsoft.org to gitlab.gnome.org.
Update the homepage accordingly, and use gnomebase to construct the
download URL, rather than including it in SRC_URI explicitly.
Note that the download is now in .xz format rather than .gz, so the
sha256sum is updated accordingly. Post-decompression tarballs are
identical, so there is no change to the libxml2 code.
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8bc17ceb997f8f31a03e5f5efc41c03ef1df3add) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Richard Purdie [Wed, 23 Mar 2022 14:24:11 +0000 (14:24 +0000)]
sanity: Add warning for local hasheqiv server with remote sstate mirrors
We're seeing a lot of users configuring an sstate mirror but not realising that
the default hash equivalenve setting will make this ineffective. Add a warning
to highlight this to the user for the common case.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ae4eb33b5a6a037348e8f66e3d4f19b58dba8fa2) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Tue, 22 Mar 2022 17:19:59 +0000 (13:19 -0400)]
linux-yocto/5.10: update to v5.10.107
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
4c8814277b5d Linux 5.10.107 7a0d13ef67a1 arm64: kvm: Fix copy-and-paste error in bhb templates for v5.10 stable dc1163203ae6 io_uring: return back safer resurrect 8fdaab341bad kselftest/vm: fix tests build with old libc 2490695ffdba sfc: extend the locking on mcdi->seqno 2fad5b694896 tcp: make tcp_read_sock() more robust 3f9a8f8a952c nl80211: Update bss channel on channel switch for P2P_CLIENT 0ba557d33094 drm/vrr: Set VRR capable prop only if it is attached to connector 9a8e4a5c5b73 iwlwifi: don't advertise TWT support c5ea0221c816 atm: firestream: check the return value of ioremap() in fs_init() efdd92c18ed4 can: rcar_canfd: rcar_canfd_channel_probe(): register the CAN device when fully ready ebe106eac686 ARM: 9178/1: fix unmet dependency on BITREVERSE for HAVE_ARCH_BITREVERSE e8ad9ecc4069 MIPS: smp: fill in sibling and core maps earlier 8c70b9b47004 mac80211: refuse aggregations sessions before authorized d687d7559e24 ARM: dts: rockchip: fix a typo on rk3288 crypto-controller 6f0a94931c47 ARM: dts: rockchip: reorder rk322x hmdi clocks 6493c6aa8b44 arm64: dts: agilex: use the compatible "intel,socfpga-agilex-hsotg" c5c8c649fee0 arm64: dts: rockchip: reorder rk3399 hdmi clocks f7f062919f41 arm64: dts: rockchip: fix rk3399-puma eMMC HS400 signal integrity ca142038a54f xfrm: Fix xfrm migrate issues when address family changes d8889a445b53 xfrm: Check if_id in xfrm_migrate 6056abc99b58 sctp: fix the processing for INIT chunk bdf0316982f0 Revert "xfrm: state and policy should fail if XFRMA_IF_ID 0" 327f1e7d813c Linux 5.10.106 648895da69ce watch_queue: Fix filter limit check 8bb5b72dbd9a ARM: fix Thumb2 regression with Spectre BHB 6b1249db9e1c ext4: add check to prevent attempting to resize an fs with sparse_super2 b297cf764d8c x86/traps: Mark do_int3() NOKPROBE_SYMBOL 29f6f3500127 x86/boot: Add setup_indirect support in early_memremap_is_setup_data() b3444e5b640a x86/boot: Fix memremap of setup_indirect structures 24d268130e3c watch_queue: Make comment about setting ->defunct more accurate ec03510e0a77 watch_queue: Fix lack of barrier/sync/lock between post and read 06ab8444392a watch_queue: Free the alloc bitmap when the watch_queue is torn down 880acbb718e1 watch_queue: Fix the alloc bitmap size to reflect notes allocated e2b52ca4988e watch_queue: Fix to always request a pow-of-2 pipe ring size 2039900aadba watch_queue: Fix to release page in ->release() d729d4e99fb8 watch_queue, pipe: Free watchqueue state after clearing pipe ring 573a3228ca32 virtio: acknowledge all features before access bf52b627cf47 virtio: unexport virtio_finalize_features 8bfb959ea28d arm64: dts: marvell: armada-37xx: Remap IO space to bus address 0x0 1ef5fe3dba2a riscv: Fix auipc+jalr relocation range checks a69aa422b478 mmc: meson: Fix usage of meson_mmc_post_req() 0c6eeaf8c168 net: macb: Fix lost RX packet wakeup race in NAPI receive 6d9700b44509 staging: gdm724x: fix use after free in gdm_lte_rx() 8c1bc04c8c82 staging: rtl8723bs: Fix access-point mode deadlock ab5595b45f73 fuse: fix pipe buffer lifetime for direct_io f2c52a4baf56 ARM: Spectre-BHB: provide empty stub for non-config f1f5d089fcc6 selftests/memfd: clean up mapping in mfd_fail_write 71013d071b50 selftest/vm: fix map_fixed_noreplace test failure 8d276f10e84a tracing: Ensure trace buffer is at least 4096 bytes large ae7597b47dda ipv6: prevent a possible race condition with lifetimes 8c0c50e9fcff Revert "xen-netback: Check for hotplug-status existence before watching" 625c04b523ca Revert "xen-netback: remove 'hotplug-status' once it has served its purpose" a0e2768fb901 gpio: Return EPROBE_DEFER if gc->to_irq is NULL 65d4e9d130fb hwmon: (pmbus) Clear pmbus fault/warning bits after read d15c9f6e3335 net-sysfs: add check for netdevice being present to speed_show 8c023c303978 spi: rockchip: terminate dma transmission when slave abort 889254f98e99 spi: rockchip: Fix error in getting num-cs property 4fb9be675be8 selftests/bpf: Add test for bpf_timer overwriting crash dc1c2b47b539 net: bcmgenet: Don't claim WOL when its not available b7e4d9ba2ddb sctp: fix kernel-infoleak for SCTP sockets 3cf533f12001 net: phy: DP83822: clear MISR2 register to disable interrupts 21044e679ed5 gianfar: ethtool: Fix refcount leak in gfar_get_ts_info 3a4cd1c51eea gpio: ts4900: Do not set DAT and OE together 7702e7e9e396 selftests: pmtu.sh: Kill tcpdump processes launched by subshell. 2b1c85f56512 NFC: port100: fix use-after-free in port100_send_complete 1fdabf2cf42b net/mlx5e: Lag, Only handle events from highest priority multipath entry f3331bc17449 net/mlx5: Fix a race on command flush flow 5f1340963b11 net/mlx5: Fix size field in bufferx_reg struct e2201ef32f93 ax25: Fix NULL pointer dereference in ax25_kill_by_device cc7679079c7e net: ethernet: lpc_eth: Handle error for clk_enable b3e4fcb53921 net: ethernet: ti: cpts: Handle error for clk_enable 5e42f90d7220 tipc: fix incorrect order of state message data sanity check 979b418b96e3 ethernet: Fix error handling in xemaclite_of_probe 506d61bc1b50 ice: Fix curr_link_speed advertised speed 852a9e97d396 ice: Rename a couple of variables b21ffd5469a9 ice: Remove unnecessary checker loop 875967aff5a6 ice: Align macro names to the specification 8c613f7cd3ca ice: stop disabling VFs due to PF error responses d9ee2cbff2e9 i40e: stop disabling VFs due to PF error responses 965070a2b71d ARM: dts: aspeed: Fix AST2600 quad spi group 96b01b854151 net: dsa: mt7530: fix incorrect test in mt753x_phylink_validate() ed5bb00d8604 drm/sun4i: mixer: Fix P010 and P210 format numbers 93223495bce5 qed: return status of qed_iov_get_link 5bee2ed0508b esp: Fix BEET mode inter address family tunneling on GSO 16386479ef59 net: qlogic: check the return value of dma_alloc_coherent() in qed_vf_hw_prepare() 33c74f808596 isdn: hfcpci: check the return value of dma_set_mask() in setup_hw() cca9d5035bd0 virtio-blk: Don't use MAX_DISCARD_SEGMENTS if max_discard_seg is zero a3d5fcc6cf2e mISDN: Fix memory leak in dsp_pipeline_build() f97ad179d12f mISDN: Remove obsolete PIPELINE_DEBUG debugging information 2de76d37d4a6 tipc: fix kernel panic when enabling bearer ea3a5e6df512 arm64: dts: armada-3720-turris-mox: Add missing ethernet0 alias 2c6a75ea32f9 HID: vivaldi: fix sysfs attributes leak 2a18a38cbc3b clk: qcom: gdsc: Add support to update GDSC transition delay 0d6882dd158e ARM: boot: dts: bcm2711: Fix HVS register range 67c781d938b8 Linux 5.10.105 561e91e5fee8 Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE" 206c8e271ba2 xen/netfront: react properly to failing gnttab_end_foreign_access_ref() 39c00d09286c xen/gnttab: fix gnttab_end_foreign_access() without page specified c4b16486d602 xen/pvcalls: use alloc/free_pages_exact() 8357d75bfdb8 xen/9p: use alloc/free_pages_exact() 17f01b7206af xen: remove gnttab_query_foreign_access() 5f36ae75b847 xen/gntalloc: don't use gnttab_query_foreign_access() 304725518277 xen/scsifront: don't use gnttab_query_foreign_access() for mapped status f6690dd9446a xen/netfront: don't use gnttab_query_foreign_access() for mapped status 96219af4e504 xen/blkfront: don't use gnttab_query_foreign_access() for mapped status 3d81e85f30a8 xen/grant-table: add gnttab_try_end_foreign_access() 5c600371b8fd xen/xenbus: don't let xenbus_grant_ring() remove grants in error case 90f59cc2f2cc ARM: fix build warning in proc-v7-bugs.c 8c4192d126ba ARM: Do not use NOCROSSREFS directive with ld.lld 1749b553d73b ARM: fix co-processor register typo a330601c637b ARM: fix build error when BPF_SYSCALL is disabled b65b87e718c3 arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting 551717cf3b58 arm64: Use the clearbhb instruction in mitigations 38c26bdb3cc5 KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated e192c8baa69a arm64: Mitigate spectre style branch history side channels 192023e6baf7 KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A 13a807a0a080 arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2 1f63326a5211 arm64: Add percpu vectors for EL1 56cf5326bdf9 arm64: entry: Add macro for reading symbol addresses from the trampoline 3f21b7e35523 arm64: entry: Add vectors that have the bhb mitigation sequences 49379552969a arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations 26211252c1c1 arm64: entry: Allow the trampoline text to occupy multiple pages 73ee716a1f63 arm64: entry: Make the kpti trampoline's kpti sequence optional 8c691e5308c5 arm64: entry: Move trampoline macros out of ifdef'd section e55025063276 arm64: entry: Don't assume tramp_vectors is the start of the vectors 5275fb5ea5f5 arm64: entry: Allow tramp_alias to access symbols after the 4K boundary bda89602814c arm64: entry: Move the trampoline data page before the text page d93b25a66548 arm64: entry: Free up another register on kpti's tramp_exit path 5242d6971e10 arm64: entry: Make the trampoline cleanup optional 7048a21086fb arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit dc5b630c0d53 arm64: entry.S: Add ventry overflow sanity checks 97d8bdf33182 arm64: cpufeature: add HWCAP for FEAT_RPRES 162aa002ec1a arm64: cpufeature: add HWCAP for FEAT_AFP dbcfa9853953 arm64: add ID_AA64ISAR2_EL1 sys register 7ae8127e4123 arm64: Add HWCAP for self-synchronising virtual counter b19eaa004f2e arm64: Add Cortex-A510 CPU part definition 86171569312b arm64: Add Cortex-X2 CPU part definition fc8070a9c5ad arm64: Add Neoverse-N2, Cortex-A710 CPU part definition f3c12fc53e0a arm64: cputype: Add CPU implementor & types for the Apple M1 cores 302754d023a0 ARM: include unprivileged BPF status in Spectre V2 reporting 3f9c958e3572 ARM: Spectre-BHB workaround 29d9b56df1e1 ARM: use LOADADDR() to get load address of sections 46deb224680b ARM: early traps initialisation b7f1e73c4ddf ARM: report Spectre v2 status through sysfs d04937ae9490 x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT cc9e3e55bde7 x86/speculation: Warn about Spectre v2 LFENCE mitigation e335384560d1 x86/speculation: Update link to AMD speculation whitepaper 2fdf67a1d215 x86/speculation: Use generic retpoline by default on AMD afc2d635b5e1 x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting 071e8b69d780 Documentation/hw-vuln: Update spectre doc a6a119d647ad x86/speculation: Add eIBRS + Retpoline options f38774bb6e23 x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE 206cfe2dac3e x86,bugs: Unconditionally allow spectre_v2=retpoline,amd 97581b56b59f Linux 5.10.104 dbbe09d95377 hamradio: fix macro redefine warning dcd03efd7e8d Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6" 292e1c88b8a5 btrfs: add missing run of delayed items after unlink during log replay 41712c5fa518 btrfs: qgroup: fix deadlock between rescan worker and remove qgroup 6e0319e77083 btrfs: fix lost prealloc extents beyond eof after full fsync 827172ffa999 tracing: Fix return value of __setup handlers 78059b1cfcd9 tracing/histogram: Fix sorting on old "cpu" value 0e188fde82d7 HID: add mapping for KEY_ALL_APPLICATIONS f276ea5035aa HID: add mapping for KEY_DICTATE 3b8f2a7aed80 Input: samsung-keypad - properly state IOMEM dependency a621ae6394ce Input: elan_i2c - fix regulator enable count imbalance after suspend/resume 1397bbcd817f Input: elan_i2c - move regulator_[en|dis]able() out of elan_[en|dis]able_power() 988f4f29cc44 net: dcb: disable softirqs in dcbnl_flush_dev() 6828da5dea53 drm/amdgpu: fix suspend/resume hang regression f5e496ef73f3 nl80211: Handle nla_memdup failures in handle_nan_filter 64e4305a03d0 iavf: Refactor iavf state machine tracking e6bc597fbcb2 net: chelsio: cxgb3: check the return value of pci_find_capability() 320980b2496d ibmvnic: complete init_done on transport events 86027004bb9d ARM: tegra: Move panels to AUX bus fbb810825aff soc: fsl: qe: Check of ioremap return value 2824f6939e26 soc: fsl: guts: Add a missing memory allocation failure check 3afe488d5c9c soc: fsl: guts: Revert commit 3c0d64e867ed 44709130793b ARM: dts: Use 32KiHz oscillator on devkit8000 298f6fae544f ARM: dts: switch timer config to common devkit8000 devicetree 8b20c1999d3a s390/extable: fix exception table sorting 49aa9c9c7fa7 memfd: fix F_SEAL_WRITE after shmem huge page allocated 6acbc8875282 ibmvnic: free reset-work-item when flushing 9d8a11d74de5 igc: igc_write_phy_reg_gpy: drop premature return 223744f52133 pinctrl: sunxi: Use unique lockdep classes for IRQs 2851b76e5fd0 selftests: mlxsw: tc_police_scale: Make test more robust 85bf489c5c01 ARM: 9182/1: mmu: fix returns from early_param() and __setup() functions 6b6341049086 ARM: Fix kgdb breakpoint for Thumb2 fefe4cb4a640 igc: igc_read_phy_reg_gpy: drop premature return 0632854fb171 arm64: dts: rockchip: Switch RK3399-Gru DP to SPDIF output 43eaf1b17845 can: gs_usb: change active_channels's type from atomic_t to u8 daaed6ced88c ASoC: cs4265: Fix the duplicated control name 8b8ac465bf52 firmware: arm_scmi: Remove space in MODULE_ALIAS name 667df6fe3ece efivars: Respect "block" flag in efivar_entry_set_safe() 283c37e5429e ixgbe: xsk: change !netif_carrier_ok() handling in ixgbe_xmit_zc() 5f394102ee27 net: arcnet: com20020: Fix null-ptr-deref in com20020pci_probe() 92b791771abd ibmvnic: register netdev after init of adapter 6e0f986032c5 net: sxgbe: fix return value of __setup handler e1a82db1ebaf iavf: Fix missing check for running netdev c9a066fe4593 mac80211: treat some SAE auth steps as final e6d7f57f919f net: stmmac: fix return value of __setup handler fa65989a4867 mac80211: fix forwarded mesh frames AC & queue selection dcc3423c1dca ia64: ensure proper NUMA distance and possible map initialization 1312ef5ad0a5 sched/topology: Fix sched_domain_topology_level alloc in sched_init_numa() d753aecb3d4b sched/topology: Make sched_init_numa() use a set for the deduplicating sort 05ae1f0fe9c6 ice: fix concurrent reset and removal of VFs 41edeeaae51a ice: Fix race conditions between virtchnl handling and VF ndo ops 0c145262ac99 rcu/nocb: Fix missed nocb_timer requeue 9bb7237cc740 net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error cause by server d7eb662625eb net/smc: fix unexpected SMC_CLC_DECL_ERR_REGRMB error generated by client 2e8d465b83db net/smc: fix connection leak 6a8a4dc2a279 net: dcb: flush lingering app table entries for unregistered devices f4c63b24dea9 net: ipv6: ensure we call ipv6_mc_down() at most once a9c4a74ad5ae batman-adv: Don't expect inter-netns unique iflink indices 3dae11d21fc8 batman-adv: Request iflink once in batadv_get_real_netdevice dcf10d78ff2c batman-adv: Request iflink once in batadv-on-batadv check 81f817f3e559 netfilter: nf_queue: handle socket prefetch 4d05239203fa netfilter: nf_queue: fix possible use-after-free 3b9ba964f77c netfilter: nf_queue: don't assume sk is full socket 4e178ed14bda net: fix up skbs delta_truesize in UDP GRO frag_list eb5e444fe37d e1000e: Correct NVM checksum verification flow b53d4bfd1a68 xfrm: enforce validity of offload input flags 2f0e6d80e8b5 xfrm: fix the if_id check in changelink 24efaae03b0d bpf, sockmap: Do not ignore orig_len parameter 8b0142c4143c netfilter: fix use-after-free in __nf_register_net_hook() 4952faa77d8d xfrm: fix MTU regression e93f2be33d4f mm: Consider __GFP_NOWARN flag for oversized kvmalloc() calls 912186db092c ntb: intel: fix port config status offset for SPR 1c0b51e62a50 thermal: core: Fix TZ_GET_TRIP NULL pointer dereference a1753d5c29a6 xen/netfront: destroy queues before real_num_tx_queues is zeroed ce41d8039196 drm/i915: s/JSP2/ICP2/ PCH 61a895da4844 iommu/amd: Recover from event log overflow 6951a5888165 ASoC: ops: Shift tested values in snd_soc_put_volsw() by +min dd9dd24fd7cb riscv: Fix config KASAN && DEBUG_VIRTUAL 7211aab2881b riscv: Fix config KASAN && SPARSEMEM && !SPARSE_VMEMMAP 00fb385f0ac4 riscv/efi_stub: Fix get_boot_hartid_from_fdt() return value 336872601cb8 ALSA: intel_hdmi: Fix reference to PCM buffer address e57dfaf66f2b tracing: Add ustring operation to filtering string pointers 4a9d2390f3e2 drm/amdgpu: check vm ready by amdgpu_vm->evicting flag 67e25eb1b474 ata: pata_hpt37x: fix PCI clock detection 335f11ff74f2 serial: stm32: prevent TDR register overwrite when sending x_char c999c5927e96 tracing: Add test for user space strings when filtering on string pointers db36a94ed66b exfat: fix i_blocks for files truncated over 4 GiB 1b810d5cb6ce exfat: reuse exfat_inode_info variable instead of calling EXFAT_I() fdd64084e405 usb: gadget: clear related members when goto fail c13159a58881 usb: gadget: don't release an existing dev->buf 00d5ac05af3a net: usb: cdc_mbim: avoid altsetting toggling for Telit FN990 16f903afbafb i2c: qup: allow COMPILE_TEST 57c333ad8c28 i2c: cadence: allow COMPILE_TEST 9d6285e63241 dmaengine: shdma: Fix runtime PM imbalance on error 37b06d5ebf5c selftests/seccomp: Fix seccomp failure by adding missing headers df9db1a2af37 cifs: fix double free race when mount fails in cifs_get_root() e3850e211df6 tipc: fix a bit overflow in tipc_crypto_key_rcv() 6d4985b8a0bf KVM: arm64: vgic: Read HW interrupt pending state from the HW 5d4b00e053fc Input: clear BTN_RIGHT/MIDDLE on buttonpads 6e7015d982ee regulator: core: fix false positive in regulator_late_cleanup() 467d664e5fff ASoC: rt5682: do not block workqueue if card is unbound 0b050b7a0d73 ASoC: rt5668: do not block workqueue if card is unbound 11956c6eeb5a i2c: bcm2835: Avoid clock stretching timeouts 13f0ea8d1193 mac80211_hwsim: initialize ieee80211_tx_info at hw_scan_work 46f6d66219b5 mac80211_hwsim: report NOACK frames in tx_status
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1e600731a459c1dfe14032e5242806a25f091b41) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Tue, 15 Mar 2022 16:23:43 +0000 (16:23 +0000)]
devupstream: fix handling of SRC_URI
As the class handler runs before overrides are actually applied we need
to check both SRC_URI:class-devupstream and SRC_URI, otherwise the
automatic assignment of S="${WORKDIR}/git" for git repositories does
not work if the base recipe uses http: but :class-devupstream has a git://
entry instead.
Also, there's no need to set S:class-devupstream, we can just assign to
S here.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d0edb03088d0d1c20c899daed1bb3a7110b19670) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
and so an "import crate" occurs when pstating_fetch() is called. That succeeds
and all is well but the bb.fetch2.get_srcrev(d) call fails since there is no url
in SRC_URI which supports srcrev() resulting in:
| WARNING: rust-cross-core2-32-musl-1.54.0-r0 do_deploy_source_date_epoch_setscene: ExpansionError('SRCPV', '${@crate_get_srcrev(d)}', FetchError('SRCREV was used yet no valid SCM was found in SRC_URI', None))
| WARNING: Logfile for failed setscene task is /home/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/x86_64-linux/rust-cross-core2-32-musl/1.54.0-r0/temp/log.do_deploy_source_date_epoch_setscene.3133099
| WARNING: Setscene task (/home/pokybuild/yocto-worker/musl-qemux86/build/meta/recipes-devtools/rust/rust-cross_1.54.0.bb:do_deploy_source_date_epoch_setscene) failed with exit code '1' - real task will be run instead
[YOCTO #14680]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chee Yang Lee [Thu, 17 Mar 2022 07:32:47 +0000 (15:32 +0800)]
go: update to 1.16.15
go1.16.15 (released 2022-03-03) includes a security fix to the regexp/syntax package, as well as bug fixes to the compiler, runtime, the go command, and to the net package.
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Jose Quaresma [Sun, 6 Mar 2022 21:08:23 +0000 (21:08 +0000)]
sstate: inside the threadedpool don't write to the shared localdata
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1fa763b2022822a76fde541724e83e1977833d03) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:16 +0000 (20:25 -0500)]
linux-yocto/5.10: update to v5.10.103
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
915a747ac7f3 Linux 5.10.103 78706b051a8a memblock: use kfree() to release kmalloced memblock regions 4185b788d3ad gpio: tegra186: Fix chip_data type confusion bb2e0a77235a tty: n_gsm: fix deadlock in gsmtty_open() e4c8cb95d035 tty: n_gsm: fix wrong tty control line for flow control 1f0641dd0b6c tty: n_gsm: fix NULL pointer access due to DLCI release 1e35cb9e1271 tty: n_gsm: fix proper link termination after failed open 90b47e617fb2 tty: n_gsm: fix encoding of control signal octet bit DV 9e2dbc31e367 riscv: fix oops caused by irqsoff latency tracer e098933866f9 thermal: int340x: fix memory leak in int3400_notify() 5b1cef5798b4 RDMA/cma: Do not change route.addr.src_addr outside state checks 8fe4da55246a driver core: Free DMA range map when device is released 214824764308 xhci: Prevent futile URB re-submissions due to incorrect return value. 0b0a229da1f2 xhci: re-initialize the HC during resume if HCE was set 328faee6d409 usb: dwc3: gadget: Let the interrupt handler disable bottom halves. e57bdee8661e usb: dwc3: pci: Fix Bay Trail phy GPIO mappings 99b2425d9178 usb: dwc2: drd: fix soft connect when gadget is unconfigured c7866880377b USB: serial: option: add Telit LE910R1 compositions 220ba174f192 USB: serial: option: add support for DW5829e 3a1dd56e566f tracefs: Set the group ownership in apply_options() not parse_options() bfa8ffbaaaaf USB: gadget: validate endpoint index for xilinx udc 4ce247af3f30 usb: gadget: rndis: add spinlock for rndis response list ddc254fc8873 Revert "USB: serial: ch341: add new Product ID for CH341A" d3fce1b6bd95 ata: pata_hpt37x: disable primary channel on HPT371 18701d8afaa1 sc16is7xx: Fix for incorrect data being transmitted d5ddd7343adf iio: Fix error handling for PM eabcc609cb8a iio: imu: st_lsm6dsx: wait for settling time in st_lsm6dsx_read_oneshot b8d411a96227 iio: adc: ad7124: fix mask used for setting AIN_BUFP & AIN_BUFM bits 1aa12ecfdcba iio: adc: men_z188_adc: Fix a resource leak in an error handling path afbeee13beb5 tracing: Have traceon and traceoff trigger honor the instance 99eb8d694174 RDMA/ib_srp: Fix a deadlock a7ab53d3c27d configfs: fix a race in configfs_{,un}register_subsystem() 0ecd3e35d78e RDMA/rtrs-clt: Move free_permit from free_clt to rtrs_clt_close b0ecf9e59414 RDMA/rtrs-clt: Kill wait_for_inflight_permits 8260f1800f83 RDMA/rtrs-clt: Fix possible double free in error case dc64aa4c7dc0 regmap-irq: Update interrupt clear register for proper reset 2efece1368ae spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op() 67819b983eb3 net/mlx5e: kTLS, Use CHECKSUM_UNNECESSARY for device-offloaded packets be55d3e76c0e net/mlx5: Fix wrong limitation of metadata match on ecpf 8d617110d78e net/mlx5: Fix possible deadlock on rule deletion 1c5912895545 udp_tunnel: Fix end of loop test in udp_tunnel_nic_unregister() a184f4dd9b33 surface: surface3_power: Fix battery readings on batteries without a serial number 91f56a85278e net/smc: Use a mutex for locking "struct smc_pnettable" 7e9880e81d3f netfilter: nf_tables: fix memory leak during stateful obj update af4bc921d39d nfp: flower: Fix a potential leak in nfp_tunnel_add_shared_mac() 58a6d5f24f49 net: Force inlining of checksum functions in net/checksum.h 550d98ab3007 net: ll_temac: check the return value of devm_kmalloc() 0fc184735996 net/sched: act_ct: Fix flow table lookup after ct clear or switching zones bc8f768af342 net/mlx5e: Fix wrong return value on ioctl EEPROM query failure fd020eaaa24a drm/edid: Always set RGB444 1df9d552fe84 openvswitch: Fix setting ipv6 fields causing hw csum failure dac2490d9ee0 gso: do not skip outer ip header in case of ipip and net_failover b692d5dc6f54 tipc: Fix end of loop tests for list_for_each_entry() c5722243d0e5 net: __pskb_pull_tail() & pskb_carve_frag_list() drop_monitor friends 4a93c6594613 io_uring: add a schedule point in io_add_buffers() 7ef94bfb08fb bpf: Add schedule points in batch ops 4f5d47e6b43f selftests: bpf: Check bpf_msg_push_data return value d0caa7218d76 bpf: Do not try bpf_msg_push_data with len 0 962b2a3188bf hwmon: Handle failure to register sensor with thermal zone correctly d8b78314c5ba bnxt_en: Fix active FEC reporting to ethtool 7e1eae5d1a7c bnx2x: fix driver load from initrd 51e96061c66c perf data: Fix double free in perf_session__delete() 5419b5be883b ping: remove pr_err from ping_lookup 5da17865c7f3 optee: use driver internal tee_context for some rpc eb354613847d tee: export teedev_open() and teedev_close_context() bae7fc6f0dc6 x86/fpu: Correct pkru/xstate inconsistency 68f19845f580 netfilter: nf_tables_offload: incorrect flow offload action array size 69560efa0013 CDC-NCM: avoid overflow in sanity checking 2aeba1ea7ce8 USB: zaurus: support another broken Zaurus 4f5f5411f0c1 sr9700: sanity check for packet length 55eec5c630ea drm/i915: Correctly populate use_sagv_wm for all pipes ff9134882dfa drm/amdgpu: disable MMHUB PG for Picasso 72fdfc75d421 KVM: x86/mmu: make apf token non-zero to fix bug 646b532f32ea parisc/unaligned: Fix ldw() and stw() unalignment handlers 397b5433f742 parisc/unaligned: Fix fldd and fstd unaligned handlers on 32-bit kernel 698dc7d13c4e vhost/vsock: don't check owner in vhost_vsock_stop() while releasing 84e303b4d53f clk: jz4725b: fix mmc0 clock gating 72a5b01875b2 btrfs: tree-checker: check item_size for dev_item 5c967dd07311 btrfs: tree-checker: check item_size for inode_item fcec42dd28d6 cgroup/cpuset: Fix a race between cpuset_attach() and cpu hotplug 47667effb7d2 Linux 5.10.102 6062d1267ff3 lockdep: Correct lock_classes index mapping f333c1916fd6 i2c: brcmstb: fix support for DSL and CM variants 9fee985f9afa copy_process(): Move fd_install() out of sighand->siglock critical section e3fdbc40b750 i2c: qcom-cci: don't put a device tree node before i2c_add_adapter() b5b2a9211713 i2c: qcom-cci: don't delete an unregistered adapter 3b6d25d1b6a2 dmaengine: sh: rcar-dmac: Check for error num after dma_set_max_seg_size 2c35c95d3640 dmaengine: stm32-dmamux: Fix PM disable depth imbalance in stm32_dmamux_probe 4f907b6eb701 dmaengine: sh: rcar-dmac: Check for error num after setting mask 797b380f0756 net: sched: limit TC_ACT_REPEAT loops 595c259f75ae EDAC: Fix calculation of returned address and next offset in edac_align_ptr() f6ce4e328939 scsi: lpfc: Fix pt2pt NVMe PRLI reject LOGO loop 3680b2b8104b kconfig: fix failing to generate auto.conf b6787e284d3d net: macb: Align the dma and coherent dma masks 439171a2917c net: usb: qmi_wwan: Add support for Dell DW5829e 15616ba17d02 tracing: Fix tp_printk option related with tp_printk_stop_on_boot 5a253a23d9f1 drm/rockchip: dw_hdmi: Do not leave clock enabled in error case 1e7433fb95cc xprtrdma: fix pointer derefs in error cases of rpcrdma_ep_create a21f472fb5cc soc: aspeed: lpc-ctrl: Block error printing on probe defer cases fecb05b1ce6b ata: libata-core: Disable TRIM on M88V29 b19ec7afa929 lib/iov_iter: initialize "flags" in new pipe_buffer 30455322787a kconfig: let 'shell' return enough output for deep path names e05dde47f52a selftests: fixup build warnings in pidfd / clone3 tests 531a56c2e0bf pidfd: fix test failure due to stack overflow on some arches 429ef36c4fc4 arm64: dts: meson-g12: drop BL32 region from SEI510/SEI610 1415f22ee541 arm64: dts: meson-g12: add ATF BL32 reserved-memory region 605080f19eb7 arm64: dts: meson-gx: add ATF BL32 reserved-memory region eefb68794f94 netfilter: conntrack: don't refresh sctp entries in closed state 1ab48248573b irqchip/sifive-plic: Add missing thead,c900-plic match string 98bc06c46d1f phy: usb: Leave some clocks running during suspend 717f2fa85822 ARM: OMAP2+: adjust the location of put_device() call in omapdss_init_of 6932353af74c ARM: OMAP2+: hwmod: Add of_node_put() before break 521dcc107e39 NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cache fb00319afb72 KVM: x86/pmu: Use AMD64_RAW_EVENT_MASK for PERF_TYPE_RAW 0ee4bb8ce8b8 KVM: x86/pmu: Don't truncate the PerfEvtSeln MSR when creating a perf event 99cd2a043760 KVM: x86/pmu: Refactoring find_arch_event() to pmc_perf_hw_id() 91d8866ca552 Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj a176d559e826 mtd: rawnand: brcmnand: Fixed incorrect sub-page ECC status 1a49b1b0b0cb mtd: rawnand: qcom: Fix clock sequencing in qcom_nandc_probe() 8c848744c11b tty: n_tty: do not look ahead for EOL character past the end of the buffer 8daa0436ce79 NFS: Do not report writeback errors in nfs_getattr() f9b7385c0f62 NFS: LOOKUP_DIRECTORY is also ok with symlinks 598dbaf74b64 block/wbt: fix negative inflight counter when remove scsi device dc6faa0ede4d ASoC: tas2770: Insert post reset delay 9dcedbe943be KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests a4eeeaca5019 mtd: rawnand: gpmi: don't leak PM reference in error path fb26219b4046 powerpc/lib/sstep: fix 'ptesync' build error 54f76366cd01 ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw_range() 0df1badfdfcd ASoC: ops: Fix stereo change notifications in snd_soc_put_volsw() 1ef76832fef3 ALSA: hda: Fix missing codec probe on Shenker Dock 15 c72c3b597a79 ALSA: hda: Fix regression on forced probe mask option 63b1602c2fd5 ALSA: hda/realtek: Fix deadlock by COEF mutex b6a5e8f45f89 ALSA: hda/realtek: Add quirk for Legion Y9000X 2019 67de71b94331 selftests/exec: Add non-regular to TEST_GEN_PROGS d3018a196221 perf bpf: Defer freeing string after possible strlen() on it 016e3ca9c588 dpaa2-eth: Initialize mutex used in one step timestamping path 50f3b00d4c7b libsubcmd: Fix use-after-free for realloc(..., 0) ffa8df4f0e8f bonding: fix data-races around agg_select_timer d9bd9d4c60c3 net_sched: add __rcu annotation to netdev->qdisc 877a05672f95 drop_monitor: fix data-race in dropmon_net_event / trace_napi_poll_hit a0e004e6206e bonding: force carrier update when releasing slave 8dec3c4e7350 ping: fix the dif and sdif check in ping_lookup 6793a9b028ce net: ieee802154: ca8210: Fix lifs/sifs periods f48bd3413771 net: dsa: lantiq_gswip: fix use after free in gswip_remove() d9b2203e5a30 net: dsa: lan9303: fix reset on probe 4f523f15e5d7 ipv6: per-netns exclusive flowlabel checks 100344200a0c netfilter: nft_synproxy: unregister hooks on init error path 26931971db5f selftests: netfilter: fix exit value for nft_concat_range b26ea3f6b7b0 iwlwifi: pcie: gen2: fix locking when "HW not ready" 8867f993790d iwlwifi: pcie: fix locking when "HW not ready" f3c1910257c8 drm/i915/gvt: Make DRM_I915_GVT depend on X86 87cd1bbd6677 vsock: remove vsock from connected table when connect is interrupted by a signal eb7bf11e8ef1 drm/i915/opregion: check port number bounds for SWSCI display power state 5564d83ebc1b drm/radeon: Fix backlight control on iMac 12,1 008508c16af0 iwlwifi: fix use-after-free 44b81136e868 kbuild: lto: Merge module sections if and only if CONFIG_LTO_CLANG is enabled 8b53e5f737bc kbuild: lto: merge module sections 45102b538a9e random: wake up /dev/random writers after zap 143aaf79bafa gcc-plugins/stackleak: Use noinstr in favor of notrace de55891e162c Revert "module, async: async_synchronize_full() on module init iff async is used" 3c958dbcba18 x86/Xen: streamline (and fix) PV CPU enumeration e76d0a9692c5 drm/amdgpu: fix logic inversion in check 324f5bdc52ec nvme-rdma: fix possible use-after-free in transport error_recovery work e192184cf8bc nvme-tcp: fix possible use-after-free in transport error_recovery work 0ead57ceb21b nvme: fix a possible use-after-free in controller reset during load fe9ac3eaa2e3 scsi: pm8001: Fix use-after-free for aborted SSP/STP sas_task d872e7b5fe38 scsi: pm8001: Fix use-after-free for aborted TMF sas_task 1e73f5cfc160 quota: make dquot_quota_sync return errors from ->sync_fs c405640aad56 vfs: make freeze_super abort when sync_filesystem returns error b9a229fd48bf ax25: improve the incomplete fix to avoid UAF and NPD bugs 139fce2992ee selftests: skip mincore.check_file_mmap when fs lacks needed support 204a2390da42 selftests: openat2: Skip testcases that fail with EOPNOTSUPP 2be48bfac713 selftests: openat2: Add missing dependency in Makefile 74a30666b4b5 selftests: openat2: Print also errno in failure messages bfc84cfd909b selftests/zram: Adapt the situation that /dev/zram0 is being used f0eba714c11d selftests/zram01.sh: Fix compression ratio calculation 7bb704b69fb1 selftests/zram: Skip max_comp_streams interface on newer kernel 0fd484644c68 net: ieee802154: at86rf230: Stop leaking skb's 0c18a751930c kselftest: signal all child processes 1136141f19ab selftests: rtc: Increase test timeout so that all tests run 79175b6ee658 platform/x86: ISST: Fix possible circular locking dependency detected 066c905ed06c platform/x86: touchscreen_dmi: Add info for the RWC NANOTE P8 AY07J 2-in-1 0b17d4b51c63 btrfs: send: in case of IO error log it 78a68bbebdcc parisc: Add ioread64_lo_hi() and iowrite64_lo_hi() ade1077c7fc0 PCI: hv: Fix NUMA node assignment when kernel boots with custom NUMA topology 254090925e16 mm: don't try to NUMA-migrate COW pages that have other uses ab2b4e65a130 mmc: block: fix read single on recovery logic 775671687299 parisc: Fix sglist access in ccio-dma.c f8f519d7df66 parisc: Fix data TLB miss in sba_unmap_sg 4d569b959e54 parisc: Drop __init from map_pages declaration 8e3f9a098eca serial: parisc: GSC: fix build when IOSAPIC is not set fe383750d40d Revert "svm: Add warning message for AVIC IPI invalid target" 126382b5565f HID:Add support for UGTABLET WP5540 f100e758cef5 scsi: lpfc: Fix mailbox command failure during driver initialization 4578b979ef61 can: isotp: add SF_BROADCAST support for functional addressing 5d42865fc311 can: isotp: prevent race between isotp_bind() and isotp_setsockopt() db3f3636e4ae fs/proc: task_mmu.c: don't read mapcount for migration entry 0849f83e4782 fget: clarify and improve __fget_files() implementation 657991fb06a4 rcu: Do not report strict GPs for outgoing CPUs 8c8385972ea9 mm: memcg: synchronize objcg lists with a dedicated spinlock d0f4aa2d978f drm/nouveau/pmu/gm200-: use alternate falcon reset sequence
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e234210aa40655d14cf6c5b12cd5d39b460b1e9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:13 +0000 (20:25 -0500)]
linux-yocto/5.10: Fix ramoops/ftrace
Integrating the following commit(s) to linux-yocto/5.10:
253c752ed120 pstore/ftrace: Add and use ftrace_test_recursion_trylock_safe 356e8a12bd66 pstore/ftrace: Add recursion protection to the ftrace callback 334706a1e873 ftrace: Add ftrace_test_recursion_trylock() helper function 78c260d7f60b ftrace: Move the recursion testing into global headers
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b848a47033f492eaa0d5a02e42374b493734473e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Bruce Ashfield [Sat, 5 Mar 2022 01:25:12 +0000 (20:25 -0500)]
linux-yocto/5.10: update to v5.10.101
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
3969aba589d6 Linux 5.10.101 cb86e511e78e iommu: Fix potential use-after-free during probe f6b5d51976fc perf: Fix list corruption in perf_cgroup_switch() ce3ca12c632a arm64: dts: imx8mq: fix lcdif port node 759aeacdfe70 scsi: lpfc: Reduce log messages seen after firmware download 57c5d7d42076 scsi: lpfc: Remove NVMe support if kernel has NVME_FC disabled 199dab00f043 can: isotp: fix error path in isotp_sendmsg() to unlock wait queue 3b10ebeb95d7 Makefile.extrawarn: Move -Wunaligned-access to W=1 ad53060bdfc3 hwmon: (dell-smm) Speed up setting of fan speed 3c75d1017cb3 phy: ti: Fix missing sentinel for clk_div_table 6eabe53492c2 speakup-dectlk: Restore pitch setting 3836a5ff4bb7 USB: serial: cp210x: add CPI Bulk Coin Recycler id 51b03a9bcd99 USB: serial: cp210x: add NCR Retail IO box id a21e6b2e0864 USB: serial: ch341: add support for GW Instek USB2.0-Serial devices 7113440a36c7 USB: serial: option: add ZTE MF286D modem b7ed2f9619cc USB: serial: ftdi_sio: add support for Brainboxes US-159/235/320 e07dde31acc9 usb: raw-gadget: fix handling of dual-direction-capable endpoints e9f9b877eb0e usb: gadget: f_uac2: Define specific wTerminalType fb4ff0f96de3 usb: gadget: rndis: check size of RNDIS_MSG_SET command 22ec10047285 USB: gadget: validate interface OS descriptor requests 351159167cd8 usb: gadget: udc: renesas_usb3: Fix host to USB_ROLE_NONE transition 3bfca3891480 usb: dwc3: gadget: Prevent core from processing stale TRBs 2a17bd9f5210 usb: ulpi: Call of_node_put correctly 8b89a6916681 usb: ulpi: Move of_node_put to ulpi_dev_release 758290defe93 net: usb: ax88179_178a: Fix out-of-bounds accesses in RX fixup a66a2b17b8c8 Revert "usb: dwc2: drd: fix soft connect when gadget is unconfigured" 73961057e9dc usb: dwc2: drd: fix soft connect when gadget is unconfigured a37960df7eac eeprom: ee1004: limit i2c reads to I2C_SMBUS_BLOCK_MAX 1b99fe34e26d n_tty: wake up poll(POLLRDNORM) on receiving data f1b25737156c vt_ioctl: add array_index_nospec to VT_ACTIVATE 778302ca0949 vt_ioctl: fix array_index_nospec in vt_setactivate 22249886dc5b net: dsa: mv88e6xxx: fix use-after-free in mv88e6xxx_mdios_unregister 3a3c65c487a4 net: mscc: ocelot: fix mutex lock error during ethtool stats read 809f030745b2 ice: fix IPIP and SIT TSO offload cf11949b9163 ice: fix an error code in ice_cfg_phy_fec() f8edc6feab4d dpaa2-eth: unregister the netdev before disconnecting from the PHY ff6c9e0fcee5 net: amd-xgbe: disable interrupts during pci removal 657aea782887 tipc: rate limit warning for received illegal binding update ef5cdae8bc00 net: mdio: aspeed: Add missing MODULE_DEVICE_TABLE bf99c144360d veth: fix races around rq->rx_notify_masked 00e6d6c3bc14 net: fix a memleak when uncloning an skb dst and its metadata 2e9fd2d0f69e net: do not keep the dst cache when uncloning an skb dst and its metadata 0bae953d7ab5 nfp: flower: fix ida_idx not being released 09ac0fcb0a82 ipmr,ip6mr: acquire RTNL before calling ip[6]mr_free_table() on failure path e177d2e85ebc net: dsa: lantiq_gswip: don't use devres for mdiobus 95e5402f9430 net: dsa: felix: don't use devres for mdiobus 2770b795294e net: dsa: bcm_sf2: don't use devres for mdiobus 475ce5dcf2d8 net: dsa: ar9331: register the mdiobus under devres 8ccebe77df6e net: dsa: mv88e6xxx: don't use devres for mdiobus 4a384c1e4058 bonding: pair enable_port with slave_arr_updates 1ba45dd32667 gpio: sifive: use the correct register to read output values 48e413087de1 ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE 3b72d3f0205e drm/panel: simple: Assign data from panel_dpi_probe() correctly bf35639192ed ixgbevf: Require large buffers for build_skb on 82599VF e5a64f548a45 arm64: dts: meson-g12b-odroid-n2: fix typo 'dio2133' 04fe6569a7cf netfilter: ctnetlink: disable helper autoassign a5ce7ee5fcc0 misc: fastrpc: avoid double fput() on failed usercopy 21c890ca8eae drm/vc4: hdmi: Allow DBLCLK modes even if horz timing is odd. 70ea005626a9 gpio: aggregator: Fix calling into sleeping GPIO controllers 0042178a69eb usb: f_fs: Fix use-after-free for epfile 5a37fd9fdcce ARM: dts: imx7ulp: Fix 'assigned-clocks-parents' typo 39bf132a6ed5 phy: xilinx: zynqmp: Fix bus width setting for SGMII 108868dae2ee ARM: dts: imx6qdl-udoo: Properly describe the SD card detect 0a7b5e8d8c1e staging: fbtft: Fix error path in fbtft_driver_module_init() 74cd5cb2190f ARM: dts: meson8b: Fix the UART device-tree schema validation 566b558e9429 ARM: dts: meson8: Fix the UART device-tree schema validation 210d70f08100 ARM: dts: meson: Fix the UART compatible strings 88f0e61354f4 ARM: dts: Fix timer regression for beagleboard revision c c943a297ec3c drm/rockchip: vop: Correct RK3399 VOP register fields a941384fba3f PM: s2idle: ACPI: Fix wakeup interrupts handling fcbac51a64d3 ACPI/IORT: Check node revision for PMCG resources 57ede0ce6500 nvme-tcp: fix bogus request completion when failing to send AER 3a669d77e5b3 ARM: socfpga: fix missing RESET_CONTROLLER 435e62d5666a ARM: dts: Fix boot regression on Skomer b217b89e607c ARM: dts: imx23-evk: Remove MX23_PAD_SSP1_DETECT from hog group 3f9843f2f65e riscv: fix build with binutils 2.38 3aa5c8657292 KVM: VMX: Set vmcs.PENDING_DBG.BS on #DB in STI/MOVSS blocking shadow bd39fe29bbbb KVM: SVM: Don't kill SEV guest if SMAP erratum triggers in usermode 9efad4cb0365 KVM: nVMX: Also filter MSR_IA32_VMX_TRUE_PINBASED_CTLS when eVMCS db58a3d978b4 KVM: nVMX: eVMCS: Filter out VM_EXIT_SAVE_VMX_PREEMPTION_TIMER dc129275a7f7 KVM: eventfd: Fix false positive RCU usage warning 87bbd78a2cd1 net: stmmac: dwmac-sun8i: use return val of readl_poll_timeout() c9b8cc1046f0 nvme-pci: add the IGNORE_DEV_SUBNQN quirk for Intel P4500/P4600 SSDs d0774cf73056 perf: Always wake the parent event a117e986e9cc usb: dwc2: gadget: don't try to disable ep0 in dwc2_hsotg_suspend 4607218fde84 PM: hibernate: Remove register_nosave_region_late() 0e42c4a3d732 scsi: myrs: Fix crash in error case 3bc5b128b9a2 scsi: ufs: Treat link loss as fatal error 12cf1208035d scsi: pm8001: Fix bogus FW crash for maxcpus=1 87f187e5265b scsi: qedf: Fix refcount issue when LOGO is received during TMF aa7352aa155e scsi: qedf: Add stag_work to all the vports 150d448c663d scsi: ufs: ufshcd-pltfrm: Check the return value of devm_kstrdup() 7dbda616fc64 scsi: target: iscsi: Make sure the np under each tpg is unique 67baac10dd5a powerpc/fixmap: Fix VM debug warning on unmap 3d0eafd459b2 net: sched: Clarify error message when qdisc kind is unknown 9b569faabd22 drm: panel-orientation-quirks: Add quirk for the 1Netbook OneXPlayer 0d6b9d15ecb4 x86/perf: Avoid warning for Arch LBR without XSAVE b37dd03f2fc6 NFSv4 handle port presence in fs_location server string 6f2974b52b15 NFSv4 expose nfs_parse_server_name function 5a9c613a29e7 NFSv4 remove zero number of fs_locations entries error check 1c79aad1186b NFSv4.1: Fix uninitialised variable in devicenotify c5619c510f04 nfs: nfs4clinet: check the return value of kstrdup() db053bdece3a NFSv4 only print the label when its queried e2b4435fd340 NFS: change nfs_access_get_cached to only report the mask b4e0c9bcf142 tracing: Propagate is_signed to expression 5234de6c7975 drm/amdgpu: Set a suitable dev_info.gart_page_size 6215fb455893 NFSD: Fix offset type in I/O trace points 3a6a2d43e32a NFSD: Clamp WRITE offsets c72f7c2ec3d4 NFS: Fix initialisation of nfs_client cl_flags field f47ee3a35ffb net: phy: marvell: Fix MDI-x polarity setting in 88e1118-compatible PHYs 6a33aa711327 net: phy: marvell: Fix RGMII Tx/Rx delays setting in 88e1121-compatible PHYs 7b53d2204ce7 can: isotp: fix potential CAN frame reception race in isotp_rcv() c9cc027c55bb mmc: sdhci-of-esdhc: Check for error num after setting mask 8027ba480c00 ima: Do not print policy rule with inactive LSM labels 8171c8a99fea ima: Allow template selection with ima_template[_fmt]= after ima_hash= 0795b7100d25 ima: Remove ima_policy file before directory 7fea2e520003 integrity: check the return value of audit_log_start() d4f7d322a4ad Linux 5.10.100 3c7e59435535 tipc: improve size validations for received domain records 2951d2168976 crypto: api - Move cryptomgr soft dependency into algapi b62267b8b06e KVM: s390: Return error on SIDA memop on normal guest be93028d306d moxart: fix potential use-after-free on remove path
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d67621e8f8b4f37e1357f19fc7da2de12de4bee5) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Tean Cunningham [Tue, 1 Mar 2022 21:25:39 +0000 (14:25 -0700)]
rootfs-postcommands: amend systemd_create_users add user to group check
Currently when adding a user to a group ('m' type), the conditional
check to only create a user/group if it does not exist always resolves
to true. This causes a build exit failure if the user and/or group
defined in the sysusers configuration file were already created prior to
the execution of systemd_create_users().
This logic has been updated to instead fail silently (consistent with
'u' and 'g' type). Additionally, if a user doesn't exist it will be
created without the default group.
Signed-off-by: Tean Cunningham <tean.cunningham@digi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 65649be6b2196ab964c69605d0306bfc2481da33) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Robert Yang [Wed, 2 Mar 2022 07:12:58 +0000 (23:12 -0800)]
cups: Add --with-dbusdir to EXTRA_OECONF for deterministic build
The configure checks /etc/dbus-1 and set DBUSDIR is null:
if test -d /etc/dbus-1 -a "x$DBUSDIR" = x; then
DBUSDIR="/etc/dbus-1"
fi
So that the build resutl would be different w/o /etc/dbus-1:
/etc/dbus-1/system.d/cups.conf (Only exists when DBUSDIR is set)
Add --with-dbusdir to EXTRA_OECONF to fix the issue
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e4b2464138601c4c20882c001ef11eef5100395) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Robert Yang [Wed, 2 Mar 2022 07:12:56 +0000 (23:12 -0800)]
quilt: Disable external sendmail for deterministic build
Otherwise, the build results would be different w/o host's /usr/sbin/sendmail:
1) The /usr/share/quilt/compat/sendmail will be genrated if no
/usr/sbin/sendmail on host
2) No /usr/share/quilt/compat/sendmail if host's has /usr/sbin/sendmail
Use --without-sendmail to make it always generate /usr/share/quilt/compat/sendmail.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3f9320816ac9f9ec8815754d1951cecb58612f70) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Ross Burton [Wed, 23 Feb 2022 12:54:31 +0000 (12:54 +0000)]
cve-check: get_cve_info should open the database read-only
All of the function in cve-check should open the database read-only, as
the only writer is the fetch task in cve-update-db. However,
get_cve_info() was failing to do this, which might be causing locking
issues with sqlite.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8de517238f1f418d9af1ce312d99de04ce2e26fc) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Native depmod by default try to find config files from the following
directories:
```
${STAGING_ETCDIR_NATIVE}/depmod.d
/run/depmod.d
/usr/local/lib/depmod.d
/lib/depmod.d
```
but none of them is correct, change to load config files from
${sysconfdir}/depmod.d of basedir.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aa03d77f009af2b03246554566de2a1eea3f5e2f) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>