summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* kernel-devicetree: Fix intermittent build failures caused by DTB buildsTyler Hicks2020-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a build-time race condition that resulted in intermittent build failures in the do_assemble_fitimage task. The race condition involved the do_assemble_fitimage task reading the vmlinux file while the do_compile_kernelmodules task was re-writing the vmlinux file. This can be seen with an aarch64 image build that uses a 5.4 based kernel and sets KERNEL_DEVICETREE. The problem is that the do_compile snippet that the kernel-devicetree class appends did not specify the full kernel build environment when building the DTB(s) from the kernel tree. This resulted in CONFIG_CC_CAN_LINK=y being removed from the kernel config file just before the do_compile task completed. The CONFIG_CC_CAN_LINK=y line was then re-inserted into the kernel config file as part of the do_compile_kernelmodules task. In some cases, this resulted in the do_compile_kernelmodules task to re-link vmlinux which sometimes occured at the same time that the do_assemble_fitimage task was attempting to use vmlinux. The do_assemble_fitimage task would fail with the following error message: aarch64-poky-linux-objcopy:vmlinux: file format not recognized We can use the pine-a64-lts machine, from the meta-pine64 layer, to show that the kernel config file was changed between do_compile and do_compile_kernelmodules: $ C=tmp/work/pine_a64_lts-poky-linux/linux-pine64/5.7+gitAUTOINC+ae03bade3b-r0/linux-pine_a64_lts-standard-build/.config $ bitbake -c do_kernel_configcheck virtual/kernel ... $ md5sum $C; grep CC_CAN_LINK $C 32b133cf8a749a91f698a7ca8616c84f ... CONFIG_CC_CAN_LINK=y $ bitbake -c do_compile virtual/kernel ... $ md5sum $C; grep CC_CAN_LINK $C 2fd2ec2a66eecc329dcb5afaf005eada ... $ bitbake -c do_compile_kernelmodules virtual/kernel ... $ md5sum $C; grep CC_CAN_LINK $C 32b133cf8a749a91f698a7ca8616c84f ... CONFIG_CC_CAN_LINK=y With this change, the do_compile snippet appended by the kernel-devicetree class does not modify the kernel config. The kernel config is unchanged across the do_compile and do_compile_kernelmodules tasks and do_compile_kernelmodules will not attempt to re-link vmlinux. (From OE-Core rev: 7c1fff00b7268d518afa87078bdc781324c63d03) Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74619de0277471f446bf7a719f4c445359c823f6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.54Bruce Ashfield2020-08-123-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 58a12e3368db Linux 5.4.54 c15d59b94511 ath9k: Fix regression with Atheros 9271 e6eb815beccc ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb 6d4448ca54bc dm integrity: fix integrity recalculation that is improperly skipped 2ca71b807383 ASoC: topology: fix tlvs in error handling for widget_dmixer a4fd00dd8299 ASoC: topology: fix kernel oops on route addition error e60e53e685d9 ASoC: qcom: Drop HAS_DMA dependency to fix link failure 8f64dc9e1d49 ASoC: rt5670: Add new gpio1_is_ext_spk_en quirk and enable it on the Lenovo Miix 2 10 697bd3e4aa4b x86, vmlinux.lds: Page-align end of ..page_aligned sections c89af82f64a0 parisc: Add atomic64_set_release() define to avoid CPU soft lockups d1bab3cf71dd drm/amd/powerplay: fix a crash when overclocking Vega M 33ab3f2dc444 drm/amdgpu: Fix NULL dereference in dpm sysfs handlers c3de96686db9 mmc: sdhci-of-aspeed: Fix clock divider calculation 615f44e04792 io-mapping: indicate mapping failure 40c5836b4a48 khugepaged: fix null-pointer dereference due to race 95750e1edbcd mm: memcg/slab: fix memory leak at non-root kmem_cache destroy db949f60d983 mm/memcg: fix refcount error while moving and swapping 549bfc142706 mm/mmap.c: close race between munmap() and expand_upwards()/downwards() 5835e6d5988f Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation 23e8b741c8a1 vt: Reject zero-sized screen buffer size. 028b478f2231 fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins. bf331efc8ea4 /dev/mem: Add missing memory barriers for devmem_inode 3c52751df236 serial: 8250_mtk: Fix high-speed baud rates clamping af811869db06 serial: 8250: fix null-ptr-deref in serial8250_start_tx() fb8d832978bb serial: tegra: fix CREAD handling for PIO c76a1dacc28d staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift 178a09b0fb0d staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift 7ee8d78bc12b staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support 747558b1c737 staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift c9afe420c53a staging: wlan-ng: properly check endpoint types a44c859323c2 tty: xilinx_uartps: Really fix id assignment f32718cfa5db iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU 3e84602475f7 Revert "cifs: Fix the target file was deleted when rename failed." 86894c3797ed usb: xhci: Fix ASM2142/ASM3142 DMA addressing 1d91547f2fc8 usb: xhci-mtk: fix the failure of bandwidth allocation 93f1e16af4a5 binder: Don't use mmput() from shrinker function. 35728cac176a RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw 5345ede4acde drivers/perf: Prevent forced unbinding of PMU drivers 0821295b23cc asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible() 90e78ec7d725 x86: math-emu: Fix up 'cmp' insn for clang ias 679fe09188c1 arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP 7fc7942f52cf drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling 347f735ca82b ALSA: hda/realtek - fixup for yet another Intel reference board 30a17b51d80d hwmon: (scmi) Fix potential buffer overflow in scmi_hwmon_probe() 76361edb5559 platform/x86: asus-wmi: allow BAT1 battery name 41a7fdf90ce2 platform/x86: ISST: Add new PCI device ids ace6e8b448b9 hwmon: (nct6775) Accept PECI Calibration as temperature source for NCT6798D 6627a265c598 drm/amdgpu: fix preemption unit test ffb5604d2043 drm/amdgpu/gfx10: fix race condition for kiq c04a48251314 hwmon: (adm1275) Make sure we are reading enough data for different chips a2a380bd4575 usb: cdns3: trace: fix some endian issues 103a90ad4e64 usb: cdns3: ep0: fix some endian issues 89fe6eba178d usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init() 74ec2cc5bfff usb: dwc3: pci: add support for the Intel Jasper Lake c4c6363b8e68 usb: dwc3: pci: add support for the Intel Tiger Lake PCH -H variant 4f5eb2735fa3 Input: elan_i2c - only increment wakeup count on touch 186d3fe73e27 Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen 460c0dafea92 dmaengine: ioat setting ioat timeout as module parameter 493aed3263ca dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu 6a3015ae35f5 hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow 01d7bd8903d8 regmap: dev_get_regmap_match(): fix string comparison bbc0b6e18405 spi: mediatek: use correct SPI_CFG2_REG MACRO 126a0ab6b83b ARM: dts: n900: remove mmc1 card detect gpio 80fed4024c39 Input: add `SW_MACHINE_COVER` db886ec71fe4 dmaengine: tegra210-adma: Fix runtime PM imbalance on error 5cbe437d5968 HID: apple: Disable Fn-key key-re-mapping on clone keyboards 2c179ece3bfb HID: steam: fixes race in handling device list. 5d273c566f7b HID: alps: support devices with report id 2 08696a4ac9f6 HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override 9ab9cfcc2d8f scripts/gdb: fix lx-symbols 'gdb.error' while loading modules 22508bc315eb scripts/decode_stacktrace: strip basepath from all paths 1e63d569fd2d serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X a86abef1558a geneve: fix an uninitialized value in geneve_changelink() 89b4f204ba43 bonding: check return value of register_netdevice() in bond_newlink() 93bb40b79e84 i2c: i2c-qcom-geni: Fix DMA transfer race 58637b3027db i2c: rcar: always clear ICSAR to avoid side effects e8b86b4d87e3 enetc: Remove the mdio bus on PF probe bailout 9f2c2928b939 nfsd4: fix NULL dereference in nfsd/clients display code a44625dc0bd3 Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms" 9e3e96aa9a2e net: ethernet: ave: Fix error returns in ave_init eb2c32de1ce6 ipvs: fix the connection sync failed in some cases 592614918431 qed: suppress false-positives interrupt error messages on HW init 641bd96bd0ac qed: suppress "don't support RoCE & iWARP" flooding on HW init 8d416c038a91 netdevsim: fix unbalaced locking in nsim_create() 99a5e865cbe4 net: dsa: microchip: call phy_remove_link_mode during probe 4997b311c01e net: hns3: fix error handling for desc filling 107ea66643bd net: ag71xx: add missed clk_disable_unprepare in error path of probe 34e93385c416 ionic: fix up filter locks and debug msgs 42f5c49f7bbb ionic: use offset for ethtool regs data eac87543368c mlxsw: destroy workqueue when trap_register in mlxsw_emad_init 9b52f23ad648 bonding: check error value of register_netdevice() immediately d11a27411c65 net: smc91x: Fix possible memory leak in smc_drv_probe() a2cdb4ebd84e drm: sun4i: hdmi: Fix inverted HPD result 988e5d2179e4 ieee802154: fix one possible memleak in adf7242_probe 7bf93c95a9b9 net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration e2e31a0bf7a1 ASoC: Intel: bytcht_es8316: Add missed put_device() 613e7c52aaaa RDMA/mlx5: Use xa_lock_irq when access to SRQ table d0d394c71604 ax88172a: fix ax88172a_unbind() failures ad49d766612e vsock/virtio: annotate 'the_virtio_vsock' RCU pointer f826efa1c381 hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path 570b1c92cb48 fpga: dfl: fix bug in port reset handshake c73188295841 fpga: dfl: pci: reduce the scope of variable 'ret' 57393e695a10 bnxt_en: Fix completion ring sizing with TPA enabled. 9cc322773b20 bnxt_en: Fix race when modifying pause settings. 38a66f3cdab4 btrfs: fix page leaks after failure to lock page for delalloc b04805a7e8a5 btrfs: fix mount failure caused by race with umount e333df0e4ac6 btrfs: fix double free on ulist after backref resolution failure f668e822950d ASoC: rt5670: Correct RT5670_LDO_SEL_MASK 0f87dabe4415 ALSA: info: Drop WARN_ON() from buffer NULL sanity check aad343d571ae ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung Notebook Pen S ee2f6a6b39be uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression ee08663380ff btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance 044ca910276b btrfs: reloc: fix reloc root leak and NULL pointer dereference cb1225707041 SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion") 02140e85d8e4 drm/amd/display: Check DMCU Exists Before Loading 722c6e954c90 dmabuf: use spinlock to access dmabuf->name 44838b956304 ARM: dts: imx6qdl-gw551x: fix audio SSI 593221ce16af ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link' 36f735554572 irqdomain/treewide: Keep firmware node unconditionally allocated 8676732c3337 fuse: fix weird page warning 96002e7485be drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups() d0e40e510aa7 dm: use bio_uninit instead of bio_disassociate_blkg 0ff9fce4abee scsi: dh: Add Fujitsu device to devinfo and dh lists 3959567d870d scsi: mpt3sas: Fix error returns in BRM_status_show 0c1337e94a54 drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout fb50c5cf2105 net: sky2: initialize return of gm_phy_read b4397143da53 ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later e50116e51281 drivers/net/wan/lapbether: Fixed the value of hard_header_len 0eced7636001 scsi: mpt3sas: Fix unlock imbalance 0edfdefc0a9c xtensa: update *pos in cpuinfo_op.next df5b65f5df3e xtensa: fix __sync_fetch_and_{and,or}_4 declarations 806ffec1a93a scsi: scsi_transport_spi: Fix function pointer check 65c835ebe2cd mac80211: allow rx of mesh eapol frames with default rx key f55550d566e4 pinctrl: amd: fix npins for uart0 in kerncz_groups de0d953ee787 gpio: arizona: put pm_runtime in case of failure 52083907ebfa gpio: arizona: handle pm_runtime_get_sync failure case 4f80cb2c787f soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner (From OE-Core rev: f32c1c92ddc1c1a921c4e46e59d6cb01a705edd5) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit de8c92604ead0ed00fb035fb0c915ec03f729537) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: fix perf build with binutils 2.35Bruce Ashfield2020-08-123-12/+12
| | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.4: 1fe4ee7f680c libtraceevent: Fix build with binutils 2.35 (From OE-Core rev: baa5713a04a6715ddbb0be5e05f371266d943169) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 69faa62d840330f573101245e0aa3fed17984b70) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.53Bruce Ashfield2020-08-123-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: d811d29517d1 Linux 5.4.53 e6c19fa5b6c6 gpio: pca953x: disable regmap locking for automatic address incrementing 411c80267541 drm/i915/gvt: Fix two CFL MMIO handling caused by regression. 517708c47c66 iommu/vt-d: Make Intel SVM code 64-bit only 41389f739a5e ionic: export features for vlans to use 5d7e2852d7e6 spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH 1245a1e0e1c3 rxrpc: Fix trace string 07253d24cda3 libceph: don't omit recovery_deletes in target_copy() d2ccad3c9ce9 block: fix get_max_segment_size() overflow on 32bit arch 310d75f274d5 block: fix splitting segments on boundary masks f2e57ed2f3f8 drm/i915/gt: Ignore irq enabling on the virtual engines 64a17e1da02a drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr() 9f8d3d2f79ba genirq/affinity: Handle affinity setting on inactive interrupts correctly 6aae92ed2c42 sched/fair: handle case of task_h_load() returning 0 b5b774918816 sched: Fix unreliable rseq cpu_id for new tasks 5c2450ac7c7a arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return ed766e740cc9 arm64: ptrace: Consistently use pseudo-singlestep exceptions bdb71132992b arm64: ptrace: Override SPSR.SS when single-stepping is enabled d3b7bacd1115 thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power 025cec59aa17 thermal: int3403_thermal: Downgrade error message 0ab6b541c6f8 misc: atmel-ssc: lock with mutex instead of spinlock 746930d17d14 dmaengine: fsl-edma-common: correct DSIZE_32BYTE 5f3fcbf5b57f dmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler 9464956544be dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler 8fd0d8536805 intel_th: Fix a NULL dereference when hub driver is not loaded 55d7092cc8f5 intel_th: pci: Add Emmitsburg PCH support 905f20f4946a intel_th: pci: Add Tiger Lake PCH-H support 5c698cc5b6f4 intel_th: pci: Add Jasper Lake CPU support c5ce2060f487 powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size 93d1e96b98b2 powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey d6a76f8eee21 hwmon: (emc2103) fix unable to change fan pwm1_enable attribute 9125d5762590 riscv: use 16KB kernel stack on 64-bit c28501385945 timer: Fix wheel index calculation on last level 6c2388e2a12b timer: Prevent base->clk from moving backward e9506de7b305 scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro acd3901a62f6 uio_pdrv_genirq: fix use without device tree and no interrupt 17268122ba5e uio_pdrv_genirq: Remove warning when irq is not specified 97f1aecb80e9 Input: elan_i2c - add more hardware ID for Lenovo laptops 1fb81fe5e180 Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list 62dd03054918 mei: bus: don't clean driver pointer 72648019cd52 Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()" 4dd2ad686704 fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS e8f32a9f5aeb fuse: use ->reconfigure() instead of ->remount_fs() f96ce4be463a fuse: ignore 'data' argument of mount(..., MS_REMOUNT) 09b696bd2149 ovl: fix unneeded call to ovl_change_flags() 93f75b0f0d3b ovl: relax WARN_ON() when decoding lower directory file handle 6270654c7de9 ovl: inode reference leak in ovl_is_inuse true case. 4996065307c8 ovl: fix regression with re-formatted lower squashfs 2cd065b91681 serial: mxs-auart: add missed iounmap() in probe failure and remove 752641ba871a virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial 8f4c040f45b9 Revert "tty: xilinx_uartps: Fix missing id assignment to the console" 1bc2c30d861c virt: vbox: Fix guest capabilities mask check 78d85ca8300e virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream cc894ec456c1 USB: serial: option: add Quectel EG95 LTE modem 4eaf06c9bd35 USB: serial: option: add GosunCn GM500 series dcc1df3cdb04 USB: serial: ch341: add new Product ID for CH340 dff0a4f024fc USB: serial: cypress_m8: enable Simply Automated UPB PIM 18059e953e1f USB: serial: iuu_phoenix: fix memory corruption 72596d0b2acd usb: gadget: function: fix missing spinlock in f_uac1_legacy 01512075a387 usb: chipidea: core: add wakeup support for extcon 3dd890afedbf usb: dwc2: Fix shutdown callback in platform 4f0addeba0c0 USB: c67x00: fix use after free in c67x00_giveback_urb bd422c7fb477 ALSA: hda/realtek - Enable Speaker for ASUS UX563 63d318f05e67 ALSA: hda/realtek - Enable Speaker for ASUS UX533 and UX534 e7bafe0c94cc ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256 4181b271908a ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289 246b9693026a ALSA: hda/realtek - change to suitable link model for ASUS platform 71319db6f3b1 ALSA: usb-audio: Fix race against the error recovery URB submission 25fd7ee3baeb ALSA: line6: Sync the pending work cancel at disconnection 91a6d4049c58 ALSA: line6: Perform sanity check for each URB creation 212425802dc6 HID: quirks: Ignore Simply Automated UPB PIM c0188ab5bc31 HID: quirks: Always poll Obins Anne Pro 2 keyboard e93ab4628452 HID: magicmouse: do not set up autorepeat bc94605df1f9 HID: logitech-hidpp: avoid repeated "multiplier = " log messages 7c4e6cfd922c slimbus: core: Fix mismatch in of_node_get/put 93b57bf835d2 clk: qcom: gcc: Add missing UFS clocks for SM8150 cb7b7928310f clk: qcom: gcc: Add GPU and NPU clocks for SM8150 cc490ea23f33 mtd: rawnand: oxnas: Release all devices in the _remove() path f8a2658d0fd7 mtd: rawnand: oxnas: Unregister all devices on error 4682749ce329 mtd: rawnand: oxnas: Keep track of registered devices 8463054e3d4e mtd: rawnand: brcmnand: fix CS0 layout ee73c81e386d mtd: rawnand: brcmnand: correctly verify erased pages e9f5e16f3228 mtd: rawnand: timings: Fix default tR_max and tCCS_min timings f1ad0fc9de60 mtd: rawnand: marvell: Fix probe error path be953ad71ce9 mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered 5f59ce425f78 mtd: rawnand: marvell: Fix the condition on a return code eec70178983f RDMA/mlx5: Verify that QP is created with RQ or SQ 6b1aaceb0dab soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request e65ee5ad8903 soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS 9e56b18ca5a3 soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data 9edb7370f893 soc: qcom: rpmh: Update dirty flag only when data changes 033f56f7d3d6 perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode c2e29cac6d89 PCI/PM: Call .bridge_d3() hook only if non-NULL d950d2e79f0f habanalabs: Align protection bits configuration of all TPCs d79e57db4544 apparmor: ensure that dfa state tables have entries b7d9b78ab901 soc: qcom: socinfo: add missing soc_id sysfs entry 8eeebe37c64e arm: dts: mt7623: add phy-mode property for gmac2 742b79562142 copy_xstate_to_kernel: Fix typo which caused GDB regression 319c3c7980c7 regmap: debugfs: Don't sleep while atomic for fast_io regmaps f62d7f91afa2 keys: asymmetric: fix error return code in software_key_query() c5acd9395d41 arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema 2e224b5d3149 ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema c8a4452da9f4 xprtrdma: fix incorrect header size calculations a75a8aabb2f4 Revert "thermal: mediatek: fix register index error" cc3188b3bab2 ARM: dts: Fix dcan driver probe failed on am437x platform 408ef501b894 fuse: don't ignore errors from fuse_writepages_fill() 9b810684b1da NFS: Fix interrupted slots by sending a solo SEQUENCE operation dc92d84b371f clk: AST2600: Add mux for EMMC clock 0392f18139aa clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER 36e6ac265fc0 staging: comedi: verify array index is correct before using it 62013d49bcf6 usb: gadget: udc: atmel: fix uninitialized read in debug printk e435865c783f spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate f979982feb03 dmaengine: dmatest: stop completed threads when running without set channel e6b46f01d995 dmaengine: dw: Initialize channel before each transfer a6fe5dde5343 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()' 28be430bbf13 bus: ti-sysc: Do not disable on suspend for no-idle 47ba42786d14 bus: ti-sysc: Fix sleeping function called from invalid context for RTC quirk 5a23897f7a41 bus: ti-sysc: Fix wakeirq sleeping function called from invalid context b2c7d6ce2d5e arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency cbd8c92a8d51 arm64: dts: meson: add missing gxl rng clock 1d08f59081e5 phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked 684a5568df11 dmaengine: sh: usb-dmac: set tx_result parameters f5c6ebd5146e soundwire: intel: fix memory leak with devm_kasprintf 7005a4885a29 iio:health:afe4404 Fix timestamp alignment and prevent data leak. ba3788d243cf ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Flight S 1510d8ab7bc9 bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit 7637bba4c621 ACPI: video: Use native backlight on Acer TravelMate 5735Z 0a330aa202c9 Input: mms114 - add extra compatible for mms345l 75ff2767e85c ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2 695fcb612bf1 ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Alpha S 18f2cbb28730 ACPI: video: Use native backlight on Acer Aspire 5783z dc1e4db658a6 ALSA: usb-audio: Rewrite registration quirk handling 592b179fa149 mmc: sdhci: do not enable card detect interrupt for gpio cd type e60b02922876 doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode 54100aa32f66 ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8) 35aef79e81a1 Input: goodix - fix touch coordinates on Cube I15-TC 9c16b5e8b5d9 ALSA: usb-audio: Add support for MOTU MicroBook IIc d70a6425a6e2 bus: ti-sysc: Detect EDMA and set quirk flags for tptc d09e12709acd arm64: dts: g12-common: add parkmode_disable_ss_quirk on DWC3 controller 234021eaddcb bus: ti-sysc: Detect display subsystem related devices e7e98dd42aae bus: ti-sysc: Handle module unlock quirk needed for some RTC e2c37939a795 bus: ti-sysc: Consider non-existing registers too when matching quirks f7280837df83 bus: ti-sysc: Rename clk related quirks to pre_reset and post_reset quirks 69fbdbb4fa0c scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 23a609417361 drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20 de6d9aa5f7c1 ARM: at91: pm: add quirk for sam9x60's ulp1 4301497fdc68 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver 1c96af59a904 mmc: mmci: Support any block sizes for ux500v2 and qcom variant cf911ee9f49d ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot 3ea583b09537 ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879 8d158e3453eb ARM: OMAP4+: remove pdata quirks for omap4+ iommus 370cc95c00ae net: sfp: add some quirks for GPON modules 17918c99abc1 net: sfp: add support for module quirks 11a6ff1df31e Revert "usb/xhci-plat: Set PM runtime as active on resume" 4cf55dcd4fa4 Revert "usb/ehci-platform: Set PM runtime as active on resume" add6b48ad376 Revert "usb/ohci-platform: Fix a warning when hibernating" 267516d7009e net: ethernet: mvneta: Add back interface mode validation beee39d71e87 net: ethernet: mvneta: Do not error out in non serdes modes 131ab7a0cdb8 net: macb: call pm_runtime_put_sync on failure path fefc7580af39 of: of_mdio: Correct loop scanning logic 3f2f3edcc075 net: dsa: bcm_sf2: Fix node reference count cb2801017057 spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer baf22f66c9cf iio:health:afe4403 Fix timestamp alignment and prevent data leak. 5f8fe8ab4463 iio:pressure:ms5611 Fix buffer element alignment 5a6378911f22 iio:humidity:hts221 Fix alignment and data leak issues 74953efffb3d iio: pressure: zpa2326: handle pm_runtime_get_sync failure 4ecff6ee264f iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe() b4172e024d48 iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers ead750685280 iio: magnetometer: ak8974: Fix runtime PM imbalance on error 0b16921edc61 iio:humidity:hdc100x Fix alignment and data leak issues 7cc8cad2bef9 iio:magnetometer:ak8974: Fix alignment and data leak issues 4c7924060fe0 arm64/alternatives: don't patch up internal branches 77a181fba1e5 i2c: eg20t: Load module automatically if ID matches 27874115b059 gfs2: read-only mounts should grab the sd_freeze_gl glock 827139ad9db5 tpm_tis: extra chip->ops check on error path in tpm_tis_core_init a8f13826f9c6 arm64/alternatives: use subsections for replacement sequences 91e81d2262e7 cifs: prevent truncation from long to int in wait_for_free_credits 43046f786714 dt-bindings: mailbox: zynqmp_ipi: fix unit address ea9d6016b1a4 m68k: mm: fix node memblock init 560dbf34dec8 m68k: nommu: register start of the memory with memblock c3adbd37c054 blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags 9025a5589c03 thermal/drivers: imx: Fix missing of_node_put() at probe time c4db485dd3f2 x86/fpu: Reset MXCSR to default in kernel_fpu_begin() d2bfb9eb439c drm/exynos: fix ref count leak in mic_pre_enable f886b67c6b28 drm/exynos: Properly propagate return value in drm_iommu_attach_device() 0885be75f1be drm/msm/dpu: allow initialization of encoder locks during encoder init 5d6891a5a627 drm/msm: fix potential memleak in error branch f608a77e0cc9 arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040 86e3c7c70c63 arm64: arch_timer: Allow an workaround descriptor to disable compat vdso 71d65a3fc628 arm64: Introduce a way to disable the 32bit vdso 36d60eba862d ip: Fix SO_MARK in RST, ACK and ICMP packets 38b122c0af04 cgroup: Fix sock_cgroup_data on big-endian. 94886c86e833 cgroup: fix cgroup_sk_alloc() for sk_clone_lock() 171644727abf tcp: md5: allow changing MD5 keys in all socket states 8ee263bd11af tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers 30d015f5ecd9 vlan: consolidate VLAN parsing code and limit max parsing depth f40c3a8438fc tcp: md5: do not send silly options in SYNCOOKIES 1c8bad567b5d tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key() f52293aefe18 tcp: make sure listeners don't initialize congestion-control state 7eec9f331223 tcp: fix SO_RCVLOWAT possible hangs under high mem pressure 9b7fd81cf9b6 sched: consistently handle layer3 header accesses in the presence of VLANs aafe9dd13f42 net: usb: qmi_wwan: add support for Quectel EG95 LTE modem edbde451bf3f net_sched: fix a memory leak in atm_tc_init() d55dad8b1d89 net: dsa: microchip: set the correct number of ports 64d782212646 net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb a70a667736ed llc: make sure applications use ARPHRD_ETHER 73e42f4d2d13 l2tp: remove skb_dst_set() from l2tp_xmit_skb() f8646548ee46 ipv6: Fix use of anycast address with loopback 75270f819666 ipv6: fib6_select_path can not use out path for nexthop objects 1418b60e998b ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg 7b42410d3556 genetlink: remove genl_bind aef7a9e21aa6 bridge: mcast: Fix MLD2 Report IPv6 payload length check 587ccf092e28 net: rmnet: fix lower interface leak d06c17fcd7c0 net: atlantic: fix ip dst and ipv6 address filters de93c1c104ac crypto: atmel - Fix build error of CRYPTO_AUTHENC 1f21bb70d7b1 crypto: atmel - Fix selection of CRYPTO_AUTHENC c57b1153a58a Linux 5.4.52 1a70857590f7 s390/maccess: add no DAT mode to kernel_write 627d15eecb61 s390: Change s390_kernel_write() return type to match memcpy() d64dc6118a0f pwm: jz4740: Fix build failure d13a78d13d2c perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result 64e8b913c30b perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result 2038998170b0 perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result e51a811c242e perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument 299ffecbd530 dm writecache: reject asynchronous pmem devices 49a7ac29f6a0 blk-mq: consider non-idle request as "inflight" in blk_mq_rq_inflight() 2dfd182451d9 s390/mm: fix huge pte soft dirty copying 0d62bc7e960f s390/setup: init jump labels before command line parsing e6de7cbbcacb ARC: elf: use right ELF_ARCH 854827a2697a ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE 37634f502b53 mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed b9fe45efa671 dm: use noio when sending kobject event ede24894e8bf drm/amdgpu: don't do soft recovery if gpu_recovery=0 ef8164f03a86 drm/radeon: fix double free 026f830e0ba3 btrfs: fix double put of block group with nocow 808b2b3ea85a btrfs: fix fatal extent_buffer readahead vs releasepage race 5a046d75acf7 Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb" baef8d1027b0 bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok() e5541c6347b7 kprobes: Do not expose probe addresses to non-CAP_SYSLOG 314ac273f005 module: Do not expose section addresses to non-CAP_SYSLOG 0d5d9413a692 module: Refactor section attr into bin attribute 2a6c8d3d0dd0 kallsyms: Refactor kallsyms_show_value() to take cred 79aaeec71271 KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE a494529add3f KVM: x86: Mark CR4.TSD as being possibly owned by the guest d29a79fa7559 KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode 3f108b168002 KVM: x86: bit 8 of non-leaf PDPEs is not reserved 388429498641 KVM: arm64: Annotate hyp NMI-related functions as __always_inline b956ec9afc2e KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART a20aa35b839a KVM: arm64: Fix definition of PAGE_HYP_DEVICE 9b742b6a3b78 ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC 8254cddab9a4 ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC c6fbfa6dd96b ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC 615313fe4294 ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id 92b598132eec ALSA: usb-audio: Add implicit feedback quirk for RTX6001 caead988fe61 ALSA: usb-audio: add quirk for MacroSilicon MS2109 02b2f10e5c9f ALSA: hda - let hs_mic be picked ahead of hp_mic 3496a18a1c3b ALSA: opl3: fix infoleak in opl3 4a215725dec7 IB/hfi1: Do not destroy link_wq when the device is shut down 607fbc27d75f IB/hfi1: Do not destroy hfi1_wq when the device is shut down 6a882fb7232d mlxsw: pci: Fix use-after-free in case of failed devlink reload c9dcb4929ce2 mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON() f62f896a56a2 net: macb: fix call to pm_runtime in the suspend/resume functions ad396c483dd5 net: macb: mark device wake capable when "magic-packet" property present 5d744ee94b49 net: macb: fix wakeup test in runtime suspend/resume routines 15442ef56405 bnxt_en: fix NULL dereference in case SR-IOV configuration fails 65fb9bbee611 net/mlx5e: Fix 50G per lane indication ce27893535ca net/mlx5: Fix eeprom support for SFP module f277e0be69d4 qed: Populate nvm-file attributes while reading nvm config partition. e89b828ae357 IB/mlx5: Fix 50G per lane indication 97d6855ac57d cxgb4: fix all-mask IP address comparison 2a4c5ff12f42 nbd: Fix memory leak in nbd_add_socket 06cee3572ed5 arm64: kgdb: Fix single-step exception handling oops 9e8f4623e292 RDMA/siw: Fix reporting vendor_part_id 1c54d0d9c4e6 ALSA: compress: fix partial_drain completion state 175b5aa7b964 net: hns3: fix use-after-free when doing self test ab8c4fd863f4 net: hns3: add a missing uninit debugfs when unload driver 5c0192d28513 smsc95xx: avoid memory leak in smsc95xx_bind 81ed1f9fd0b3 smsc95xx: check return value of smsc95xx_reset 3959bf65fe48 perf intel-pt: Fix PEBS sample for XMM registers da4b6eff382b perf intel-pt: Fix recording PEBS-via-PT with registers 9ca67a453273 perf report TUI: Fix segmentation fault in perf_evsel__hists_browse() 2d15663304f5 netfilter: conntrack: refetch conntrack after nf_conntrack_update() d9b8206e5323 net: dsa: microchip: set the correct number of ports fd3a612d9828 IB/sa: Resolv use-after-free in ib_nl_make_request() b0259e7056b1 net: cxgb4: fix return error value in t4_prep_fw 92002d59ecee net: mvneta: fix use of state->speed 4f412ae89e78 netfilter: ipset: call ip_set_free() instead of kfree() b709a08bc4d7 bpf, sockmap: RCU dereferenced psock may be used outside RCU block 2000bb546525 bpf, sockmap: RCU splat with redirect and strparser error or TLS 4625f4d5e4bf drm/mediatek: Check plane visibility in atomic_update a062088e675f nl80211: don't return err unconditionally in nl80211_start_ap() d63806c30706 gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2 137e7782bddd gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2 91f8d05b4b56 net: qrtr: Fix an out of bounds read qrtr_endpoint_post() 1128ed7e1dd0 sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption 4e9631a90830 x86/entry: Increase entry_stack size to a full page 010f93079a26 nvme-rdma: assign completion vector correctly 074ae0cd8407 block: release bip in a right way in error path b1b252d8d9c5 usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work 2485b6afadd7 scsi: mptscsih: Fix read sense data size 10533390da7c ARM: imx6: add missing put_device() call in imx6q_suspend_init() 15fa5dfaa4e8 cifs: update ctime and mtime during truncate 9c732cccb04b s390/kasan: fix early pgm check handler execution a9c816494dc2 drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003 fcab0d2f1b91 drm: panel-orientation-quirks: Add quirk for Asus T101HA panel b7556e7ca381 iommu/vt-d: Don't apply gfx quirks to untrusted devices 1a570b8faea4 powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL 4e4ddeee7aff ibmvnic: continue to init in CRQ reset returns H_CLOSED ce4a93b9e607 i40e: protect ring accesses with READ- and WRITE_ONCE 2e5a3586ca27 ixgbe: protect ring accesses with READ- and WRITE_ONCE 203cfe694e9d net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy 996bd0778a37 net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy 8f23c0dcd096 spi: spidev: fix a potential use-after-free in spidev_release() 010de5718162 spi: spidev: fix a race between spidev_release and spidev_remove 44b6e192e05f ALSA: hda: Intel: add missing PCI IDs for ICL-H, TGL-H and EKL 04197a8184e7 ASoC: SOF: Intel: add PCI ID for CometLake-S b1589bb5b04e drm: mcde: Fix display initialization problem 408ddca5c737 gpu: host1x: Detach driver on unregister d78a975525f3 drm/tegra: hub: Do not enable orphaned window group dbe5fef1c2b1 drm/ttm: Fix dma_fence refcnt leak when adding move fence 6bfa3b616c52 ARM: dts: omap4-droid4: Fix spi configuration and increase rate 3965fe7c0a77 perf/x86/rapl: Fix RAPL config variable bug 5f121ba6b625 perf/x86/rapl: Move RAPL support to common x86 code 14e8708fffee regmap: fix alignment issue 2ec3c8329aca spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer 6b64220baf4a spi: spi-fsl-dspi: Adding shutdown hook eb676bef0224 KVM: s390: reduce number of IO pins to 1 (From OE-Core rev: 40ff5adaca962d66715e7ec55cec79093bdbc173) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 60fec4d1792b8467acb53949c695775c7e7ae037) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libexif: update to 0.6.22Alexander Kanavin2020-08-125-238/+19
| | | | | | | | | | | | | | | | Stability / bugfix / security release Fixes CVE-2018-20030, CVE-2020-13114, CVE-2020-13113, CVE-2020-13112, CVE-2020-0093, CVE-2019-9278, CVE-2020-12767, CVE-2016-6328, CVE-2017-7544 (From OE-Core rev: 2657e0614003819c3717429c3192b2e61a160a88) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 76e8c645cb2568c2dfa014af0eeac36d8f8b60ff) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade 2.7.0 -> 2.7.1zhengruoqin2020-08-121-2/+2
| | | | | | | | | | | | | | | This release includes security fixes: CVE-2020-10663: Unsafe Object Creation Vulnerability in JSON (Additional fix) CVE-2020-10933: Heap exposure vulnerability in the socket library (From OE-Core rev: 51b45ec3fcdc3c338f8a141110abf8aa5d374e5e) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8d9b48bdf25363fb115a6311b031a7e5da8e0d4d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.62.5 to 2.62.6Steve Sakoman2020-08-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stable branch bug fix and security release. One patch update, none deleted. This is expected to be the final release in the 2.62.x stable series Changes: Fix SOCKS5 username/password authentication (#1986) Exception handling fixes on Windows (!1373) Bugs fixed: 1986 Socks5 Proxy: Authentication seems broken 1988 Socks5 Proxy: Wrong error returned when using no authentication 2049 Crash in g_array_copy 1378 Backport !1373 win32 exception fixes to glib-2-62 1380 Backport !1254 “giomodule: gio modules are no longer installed in bindir on MSVC” to glib-2-62 1393 Backport !1390 “garray: Fix copying an array with reserved elements” to glib-2-62 1394 Backport part of !1375 “tests: Skip g-file-info-filesystem-readonly test if bindfs fails” to glib-2-62 1411 Backport SOCKS5 fixes to glib-2-62 (From OE-Core rev: 2dc1266eb39faa29c79ab2697564072f11d3feb8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-2.0: update 2.62.4 to 2.62.5Steve Sakoman2020-08-125-194/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stable branch bug fix and security release. One patch updated, three removed since they are no longer needed Changes (from release notes): Fix potential relative read when calling g_printerr(), which could lead to a denial of service from a setuid-root process being used to block access to the TTY for another user (#1919) Fix SOCKS proxy resolver sometimes not being used when resolving addresses via Happy Eyeballs (CVE-2020-6750) (#1989) Several other Happy Eyeballs fixes for address resolution (#1871, #1872, #1902) Fix parsing of full Julian day range from $TZ environment variable (#1999) Several race condition/crash fixes (!1353, !1357) Bugs fixed: 1919 read from relative path in g_printerr() in 2.58.3 1995 Tracker issue for Happy Eyeballs regressions 1999 GTimeZone fails to accept full Julian day range when parsing the direct $TZ string format 1323 Backport !1314 “gtimezone: fix parsing of Julian day in POSIX TZ format” to glib-2-62 1331 Backport !1330 “W32: Correctly set st_ino when doing private stat()” to glib-2-62 1352 Backport !1351 “glib.supp: update g-threaded-resolver-getaddrinfo-config” to glib-2-62 1361 Backport !1353 GMainContext source reference fixes to glib-2-62 1365 Refactor g_socket_client_connect_async() 1370 Backport !1369 “build: Rework path construction to reliably add prefix” to glib-2-62 1371 Backport !1357 “gunixmounts: Make GUnixMountMonitor thread-safe” to glib-2-62 (From OE-Core rev: d1c337161f70893cd4eec15364c6c41d5040ccc6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemumips: Use 34Kf CPU emulationKhem Raj2020-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | Few years ago we switched to using mips32r2 tunings for qemumips however the default CPU emulation still remained 24Kf which is not optimal for mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU emulation when running qemu in system mode Boot time to console is ~1s faster with this setting, hopefully this should speed up qemumips in general [1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts (From OE-Core rev: 6f24a70ed9323a89cb9d0e6c56bacb6a59e2c31f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e68d2afd4a5529437824b5d6b9a2077c2fefd337) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "gtk-icon-cache.bbclass: add runtime dependency"Steve Sakoman2020-08-071-16/+3
| | | | | | | | | | This reverts commit e921edd27e71af00f07e3f1e973d2b0c6c777bf4 since it breaks adwaita-icon-theme and other recipes using gtk-icon-cache (From OE-Core rev: 257758f175cdcb99f4fe890cc0b1a60e82b5b84b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glib-networking: upgrade 2.62.3 to 2.62.4Steve Sakoman2020-08-071-2/+2
| | | | | | | | | | | | | | | Bug and CVE fix release Fixes CVE-2020-13645 Details of changes at: https://gitlab.gnome.org/GNOME/glib-networking/-/commits/glib-2-62 (From OE-Core rev: 9bf1f323a955e2e923136f4e5a9193878dee1a8d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.zhengruoqin2020-08-072-0/+91
| | | | | | | | | | | | | | This was discussed and accepted upstream by the project so their license is consistent. Please reference to https://gitlab.com/gnutls/gnutls/-/issues/1018 and https://gitlab.com/gnutls/gnutls/-/merge_requests/1285. (From OE-Core rev: 284a8cb6c51517d07f5f21b224ffb57333f1fc27) Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 267d07301c79c24969c169add05284f612c41d77) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnutls: upgrade 3.6.13 -> 3.6.14Alexander Kanavin2020-08-071-2/+1
| | | | | | | | | | | | | | | | | | Security and bug fix release on the stable 3.6.x branch Fixes CVE-2020-13777 Detailed list of changes at: https://lists.gnupg.org/pipermail/gnutls-help/2020-June/004648.html (From OE-Core rev: 79b821161275cad5d9c54078e65293109184ad65) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd88c81804a4a52b9875f2244c9f35911539be96) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bind: upgrade 9.11.19 -> 9.11.21Yi Zhao2020-08-071-1/+1
| | | | | | | | | | | | | | | Bug and CVE fixes only Detailed list of changes at: https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_11_21/CHANGES (From OE-Core rev: dc916547041b8d7636e5234f7e3150036bbbde4a) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c6749532f94f435e6771d66d3fa225e676753478) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* boost: backport fix to make async_pipes work with asioViktor Rosendahl2020-08-072-0/+55
| | | | | | | | | | | | | | | | | | | async_pipe is missing the executor_type type, which is expected by asio in /usr/include/boost/asio/impl/read.hpp. Without this, it's not possible to even compile code that uses constructs such as: boost::asio::io_service foo; boost::process::async_pipe foopipe{ boost::process::async_pipe(foo) }; This is only relevant for Dunfell because master has already moved to boost-1.73.0 in which this bug has been fixed. The bug is also not present in Zeus, which uses boost-1.71.0. (From OE-Core rev: f3f6cc45b0b95cce337947df8dfaa9402251541c) Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cogl-1.0: correct X11 dependenciesMatt Madison2020-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | cogl depends on libxdamage when configured for X11 support. A dependency was added for this in 2012 with 959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition was lost when the recipe was reworked in 2013 with b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also added a dependency on libxi, which is not actually needed. The missing dependency doesn't cause problems in most cases, since mesa also depends on libxdamage, but when an alternative opengl implementation such as libglvnd is used, cogl fails to configure. (From OE-Core rev: 4cbfaae7f6ecdcbb67675da6cbdcf63aed0aaf61) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7651a63c508562caf1a3732cb49af50bccc98e8b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update: handle baseMetricV2 as optionalKonrad Weihmann2020-08-071-4/+9
| | | | | | | | | | | | | | Currently in NVD DB an item popped up, which hasn't set baseMetricV2. Let the parser handle it as an optional item. In case use baseMetricV2 before baseMetricV3 (From OE-Core rev: 135a6a4f55aed6148f45d01b307fadbd45be2997) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fdcbf3f28289188c5a97664d1421d4a5c4991eda) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Fix populate-volatile.sh bug when file/dir existsAndrei Gherzan2020-08-071-12/+12
| | | | | | | | | | | | | | | | | | The blocks which test for entry exitence (file or directory) use a `A && B || C` syntax. This form is not behaving as a if-then-else block even the code logic assumes that. C may run when A is true which breaks the case where VERBOSE is 'no' but the file/directory exists. Along with fixing these specific issues, this patch fixes the other instances where blocks of form `A && B || C` are used as if-then-else. (From OE-Core rev: 471094f8afa57548e9ff3fd7a99306f58b87d478) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1b9ea22acb66554925720e04cf24100664234574) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscripts: Fix various shellcheck warnings in populate-volatile.shAndrei Gherzan2020-08-071-29/+29
| | | | | | | | | | (From OE-Core rev: 2c44581c3be7f1330f32870f9a9721a53a49f62b) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0a128a238f63d52aa82f8c63ee2f84ab528b3346) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Secruity fix for CVE-2020-6096Armin Kuster2020-07-313-0/+308
| | | | | | | | | | | | | | | | | Source: glibc.org MR: 104799 Type: Security Fix Disposition: Backport from beea361050728138b82c57dda0c4810402d342b9 ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1 Description: (From OE-Core rev: 7ce425fa1295a9dca48f8474be58db3ac8aa540d) Signed-off-by: Armin Kuster <akuster@gmvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ffa4fa35e1f6132b19788166a2b87517d9e17d95) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* buildhistory: use pid for temporary txt file nameLee Chee Yang2020-07-311-5/+6
| | | | | | | | | | | | | | | | | | | | | | | buildhistory create .txt file bh_installed_pkgs.txt and bh_installed_pkgs_deps.txt while listing down installed package. These file is later removed in buildhistory_get_installed(). when multiple process runs in parellal there are chances to race for the file where one process created the file while another task remove the file right after it. using different file name for each process should avoid the race. So add PID to the file name to make it unique. [yocto #13709] (From OE-Core rev: af8f5fe82f27702ad727b27daefd5e97d9e64efa) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 214d236d93700abffa2d586cc744a00455818fa4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-immodules-cache.bbclass: fix post install scriptlet errorChangqing Li2020-07-311-0/+1
| | | | | | | | | | | | | | | | | | package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default. when install package gtk-immodule-xim, it is possible met below error: /var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1 fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache (From OE-Core rev: d22af1a7d68b59da8967179af0893003e7d8a8a1) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c689e120961d9d20386c8b822d71d778d4e6df7b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: make hwclock compatible with glibc 2.31Sakib Sajal2020-07-312-0/+84
| | | | | | | | | | | | | | | | settimeofday(2) has been deprecated as of glibc 2.31 which hwclock makes use of. This patch makes hwclock compatible with glibc v2.31 See patch for more details: busybox/0001-hwclock-make-glibc-2.31-compatible.patch Fixes [YOCTO #13981] (From OE-Core rev: 92d8bba5405244ae2594abc1a012c08c74999ab4) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* startup-notification: add time_t type mismatch patch from upstreamRoss Burton2020-07-312-0/+109
| | | | | | | | | | | | Backport a patch to fix issues where sizeof(time_t) != sizeof(long). (From OE-Core rev: 0590fbf6d76e1d0c4601529884c4c171be6e27af) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f9c3a6d74765e636a8038fe3aaa5dfc8b550590a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: improve wording when image size exceeds the specified limitDaniel Ammann2020-07-311-2/+2
| | | | | | | | | | (From OE-Core rev: faf93355614c5e5d9aec8222a7df780324868c7a) Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fcaab9d686a4afe53a4693f3b30634215d682389) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/package: Use HOST_OS for runtime dependenciesJoshua Watt2020-07-311-5/+5
| | | | | | | | | | | | | | | | | | | | The code was using TARGET_OS to try and detect what type of OS the packages would be running on, but this is incorrect. TARGET_OS is the OS for which the package will generate output (e.g. GCC output target or GDB debugging target). The OS where the package will run is the HOST_OS. Note that HOST_OS only differs from TARGET_OS when doing a canadian cross compile, and even then in our case only when doing so for a non-Linux host (e.g. MinGW). Fix the code to use HOST_OS instead. (From OE-Core rev: 2541b5be1e9c2c33ca8017130461a19f8734d883) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f284c5b2df220b520b025a59874e04ef4becd829) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/cmake: Fix host detectionJoshua Watt2020-07-311-6/+13
| | | | | | | | | | | | | | | | | | | | | Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM variables. The HOST variables should be used instead of TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for where the package is going to run (the host), not what it will be generating output for (the target). The distinction is only really relevant when building canadian cross recipes. Also fix up the host OS detection to account for MinGW by setting CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw to patch this in all the cmake recipes it builds. (From OE-Core rev: 59b8c49a54b8977ba2f3ed4f33f0fd3f7dd749d5) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 01245db2893e39ffb5d4a00e4689f048d0698974) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/qemurunner: Add priority/nice information for running processesRichard Purdie2020-07-312-2/+2
| | | | | | | | | | | | | We're seeing failures due to system load. In theory we've set process nice levels which should compensate for this. Add debugging so we can find out if they're being correctly applied. (From OE-Core rev: 693dc285164eb6cc88cc7174238fd59f0393b5c3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1e4e345bba8216b9b5623682206a7dae7cad261c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-rt/5.4: fix mmdrop stress test issuesBruce Ashfield2020-07-311-1/+1
| | | | | | | | | | | | | | Integrating the following commit(s) to linux-yocto/5.4: 508b4e6ada7f sched: Remove unexpected mmdrop on RT (From OE-Core rev: c381a58954da72c5b44b8047328c13f81f178bbf) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8500665cb8da792bb92a484e286f3935cf85e2b2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.4: update to v5.4.51Bruce Ashfield2020-07-313-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 1c54d3c15afa Linux 5.4.51 8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely 43986c32ee00 dm zoned: assign max_io_len correctly 215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts 64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order() 2a9278ac9c55 irqchip/gic: Atomically update affinity 7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops 4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir 2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk 94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates 032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen 2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names 71a20b798da3 cifs: Fix the target file was deleted when rename failed. 49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts 7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts 0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation" fe05e114d0fd nfsd: apply umask on fs without ACL support 4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths 9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665 a632f91f7a9c samples/vfs: avoid warning in statx override cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk c64141c68f72 nvme: fix identify error status silent ignore 7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts 8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe() f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling c84138b3c162 nfsd: fix nfsdfs inode reference count leak 2571e1735602 nfsd4: fix nfsdfs reference count loop 31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183 c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add() 3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly 0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context 6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison f68bda772639 cxgb4: fix endian conversions for L4 ports in filters 180fbf10a26d cxgb4: parse TC-U32 key values and masks natively 0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp 8a1b8e64204e RDMA/counter: Query a counter before release 53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop 60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock() 5d6b46a94dbb tpm: Fix TIS locality timeout problems 563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash 1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put 5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work c4f007d3dbdd nvme-multipath: set bdi capabilities once 8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages 517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names 6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings 3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect 0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab() 542d541c1edd sched/debug: Make sd->flags sysctl read-only ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal 58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h d0e533584a05 mm: fix swap cache node allocation mask 1c4404efcf2c io_uring: make sure async workqueue is canceled on exit (From OE-Core rev: aee5754b848fea174d27e2af9d88134680c4ec30) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 60ee8b2bc14af7bf5b69d00c5d6293f09125407c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: openssl-bin requires openssl-conf to runRobert Yang2020-07-311-0/+2
| | | | | | | | | | | | | | | Fixed: $ dnf install openssl-bin $ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory (From OE-Core rev: 2a4980cd8bfd829bab1ba081588eb0bdbd285b97) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e93cd3b83a255294c9ab728adc7e237eb1321dab) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add ibt-20 packageKurt Kiefer2020-07-311-0/+4
| | | | | | | | | | | | | Add the firmware packaging for Intel Bluetooth AX200, also known as Intel CyclonePeak (CcP). (From OE-Core rev: a53e9fd2d50d92c138c3f72aef0a9d0e59e823e6) Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a701625a95ccb15a9db1a50a02143ba1ac8e6f1d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: fix nativesdk's default var locationChen Qi2020-07-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is '/var'. This is causing error when running `rpm -qplv A.rpm'. error: cannot open Packages index using db5 - Permission denied (13) error: cannot open Packages database in /var/lib/rpm The rpm in SDK should be using its own database. So we should remove this configure option, letting the SDK's native sysroot prefix to be there in %_var. In fact, '%_usr' in macros has already got the prefix. After this change, we have in the macros file lines like below. """ %_usr /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr %_usrsrc %{_usr}/src %_var /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var """ (From OE-Core rev: 4e0d1bdc6e896c7dedccf615d6d0da9eb91d9b1d) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 13e17930062cb3f816516ba7dbeb70d6da7174dd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel-yocto: account for extracted defconfig in elements checkyocto-3.1.2dunfell-23.0.2Bruce Ashfield2020-07-231-1/+1
| | | | | | | | | | | | | | | The test for whether or not scc should to invoked to generate a config.queue was missing the newly created sccs_defconfig variable. We need to test for that variable as well, or we may miss generating the config.queue in some cases. (From OE-Core rev: ea886d57db917a41a0d106a15e1e96c72d6407b0) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: whitelist CVE-2010-10029akuster2020-07-221-0/+2
| | | | | | | | | | | | | | The update via Commit https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/glibc?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1 should have added the whitelist for this CVE removed (From OE-Core rev: e8de5271aeebd151b3fbe47d47a1c5f6969320e7) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 213ac2d345ec6d4ef0daf7a7d8237038a914c491) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd : fix CVE-2020-13776Lee Chee Yang2020-07-222-0/+97
| | | | | | | | (From OE-Core rev: c23afae55758b53f34b08eb3a51ac25f0e4ce4d4) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Security Fix For CVE-2018-1000500Rahul Chauhan2020-07-222-0/+99
| | | | | | | | | | CVE: CVE-2018-1000500 (From OE-Core rev: 1ff4e723ed65ff7ee2921a50ca0c004ea7bb2508) Signed-off-by: Rahul Kumar <rahulk@mvista.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/utils/qemurunner: Fix missing pid file tracebacksRichard Purdie2020-07-221-1/+1
| | | | | | | | | | | | One element of the error message guarded against None as a value but I missed the other, fix this. (From OE-Core rev: 9e23163016b7a8fea0dbfe2111f9493017e5a7b2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemurunner: Add extra debug info when qemu fails to startRichard Purdie2020-07-221-0/+9
| | | | | | | | | | | | | | | When qemu fails to start we're struggling to work out why. Add more debug info which can at least confirm/rule out various things. This code is only on the error handling path and more info shoudl help us debug issues. (From OE-Core rev: 797f7e0c3ff0610a4de321eaf82f84bca610624e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* qemurunner: Ensure pid location is deterministicRichard Purdie2020-07-221-2/+4
| | | | | | | | | | | | | | | The pid location could vary due to changes in cwd as only a filename is specified, not a full path. This in theory could be resulting in some of our autobuilder failures. Whilst its difficult to know if this is causing a problem, Using a full path removes any question of such an issue. (From OE-Core rev: a03c85fe0704a457bd2d92dd58cbbb4d37453f2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* babeltrace: correct the git SRC_URIAlexander Kanavin2020-07-222-2/+2
| | | | | | | | | | | | The previous one seems to be gone. (From OE-Core rev: 5dd3d61c5c739f31cb87a3c0c924c617b432e8a9) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b9995f8a8f08bbcb1e0915a7420ec7fb5623d604) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTENDTim Orling2020-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | If you try to create a plugin for recipetool that adds the AUTHOR field, it is impossible to put it in the recommended position [1] without adding to the recipe_progression variable. While we are at it, also add BBCLASSEXTEND at the end, as also recommended by [1]. [1] http://www.openembedded.org/wiki/Styleguide (From OE-Core rev: 2a1ae8c12cb0d6fd9d57c98caa97a10f3b6d3388) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d687c5b7b10b3decdd80d5c2fd61072a87f061f2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGSDouglas2020-07-221-1/+1
| | | | | | | | | | | | ... which default to the BUILDSDK_CFLAGS in any case. (From OE-Core rev: 260a348bab64b7da33e2ade77593059287a4e308) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9b4bf667bac49131cee382f2f346fc054d5f28b9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* nativesdk: clear MACHINE_FEATURESDouglas2020-07-221-0/+1
| | | | | | | | | | | | | Further to 96c20c9df7: Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES. (From OE-Core rev: 0cbae5aa12aa8f3e0865d36d665dfd4a5853a691) Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 956e5bd6862ca898143a234aa85cc83b1f2d1807) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest: append to FILESKonrad Weihmann2020-07-221-1/+1
| | | | | | | | | | | | | | as ptest FILES could be determined before or after the classes was inherited, if is much safer to append to the setting of FILES_${PN}-ptest (From OE-Core rev: 1a52f9ec394ec2ce9899543c1b9ef95e926ebf14) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go-dep: Fix build on riscv64Khem Raj2020-07-222-0/+145575
| | | | | | | | | | | | Bring in only patch from meta-riscv here (From OE-Core rev: ecd7563cc29d5b473a3c71f35c4d9c98ff4d2349) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2e6e7b0be6e5ba5ab8fe9478c1dfdd530d22123f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: Disbale CGO for riscv64Khem Raj2020-07-222-1/+2
| | | | | | | | | | | | | | | | | | cgo is still not available in go for riscv64, we will re-evaluate it once we upgrade to 1.15 Fixes | /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start' [YOCTO #13966] (From OE-Core rev: 987d29d0b0dfa19ef6564996198f22c2b08f6ff9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f512b3308ed6ee878c77f72b9235ada83d107dba) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot: fix condition to allow use of *.cfgCharlie Davies2020-07-221-1/+1
| | | | | | | | | | | | | | U-boot recipe supports .cfg files in SRC_URI, but bug in conditional statement meant that the code was unreachable and the .cfg files were never applied. (From OE-Core rev: 4fc386279ef4616d1e103cb70facee5716d335ff) Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 766f827df4c3f76b1ef06acaba3c4f160c3791aa) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* serf: extend for nativesdkJens Rehsack2020-07-221-1/+1
| | | | | | | | | | | | | As an unconditionally dependency of subversion, extend serf recipe for building a nativesdk variant being usable by nativesdk-subversion. (From OE-Core rev: 3b78a39535089bbafbeb1ebd854efe180890f375) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ff731a25a49c768f04a474438efccb3bb505a898) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* subversion: extend for nativesdkJens Rehsack2020-07-221-1/+1
| | | | | | | | | | | | | | | For SDK environments where people still use subversion, let it easily being added to buildtools-tarball to invite more developers relying on Yocto based SDKs without much requirement to setup anything on the development workplace. (From OE-Core rev: 795781db8a82c9268fcabc93dd54cb6b07cbe9c8) Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 586a15b76f879f49c5224116cbf506b7ccf96cd2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>