summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* linux-yocto-rt/5.10: fix 5.10-rt build breakageBruce Ashfield2021-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5.10-stable included a backport of: Author: Eric W. Biederman <ebiederm@xmission.com> Date: Thu Dec 3 14:11:13 2020 -0600 rwsem: Implement down_read_interruptible [ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ] In preparation for converting exec_update_mutex to a rwsem so that multiple readers can execute in parallel and not deadlock, add down_read_interruptible. This is needed for perf_event_open to be converted (with no semantic changes) from working on a mutex to wroking on a rwsem. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org Signed-off-by: Sasha Levin <sashal@kernel.org> We implement a -rt variant to fix the build issues. (From OE-Core rev: 448e2210cbe66d52b175d29df16edc4aeda4c961) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.90Bruce Ashfield2021-02-033-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ceed81a883dc Linux 5.4.90 6f484096196b regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init() bbb2fee395e9 net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet bd0051a5cb05 block: fix use-after-free in disk_part_iter_next c5fe50e18fcb KVM: arm64: Don't access PMCR_EL0 when no PMU is available f595e44b161a net: mvpp2: disable force link UP during port init procedure 5b8d3c3a9fcb regulator: qcom-rpmh-regulator: correct hfsmps515 definition 3582406b9c04 wan: ds26522: select CONFIG_BITREVERSE 480c5e9c7e4c regmap: debugfs: Fix a memory leak when calling regmap_attach_dev c3c774886790 net/mlx5e: Fix two double free cases ce74b5a0689d net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups a2b2ae3812e5 bpftool: Fix compilation failure for net.o with older glibc 2992e3371a3a iommu/intel: Fix memleak in intel_irq_remapping_alloc 006319327d21 lightnvm: select CONFIG_CRC32 46c15eeb0a8a block: rsxx: select CONFIG_CRC32 4834a984e456 wil6210: select CONFIG_CRC32 b28378bc91d0 qed: select CONFIG_CRC32 cc196d4604c9 dmaengine: xilinx_dma: fix mixed_enum_type coverity warning d0eaf8a8eff8 dmaengine: xilinx_dma: fix incompatible param warning in _child_probe() e6f247a5f927 dmaengine: xilinx_dma: check dma_async_device_register return value c15556cb344a dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function 55503711adff i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated 12e8bcaef61a spi: stm32: FIFO threshold level - fix align packet size 9ff4796e6fd9 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get() 4dd15f9bc881 can: kvaser_pciefd: select CONFIG_CRC32 82adac5ad13b can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop() 3b68980596fb can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver b77e0283efdc dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk() f6dd8c259ab8 i2c: sprd: use a specific timeout to avoid system hang up issue 8d0cadc2ea64 ARM: OMAP2+: omap_device: fix idling of devices during probe 003280bd8845 HID: wacom: Fix memory leakage caused by kfifo_alloc 6f367fb1b7ee iio: imu: st_lsm6dsx: fix edge-trigger interrupts 87ea51c90280 vmlinux.lds.h: Add PGO and AutoFDO input sections 099340d3e758 exfat: Month timestamp metadata accidentally incremented bb039d45ebc5 x86/resctrl: Don't move a task to the same resource group 628af07fc5cd x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR 96fb3d28c885 chtls: Fix chtls resources release sequence fac9b53cfacb chtls: Added a check to avoid NULL pointer dereference 38768ea1127d chtls: Replace skb_dequeue with skb_peek dcce456b2843 chtls: Fix panic when route to peer not configured 44bed66b2be9 chtls: Remove invalid set_tcb call 266ee00f402b chtls: Fix hardware tid leak ed62af62da41 net/mlx5e: ethtool, Fix restriction of autoneg with 56G cf59803ce4b3 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address 3008c639c081 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE fc1c907da5a1 s390/qeth: fix L2 header access in qeth_l3_osa_features_check() e6931e3eb084 nexthop: Unlink nexthop group entry in error path 3cecab93f271 nexthop: Fix off-by-one error in error path f03b81e61ef5 octeontx2-af: fix memory leak of lmac and lmac->name 12e10b12124c net: ip: always refragment ip defragmented packets 41bfd4111257 net: fix pmtu check in nopmtudisc mode 98fc9692ac3d tools: selftests: add test for changing routes with PTMU exceptions 7694654168bb net: ipv6: fib: flush exceptions when purging route 1cba7e270b16 net/sonic: Fix some resource leaks in error handling paths 37e6368a8de6 net: vlan: avoid leaks on register_vlan_dev() failures 4ff0737ebc76 net: stmmac: dwmac-sun8i: Balance internal PHY power 5698f0921c9b net: stmmac: dwmac-sun8i: Balance internal PHY resource references fa020a28896c net: hns3: fix a phy loopback fail issue bddaf51d116c net: hns3: fix the number of queues actually used by ARQ d73f7e757526 net: cdc_ncm: correct overhead in delayed_ndp_size 5597557244d4 vfio iommu: Add dma available capability 335104082c21 x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_* a829146c3fdc Linux 5.4.89 485e21729b1e scsi: target: Fix XCOPY NAA identifier lookup 7795afa0d7a9 KVM: x86: fix shift out of bounds reported by UBSAN a9d49da7edf8 x86/mtrr: Correct the range check before performing MTRR type lookups a798b367a066 netfilter: nft_dynset: report EOPNOTSUPP on missing set feature 5e401ea71676 netfilter: xt_RATEEST: reject non-null terminated string from userspace 1dd6a790c220 netfilter: ipset: fix shift-out-of-bounds in htable_bits() e0281bb5a82d netfilter: x_tables: Update remaining dereference to RCU 828f2a20f946 drm/i915: clear the gpu reloc batch ef8133b1b47e dmabuf: fix use-after-free of dmabuf's file->f_inode 284be2b993ca Revert "device property: Keep secondary firmware node secondary by type" 64d06c7f2fa2 btrfs: send: fix wrong file path when there is an inode with a pending rmdir 0cb0b876f17f ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256. 02e59692a6b1 ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7 d63a96f45c4f ALSA: hda/realtek - Fix speaker volume control on Lenovo C940 30fd9778cf8f ALSA: hda/conexant: add a new hda codec CX11970 121944484cc4 ALSA: hda/via: Fix runtime PM for Clevo W35xSS a5c7a456680f kvm: check tlbs_dirty directly 10dcb79ec79e x86/mm: Fix leak of pmd ptlock d3e5db486fd8 USB: serial: keyspan_pda: remove unused variable bcffe2de9dde usb: gadget: configfs: Fix use-after-free issue with udc_name 276828221852 usb: gadget: configfs: Preserve function ordering after bind failure b2bd36f54495 usb: gadget: Fix spinlock lockup on usb_function_deactivate ce507b55db29 USB: gadget: legacy: fix return error code in acm_ms_bind() 7f875ea9883c usb: gadget: u_ether: Fix MTU size mismatch with RX packet size b89a5f39c2b5 usb: gadget: function: printer: Fix a memory leak for interface descriptor 692ab0726460 usb: gadget: f_uac2: reset wMaxPacketSize 7ac84fa85ba2 usb: gadget: select CONFIG_CRC32 77a804dd6b46 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks 5c263f16822f USB: usblp: fix DMA to stack 41f15da2abd9 USB: yurex: fix control-URB timeout handling 175f7a5fa7e6 USB: serial: option: add Quectel EM160R-GL 1a59feb52dc4 USB: serial: option: add LongSung M5710 module support ac48b1dacb07 USB: serial: iuu_phoenix: fix DMA from stack 8a051eaae708 usb: uas: Add PNY USB Portable SSD to unusual_uas a7b81d0d2e07 usb: usbip: vhci_hcd: protect shift size f7cc27eb358d USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set ea472d839133 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() a37a0667e1e0 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion 5b8e1be9e0c1 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt(). 5445502a344b USB: cdc-acm: blacklist another IR Droid device eeae1d95ce4e usb: gadget: enable super speed plus 70cf59b8ffb4 staging: mt7621-dma: Fix a resource leak in an error handling path c511f27e130e powerpc: Handle .text.{hot,unlikely}.* in linker script 867c10a03f84 crypto: asym_tpm: correct zero out potential secrets ff7397add935 crypto: ecdh - avoid buffer overflow in ecdh_set_secret() 9e60056b1f53 video: hyperv_fb: Fix the mmap() regression for v5.4.y and older 84d488719b27 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close 3417067b3111 kbuild: don't hardcode depmod path 3f2a28930a7e net/sched: sch_taprio: ensure to reset/destroy all child qdiscs c41ea30c3839 ionic: account for vlan tag len in rx buffer len 5c6eb887e192 vhost_net: fix ubuf refcount incorrectly when sendmsg fails 8f64957fda12 net: usb: qmi_wwan: add Quectel EM160R-GL 12ab7b627d43 CDC-NCM: remove "connected" log message 171a2bce9d6c net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access c0883010d3b3 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs 07f26fc52b45 r8169: work around power-saving bug on some chip versions 106ca9ca9acc net: hdlc_ppp: Fix issues when mod_timer is called while timer is running 2b8aa896b151 erspan: fix version 1 check in gre_parse_header() 606f5412ad86 net: hns: fix return value check in __lb_other_process() e40b5fc79110 net: sched: prevent invalid Scell_log shift count b16f883e71f3 ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst() a018c071de14 net: mvpp2: fix pkt coalescing int-threshold configuration 443a71031e49 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS c076e1198554 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered 8602c20a9160 net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc 1f6b04a2b282 net-sysfs: take the rtnl lock when storing xps_rxqs 67ed54a63f43 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc fb14db9508c0 net-sysfs: take the rtnl lock when storing xps_cpus e43ec45d45af net: ethernet: Fix memleak in ethoc_probe 56dc7908ed85 net/ncsi: Use real net-device for response handler dffef999e484 virtio_net: Fix recursive call to cpus_read_lock() 5404192a8721 qede: fix offload for IPIP tunnel packets 8009f6bb13a3 net: ethernet: mvneta: Fix error handling in mvneta_probe 6d003fe7fe87 ibmvnic: continue fatal error reset after passive init 3d16088a9668 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations 8548c9679939 atm: idt77252: call pci_disable_device() on error path 2a006b4fa5cc ethernet: ucc_geth: set dev->max_mtu to 1518 c2ca14cc6f55 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove() af99cae96fdc net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE 8dd98d5d2ba4 net: mvpp2: prs: fix PPPoE with ipv6 packet parse 73445f29575a net: mvpp2: Add TCAM entry to drop flow control pause frames a5a6dc4dc293 iavf: fix double-release of rtnl_lock 6aba31a7c72e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 9ea03f6890ce proc: fix lookup in /proc/net subdirectories after setns(2) d2942e958f26 proc: change ->nlink under proc_subdir_lock 59b10c8a59a1 depmod: handle the case of /sbin/depmod without /sbin in PATH 663a0bcb3fa5 lib/genalloc: fix the overflow when size is too big 19e0cf8fc481 scsi: scsi_transport_spi: Set RQF_PM for domain validation commands eb3e975ac2a3 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests 4ae3573c571e scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff() 5f9c3d640505 scsi: ufs: Fix wrong print message in dev_err() 515dc635eb76 workqueue: Kick a worker based on the actual activation of delayed works f3a4c8d50145 Linux 5.4.88 0a49aaf4df29 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start 117433236ae2 exec: Transform exec_update_mutex into a rw_semaphore d390fc97df62 rwsem: Implement down_read_interruptible 1b75a263fbd9 rwsem: Implement down_read_killable_nested 71b8355ba667 perf: Break deadlock involving exec_update_mutex 732251cabeb3 fuse: fix bad inode 06c672dd61b5 iio:imu:bmi160: Fix alignment and data leak issues 7a736f41013e kdev_t: always inline major/minor helper functions 61a0d8e437bb dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate() 20d5ee563bfd dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate() f2a0b7677444 dmaengine: at_hdmac: Substitute kzalloc with kmalloc 4d3ba541bede Revert "mtd: spinand: Fix OOB read" da5b4cf021b9 Revert "drm/amd/display: Fix memory leaks in S3 resume" (From OE-Core rev: 5dcc8a5977725a9fe11ac13ebd16a7acc1eef37d) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.8Bruce Ashfield2021-02-033-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: 7a1519a74f3d Linux 5.10.8 b77681d400f4 tools headers UAPI: Sync linux/fscrypt.h with the kernel sources 27c6968cfb76 drm/panfrost: Remove unused variables in panfrost_job_close() 75e5e51acf59 regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init() 43f6ea41408b net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet 481097d66174 block: fix use-after-free in disk_part_iter_next 61e8c02ae6d6 can: isotp: isotp_getname(): fix kernel information leak 6f7a362e1c6f block/rnbd-clt: avoid module unload race with close confirmation be665727363f xsk: Rollback reservation at NETDEV_TX_BUSY 9ad0375ed292 xsk: Fix race in SKB mode transmit with shared cq 610e2c5699f8 KVM: arm64: Don't access PMCR_EL0 when no PMU is available c5c22948f235 selftests: fib_nexthops: Fix wrong mausezahn invocation e336a772cdcb net: mvneta: fix error message when MTU too large for XDP 729319e4f177 drm/i915/dp: Track pm_qos per connector e7f0992529b2 net: mvpp2: disable force link UP during port init procedure 734bd3f8256b regulator: qcom-rpmh-regulator: correct hfsmps515 definition ae4db0bc5cde arm64: cpufeature: remove non-exist CONFIG_KVM_ARM_HOST 344f59a93151 wan: ds26522: select CONFIG_BITREVERSE c9698380b01a regmap: debugfs: Fix a memory leak when calling regmap_attach_dev 6defee43fe54 net/mlx5e: Fix two double free cases 699804e07641 net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups b23accd11a89 nvme-tcp: Fix possible race of io_work and direct send 31a3520409ff bpftool: Fix compilation failure for net.o with older glibc 2a21faa9c596 iommu/intel: Fix memleak in intel_irq_remapping_alloc 39b3204e54c1 iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb() 2bbe923d7a84 zonefs: select CONFIG_CRC32 771865dc5a6e lightnvm: select CONFIG_CRC32 432071f6af70 block: rsxx: select CONFIG_CRC32 0d813da1bde0 wil6210: select CONFIG_CRC32 e208085c82f7 phy: dp83640: select CONFIG_CRC32 f03e2257df3c qed: select CONFIG_CRC32 41dcfc0cb955 arm64: mm: Fix ARCH_LOW_ADDRESS_LIMIT when !CONFIG_ZONE_DMA d4a7eb9fbfcc dmaengine: xilinx_dma: fix mixed_enum_type coverity warning c16e7cfc1baf dmaengine: xilinx_dma: fix incompatible param warning in _child_probe() e72371fab4ea dmaengine: xilinx_dma: check dma_async_device_register return value 41f95d84fcf5 dmaengine: milbeaut-xdmac: Fix a resource leak in the error handling path of the probe function ceb97fbe4816 dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function fcd04aa9b52c interconnect: qcom: fix rpmh link failures 6a0e580ded88 interconnect: imx: Add a missing of_node_put after of_device_is_available e5689d84ebd8 bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET 8f243682e5ed i2c: mediatek: Fix apdma and i2c hand-shake timeout d908dd5c1064 i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated 7a30d664c949 spi: stm32: FIFO threshold level - fix align packet size c75a66726d7e spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case 932e130e3dc8 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get() a885713b0c03 spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending 175465cb6d87 can: kvaser_pciefd: select CONFIG_CRC32 9fc286ed3926 can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop() 9b990788d84d can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver 4abc2dbd8822 selftests/bpf: Clarify build error if no vmlinux e095ac6bc3ea dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk() 75dfd242b46a i2c: sprd: use a specific timeout to avoid system hang up issue 0a27398d8969 ARM: OMAP2+: omap_device: fix idling of devices during probe 797335659e58 fanotify: Fix sys_fanotify_mark() on native x86-32 797c128d3c7d HID: wacom: Fix memory leakage caused by kfifo_alloc bca9046c36d3 ionic: start queues before announcing link up 6aebfdacad97 scsi: lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler() 8543acf02563 net/mlx5: Check if lag is supported before creating one 1e5b0a2300bb net/mlx5e: In skb build skip setting mark in switchdev mode dd7cce96dd37 net/mlx5e: ethtool, Fix restriction of autoneg with 56G 39e86d3ca489 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address d6d3f9de7a06 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE af9b4ab6ee6d s390/qeth: fix L2 header access in qeth_l3_osa_features_check() af0c184ea106 s390/qeth: fix locking for discipline setup / removal 1214d69a2bfc s390/qeth: fix deadlock during recovery 5fb8a3116cd0 nexthop: Bounce NHA_GATEWAY in FDB nexthop groups eaa7a6c39d10 nexthop: Unlink nexthop group entry in error path 6486bc0a3400 nexthop: Fix off-by-one error in error path 2e7635299fbf octeontx2-af: fix memory leak of lmac and lmac->name ab8e7a1af3f2 chtls: Fix chtls resources release sequence 23e696e2f382 chtls: Added a check to avoid NULL pointer dereference 5a1af38e06b6 chtls: Replace skb_dequeue with skb_peek d9297487df15 chtls: Avoid unnecessary freeing of oreq pointer 523cea39aab2 chtls: Fix panic when route to peer not configured 2702758d42a4 chtls: Remove invalid set_tcb call 694635a7b8cb chtls: Fix hardware tid leak b0ff6d00edac net: ip: always refragment ip defragmented packets d5fc41ebe260 net: fix pmtu check in nopmtudisc mode 541c22aad368 tools: selftests: add test for changing routes with PTMU exceptions 69363e37d470 net: ipv6: fib: flush exceptions when purging route 6d233d9501af ptp: ptp_ines: prevent build when HAS_IOMEM is not set 210b9cdb3d5b net: bareudp: add missing error handling for bareudp_link_config() 2a432be9ba44 net/sonic: Fix some resource leaks in error handling paths 9591f32a630f net: vlan: avoid leaks on register_vlan_dev() failures 60de77165d0b net: stmmac: dwmac-sun8i: Balance syscon (de)initialization 35526a9c46b4 net: stmmac: dwmac-sun8i: Balance internal PHY power 22e1ed2abc66 net: stmmac: dwmac-sun8i: Balance internal PHY resource references 413a79ccb98e net: stmmac: dwmac-sun8i: Fix probe error handling 8d12c062ca99 net: hns3: fix a phy loopback fail issue ed59d391ee5e net: hns3: fix the number of queues actually used by ARQ 799d8080f903 net: hns3: fix incorrect handling of sctp6 rss tuple b044a949a5c5 net: cdc_ncm: correct overhead in delayed_ndp_size e3b5252b5cdb btrfs: shrink delalloc pages instead of full inodes 17243f73ad74 btrfs: fix deadlock when cloning inline extent and low on free metadata space 87738164592f btrfs: skip unnecessary searches for xattrs when logging an inode e28ace868c1e scsi: ufs: Fix -Wsometimes-uninitialized warning 458b40598dc0 io_uring: Fix return value from alloc_fixed_file_ref_node 51495b719515 drm/panfrost: Don't corrupt the queue mutex on open/close 9d7751a39a19 iommu/arm-smmu-qcom: Initialize SCTLR of the bypass context 85bbe2e64ab4 RDMA/hns: Avoid filling sl in high 3 bits of vlan_id 85e25e2370a2 io_uring: patch up IOPOLL overflow_flush sync bc924dd21ecf io_uring: limit {io|sq}poll submit locking scope 1d5e50da5cc7 io_uring: synchronise IOPOLL on task_submit fail bca9ca5a603f powerpc/32s: Fix RTAS machine check with VMAP stack 659361086d8b Linux 5.10.7 6f1e88527c18 scsi: target: Fix XCOPY NAA identifier lookup 513729aecb53 rtlwifi: rise completion at the last step of firmware callback 0fae7d269ef7 xsk: Fix memory leak for failed bind 563135ec664f KVM: x86: fix shift out of bounds reported by UBSAN 02ccda90ef7e x86/mtrr: Correct the range check before performing MTRR type lookups 6e3c67976eda dmaengine: idxd: off by one in cleanup code 8b109f4cd1dc netfilter: nft_dynset: report EOPNOTSUPP on missing set feature 810bc977f8a4 netfilter: xt_RATEEST: reject non-null terminated string from userspace d17f2ccf6f99 netfilter: ipset: fix shift-out-of-bounds in htable_bits() 27bc60d9678a netfilter: x_tables: Update remaining dereference to RCU 56429ddfd59c ARM: dts: OMAP3: disable AES on N950/N9 00a6b090d5c9 net/mlx5e: Fix SWP offsets when vlan inserted by driver a3601005de8f bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large bucket a9c413cd0cdf bcache: check unsupported feature sets for bcache register fbb23cd18755 bcache: fix typo from SUUP to SUPP in features.h 36d366ace154 drm/i915: clear the gpu reloc batch 13738d7d5a24 drm/i915: clear the shadow batch 1cd7e30a6db6 arm64: link with -z norelro for LLD or aarch64-elf a19dae4254c4 dmabuf: fix use-after-free of dmabuf's file->f_inode 6844bc38c9fe Revert "device property: Keep secondary firmware node secondary by type" 5e84c99055eb btrfs: send: fix wrong file path when there is an inode with a pending rmdir 1888e5df8449 btrfs: qgroup: don't try to wait flushing if we're already holding a transaction 1c31964eca13 iommu/vt-d: Move intel_iommu info from struct intel_svm to struct intel_svm_dev a07c54917aad ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256. 41af04d3037a ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7 3e1bcaebe8b1 ALSA: hda/realtek: Add mute LED quirk for more HP laptops 582de98b59fd ALSA: hda/realtek - Fix speaker volume control on Lenovo C940 2eda063db992 ALSA: hda/conexant: add a new hda codec CX11970 c03f37d52934 ALSA: hda/via: Fix runtime PM for Clevo W35xSS cafc6e70a63c blk-iocost: fix NULL iocg deref from racing against initialization 397e352ca96f x86/resctrl: Don't move a task to the same resource group 34e4ae4dca72 x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR c3cf9ffe8d9c KVM: x86/mmu: Ensure TDP MMU roots are freed after yield ffee6772c489 kvm: check tlbs_dirty directly f4064ef40c5c KVM: x86/mmu: Get root level from walkers when retrieving MMIO SPTE afd621673f03 KVM: x86/mmu: Use -1 to flag an undefined spte in get_mmio_spte() 23220e87c91f x86/mm: Fix leak of pmd ptlock 876195e1c8c6 mm: make wait_on_page_writeback() wait for multiple pending writebacks 96e6724310f2 hwmon: (amd_energy) fix allocation of hwmon_channel_info config 3f47b182241f USB: serial: keyspan_pda: remove unused variable a4b202cba3ab usb: gadget: configfs: Fix use-after-free issue with udc_name ed57b762f51b usb: gadget: configfs: Preserve function ordering after bind failure 8ca9626a819c usb: gadget: Fix spinlock lockup on usb_function_deactivate c92e6831dc90 USB: gadget: legacy: fix return error code in acm_ms_bind() 9cc6bf99c64d usb: gadget: u_ether: Fix MTU size mismatch with RX packet size e698e1478be7 usb: gadget: function: printer: Fix a memory leak for interface descriptor c4aa893e2e0d usb: gadget: f_uac2: reset wMaxPacketSize e7f2c25aa88e USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug 2cd6988fbfa5 usb: gadget: select CONFIG_CRC32 88eaa6c077f8 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks 0a5b28c99dc4 USB: usblp: fix DMA to stack 4f7e97ffb4eb USB: yurex: fix control-URB timeout handling 008689576a4e USB: serial: option: add Quectel EM160R-GL 3013ff766dad USB: serial: option: add LongSung M5710 module support 5410726d7def USB: serial: iuu_phoenix: fix DMA from stack 677503c72765 usb: uas: Add PNY USB Portable SSD to unusual_uas 91a6375b1836 usb: usbip: vhci_hcd: protect shift size cee536f1a5c7 USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set 4485bdb99624 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data() 150a9c163c3d usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression 97abe6663fa3 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one b51963e9f562 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion 8907a10c8ffa usb: dwc3: gadget: Clear wait flag on dequeue dd8363fbca50 usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup 906b0510dde5 usb: dwc3: meson-g12a: disable clk on error handling path in probe 5a5ce1e75c77 usb: typec: intel_pmc_mux: Configure HPD first for HPD+IRQ request 340db7c0a6c0 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt(). 1452fefc4c29 USB: cdc-acm: blacklist another IR Droid device b55debd08b8f usb: gadget: enable super speed plus 22f56c63d50e staging: mt7621-dma: Fix a resource leak in an error handling path b8c9bb139331 Staging: comedi: Return -EFAULT if copy_to_user() fails cb5a170e979e powerpc: Handle .text.{hot,unlikely}.* in linker script 80a364421c95 crypto: asym_tpm: correct zero out potential secrets 3f20005ab271 crypto: ecdh - avoid buffer overflow in ecdh_set_secret() d55d15a332ec scsi: block: Do not accept any requests while suspended 782c9ef2ac05 scsi: block: Remove RQF_PREEMPT and BLK_MQ_REQ_PREEMPT faa613d033f3 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close 3ca425885bb7 kbuild: don't hardcode depmod path e5383432d92c scsi: ufs: Clear UAC for FFU and RPMB LUNs 43dee885bead depmod: handle the case of /sbin/depmod without /sbin in PATH 8532d3ec57e5 lib/genalloc: fix the overflow when size is too big 2179bae04b12 local64.h: make <asm/local64.h> mandatory 271822bbf9fe scsi: core: Only process PM requests if rpm_status != RPM_ACTIVE a97d55de10aa scsi: scsi_transport_spi: Set RQF_PM for domain validation commands 60fb6a8d782b scsi: ide: Mark power management requests with RQF_PM instead of RQF_PREEMPT 2d8b9f991de7 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests 8ed46b329d4e scsi: block: Introduce BLK_MQ_REQ_PM 4bdd912c724e scsi: ufs-pci: Enable UFSHCD_CAP_RPM_AUTOSUSPEND for Intel controllers 3a1be8e3806e scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers 46e435583610 scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff() 20e1aec964ea scsi: ufs-pci: Fix restore from S4 for Intel controllers 42b464fb10ff scsi: ufs: Fix wrong print message in dev_err() dfec7dc891d7 workqueue: Kick a worker based on the actual activation of delayed works bfb39e6d67a5 block: add debugfs stanza for QUEUE_FLAG_NOWAIT 2dc3447a043b selftests/vm: fix building protection keys test 952264ac96ef stmmac: intel: Add PCI IDs for TGL-H platform 22c0b151bca4 selftests: mlxsw: Set headroom size of correct port 7b81c2f8ad8f net: usb: qmi_wwan: add Quectel EM160R-GL 063608092aa5 ibmvnic: fix: NULL pointer dereference. 57dde18a1e60 CDC-NCM: remove "connected" log message 143143feae03 net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access 495442144c74 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs f62153027b9a r8169: work around power-saving bug on some chip versions 0ad31889c481 vhost_net: fix ubuf refcount incorrectly when sendmsg fails cf78c32ac7eb bareudp: Fix use of incorrect min_headroom size cfcd702d038e bareudp: set NETIF_F_LLTX flag 8ca1d23e6ad3 net: hdlc_ppp: Fix issues when mod_timer is called while timer is running 0d6eeee3b9d4 erspan: fix version 1 check in gre_parse_header() cd63471a4184 net: hns: fix return value check in __lb_other_process() 7a20969b874e net: sched: prevent invalid Scell_log shift count 5e87eabce7bc ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst() 042c7f35fa61 bnxt_en: Fix AER recovery. cdb02a7a9e8d net: mvpp2: fix pkt coalescing int-threshold configuration 9b350728118e bnxt_en: Check TQM rings for maximum supported value. 7c0681c2b681 e1000e: Export S0ix flags to ethtool d0cd009b052e Revert "e1000e: disable s0ix entry and exit flows for ME systems" 4e7176129f4f e1000e: bump up timeout to wait when ME un-configures ULP mode 35a44ba54587 e1000e: Only run S0ix flows if shutdown succeeded e3cbce80be89 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS 44dc29d44b84 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered e4535dbb721d net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc 90297553d870 net-sysfs: take the rtnl lock when storing xps_rxqs 0ca897c1ec41 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc 4da25d83b7cc net-sysfs: take the rtnl lock when storing xps_cpus 7eab4e69cb01 net: ethernet: Fix memleak in ethoc_probe 2cdf8c2747d3 net/ncsi: Use real net-device for response handler 23f8bea3e9d9 virtio_net: Fix recursive call to cpus_read_lock() 087cfc73598a qede: fix offload for IPIP tunnel packets c7d068a2d711 net: ethernet: mvneta: Fix error handling in mvneta_probe 933b2ba7f9de ibmvnic: continue fatal error reset after passive init 0583c8ed2d30 ibmvnic: fix login buffer memory leak cad75a6bdba6 net: stmmac: dwmac-meson8b: ignore the second clock input 04f241fc7eb3 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations 8ece401fa3d6 atm: idt77252: call pci_disable_device() on error path 0e2dee9a6b26 ionic: account for vlan tag len in rx buffer len 15741c05a889 ethernet: ucc_geth: set dev->max_mtu to 1518 116395a26d95 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove() ca126e9e0345 net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE cf65734dee5f net: mvpp2: prs: fix PPPoE with ipv6 packet parse 121164dc3314 net: mvpp2: Add TCAM entry to drop flow control pause frames db8895aa58c7 net/sched: sch_taprio: ensure to reset/destroy all child qdiscs e2572423ab92 iavf: fix double-release of rtnl_lock d9dea80af65e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs 5650152ddab1 Linux 5.10.6 94cc73b27a25 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start ab7709b551de exec: Transform exec_update_mutex into a rw_semaphore 933b7cc86068 rwsem: Implement down_read_interruptible 27bae39e4fc4 rwsem: Implement down_read_killable_nested 2cded5a3cc38 perf: Break deadlock involving exec_update_mutex 36cf9ae54b0e fuse: fix bad inode e522a788eb91 RDMA/siw,rxe: Make emulated devices virtual in the device tree 404fa093741e RDMA/core: remove use of dma_virt_ops 2a54ad3066a8 scsi: ufs: Re-enable WriteBooster after device reset acbf7db67ae3 scsi: ufs: Allow an error return value from ->device_reset() 8cba90399216 drm/i915/tgl: Fix Combo PHY DPLL fractional divider for 38.4MHz ref clock adee1c5126ef ALSA: hda/hdmi: Fix incorrect mutex unlock in silent_stream_disable() e235fd076eb7 ALSA: hda/realtek - Modify Dell platform name ce9163cf7a84 Bluetooth: Fix attempting to set RPA timeout when unsupported 3e073508920a kdev_t: always inline major/minor helper functions fd3ec3b25137 dt-bindings: rtc: add reset-source property 757cd94ac859 rtc: pcf2127: only use watchdog when explicitly available acb821425c8c rtc: pcf2127: move watchdog initialisation to a separate function b00195241186 Revert "mtd: spinand: Fix OOB read" 261f4d03ad23 Revert "drm/amd/display: Fix memory leaks in S3 resume" (From OE-Core rev: 16687a9e858dce980263d73e4b0f8050ad36c1b2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "msmtp: Fix to work with autoconf 2.70"Richard Purdie2021-02-032-19/+1
| | | | | | | | This reverts commit e8c0012ea036cb962db25a5941619c22e7218985. No longer needed with autoconf 2.71 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: Check if PSEUDO_IGNORE_PATHS and paths under pseudo control ↵Dorinda2021-02-031-0/+10
| | | | | | | | | | | | | overlap Added a sanity check for when PSEUDO_IGNORE_PATHS and paths under pseudo control overlap to avoid random failures generated. [YOCTO #14193] (From OE-Core rev: 6e4bd8cabcdedf4b52345ef5eb421f71d0f19b1d) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/usb_hid.py : add test to check the usb/human interface device status ↵Teoh Jay Shen2021-02-031-0/+22
| | | | | | | | | | | after suspend state This test mimic the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test case from oeqa/manual/bsp-hw.json. (From OE-Core rev: 23a3dc370a52907ee3261746405fb9b2af9e9a11) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstatesig: Add descriptive error message to getpwuid/getgrgid "uid/gid not ↵Tomasz Dziendzielski2021-02-031-2/+4
| | | | | | | | | | | | | | | | | | | | found" KeyError If path is not owned by any user installed on target it gives insufficient error "getpwuid(): uid not found" which may be misleading. This exception occurs if uid/gid of path was not found in PSEUDO_PASSWD files, which simply means the path is owned by host user and there is host user contamination. Add more information to the exception message to make it easier for user to debug. [YOCTO #14031] (From OE-Core rev: 38540b59ed4ec8632e30a5fd6364b010d9da8470) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix CVE-2021-3177Anuj Mittal2021-02-032-0/+192
| | | | | | | (From OE-Core rev: 2ed4f61e9d694fef8ff72b8eeb2163634e96c3bb) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: Fix build reproducibility issueRichard Purdie2021-02-032-0/+26
| | | | | | | | | | | A build date was leaking into the generated docs and makefile used for ptests leading to reproducibility issues each time the month changed. Add a patch to use SOURCE_DATE_EPOCH to derive it if available. (From OE-Core rev: 6a9ca7aec4991eabd425e32fdf85f51bb1686b8b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: set CVE_VERSION_SUFFIXLee Chee Yang2021-02-031-0/+2
| | | | | | | (From OE-Core rev: 17df664a32a74f17baaef8c31ac23adec2d6255f) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/patch.py: Ignore scissors line on applying patchTomasz Dziendzielski2021-02-031-1/+1
| | | | | | | | | | | | | The "devtool modify" could remove message body before scissors line, so patches re-generated from git tree were incorrectly modified. Adding --no-scissors to "git am" invocation to prevent this behaviour. [YOCTO #12674] (From OE-Core rev: 13ea33fbd197b9ee3cf913d9995617115f22798f) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: Add back accidentally dropped RDEPENDSRichard Purdie2021-02-031-0/+1
| | | | | | | | | | This was accidentally removed in a previous commit. Due to improvements in the core, we can now just add it as a normal RDEPENDS along with the others as the native case no longer causes issues. (From OE-Core rev: 83d8b469750d7917376abb4d34f7797ee0f75267) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemu.inc: Should depend on qemu-system-native, not qemu-nativeRichard Purdie2021-01-311-1/+1
| | | | | | | | | | This looks like it was from before the recipe was split, we'd expect the system qemu mode for running the images so the dependency should be updated. (From OE-Core rev: 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types: Ensure tar archives are reproducibleRichard Purdie2021-01-311-1/+1
| | | | | | | | | | The tar output seems to vary depending on the version of tar used and distro configuration. Be explict about the output format to avoid this and be determinstic. (From OE-Core rev: c56f3c9febc1732aa1302524c6c4da36f16bd1f7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap"Richard Purdie2021-01-301-8/+0
| | | | | | | | | This reverts commit c5a6cc4146402620851e2a1f2b01d69989150ba2. This was accientally added and shouldn't have been, it has a v2 and was then determined not to be required. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: add support for ipkDorinda2021-01-302-0/+33
| | | | | | | | | | | | debuginfod scanner 0.182 could only support/scan RPM and .debs, add support to scan .ipk as well (they're effectively debs). [YOCTO #13807] (From OE-Core rev: d9913c3d7da01d5bbe84728e9cb7701669362e2b) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: add PACKAGECONFIG for debuginfodDorinda2021-01-301-1/+2
| | | | | | | | | | | | Removed the config option that disabled debuginfod and changed it to a PACKAGECONFIG. [YOCTO #13807] (From OE-Core rev: a970ba050db606ee646ca155031d47bcd9a9ab8c) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* elfutils: split libdebuginfod into its own packageDorinda2021-01-301-3/+7
| | | | | | | | | | | | | Added package options for libdebuginfod. Added GPLv2+ | LGPLv3+ license for libdebuginfod with reference to https://sourceware.org/git/?p=elfutils.git;a=blob;f=debuginfod/debuginfod-client.c;h=de26af5bb26e187b51d9ea00d5826e199a96d01a;hb=HEAD [YOCTO #13807] (From OE-Core rev: e679f44f99e1a14027780ebbe47d4f56c90bfca0) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Use addtask statement instead of task dependenciesTomasz Dziendzielski2021-01-301-4/+1
| | | | | | | | | | | | | | | | The externalsrc class deletes do_patch task which results with: | ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon | non-existent task do_patch in <PATH>/python3_3.8.2.bb Use addtask to define correct order to prevent this error, since addtask mechanism accepts deleted tasks. [YOCTO #14151] (From OE-Core rev: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel.bbclass: fix deployment for initramfs imagesAwais Belal2021-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The do_bundle_initramfs() only processes kernel image types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas the build system can generate other types that are not directly supported by the kernel build system. In which case when we come to the deploy phase not all the images mentioned in KERNEL_IMAGETYPES would have a respective initramfs bundled image. An example is using vmlinux.gz in KERNEL_IMAGETYPES and enabling initramfs and then we see install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory So we align the deploy phase with bundle initramfs phase and pick up relevant initramfs bundled images using KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES. (From OE-Core rev: 526bdd88ccd758204452579333ba188e29270bde) Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/patch.py: Don't return command stderr from runcmd functionTomasz Dziendzielski2021-01-301-5/+9
| | | | | | | | | | | | | | | | | | | | | If a function returns any stderr it will be passed to extractPatches and used as path to patch. For example subprocess command output can be: | sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) | /tmp/oepatchhuqle8fj/0001-foo.patch | /tmp/oepatchhuqle8fj/0002-bar.patch that will result in: | FileNotFoundError: [Errno 2] No such file or directory: 'sh:' To fix this I separated output, made the function return stdout and print stderr only in case of command error. (From OE-Core rev: 482589e2cc7c3ddeefb0a0fb98d97a9cbb18c9ec) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve_check: add CVE_VERSION_SUFFIX to indicate suffix in versioningLee Chee Yang2021-01-303-24/+39
| | | | | | | | | | | | | | | | | | add CVE_VERSION_SUFFIX to indicate the version suffix type, currently works in two value, "alphabetical" if the version string uses single alphabetical character suffix as incremental release, blank to not consider the unidentified suffixes. This can be expand when more suffix pattern identified. refactor cve_check.Version class to use functools and add parameter to handle suffix condition. Also update testcases to cover new changes. (From OE-Core rev: 5dfd5ad5144708b474ef31eaa89a846c57be8ac0) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlapDorinda2021-01-301-0/+8
| | | | | | | | | | | added a sanity check for when PSEUDO_IGNORE_PATHS and ${S} overlap to avoid random failures generated. [YOCTO #14193] (From OE-Core rev: c5a6cc4146402620851e2a1f2b01d69989150ba2) Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ca-certificates: upgrade 20200601 -> 20210119zhengruoqin2021-01-302-39/+1
| | | | | | | | | | 0001-certdata2pem.py-use-python3.patch removed since it is included in 20210119 (From OE-Core rev: afd86357e07f69090eaff4c5db2c517867dd4ccf) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bison: upgrade 3.7.4 -> 3.7.5zhengruoqin2021-01-301-1/+1
| | | | | | | (From OE-Core rev: 77d41c0329290fb33319feffdc504c2b3b4c8568) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-doc: upgrade 1.33.1 -> 1.33.2Wang Mingyu2021-01-301-1/+1
| | | | | | | (From OE-Core rev: 89506684baf82448136d4ca3e3fb62dc5d4cbba4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* util-macros: upgrade 1.19.2 -> 1.19.3Wang Mingyu2021-01-301-2/+2
| | | | | | | (From OE-Core rev: 00f136011312d9f42381fcbfa6a58e2675e1acce) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* stress-ng: upgrade 0.12.01 -> 0.12.02Wang Mingyu2021-01-301-1/+1
| | | | | | | (From OE-Core rev: 3244bd2d48bfd993299125856113965056797dc9) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ltp: upgrade 20200930 -> 20210121Wang Mingyu2021-01-302-35/+1
| | | | | | | | | | 0001-ltp-pan-Use-long-long-int-to-print-time_t.patch removed since it is included in 20210121 (From OE-Core rev: b6f49fc60a12ec6c4c1334ca3c266e99c03e81d4) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libsolv: upgrade 0.7.16 -> 0.7.17Wang Mingyu2021-01-301-1/+1
| | | | | | | (From OE-Core rev: c51a6d1cad733da227ef4f97061238f3caa9f582) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libjitterentropy: upgrade 3.0.0 -> 3.0.1Wang Mingyu2021-01-301-2/+2
| | | | | | | | | -License-Update: Copyright year updated to 2021. (From OE-Core rev: bdd6c57497215aeb3c2cddca191a8d1a72e93c8e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libcap: upgrade 2.46 -> 2.47Wang Mingyu2021-01-301-1/+1
| | | | | | | (From OE-Core rev: b214bc1a7fda43849895cccfff62dffec26ade0e) Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* npm.bbclass: use python3 for npm configVyacheslav Yurkov2021-01-301-3/+3
| | | | | | | | | | | python2-native executable is not available in sysroot anymore, which causes compilation of some nodejs modules to fail. Switch to python3 as a default python version. (From OE-Core rev: d21f50ecf8e8683a92b7d234fa8225c2c1470595) Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: Upgrade 3.19.2 -> 3.19.3Vinícius Ossanes Aquino2021-01-303-1/+1
| | | | | | | (From OE-Core rev: d5d06fa31c81a9e0460edada18e6d3dbecd3d94a) Signed-off-by: Vinícius Ossanes Aquino <voa.aquino@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wayland: upgrade 1.18.0 -> 1.19.0Denys Dmytriyenko2021-01-305-136/+24
| | | | | | | | | | | This release mostly contains bug fixes and minor protocol updates. Related patches were rebased and backported patches dropped. (From OE-Core rev: 353382f6c7f3904a11e0a73a1b17eff4963bdcb9) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix CVE-2020-27618Yi Fan Yu2021-01-302-0/+92
| | | | | | | | | | | | iconv: Accept redundant shift sequences in IBM1364 Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1893708 (From OE-Core rev: 78a381ec75e48283397a7fe9eaad2afbb070c235) Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lrzsz: Fix to work with autoconf 2.70Richard Purdie2021-01-291-107/+142
| | | | | | | | Add the missing gettext version needed for autoconf 2.70. (From OE-Core rev: 6926b690fea5d0737634e39ade1a3555ab603e81) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Fix to work with autoconf 2.70Richard Purdie2021-01-292-0/+35
| | | | | | | | Drop a macro we don't need which was breaking with autoconf 2.70. (From OE-Core rev: 995a0421ab39d62354e56f77eca10e2d176582d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* msmtp: Fix to work with autoconf 2.70Richard Purdie2021-01-292-1/+19
| | | | | | | | | Add the required gettext version macro to work with the new autoconf version. (From OE-Core rev: e8c0012ea036cb962db25a5941619c22e7218985) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* at: Upgrade 3.1.23 -> 3.2.1Richard Purdie2021-01-295-31/+24
| | | | | | | | | | This fixes flex issues with autoconf 2.70 rather than backporting patches. Patches refreshed. (From OE-Core rev: 3ca412ed7fc5a9d525d4ba7922e7e3e179904380) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pseudo: Update to include passwd and file renaming fixesRichard Purdie2021-01-291-1/+1
| | | | | | | | | | | | | | Pulls in: pseudo_client: Ensure renames update open fd file paths pseudo_client.c: Rebuild passwd paths after chroot which should fix issues seen in apt package index creation, new binutils and other autobuilder race issues in pseudo amongst other issues. (From OE-Core rev: 44d11b56001f40622c055069b0901cc4ae15c76c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-doc: Disable dependencies in native caseRichard Purdie2021-01-291-0/+1
| | | | | | | | | Ensure that dependencies like qemu-native aren't added in the native case since we don't want docs generate for native recipes. (From OE-Core rev: c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Clean up various class-native* RDEPENDS overridesRichard Purdie2021-01-298-38/+1
| | | | | | | | | | | | | | | | | | | | | | With PACKAGES functioning more correctly for native recipes combined with classextend improvements over the years, there are various overrides of RDEPENDS which look unecessary now, clean them up. There some some minor changes in dependencies, specifically: "python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot" "itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot" however there are already: XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot mappings from DEPENDS so this is effectively a null op. (From OE-Core rev: 2edd826531d79744d7b2114c5f24296966d51781) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* native: Stop clearing PACKAGESRichard Purdie2021-01-295-24/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Native recipes have been special and they don't have packages generated from them. The RDEPENDS/RPROVIDES and other runtime package specific variables can contain important data about dependencies recipes need though and currently it is required to write this information explicitly in the native case. We now delete the packaging tasks for native recipes which removes the need to clear PACKAGES. The next step to improve the metadata is to stop clearing it and ensure any entries in these variables are remapped appropriately. The R* variables were already being processed by the class extension code but the implementation was suboptimal. This patch stops clearing PACKAGES and PACKAGES_DYNAMIC and fixes the places where that caused issues in OE-Core, for example PACKAGES additions in anonymous python without the "-native" suffix and a case where the included classes caused a self reference in DEPENDS which would once have been removed by the previous code. The implementation uses datastore/parser parameters to ensure that the variable overrides are not overwritten when calling setVar which is appropriate for a function as close to the core as this one is. Some now unneeded code in python3-setuptools is dropped, there are further changes like this which can follow. This change was verified with OE-Core by comparing task-depends.dot generated by "bitbake world -g" before and after the change, the files were identical. (From OE-Core rev: fd6a007efa7cb45101a66f294af81d9d33bb3fab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf/python: Drop setting RDEPENDS/RPROVIDES defaultRichard Purdie2021-01-292-3/+1
| | | | | | | | | | | | We never recommend setting RDEPENDS or RPROVIDES without a package name against them. The default in bitbake.conf is legacy only, drop it. The python recipe was trying to add to the empty variable in the native case fix that too. (From OE-Core rev: b8bbc1bbe282cce2ea4d0ff293f931f6caf6153b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_rpm: Clean up unset runtime package variable handlingRichard Purdie2021-01-291-20/+20
| | | | | | | | | | | | | If the R* runtime package variables are unset it could cause trackbacks. There were some fallbacks already, clean this up to handle consistently. The code was expecting strings but setting defaults of empty lists which silently were converted to strings by the "or" statements which was a nightmare to understand or alter. (From OE-Core rev: 06bf68012302330c2b14f59541f78f48c7389c37) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk-buildtools-perl-dummy: Add missing entries for nativesdk-automakeRichard Purdie2021-01-291-0/+3
| | | | | | | | | This allows the hardcoded nativesdk dependency hacking in the automake recipe to be dropped and matches what autoconf is doing. (From OE-Core rev: c723866a6834b8fa89b036a627f619a0c391a662) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Fix variable override orderRichard Purdie2021-01-291-2/+2
| | | | | | | | | | The DEPENDS variable override ordering here was almostly certainly incorrect and led to weird behaviour when making changes elsewhere. Correct it. (From OE-Core rev: c8f7e92244b3c52c275a457aced69086800351d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory.bbclass: avoid exception for empty BUILDHISTORY_FEATURES variablePeter Bergin2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | An exception is fired when a BuildStarted event is sent to buildhistory bbclass and the variable BUILDHISTORY_FEATURES is not set. ERROR: Execution of event handler 'buildhistory_eventhandler' failed Traceback (most recent call last): File "<...>/meta/classes/buildhistory.bbclass", line 862, in buildhistory_eventhandler(e=<bb.event.BuildStarted object at 0x7f94c3810250>): python buildhistory_eventhandler() { > if e.data.getVar('BUILDHISTORY_FEATURES').strip(): reset = e.data.getVar("BUILDHISTORY_RESET") AttributeError: 'NoneType' object has no attribute 'strip' This can happen in a multiconfig build where the default configuration use the buildhistory class but not the configuration in mc. It should be a rare case that this happens and it was found in a missconfigured build. (From OE-Core rev: a74e30a4de02c8efd3e7102ba7a4fe06df53cc34) Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shaderc: add spirv-headers as dependencieJose Quaresma2021-01-291-1/+1
| | | | | | | (From OE-Core rev: 32007e42f7174b9ab90ff2c5ae79933e2cb83137) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>