Rasmus Villemoes [Tue, 25 Aug 2020 14:35:15 +0000 (16:35 +0200)]
kernel.bbclass: run do_symlink_kernsrc before do_patch
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.
Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter A. Bigot [Tue, 25 Aug 2020 15:34:01 +0000 (10:34 -0500)]
bluez5: fix builds that require ell support
Shortly after the recipe was updated to add ell as a mesh dependency
the way ell was integrated into bluez5 was changed. BlueZ requires
ell only for mesh and for btpclient (external test programs). It will
be ignored unless either mesh or btpclient are selected.
ell can be supplied externally, or it can be copied into the bluez
build directory from an existing sibling source directory. Since
bitbake builds do not provide a sibling source directory tell bluez to
look for it as an external library in the conditions where it's
required.
Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ming Liu [Tue, 25 Aug 2020 18:08:01 +0000 (20:08 +0200)]
libubootenv: inherit uboot-config
This mainly aims to involve in the sanity check of UBOOT_CONFIG and
UBOOT_MACHINE, it will throw a error message at recipe parsing time if
neither of them is set, and libubootenv would be skipped.
Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 25 Aug 2020 13:47:24 +0000 (14:47 +0100)]
selftest/recipetool: Drop globbing SRC_URI test, no longer supported
Globbing is a bad idea in SRC_URI, it breaks the task checksums and
can't really be fixed. Since we're removing it, drop the test for
its interaction with recipetool.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A directory can be specified in SRC_URI, there is no need to use
globbing. This means that the files are checksummed correctly and
the recipe rebuilds when the files change as globbing breaks that.
We're about to remove the use of globbing in SRC_URI so improve these.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Mon, 24 Aug 2020 19:00:38 +0000 (15:00 -0400)]
linux-yocto/5.8: fix perf and virtio_scsi warnings
Integrating the following commit(s) to linux-yocto/5.8:
5d66d1a67c8d arm64/perf: Fix wrong cast that may cause wrong truncation
Khem reported in some configurations that CONFIG_SCSI_VIRTIO was
throwing a warning in the final .config. That was due to the fact that
if debug or not is enabled, it switches between built-in and a module.
Either configuration is correct, so we add it to the non-hardware file
to inhibit it being reported by deefault.
The following meta branch commit resolves the issue:
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Fri, 21 Aug 2020 19:02:16 +0000 (15:02 -0400)]
linux-yocto/5.8: update to v5.8.2
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:
ad8c735b1497 Linux 5.8.2 7e430e763be2 task_work: only grab task signal lock when needed df18711f9c00 io_uring: enable lookup of links holding inflight files d181cfc89885 io_uring: add missing REQ_F_COMP_LOCKED for nested requests 960ea38bfe7a io_uring: hold 'ctx' reference around task_work queue + execute a4418e11cf9b io_uring: Fix NULL pointer dereference in loop_rw_iter() 06f96778837e s390/gmap: improve THP splitting 74e0d05fc682 s390/numa: set node distance to LOCAL_DISTANCE d7776a09f52a s390/dasd: fix inability to use DASD with DIAG driver 2026a268071e drm/xen-front: Fix misused IS_ERR_OR_NULL checks f798d7de4a01 xen/gntdev: Fix dmabuf import with non-zero sgt offset 1cd690215d30 xen/balloon: make the balloon wait interruptible e26aab6587b1 xen/balloon: fix accounting in alloc_xenballooned_pages error path 8a2845246554 firmware_loader: EFI firmware loader must handle pre-allocated buffer 6573d3c1f402 irqdomain/treewide: Free firmware node after domain removal 86caf5d8ac3e firmware: qcom_scm: Fix legacy convention SCM accessors 0255b5803332 ARM: 8992/1: Fix unwind_frame for clang-built kernels 89a16b68221c ARM: dts: exynos: Extend all Exynos5800 A15's OPPs with max voltage data dc12363fb7ff parisc: mask out enable and reserved bits from sba imask c33370975ce4 parisc: Implement __smp_store_release and __smp_load_acquire barriers 5efde2158258 parisc: Do not use an ordered store in pa_tlb_lock() 0730d6cd49e0 Revert "parisc: Revert "Release spinlocks using ordered store"" 56b60c71143a Revert "parisc: Use ldcw instruction for SMP spinlock release barrier" 40ab3539bc7c Revert "parisc: Drop LDCW barrier in CAS code when running UP" 6044b0d92ac6 Revert "parisc: Improve interrupt handling in arch_spin_lock_flags()" 49b9263b2a15 Revert "mm/vmstat.c: do not show lowmem reserve protection information of empty zone" 0e2d35b34891 erofs: fix extended inode could cross boundary 00a43cd24d66 mtd: spi-nor: intel-spi: Simulate WRDI command a2e5af466884 mtd: rawnand: qcom: avoid write to unavailable register 118612569083 spi: spidev: Align buffers for DMA 1e4d8a76f09e PM / devfreq: Fix indentaion of devfreq_summary debugfs node 83e35713b3d4 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent 4eeeaca1e935 include/asm-generic/vmlinux.lds.h: align ro_after_init 768eb23b7670 MIPS: VZ: Only include loongson_regs.h for CPU_LOONGSON64 f9bb92d06d9a cpufreq: dt: fix oops on armada37xx e147c355b717 cpufreq: Fix locking issues with governors 8ad74327fb4b NFS: Don't return layout segments that are in use 8a7dfccb581f NFS: Don't move layouts to plh_return_segs list while in use 4db216cc1d59 io_uring: sanitize double poll handling fe552346a87b io_uring: fail poll arm on queue proc failure 3c5d00a21128 io_uring: use TWA_SIGNAL for task_work uncondtionally 93bc88750e69 io_uring: set ctx sq/cq entry count earlier 3c374f0e63d7 drm/ttm/nouveau: don't call tt destroy callback on alloc failure. 441ba3c8300b media: media-request: Fix crash if memory allocation fails 0a4d8f8bc3c9 driver core: Fix probe_count imbalance in really_probe() eb0b64b4817c 9p: Fix memory leak in v9fs_mount 72bc544c0dd4 kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host 2e91bbf598b2 fs/minix: reject too-large maximum file size 4ded4aeb84a7 fs/minix: don't allow getting deleted inodes 3362c7fb3f9a fs/minix: check return value of sb_getblk() 77e0be9e8212 bitfield.h: don't compile-time validate _val in FIELD_FIT d613f0186778 tick/nohz: Narrow down noise while setting current task's tick dependency 8720986cf5ab crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 4a412ab6211b crypto: ccp - Fix use of merged scatterlists 98df3304a1fc crypto: qat - fix double free in qat_uclo_create_batch_init_list a256a5c33ab3 crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 6158e615334a pstore: Fix linking when crypto API disabled 32e110843422 tpm: Unify the mismatching TPM space buffer sizes ec0cf56ee031 ALSA: usb-audio: add quirk for Pioneer DDJ-RB f8b0754bb141 ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109 184f08d3789f ALSA: usb-audio: fix overeager device match for MacroSilicon MS2109 2b4d81f58d9d ALSA: usb-audio: Creative USB X-Fi Pro SB1095 volume knob support 9af94db4d1b7 ALSA: hda - reverse the setting value in the micmute_led_set d81a84e7bba0 ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO 09af2d0326b1 vdpasim: protect concurrent access to iommu iotlb 53dcbd3acc74 iommu/vt-d: Skip TE disabling on quirky gfx dedicated iommu 56448553974f usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint 1425bf7b1be0 USB: serial: cp210x: enable usb generic throttle/unthrottle bd5cc29fca5e USB: serial: cp210x: re-enable auto-RTS on open e9eb38791a1f r8152: Use MAC address from correct device tree node 26121668ba97 net: phy: marvell10g: fix null pointer dereference 6979755c3473 vsock: fix potential null pointer dereference in vsock_poll() c1a7c51485e1 net: initialize fastreuse on inet_inherit_port fe00aee967ec net: refactor bind_bucket fastreuse into helper 0306c15114e2 vmxnet3: use correct tcp hdr length when packet is encapsulated 743ae9f790ec tcp: correct read of TFO keys on big endian systems 1cccda2d0888 net/tls: Fix kmap usage e6e356db45f4 net: Set fput_needed iff FDPUT_FPUT is set 5512f2549e3d net: phy: fix memory leak in device-create error path d556aa7ab7b7 net/nfc/rawsock.c: add CAP_NET_RAW check. 469cb3bb42d1 net: Fix potential memory leak in proto_register() 4268aa35b6dd drivers/net/wan/lapbether: Added needed_headroom and a skb->len check e85a5151e5f9 af_packet: TPACKET_V3: fix fill status rwlock imbalance b879ed3103c1 crypto: aesni - add compatibility with IAS 335e8039fddd x86/fsgsbase/64: Fix NULL deref in 86_fsgsbase_read_task dcab7f26a723 SUNRPC: Fix ("SUNRPC: Add "@len" parameter to gss_unwrap()") 6c031aec6218 nfsd: avoid a NULL dereference in __cld_pipe_upcall() 7f84e3caf510 svcrdma: Fix page leak in svc_rdma_recv_read_chunk() 9bf49b97ab0b mtd: rawnand: brcmnand: Don't default to edu transfer a75fc224ebe8 pinctrl-single: fix pcs_parse_pinconf() return value eba0e0f5ae94 ocfs2: fix unbalanced locking e29f6ba2c10f dlm: Fix kobject memleak 2bbe1b50734a media: mtk-mdp: Fix a refcounting bug on error in init ce1b309dd629 net: thunderx: initialize VF's mailbox mutex before first usage 8eb42c65f162 selftests/net: relax cpu affinity requirement in msg_zerocopy test 551cdcc12892 Revert "vxlan: fix tos value before xmit" b187671275ac hv_netvsc: do not use VF device if link is down adc38af984ad dpaa2-eth: Fix passing zero to 'PTR_ERR' warning 3f730f7b0edf net: macb: Properly handle phylink on at91sam9x 92bb2e6b119c net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task() 312efc832854 gpio: don't use same lockdep class for all devm_gpiochip_add_data users 5543ea25c09d fsl/fman: fix eth hash table allocation e5a4333e2cdf fsl/fman: check dereferencing null pointer d3d5c8c74008 fsl/fman: fix unreachable code 47fe6d67f941 fsl/fman: fix dereference null return value f90112519854 fsl/fman: use 32-bit unsigned integer d097ca1397c0 net: spider_net: Fix the size used in a 'dma_free_coherent()' call 66e007f01aa1 net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls d0414b18f877 liquidio: Fix wrong return value in cn23xx_get_pf_num() 17948294d0ae net: ethernet: aquantia: Fix wrong return value fba2cf348d9e net: mvpp2: fix memory leak in mvpp2_rx 1a6a61db6f4c ftrace: Fix ftrace_trace_task return value f10a3fb43b02 net/mlx5: Delete extra dump stack that gives nothing b7855bad4c6a net/mlx5: DR, Change push vlan action sequence 63d91a65f226 tools, bpftool: Fix wrong return value in do_dump() fccac9cc36b0 tools, build: Propagate build failures from tools/build/Makefile.build 060bd61d4cc6 wl1251: fix always return 0 error c7565e834207 qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc() e879051c0828 rtw88: coex: only skip coex triggered by BT info 1a93abb6a68d rtw88: fix short GI capability based on current bandwidth f2a4bd36a126 rtw88: fix LDPC field for RA info 763c576f095b netfilter: nft_meta: fix iifgroup matching ae32b42b3641 ice: Graceful error handling in HW table calloc failure f0c20782f637 ice: Clear and free XLT entries on reset 4bd27fb14f7b s390/qeth: don't process empty bridge port events 22697ca855c0 s390/qeth: tolerate pre-filled RX buffer ee9f0d33c024 ASoC: fsl_sai: Fix value of FSL_SAI_CR1_RFW_MASK 3d26a53f004d ASoC: meson: cards: deal dpcm flag change 224e14999588 ASoC: core: use less strict tests for dailink capabilities bd82844099c4 MIPS: only register FTLBPar exception handler for supported models 6edc078a22a2 libbpf: Fix register in PT_REGS MIPS macros fbcedc1579f5 drm/msm/dpu: don't use INTF_INPUT_CTRL feature on sdm845 77c8cfdf8084 net: ll_temac: Use devm_platform_ioremap_resource_byname() 7a4c9d17c8bc ASoC: soc-core: Fix regression causing sysfs entries to disappear 0c7d64caaf13 ASoC: meson: axg-tdm-formatters: fix sclk inversion 036a8c923358 ASoC: meson: axg-tdmin: fix g12a skew 30fde1d41d73 ASoC: meson: axg-tdm-interface: fix link fmt setup 3369ed2127bb RDMA/hns: Fix the unneeded process when getting a general type of CQE error a6c7b76332b3 RDMA/hns: Fix error during modify qp RTS2RTS fd926b32b9ca selftests/powerpc: Fix online CPU selection 3e444bad470e powerpc/pseries/hotplug-cpu: Remove double free in error path c2ff56c52846 cpufreq: ap806: fix cpufreq driver needs ap cpu clk 40e453d8a9df PCI: Release IVRS table in AMD ACS quirk c62142f3b48b RDMA/netlink: Remove CAP_NET_RAW check when dump a raw QP 87ccb032ee9f RDMA/rtrs: remove WQ_MEM_RECLAIM for rtrs_wq 2247e03d8206 RDMA/rtrs-clt: add an additional random 8 seconds before reconnecting 34503392af35 nvmem: sprd: Fix return value of sprd_efuse_probe() 081428bc9c3b selftests/powerpc: Fix CPU affinity for child process 0e03270c6d95 powerpc/boot: Fix CONFIG_PPC_MPC52XX references a5baa27249bf powerpc/32s: Fix CONFIG_BOOK3S_601 uses 94976f931d33 selftests/powerpc: Squash spurious errors due to device removal 6c96e968f10c xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush 5db458a85892 xfs: fix inode allocation block res calculation precedence 03acd91927d2 net: dsa: rtl8366: Fix VLAN set-up 427fa4ecef77 net: dsa: rtl8366: Fix VLAN semantics 536079c88a4f Bluetooth: hci_qca: Stop collecting memdump again for command timeout during SSR 3d27182481fe Bluetooth: Fix suspend notifier race 226020402b1f bpf: Fix bpf_ringbuf_output() signature to return long 8a365b83f67e Bluetooth: hci_serdev: Only unregister device if it was registered 715faee64cea Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags 267dac50f18e Bluetooth: btusb: Fix and detect most of the Chinese Bluetooth controllers a7d08a5c1ed4 power: supply: check if calc_soc succeeded in pm860x_init_battery 1fe77db0d48b Smack: prevent underflow in smk_set_cipso() cdb83ad0c45b Smack: fix another vsscanf out of bounds 16b5b7dd945e RDMA/core: Fix return error value in _ib_modify_qp() to negative e415706d69fe PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register 8398e98caec2 PCI: cadence: Fix cdns_pcie_{host|ep}_setup() error path 6c7b87f48585 gpio: regmap: fix type clash 38c296c86322 macintosh/via-macii: Access autopoll_devs when inside lock d2b414c7916e powerpc/watchpoint: Fix DAWR exception for CACHEOP 50b0fe566b11 powerpc/watchpoint: Fix DAWR exception constraint 93f7e2100c93 powerpc/watchpoint: Fix 512 byte boundary limit 1e43aee1568e bpf: Fix pos computation for bpf_iter seq_ops->start() 7aa88d36b692 net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration 04ce7e5016de scsi: core: Add missing scsi_device_put() in scsi_host_block() c16097b56df8 scsi: mesh: Fix panic after host or bus reset 14f820a1b601 scsi: megaraid_sas: Clear affinity hint 1bcba06e5888 usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength 88dcd13872b1 usb: dwc2: Fix error path in gadget registration 816adf48d9ff usb: dwc3: meson-g12a: fix shared reset control use de27452f2308 thermal: int340x: processor_thermal: fix: update Jasper Lake PCI id 0415ff8c7d6e MIPS: OCTEON: add missing put_device() call in dwc3_octeon_device_init() 214d219e48a2 PCI: rcar: Fix runtime PM imbalance on error 0d4b670195f5 powerpc/spufs: Fix the type of ret in spufs_arch_write_note a1d76052b1e3 ASoC: hdac_hda: fix deadlock after PCM open error 7593350d7b72 qed: Fix ILT and XRCD bitmap memory leaks 4a7063478d13 ASoC: tas2770: Fix reset gpio property name 360ee482151c tools/bpftool: Fix error handing in do_skeleton() 23072846b309 s390/bpf: Tolerate not converging code shrinking a463d46b323c s390/bpf: Use brcl for jumping to exit_ip if necessary fa9a83dab397 s390/bpf: Fix sign extension in branch_ku cec737d79fa4 phy: armada-38x: fix NETA lockup when repeatedly switching speeds e5e386a90961 mt76: mt7615: fix possible memory leak in mt7615_mcu_wtbl_sta_add 3432b568dec4 mt76: mt7915: add missing CONFIG_MAC80211_DEBUGFS d8177e088f10 mt76: mt7915: potential array overflow in mt7915_mcu_tx_rate_report() fbdc18979b1d mt76: mt7615: fix potential memory leak in mcu message handler 8c2729a1ead8 mt76: mt7663u: fix potential memory leak in mcu message handler 6aee19b46bc7 mt76: mt7663u: fix memory leak in set key a73ed0f9bca1 powerpc/perf: Fix missing is_sier_aviable() during build 66ce4246d1d3 coresight: etm4x: Fix save/restore during cpu idle 3e75f65575c9 coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb() 91813b6c4a71 coresight: etmv4: Counter values not saved on disable 9b975cf2fb05 coresight: etmv4: Fix resource selector constant 6d52214425ce thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor() 99075b81545c usb: core: fix quirks_param_set() writing to a const pointer e9ba39efa669 clk: qcom: gcc: Make disp gpll0 branch aon for sc7180/sdm845 ef54393965e4 USB: serial: iuu_phoenix: fix led-activity helpers d1ffb4446102 PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk() 9d42c78119a0 spi: lantiq-ssc: Fix warning by using WQ_MEM_RECLAIM 75d9f30b8b56 gpu: ipu-v3: Restore RGB32, BGR32 19a106b23be9 drm/imx: tve: fix regulator_disable error path 68c15a6dbc77 drm/imx: fix use after free 20d2eba09230 powerpc/book3s64/pkeys: Use PVR check instead of cpu feature aa11151dd892 powerpc/mm/radix: Free PUD table when freeing pagetable 05d976032bb8 phy: renesas: rcar-gen3-usb2: move irq registration to init 27d42b1bcde1 media: s5p-g2d: Fix a memory leak in an error handling path in 'g2d_probe()' 9922de2681e2 go7007: add sanity checking for endpoints 43a040aea142 PCI/ASPM: Add missing newline in sysfs 'policy' 94fbbc3cdd99 ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback c660787eb906 staging: rtl8192u: fix a dubious looking mask before a shift 263875d7b606 ima: Fail rule parsing when the KEY_CHECK hook is combined with an invalid cond c7e3b96d1229 ima: Fail rule parsing when the KEXEC_CMDLINE hook is combined with an invalid cond 8e07cdb1778e ima: Fail rule parsing when buffer hook functions have an invalid action bd6f756234dc ima: Free the entire rule if it fails to parse 644a11adfcc7 ima: Free the entire rule when deleting a list of rules 96022c3ddf63 ima: Have the LSM free its audit rule b76ca3f373b5 RDMA/rxe: Prevent access to wr->next ptr afrer wr is posted to send queue bdb550b1e420 RDMA/qedr: Add EDPM max size to alloc ucontext response 06e28eb3bcef RDMA/qedr: Add EDPM mode type for user-fw compatibility 01fdb8e7c330 RDMA/qedr: SRQ's bug fixes 99d321c2a921 Bluetooth: Fix update of connection state in `hci_encrypt_cfm` 13b052362be4 powerpc/vdso: Fix vdso cpu truncation fbbdd2434157 powerpc/rtas: don't online CPUs for partition suspend d411475796be powerpc/pseries: remove cede offline state for CPUs 358d38e35d6d kernfs: do not call fsnotify() with name without a parent bc2599182f8e mwifiex: Prevent memory corruption handling keys 63f6498a979a bpfilter: Initialize pos variable 7a3c6b8c2987 scsi: scsi_debug: Add check for sdebug_max_queue during module init b62846a209d8 drm/bridge: sil_sii8620: initialize return of sii8620_readb 43e8b3c268aa mmc: sdhci-of-arasan: Add missed checks for devm_clk_register() adb10d0dc592 phy: exynos5-usbdrd: Calibrating makes sense only for USB2.0 PHY a4fc32a7cebd dt-bindings: phy: uniphier: Fix incorrect clocks and clock-names for PXs3 usb3-hsphy 84cbf55c6744 phy: cadence: salvo: fix wrong bit definition 16835dc05924 drm: panel: simple: Fix bpc for LG LB070WV8 panel 413d189f9a3c leds: core: Flush scheduled work for system suspend c5450ee5eb1a kobject: Avoid premature parent object freeing in kobject_cleanup() 49d6de41c9da drm/stm: repair runtime power management f59499bcd70d samples: bpf: Fix bpf programs with kprobe/sys_connect event 5c7ca8d75dce PCI: Fix pci_cfg_wait queue locking problem e36653b51177 RDMA/rxe: Skip dgid check in loopback mode 6d283e10b30f xfs: fix reflink quota reservation accounting error 95c286034452 xfs: don't eat an EIO/ENOSPC writeback error when scrubbing data fork 9ff3281d903f xfs: preserve rmapbt swapext block reservation from freed blocks 4173d4194d77 media: cros-ec-cec: do not bail on device_init_wakeup failure 050f814243b6 media: exynos4-is: Add missed check for pinctrl_lookup_state() 200a75ac7e46 media: tvp5150: Add missed media_entity_cleanup() dc2ac5c3a96a media: staging: rkisp1: rsz: fix resolution limitation on sink pad 39e5b396bc9d media: staging: rkisp1: rsz: supported formats are the isp's src formats, not sink formats 94f0fc91b3fd media: allegro: Fix some NULL vs IS_ERR() checks in probe 9f32f439a33f media: firewire: Using uninitialized values in node_probe() 101df88a5837 ipvs: allow connection reuse for unconfirmed conntrack 013c7b012461 scsi: eesox: Fix different dev_id between request_irq() and free_irq() 64c6cd408d98 scsi: powertec: Fix different dev_id between request_irq() and free_irq() 9b470925a9dc RDMA/core: Fix bogus WARN_ON during ib_unregister_device_queued() 8cb26b10f5b7 dma-buf: fix dma-fence-chain out of order test b48e8758634a iavf: Fix updating statistics 1c5da372e87e iavf: fix error return code in iavf_init_get_resources() 290ca6a85627 staging: vchiq_arm: Add a matching unregister call 6545d3462e35 drm/radeon: fix array out-of-bounds read and write issues 9707e1a7f8ac drm/amdgpu: ensure 0 is returned for success in jpeg_v2_5_wait_for_idle 8ee5083de201 drm/amdgpu/debugfs: fix memory leak when amdgpu_virt_enable_access_debugfs failed 5e3b4e09c9b9 scsi: qla2xxx: Make __qla2x00_alloc_iocbs() initialize 32 bits of request_t.handle da3684003dc1 tracing: Move pipe reference to trace array instead of current_tracer d579cc130a28 net: ethernet: ti: am65-cpsw-nuss: restore vlan configuration while down/up 33333c08d28a lkdtm: Make arch-specific tests always available a4c1f5314327 selftests/lkdtm: Reset WARN_ONCE to avoid false negatives 5397915bf77b lkdtm: Avoid more compiler optimizations for bad writes fe1f13b572b2 cxl: Fix kobject memleak cb52bc02e65d drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline bdcfb3217816 scsi: ufs: Disable WriteBooster capability for non-supported UFS devices b5118d2bbb8e scsi: cumana_2: Fix different dev_id between request_irq() and free_irq() 36428bc924e6 net: atlantic: MACSec offload statistics checkpatch fix 10b8d2696578 ASoC: Intel: Boards: cml_rt1011_rt5682: use statically define codec config e6046c52f127 ASoC: Intel: bxt_rt298: add missing .owner field 5ee90079d049 ASoC: Intel: sof_sdw: add missing .owner field f678fb5fd3ba ASoC: Intel: cml_rt1011_rt5682: add missing .owner field 72425036a6c5 ASoC: SOF: nocodec: add missing .owner field 37c77ff3b1cc dpaa2-eth: fix condition for number of buffer acquire retries ed3f590f2ac6 staging: most: avoid null pointer dereference when iface is null 10738d622ef0 media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities() 41013c90d84c media: marvell-ccic: Add missed v4l2_async_notifier_cleanup() eadd4aa1c520 media: cxusb-analog: fix V4L2 dependency b50202c0770c Bluetooth: btmtksdio: fix up firmware download sequence 6fb4ccc66e01 Bluetooth: btusb: fix up firmware download sequence 56704a6ba1c7 ASoC: fsl_easrc: Fix uninitialized scalar variable in fsl_easrc_set_ctx_format d304a3f78d1b leds: lm355x: avoid enum conversion warning d95947426c42 powerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is 256k 10057c82dd62 powerpc/mm: Fix typo in IS_ENABLED() 47fea4d1a23f clk: bcm63xx-gate: fix last clock availability a29030741107 drm/arm: fix unintentional integer overflow on left shift 3ea4204a722a drm/panfrost: Fix inbalance of devfreq record_busy/idle() b9af8ae89d51 drm/etnaviv: Fix error path on failure to enable bus clk 7022baca7cfb scsi: ufs: Fix imprecise load calculation in devfreq window c53b4ac934e4 iio: amplifiers: ad8366: Change devm_gpiod_get() to optional and add the missed check 0f3ff5cba631 iio: improve IIO_CONCENTRATION channel type description 5af9cf807b5e Bluetooth: hci_qca: Increase SoC idle timeout to 200ms 1d22f52161b2 Bluetooth: hci_qca: Bug fix during SSR timeout 17e8eb2db9cc ath10k: Acquire tx_lock in tx error paths 1b1cacc13022 Bluetooth: Allow suspend even when preparation has failed 4f87bf4b50b5 Bluetooth: hci_qca: Only remove TX clock vote after TX is completed 88959e705f04 drm/mm: fix hole size comparison fe7a5d7fdea5 Bluetooth: hci_qca: Fix an error pointer dereference f1785f21b6be video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call 92f18805fd07 console: newport_con: fix an issue about leak related system resources ec47a8107033 video: fbdev: sm712fb: fix an issue about iounmap for a wrong address 4d2663776cae btmrvl: Fix firmware filename for sd8997 chipset 2e00553ce46e btmrvl: Fix firmware filename for sd8977 chipset 86faf4735ccf mwifiex: Fix firmware filename for sd8997 chipset d41c930387d3 mwifiex: Fix firmware filename for sd8977 chipset 4f82ecd46efe agp/intel: Fix a memory leak on module initialisation failure 86a94d97881d drm/amdgpu: use the unlocked drm_gem_object_put 1d2ead5d4b39 drm/bridge: ti-sn65dsi86: Fix off-by-one error in clock choice b81b49591375 drm/bridge: ti-sn65dsi86: Clear old error bits before AUX transfers d65751086ca7 drm/gem: Fix a leak in drm_gem_objects_lookup() 7c83c5090850 drm/msm: ratelimit crtc event overflow error 46c8b2e8255c crypto: caam - silence .setkey in case of bad key length d5c9f20e4ad7 io_uring: fix stalled deferred requests 458ae14d4ce5 io_uring: fix racy overflow count reporting 7ab9b92b614d ACPICA: Do not increment operation_region reference counts for field units 064c5272a19d btrfs: qgroup: free per-trans reserved space when a subvolume gets dropped 16a35c7dd8f4 btrfs: allow btrfs_truncate_block() to fallback to nocow for data space reservation 11bf4638158a bcache: fix super block seq numbers comparision in register_cache_set() 20fa1e9929e8 dyndbg: fix a BUG_ON in ddebug_describe_flags 2f92047fea41 usb: bdc: Halt controller on suspend 8415df3d6eb1 bdc: Fix bug causing crash after multiple disconnects 7677cbd18b99 usb: gadget: net2280: fix memory leak on probe error handling paths fa979805e400 mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1 d5bf76c14acd x86/uaccess: Make __get_user_size() Clang compliant on 32-bit c234811c3754 ionic: update eid test for overflow 7ee88f37ad1b drm/amd/powerplay: suppress compile error around BUG_ON 2ae6cbe7652a gpu: host1x: debug: Fix multiple channels emitting messages simultaneously 4e701b476f48 iwlegacy: Check the return value of pcie_capability_read_*() 79f477d1beac platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15 b195c3db8434 brcmfmac: set state of hanger slot to FREE when flushing PSQ f41a2583e10b brcmfmac: To fix Bss Info flag definition Bug 38a031bbdfd3 brcmfmac: keep SDIO watchdog running when console_interval is non-zero 93e05fd717de Bluetooth: hci_qca: Bug fixes for SSR a82baea4babd bpf: Fix fds_example SIGSEGV error e9496b4f3165 drm/amd/powerplay: fix compile error with ARCH=arc e4c9ade43bc5 drm/amd/display: allow query ddc data over aux to be read only operation 81ece245ce78 drm/amdgpu/display: properly guard the calls to swSMU functions 53812570f84c drm/amdgpu/display bail early in dm_pp_get_static_clocks 865e2dbadf68 drm/amdgpu/debugfs: fix ref count leak when pm_runtime_get_sync fails 1adb2ff1f6b1 drm/amd/display: Improve DisplayPort monitor interop 1839d11b9bb2 mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls b70d115ebdcf irqchip/irq-mtk-sysirq: Replace spinlock with raw_spinlock d77ecc91b0d8 net: phy: mscc: restore the base page in vsc8514/8584_config_init befe5de6250b drm/radeon: disable AGP by default 175bbacf669b drm/debugfs: fix plain echo to connector "force" attribute 376bf3ddda59 drm/msm: Fix a null pointer access in msm_gem_shrinker_count() 37f45e55b596 drm: msm: a6xx: fix gpu failure after system resume f2ea1e1877d0 usb: mtu3: clear dual mode of u3port when disable device 870ed79fc2b7 btrfs: fix lockdep splat from btrfs_dump_space_info 14fad4e83050 mmc: sdhci-cadence: do not use hardware tuning for SD mode 085af96b1506 drm/nouveau: fix multiple instances of reference count leaks ff0ef144057e drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek ef11e2b533de memory: samsung: exynos5422-dmc: Do not ignore return code of regmap_read() 1020d869babf ionic: rearrange reset and bus-master control 51d26960fcb0 drm/etnaviv: fix ref count leak via pm_runtime_get_sync 49395a64e5f5 arm64: dts: hisilicon: hikey: fixes to comply with adi, adv7533 DT binding 256d7e3a6752 drm/nouveau/kms/nv50-: Fix disabling dithering 77a318a4da3e rtw88: 8822ce: add support for device ID 0xc82f 679d3baca18f md-cluster: fix wild pointer of unlock_all_bitmaps() 0ff3a2b771b9 bus: ti-sysc: Add missing quirk flags for usb_host_hs 8131c27f8088 video: fbdev: neofb: fix memory leak in neo_scan_monitor() 5cc3bdb0aea5 video: fbdev: savage: fix memory leak on error handling path in probe cccec0d3e0ef crypto: aesni - Fix build with LLVM_IAS=1 90bcb927d66d drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync 59fed9e55e17 drm/amdgpu: avoid dereferencing a NULL pointer 6cd01fb89ac9 fs/btrfs: Add cond_resched() for try_release_extent_mapping() stalls 5a4f7281d5a6 io_uring: fix req->work corruption b51a31ec3e7c loop: be paranoid on exit and prevent new additions / removals 35dfb4f8423e Bluetooth: add a mutex lock to avoid UAF in do_enale_set 7fd31dbc8ece ARM: exynos: clear L310_AUX_CTRL_FULL_LINE_ZERO in default l2c_aux_val be90ca6b1f53 net: mscc: ocelot: fix encoding destination ports into multicast IPv4 address 9638ef9db839 soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag 47b94c5c6604 drm/tilcdc: fix leak & null ref in panel_connector_get_modes 22ca8cb2a5b9 block: don't do revalidate zones on invalid devices 4c3aeda8791c irqchip/loongson-pch-pic: Fix the misused irq flow handler c790d6a2306b nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths ebd5b7f6b99e nvme-multipath: fix logic for non-optimized paths a7e15f57766c nvme-rdma: fix controller reset hang during traffic c11521f04ed9 nvme-tcp: fix controller reset hang during traffic ac26d372f1a3 irqchip/gic-v4.1: Use GFP_ATOMIC flag in allocate_vpe_l1_table() bc654671a452 irqchip/irq-bcm7038-l1: Guard uses of cpu_logical_map ee9db7fc3a2b kunit: tool: fix improper treatment of file location 0044496d9440 kunit: tool: fix broken default args in unit tests dda3d66364ed irqchip/loongson-liointc: Fix potential dead lock 922ce733868a irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell() 594496eccb4c irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell() 6affe6f7db79 irqchip/loongson-htvec: Fix potential resource leak 1926d2da825f md: raid0/linear: fix dereference before null check on pointer mddev 51ef07ca87be seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID d2d09105657d irqchip/ti-sci-inta: Fix return value about devm_ioremap_resource() 8705ff60b829 scripts/selinux/mdp: fix initial SID handling 35d16397b2ab iocost: Fix check condition of iocg abs_vdebt 793788d7848c ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh() 0e16025c3657 spi: rockchip: Fix error in SPI slave pio read 7ca8cc7b3ee0 soc: qcom: pdr: Reorder the PD state indication ack f743813ff463 arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3 8dcdb3754ffd arm64: dts: meson: misc fixups for w400 dtsi ff316db596a8 io_uring: fix sq array offset calculation 680283e6992d regulator: fix memory leak on error path of regulator_register() ca1c20292739 recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64. 8e7d79dec504 tpm: Require that all digests are present in TCG_PCR_EVENT2 structures 81fd1c90e748 crypto: x86/crc32c - fix building with clang ias 6760df0358ef spi: lantiq: fix: Rx overflow error in full duplex mode 067345b6863f spi: dw-dma: Fix Tx DMA channel working too fast af58be14b8c1 ARM: dts: stm32: Fix spi4 pins in stm32mp15-pinctrl 19798aa6945c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages 2f2b61f5cb0c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all CPU cores 3b5043161541 ARM: dts: at91: sama5d3_xplained: change phy-mode ea2c9ccdbb33 reset: intel: fix a compile warning about REG_OFFSET redefined 14ae200d052b ARM: dts: exynos: Disable frequency scaling for FSYS bus on Odroid XU3 family c1e877ce5e12 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() 4f8c0858195c ARM: dts: gose: Fix ports node name for adv7612 141b07accc60 arm64: dts: renesas: Fix SD Card/eMMC interface device node names 459fae59fa50 ARM: dts: gose: Fix ports node name for adv7180 7b49da0dd3f4 platform/x86: intel-vbtn: Fix return value check in check_acpi_dev() 54ba0892aabc platform/x86: intel-hid: Fix return value check in check_acpi_dev() 40bd5e36e27e m68k: mac: Fix IOP status/control register writes 6b4132d29576 m68k: mac: Don't send IOP message until channel is idle d3e1f3ea5877 clk: scmi: Fix min and max rate when registering clocks with discrete rates 02a4e7bc34eb crypto: qat - allow xts requests not multiple of block d4ec29ee8836 sched/uclamp: Fix initialization of struct uclamp_rq 6d67baf624c6 arm64: dts: exynos: Fix silent hang after boot on Espresso 0c348e7b0380 arm64: dts: sun50i-pinephone: dldo4 must not be >= 1.8V 660f9b20f525 firmware: arm_scmi: Fix SCMI genpd domain probing 7ea14136a7d4 rcu/tree: Repeat the monitor if any free channel is busy a1e2c6d58bd8 ARM: exynos: MCPM: Restore big.LITTLE cpuidle support c7b6519619aa crypto: ccree - fix resource leak on error path 06769a572492 soc: qcom: rpmh-rsc: Don't use ktime for timeout in write_tcs_reg_sync() 00734ff000fc blktrace: fix debugfs use after free 71fc8e5f4cc3 memory: tegra: Fix an error handling path in tegra186_emc_probe() d84a71c79a0c arm64: dts: qcom: msm8916: Replace invalid bias-pull-none property f6ab00652486 crc-t10dif: Fix potential crypto notify dead-lock 012f0e4c9732 EDAC: Fix reference count leaks b069187f3044 arm64: dts: rockchip: fix rk3399-puma gmac reset gpio ae3da7d2be00 arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio 4df058114a1c arm64: dts: rockchip: fix rk3368-lion gmac reset gpio 6624632301bc sched: correct SD_flags returned by tl->sd_flags() 4b53a8f2aed2 sched/fair: Fix NOHZ next idle balance f08ce56b56fe x86, sched: Bail out of frequency invariance if turbo_freq/base_freq gives 0 6ddc271a3a55 x86, sched: Bail out of frequency invariance if turbo frequency is unknown 2b611e8adc57 x86, sched: check for counters overflow in frequency invariant accounting 792aececc15d perf/x86/intel/uncore: Fix oops when counting IMC uncore events on some TGL 421caf5e2ba9 x86/mce/inject: Fix a wrong assignment of i_mce.status 1e5993c9e22c ARM: dts: stm32: fix uart7_pins_a comments in stm32mp15-pinctrl ca1e6f9272ac ARM: dts: stm32: fix uart nodes ordering in stm32mp15-pinctrl d6828c99ab8a HID: input: Fix devices that return multiple bytes in battery report 7701efa45b5b io_uring: abstract out task work running 2f2bf462d1d4 kunit: capture stderr on all make subprocess calls 0534d726fffe tracepoint: Mark __tracepoint_string's __used
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ming Liu [Fri, 21 Aug 2020 12:39:12 +0000 (14:39 +0200)]
systemd: split systemd specific udev rules into its own package
In case some other packages need these udev rules but they wont install
systemd, for instance, a issue was found that plymouth needs
71-seat.rules to be present in rootfs or it will fail.
Let systemd RDEPENDS on systemd-udev-rules.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Thu, 20 Aug 2020 08:01:14 +0000 (01:01 -0700)]
gcc-cross-canadian: Install gcc/g++ wrappers for musl
gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler
configured for glibc by default, this helps in creating correct
compiler defaults for musl based SDK compilers
[YOCTO #13459]
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Leon Woestenberg <leon@sidebranch.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 20 Aug 2020 23:19:34 +0000 (00:19 +0100)]
nativesdk-sdk-provides-dummy: Add /bin/sh
By doing this we can revert b18c32ab6bc9c4f1953e9f79aa39bc92d1c4e30d which
was a pretty ugly hack anyway and now means the different providers are all
being handled consistently.
Anyone with SDK recipes will need to ensure nativesdk-sdk-provides-dummy
is included in those builds (or an equivalent). This is a good thing to
do anyway.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:41 +0000 (10:20 +0000)]
systemd: Upgrade v246.1 -> v246.2
Commits:
946e4c43bb4a tools/make-man-index: fix purpose text that contains tags dae0586e9193 test-fs-util: skip encrypted path test if we get EACCES 0d026c9b0d2f Newer Glibc use faccessat2 to implement faccessat fde6520d468f namespace: fix minor memory leak 208ba581f44f man: fix incorrectly placed full stop 6c81d578289b man: fix typo 53a8d2588e72 bless-boot: add missing verb to --help 4cfa0ac4fdc4 user-record: deal with invalid GECOS fields gracefully ae5234ef4838 user-util: add mangle_gecos() call for turning strings into fields suitable as GECOS fields
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:40 +0000 (10:20 +0000)]
systemd: Upgrade v246 -> v246.1
Commits:
972391ac396f fix typo in systemctl help 443aacfcda39 man: clarify that LogNamespace= is for system services only 5aec8fe54e47 _sd-common.h: avoid parsing errors with Coverity f9ad4ea2ca06 analyze: fix 'cat-config systemd/zram-generator.conf' dda6fec1dfc7 man: describe that changing Storage= does not move existing data 2bbd33e476ac core: reset bus error before reuse b81504a3c76b nspawn: Fix incorrect usage of putenv cb263973acf8 man: fix typo in systemd.service 73b432e7ef21 network: fix DHCPv6 Prefix Delegation example after option rename
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:39 +0000 (10:20 +0000)]
volatile-binds: Drop StandardOutput=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:38 +0000 (10:20 +0000)]
openssh: Drop StandardError=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:37 +0000 (10:20 +0000)]
nfs-utils: Drop StandardError=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Alex Kiernan [Thu, 20 Aug 2020 10:20:36 +0000 (10:20 +0000)]
systemd: Fix path to modules-load.d et al
Following 4a56315a990b ("path: use ROOTPREFIX properly"), the paths to
sysusers.d, sysctl.d binfmt.d and modules-load.d changed to /lib when
building without usrmerge, which aoppears to be an inadvertent ABI
change. Undo this change and track upstream:
https://github.com/systemd/systemd/issues/16773
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Thu, 20 Aug 2020 08:01:13 +0000 (01:01 -0700)]
binutils: Let crosssdk gold linker generate 4096 btyes long .interp section
When gold is used as default linker in crosssdk e.g. when building SDK
binaries with LTO, the binaries do not have large enough .interp
section size and SDK relocation fails for those nativesdk binaries and libraries
which used gold for linking. This patch extends the .interp relaxation
fix to gold
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 19 Aug 2020 13:24:41 +0000 (09:24 -0400)]
kernel-yocto/5.8: add gmp-native dependency
With the latest gcc10 plugins, the host tools need gmp support
or we end up with:
HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
In file included from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10:
fatal error: gmp.h: No such file or directory
687 | #include <gmp.h>
| ^~~~~~~
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 19 Aug 2020 13:24:40 +0000 (09:24 -0400)]
linux-yocto: introduce 5.8 reference kernel
Add the next set of "versioned" linux-yocto recipes that can be
used to build v5.8 upstream (v5.8/base) or 5.8 with some emedded
specific features (v5.8/standard/*).
Note: along with the new 5.8 content, the recipes have a tweaked
licence checksum, which The needs to be updated to account for kernel
commit 74835c7db0322b [COPYING: state that all contributions really
are covered by this file].
These have been built and booted for all supported qemu architectures.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Wed, 19 Aug 2020 13:24:39 +0000 (09:24 -0400)]
libc-headers: update to v5.8
Updating the libc-headers to v5.8. Adjustments to the recipe
include:
The license checksum. Needs to be updated to account for kernel
commit 74835c7db0322b [COPYING: state that all contributions really are
covered by this file].
And the ARM multilib headers need to check the version to adjust for
kernel commit: 541ad0150ca4 [arm: Remove 32bit KVM host support]. We
don't want to break potential other libc-header users, so we check
the version and continue to install the file if the version is less
than v5.8
One patch is refreshed to remove fuzz when building musl.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Tue, 18 Aug 2020 09:59:02 +0000 (17:59 +0800)]
gpgme: fix multilib header conflict
fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32
part of diff:
-#if 64
+#if 0
#ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
#endif
#endif
#endif
LFS support is enabled by default, and this header is generated during
build according to current configure
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark Hatle [Wed, 19 Aug 2020 16:16:56 +0000 (11:16 -0500)]
package.bbclass: Sort shlib2 output for hash equivalency
The output was unsorted, so different versions of python, different input
ordering could have have changed the files, and thus changed the hashes
making the system think the output was different, even when unmodified.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Vasyl Vavrychuk [Mon, 17 Aug 2020 13:57:28 +0000 (16:57 +0300)]
runqemu: Check gtk or sdl option is passed together with gl or gl-es options.
runqemu help reports that gtk or sdl option is needed with gl or gl-es
option. But if user forgot to add gtk or sdl option, then gl or gl-es
options were silently skipped.
Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Changqing Li [Tue, 18 Aug 2020 09:59:01 +0000 (17:59 +0800)]
libffi: fix multilib header conflict
fix error:
file /usr/include/ffitarget.h conflicts between attempted installs of lib32-libffi-dev-3.3-r0.armv7vet2hf_vfp and libffi-dev-3.3-r0.cortexa57
part of diff
#ifndef LIBFFI_ASM
-typedef unsigned long ffi_arg;
-typedef signed long ffi_sarg;
-
-typedef enum ffi_abi {
- FFI_FIRST_ABI = 0,
- FFI_SYSV,
- FFI_VFP,
- FFI_LAST_ABI,
-#if defined(__ARM_PCS_VFP) || defined(_M_ARM)
- FFI_DEFAULT_ABI = FFI_VFP,
+#ifdef __ILP32__
+#define FFI_SIZEOF_ARG 8
+#define FFI_SIZEOF_JAVA_RAW 4
+typedef unsigned long long ffi_arg;
+typedef signed long long ffi_sarg;
+#elif defined(_M_ARM64)
+#define FFI_SIZEOF_ARG 8
+typedef unsigned long long ffi_arg;
+typedef signed long long ffi_sarg;
#else
- FFI_DEFAULT_ABI = FFI_SYSV,
-#endif
-} ffi_abi;
+typedef unsigned long ffi_arg;
+typedef signed long ffi_sarg;
#endif
Ming Liu [Mon, 17 Aug 2020 09:32:56 +0000 (11:32 +0200)]
libubootenv: uprev to v0.3
Update libubootenv to the latest 0.3 release, which comprises the
following commits:
``` 1efed83 Increase max length for device name 6f4fc1c uboot_env: Use canonicalized pathname when reading device 23b3086 Fix bug introduced by commit 52a70114 ed1a53e Dont store to device if no value changes 4a0a466 Merge pull request #7 from TomzBench/cmake-fix 6117831 Added Coverity badge 49372a1 Fix coverity #293496 69a6819 Fix coverity #293503 and #293507 258bf52 Fix coverity #293501 aa52e61 Fix coverity #293505 52a7011 Fix coverity #293504 and #293506 e822218 Fix coverity #293495 and #293497 23b305f Fix coverity #293499 25ef1f6 Add coverity setup for Travis 41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement 86bd30a Restore ability to feed script file via stdin, using `-s -`. c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP f4b9cde Allow negative offsets 45bf92a Detect sector size if not found in config 9f59db6 uboot_env: remove unused variables 65d243e README: libubootenv is now in oe-core ba952d0 BUG: variable lists not released in close() 690f868 Variables are not removed when loading from file 9e3586a Make sure there's no file descriptor leakage in case of error 03647c4 Check config file defines a non-zero Sector size 3b2d4f1 Check environment size from fw_env.config 879c073 Do not hardcode path for install d9c639b libubootenv: add pkg-config support cc628ee libuboot: wrap libuboot in extern "C" for C++
```
Also add u-boot-default-env to RRECOMMENDS since
/etc/u-boot-initial-env is being referred in libubootenv source, and
turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since
u-boot-default-env is a machine-arch package.
Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Sun, 16 Aug 2020 23:12:56 +0000 (16:12 -0700)]
localedef: Update to include floatn.h fix
Currently localedef-native build fails on older hosts which have glibc
headers without floatn.h this patch created a local file to avoid this
dependency
[YOCTO #14004]
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Denys Dmytriyenko <denys@ti.com> Cc: Philip Balister <philip@balister.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Mon, 17 Aug 2020 03:30:15 +0000 (20:30 -0700)]
buildcpio.py: Apply patch to fix build with -fno-common
This sed expression implements the needed patch to fix compilation with
-fno-common, hopefully this patch will get included in 2.14 release and
we can remove this operation
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 16 Aug 2020 13:44:52 +0000 (14:44 +0100)]
selftest/tinfoil: Increase wait event timeout
We're seeing this on the autobuilder when IO load is high. Increase
the timeout to give this a better chance of working out ok since
there is no particular reason we only need to wait 5s and searching
for files is IO sensitive.
[YOCTO #14001]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>