]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
4 years agowebkitgtk: fix CVE-2020-13753
Lee Chee Yang [Fri, 7 Aug 2020 09:45:19 +0000 (17:45 +0800)]
webkitgtk: fix CVE-2020-13753

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolibjpeg-turbo: fix CVE-2020-13790
Lee Chee Yang [Fri, 7 Aug 2020 09:45:18 +0000 (17:45 +0800)]
libjpeg-turbo: fix CVE-2020-13790

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoqemu: fix CVE-2020-15863
Lee Chee Yang [Fri, 7 Aug 2020 09:45:17 +0000 (17:45 +0800)]
qemu: fix CVE-2020-15863

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoghostscript: fix CVE-2020-15900
Lee Chee Yang [Fri, 7 Aug 2020 09:45:16 +0000 (17:45 +0800)]
ghostscript: fix CVE-2020-15900

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoallarch: Add missing allarch ttf-bitstream-vera
Daniel Gomez [Wed, 5 Aug 2020 14:13:00 +0000 (16:13 +0200)]
allarch: Add missing allarch ttf-bitstream-vera

allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoltp: make copyFrom scp command non-fatal
Matthew [Wed, 5 Aug 2020 18:51:33 +0000 (14:51 -0400)]
ltp: make copyFrom scp command non-fatal

[YOCTO #13802]

Make the scp failure non-fatal so the ltp tests continue to run and
the rest of the logs will be available to see afterwards.

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0f7d093038274f4f21f6cca39a96aac4f6c32ee3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agokernel-devicetree: Fix intermittent build failures caused by DTB builds
Tyler Hicks [Wed, 5 Aug 2020 16:56:12 +0000 (11:56 -0500)]
kernel-devicetree: Fix intermittent build failures caused by DTB builds

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.

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>
4 years agolinux-yocto/5.4: update to v5.4.54
Bruce Ashfield [Wed, 5 Aug 2020 12:47:36 +0000 (08:47 -0400)]
linux-yocto/5.4: update to v5.4.54

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

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>
4 years agolinux-yocto/5.4: fix perf build with binutils 2.35
Bruce Ashfield [Mon, 3 Aug 2020 12:30:26 +0000 (08:30 -0400)]
linux-yocto/5.4: fix perf build with binutils 2.35

Integrating the following commit(s) to linux-yocto/5.4:

    1fe4ee7f680c libtraceevent: Fix build with binutils 2.35

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>
4 years agolinux-yocto/5.4: update to v5.4.53
Bruce Ashfield [Mon, 3 Aug 2020 12:30:25 +0000 (08:30 -0400)]
linux-yocto/5.4: update to v5.4.53

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

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>
4 years agolibexif: update to 0.6.22
Alexander Kanavin [Sun, 31 May 2020 15:52:32 +0000 (17:52 +0200)]
libexif: update to 0.6.22

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

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>
4 years agoruby: upgrade 2.7.0 -> 2.7.1
zhengruoqin [Fri, 22 May 2020 22:44:04 +0000 (06:44 +0800)]
ruby: upgrade 2.7.0 -> 2.7.1

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

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>
4 years agoglib-2.0: update 2.62.5 to 2.62.6
Steve Sakoman [Mon, 3 Aug 2020 22:26:40 +0000 (12:26 -1000)]
glib-2.0: update 2.62.5 to 2.62.6

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

Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoglib-2.0: update 2.62.4 to 2.62.5
Steve Sakoman [Mon, 3 Aug 2020 16:41:55 +0000 (06:41 -1000)]
glib-2.0: update 2.62.4 to 2.62.5

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

Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoqemumips: Use 34Kf CPU emulation
Khem Raj [Wed, 29 Jul 2020 02:28:52 +0000 (19:28 -0700)]
qemumips: Use 34Kf CPU emulation

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

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>
4 years agoRevert "gtk-icon-cache.bbclass: add runtime dependency"
Steve Sakoman [Wed, 5 Aug 2020 14:27:18 +0000 (04:27 -1000)]
Revert "gtk-icon-cache.bbclass: add runtime dependency"

This reverts commit e921edd27e71af00f07e3f1e973d2b0c6c777bf4 since
it breaks adwaita-icon-theme and other recipes using gtk-icon-cache

Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoglib-networking: upgrade 2.62.3 to 2.62.4
Steve Sakoman [Fri, 31 Jul 2020 17:20:19 +0000 (07:20 -1000)]
glib-networking: upgrade 2.62.3 to 2.62.4

Bug and CVE fix release

Fixes CVE-2020-13645

Details of changes at:

https://gitlab.gnome.org/GNOME/glib-networking/-/commits/glib-2-62

Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agognutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.
zhengruoqin [Wed, 8 Jul 2020 06:14:24 +0000 (14:14 +0800)]
gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.

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.

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>
4 years agognutls: upgrade 3.6.13 -> 3.6.14
Alexander Kanavin [Mon, 8 Jun 2020 07:46:41 +0000 (09:46 +0200)]
gnutls: upgrade 3.6.13 -> 3.6.14

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

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>
4 years agobind: upgrade 9.11.19 -> 9.11.21
Yi Zhao [Mon, 20 Jul 2020 06:33:03 +0000 (14:33 +0800)]
bind: upgrade 9.11.19 -> 9.11.21

Bug and CVE fixes only

Detailed list of changes at:
https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_11_21/CHANGES

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>
4 years agoboost: backport fix to make async_pipes work with asio
Viktor Rosendahl [Thu, 30 Jul 2020 10:00:21 +0000 (12:00 +0200)]
boost: backport fix to make async_pipes work with asio

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.

Signed-off-by: Viktor Rosendahl <Viktor.Rosendahl@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agocogl-1.0: correct X11 dependencies
Matt Madison [Tue, 28 Jul 2020 12:04:40 +0000 (05:04 -0700)]
cogl-1.0: correct X11 dependencies

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.

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>
4 years agocve-update: handle baseMetricV2 as optional
Konrad Weihmann [Sun, 26 Jul 2020 14:10:06 +0000 (16:10 +0200)]
cve-update: handle baseMetricV2 as optional

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

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>
4 years agochecklayer: check layer in BBLAYERS before test
Lee Chee Yang [Fri, 24 Jul 2020 04:16:24 +0000 (12:16 +0800)]
checklayer: check layer in BBLAYERS before test

layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.

add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.

[YOCTO #13176]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be02e8dbfb0d1decce125322f9f1e11a649756c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoinitscripts: Fix populate-volatile.sh bug when file/dir exists
Andrei Gherzan [Fri, 24 Jul 2020 17:12:05 +0000 (18:12 +0100)]
initscripts: Fix populate-volatile.sh bug when file/dir exists

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.

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>
4 years agoinitscripts: Fix various shellcheck warnings in populate-volatile.sh
Andrei Gherzan [Fri, 24 Jul 2020 17:12:04 +0000 (18:12 +0100)]
initscripts: Fix various shellcheck warnings in populate-volatile.sh

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>
4 years agoglibc: Secruity fix for CVE-2020-6096
Armin Kuster [Mon, 20 Jul 2020 21:49:36 +0000 (14:49 -0700)]
glibc: Secruity fix for CVE-2020-6096

Source: glibc.org
MR: 104799
Type: Security Fix
Disposition: Backport from  beea361050728138b82c57dda0c4810402d342b9
ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1
Description:

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>
4 years agobuildhistory: use pid for temporary txt file name
Lee Chee Yang [Thu, 23 Jul 2020 01:16:13 +0000 (09:16 +0800)]
buildhistory: use pid for temporary txt file name

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]

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>
4 years agogtk-immodules-cache.bbclass: fix post install scriptlet error
Changqing Li [Tue, 21 Jul 2020 03:06:03 +0000 (11:06 +0800)]
gtk-immodules-cache.bbclass: fix post install scriptlet error

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

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>
4 years agobusybox: make hwclock compatible with glibc 2.31
Sakib Sajal [Tue, 21 Jul 2020 20:39:12 +0000 (16:39 -0400)]
busybox: make hwclock compatible with glibc 2.31

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]

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agostartup-notification: add time_t type mismatch patch from upstream
Ross Burton [Tue, 21 Jul 2020 15:48:15 +0000 (16:48 +0100)]
startup-notification: add time_t type mismatch patch from upstream

Backport a patch to fix issues where sizeof(time_t) != sizeof(long).

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>
4 years agoimage.bbclass: improve wording when image size exceeds the specified limit
Daniel Ammann [Mon, 20 Jul 2020 11:08:17 +0000 (13:08 +0200)]
image.bbclass: improve wording when image size exceeds the specified limit

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>
4 years agoclasses/package: Use HOST_OS for runtime dependencies
Joshua Watt [Tue, 21 Jul 2020 17:52:19 +0000 (12:52 -0500)]
classes/package: Use HOST_OS for runtime dependencies

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.

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>
4 years agoclasses/cmake: Fix host detection
Joshua Watt [Tue, 21 Jul 2020 17:52:11 +0000 (12:52 -0500)]
classes/cmake: Fix host detection

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.

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>
4 years agooeqa/qemurunner: Add priority/nice information for running processes
Richard Purdie [Mon, 20 Jul 2020 10:54:33 +0000 (11:54 +0100)]
oeqa/qemurunner: Add priority/nice information for running processes

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1e4e345bba8216b9b5623682206a7dae7cad261c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-yocto-rt/5.4: fix mmdrop stress test issues
Bruce Ashfield [Fri, 17 Jul 2020 12:56:32 +0000 (08:56 -0400)]
linux-yocto-rt/5.4: fix mmdrop stress test issues

Integrating the following commit(s) to linux-yocto/5.4:

    508b4e6ada7f sched: Remove unexpected mmdrop on RT

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>
4 years agolinux-yocto/5.4: update to v5.4.51
Bruce Ashfield [Fri, 17 Jul 2020 12:56:31 +0000 (08:56 -0400)]
linux-yocto/5.4: update to v5.4.51

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

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>
4 years agoopenssl: openssl-bin requires openssl-conf to run
Robert Yang [Thu, 16 Jul 2020 11:09:21 +0000 (04:09 -0700)]
openssl: openssl-bin requires openssl-conf to run

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

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>
4 years agolinux-firmware: add ibt-20 package
Kurt Kiefer [Fri, 17 Jul 2020 17:23:02 +0000 (10:23 -0700)]
linux-firmware: add ibt-20 package

Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).

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>
4 years agorpm: fix nativesdk's default var location
Chen Qi [Thu, 16 Jul 2020 06:56:32 +0000 (14:56 +0800)]
rpm: fix nativesdk's default var location

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
"""

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>
4 years agowic/filemap: Fall back to standard copy when no way to get the block map
Kevin Hao [Tue, 14 Jul 2020 00:53:23 +0000 (08:53 +0800)]
wic/filemap: Fall back to standard copy when no way to get the block map

For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.

[Yocto #12988]

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7934ed49179242f15b413c0275040a3bb6b68876)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agowic/filemap: Drop the unused get_unmapped_ranges()
Kevin Hao [Tue, 14 Jul 2020 00:53:22 +0000 (08:53 +0800)]
wic/filemap: Drop the unused get_unmapped_ranges()

This method is not used by any code, so drop it.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6513fd9302b9989f97fc9d95e76e06ad5d266774)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agowic/filemap: Drop the unused block_is_unmapped()
Kevin Hao [Tue, 14 Jul 2020 00:53:21 +0000 (08:53 +0800)]
wic/filemap: Drop the unused block_is_unmapped()

This method is not used by any code, so drop it.

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb62a15349597ee026c67a0bb0a6ca2cc9bfe420)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agokernel-yocto: account for extracted defconfig in elements check 2020-04.2-dunfell
Bruce Ashfield [Fri, 17 Jul 2020 12:56:33 +0000 (08:56 -0400)]
kernel-yocto: account for extracted defconfig in elements check

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.

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>
4 years agoglibc: whitelist CVE-2010-10029
akuster [Sun, 19 Jul 2020 20:49:23 +0000 (13:49 -0700)]
glibc: whitelist CVE-2010-10029

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

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>
4 years agosystemd : fix CVE-2020-13776
Lee Chee Yang [Fri, 17 Jul 2020 08:59:25 +0000 (16:59 +0800)]
systemd : fix CVE-2020-13776

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agobusybox: Security Fix For CVE-2018-1000500
Rahul Chauhan [Sun, 12 Jul 2020 01:44:53 +0000 (07:14 +0530)]
busybox: Security Fix For CVE-2018-1000500

CVE: CVE-2018-1000500

Signed-off-by: Rahul Kumar <rahulk@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooeqa/utils/qemurunner: Fix missing pid file tracebacks
Richard Purdie [Tue, 14 Jul 2020 20:40:40 +0000 (21:40 +0100)]
oeqa/utils/qemurunner: Fix missing pid file tracebacks

One element of the error message guarded against None as a value
but I missed the other, fix this.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dbce6baec68d7658453b8c44159e1d1fef746151)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoqemurunner: Add extra debug info when qemu fails to start
Richard Purdie [Fri, 10 Jul 2020 09:00:58 +0000 (10:00 +0100)]
qemurunner: Add extra debug info when qemu fails to start

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoqemurunner: Ensure pid location is deterministic
Richard Purdie [Fri, 10 Jul 2020 08:53:39 +0000 (09:53 +0100)]
qemurunner: Ensure pid location is deterministic

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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55c186ff410c99570242478b99ac24ebc40aa6bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agobabeltrace: correct the git SRC_URI
Alexander Kanavin [Sun, 31 May 2020 15:52:31 +0000 (17:52 +0200)]
babeltrace: correct the git SRC_URI

The previous one seems to be gone.

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>
4 years agoscripts/lib/recipetool/create.py: fix regex strings
Tim Orling [Sat, 11 Jul 2020 03:48:08 +0000 (20:48 -0700)]
scripts/lib/recipetool/create.py: fix regex strings

Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0eae98a369d80340e48dc690d09a1364cde97973)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND
Tim Orling [Sat, 11 Jul 2020 03:48:07 +0000 (20:48 -0700)]
lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND

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

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>
4 years agonativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS
Douglas [Fri, 10 Jul 2020 05:56:20 +0000 (17:56 +1200)]
nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS

... which default to the BUILDSDK_CFLAGS in any case.

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>
4 years agonativesdk: clear MACHINE_FEATURES
Douglas [Fri, 10 Jul 2020 06:36:39 +0000 (18:36 +1200)]
nativesdk: clear MACHINE_FEATURES

Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.

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>
4 years agoptest: append to FILES
Konrad Weihmann [Wed, 8 Jul 2020 18:44:09 +0000 (20:44 +0200)]
ptest: append to FILES

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

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>
4 years agogo-dep: Fix build on riscv64
Khem Raj [Thu, 9 Jul 2020 20:24:35 +0000 (13:24 -0700)]
go-dep: Fix build on riscv64

Bring in only patch from meta-riscv here

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>
4 years agogo: Disbale CGO for riscv64
Khem Raj [Thu, 9 Jul 2020 19:57:29 +0000 (12:57 -0700)]
go: Disbale CGO for riscv64

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]

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>
4 years agou-boot: fix condition to allow use of *.cfg
Charlie Davies [Thu, 9 Jul 2020 19:22:08 +0000 (20:22 +0100)]
u-boot: fix condition to allow use of *.cfg

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.

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>
4 years agoserf: extend for nativesdk
Jens Rehsack [Thu, 9 Jul 2020 05:19:24 +0000 (07:19 +0200)]
serf: extend for nativesdk

As an unconditionally dependency of subversion, extend serf recipe for
building a nativesdk variant being usable by nativesdk-subversion.

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>
4 years agosubversion: extend for nativesdk
Jens Rehsack [Thu, 9 Jul 2020 05:19:23 +0000 (07:19 +0200)]
subversion: extend for nativesdk

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.

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>
4 years agooeqa/selftest/sstatetests: Avoid polluting DL_DIR
Richard Purdie [Wed, 8 Jul 2020 21:01:34 +0000 (22:01 +0100)]
oeqa/selftest/sstatetests: Avoid polluting DL_DIR

Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 002d321e02b3ce4f34c8a54211b109a5416c8a0e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoavahi: Fix typo in recipe
Christian Eggers [Wed, 8 Jul 2020 10:34:27 +0000 (12:34 +0200)]
avahi: Fix typo in recipe

According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8837b4735b5e96ae0f5542319e711dbda8c3849)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agobison: fix Argument list too long error
Lee Chee Yang [Mon, 11 May 2020 10:57:02 +0000 (18:57 +0800)]
bison: fix Argument list too long error

fix Argument list too long error when len(TMPDIR) = 410

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73f05ba58dcee57e25712f9aee97535d9a32c982)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-firmware: move ibt-misc to the end of ibt packages
Yongxin Liu [Fri, 10 Jul 2020 08:39:22 +0000 (16:39 +0800)]
linux-firmware: move ibt-misc to the end of ibt packages

After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-firmware: fix the wrong file path for ibt-misc
Yongxin Liu [Wed, 8 Jul 2020 04:05:32 +0000 (12:05 +0800)]
linux-firmware: fix the wrong file path for ibt-misc

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c1470ea6e337dc1d1e320d33267f06584e9752d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoinsane: consolidate skipping of temporary do_package files
Ross Burton [Tue, 7 Jul 2020 20:37:42 +0000 (21:37 +0100)]
insane: consolidate skipping of temporary do_package files

During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.

[ YOCTO #13804 ]

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4b2f45c47a5c8c800626f12c14f216a5ab923512)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agocoreutils: don't split stdbuf to own package with single-binary
Rasmus Villemoes [Thu, 9 Jul 2020 07:06:15 +0000 (09:06 +0200)]
coreutils: don't split stdbuf to own package with single-binary

Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:

ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line

  #!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf

Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d24b5b895198898944260136d05e991a203c11)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolibnl: Extend for native/nativesdk
Christian Eggers [Mon, 22 Jun 2020 12:53:58 +0000 (14:53 +0200)]
libnl: Extend for native/nativesdk

libnl is required by networkmanager.

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3c96103a5063eeefb0c537227eab3f77616b9c0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agodevtool: default to empty string, if LIC_FILES_CHKSUM is not available
Bjarne Michelsen [Mon, 6 Jul 2020 19:42:26 +0000 (21:42 +0200)]
devtool: default to empty string, if LIC_FILES_CHKSUM is not available

[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971

A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.

This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.

[YOCTO #13971]

Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95e112f0f465868e98285509ea0d1a624a439ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoopenssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf
Hannu Lounento [Tue, 7 Jul 2020 11:05:46 +0000 (14:05 +0300)]
openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf

Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't

    root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
    Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
    140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r')
    140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:

which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring

    IMAGE_INSTALL_append = " openssl-bin"

e.g. in local.conf.

The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package

    FILES_${PN} =+ "${libdir}/ssl-1.1/*"

(there is no other FILES specification that would match the file either)
and

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-1.1.1g-r0.core2_64.rpm
    [...]
    /usr/lib/ssl-1.1/openssl.cnf
    [...]

Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.

Note that the openssl recipe has the comment

    Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
    package RRECOMMENDS on this package. This will enable the configuration
    file to be installed for both the openssl-bin package and the libcrypto
    package since the openssl-bin package depends on the libcrypto package.

but openssl-conf only contained /etc/ssl/openssl.cnf

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-conf-1.1.1g-r0.core2_64.rpm
    /etc
    /etc/ssl
    /etc/ssl/openssl.cnf

/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.

Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.

Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c1632d7041fe0c18ec61abfa79a9c025af43c033)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-yocto/5.4: update to v5.4.50
Bruce Ashfield [Mon, 6 Jul 2020 16:27:04 +0000 (12:27 -0400)]
linux-yocto/5.4: update to v5.4.50

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e75220890bf6 Linux 5.4.50
    a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open"
    ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify
    cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim()
    a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry
    de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies
    4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion
    02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes
    7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
    c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate()
    60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
    c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0
    05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table()
    834a3aa2ceb4 drm: rcar-du: Fix build error
    176a3c488476 drm/amd: fix potential memleak in err branch
    0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute
    9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces
    c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
    90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
    73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode
    7a9e3e25a9d2 mm/memcontrol.c: add missed css_put()
    ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2
    a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT
    4685df862c8b ocfs2: load global_inode_alloc
    7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it
    fbca1aee1397 mm/slab: use memzero_explicit() in kzfree()
    a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
    863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink
    53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub
    0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel
    df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes
    3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0
    96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL
    8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation
    5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode
    0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup
    824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down
    3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type
    6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems
    1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop
    0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
    f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap
    26b0956cb374 block: update hctx map when use multiple maps
    72647ea37700 blktrace: break out of blktrace setup on concurrent calls
    d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes
    8ed391a3dbc4 recordmcount: support >64k sections
    803d114e8f19 kbuild: improve cc-option to clean up all temporary files
    cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
    a9a3b33b20aa s390/vdso: fix vDSO clock_getres()
    68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO
    7c17909a889d s390/ptrace: fix setting syscall number
    64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing
    453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks
    7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
    8dba9173a37a test_objagg: Fix potential memory leak in error handling
    6fd916e24935 net: alx: fix race condition in alx_remove
    855dbf10c9a7 ibmvnic: Harden device login requests
    07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error
    b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I
    81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
    f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
    4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases
    83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks
    3dc7138943b1 sched/deadline: Initialize ->dl_boosted
    bfd4981fe3d6 afs: Fix storage of cell names
    5cee9e67596f i2c: core: check returned size of emulated smbus block read
    4a6e6413059e i2c: fsi: Fix the port number field in status register
    0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data
    b78bae5ab399 net: bcmgenet: use hardware padding of runt frames
    ae6d80f62c73 netfilter: ipset: fix unaligned atomic access
    8d93603bf60c nvme: don't protect ns mutation with ns->head->lock
    f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result
    56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code
    a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
    1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
    61f488765dff cxgb4: move handling L2T ARP failures to caller
    065f225ef975 net: qede: fix use-after-free on recovery and AER handling
    f490e70fa7eb net: qede: fix PTP initialization on recovery
    7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption
    32cf4ff4ec52 net: qed: fix NVMe login fails over VFs
    d0717a95a06b net: qede: stop adding events on an already destroyed workqueue
    164d9a15652f net: qed: fix async event callbacks unregistering
    5cf7f0c68405 net: qed: fix left elements count calculation
    33104571648b iommu/vt-d: Update scalable mode paging structure coherency
    ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint
    67db9e032b6e selftests/net: report etf errors correctly
    34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
    d3edf648f398 s390/qeth: fix error handling for isolation mode cmds
    9e89c2d5da87 ASoC: rockchip: Fix a reference count leak.
    4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id
    f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532
    66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
    d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet
    73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node
    f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE
    0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets
    b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch
    5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
    99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend
    07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
    d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code
    0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS
    b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel
    3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl()
    34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
    1fa27418054f ASoC: qcom: common: set correct directions for dailinks
    47c7ae0ca9d7 ASoc: q6afe: add support to get port direction
    92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
    8c236ac4376a efi/tpm: Verify event log header before parsing
    e50cf858d118 ASoC: q6asm: handle EOS correctly
    41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload.
    475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset
    527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk
    1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable
    21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls
    2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent
    588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev
    d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
    d6522bc320d7 xhci: Return if xHCI doesn't support LPM
    14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices.
    c09be4f57956 xhci: Fix incorrect EP_STATE_MASK
    e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range
    bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole
    572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot
    1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
    d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN
    be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
    a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly
    79175ae5f996 usb: cdns3: trace: using correct dir value
    25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list
    1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)
    0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE
    74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+.
    895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
    fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
    c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM
    9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd
    9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug
    ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922
    6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver
    195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove
    2274a7421e73 binder: fix null deref of proc->context
    3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams
    335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
    32e5a15f1084 net: sched: export __netdev_watchdog_up()
    9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group
    8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state"
    052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
    942315134313 sch_cake: fix a few style nits
    b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed
    ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally
    3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup()
    9baf076d797f net: phy: Check harder for errors in get_phy_id()
    568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
    35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
    fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows
    cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK
    dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
    fea864489c90 rxrpc: Fix notification call on completion of discarded calls
    6956830cf981 rocker: fix incorrect error handling in dma_rings_init
    a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
    27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding
    67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit()
    97a1d2aa6cdd net: Fix the arp error in some cases
    742f2358b324 net: fix memleak in register_netdevice()
    9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket()
    9f217d6dd796 net: core: reduce recursion limit value
    f32325b100ea net: bridge: enfore alignment for ethernet address
    57a976e676e1 mvpp2: ethtool rxtx stats fix
    fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev()
    009b3e294a90 ibmveth: Fix max MTU limit
    f060107ccc97 geneve: allow changing DF behavior after creation
    ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling
    b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooeqa/core/loader: fix regex to include numbers
Vacek, Patrick [Mon, 6 Jul 2020 10:34:46 +0000 (10:34 +0000)]
oeqa/core/loader: fix regex to include numbers

The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f241fa493536ac953c1dac303917c6e75b459e28)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agosystemd: remove kernel-install from base pkg
Konrad Weihmann [Sun, 5 Jul 2020 18:28:07 +0000 (20:28 +0200)]
systemd: remove kernel-install from base pkg

as this is already packaged in kernel-install package,
it shouldn't be part of the base package

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed04241f30e12e7c0479026a9e354e49dfa4119c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agokernel.bbclass: add lz4 dependency and fix the call to lz4
Timon Ulrich [Fri, 3 Jul 2020 12:39:40 +0000 (14:39 +0200)]
kernel.bbclass: add lz4 dependency and fix the call to lz4

If the initramfs image is type lz4, then a native lz4 is needed.

Additionally an output filename needs to be specified when calling lz4,
otherwise STDOUT will be used implicitly.

Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c83a7aec59defbbc049d44ba34a7a409ada4fa19)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agokernel/yocto: fix search for defconfig from src_uri
Andrey Zhizhikin [Wed, 1 Jul 2020 14:58:25 +0000 (14:58 +0000)]
kernel/yocto: fix search for defconfig from src_uri

Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.

Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.

Fixes: 23dcff0d396c (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f52ce0fa98bf3bd72df7467031001f3128c145f2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agokernel/yocto: ensure that defconfigs are processed first
Bruce Ashfield [Tue, 30 Jun 2020 05:18:41 +0000 (01:18 -0400)]
kernel/yocto: ensure that defconfigs are processed first

It is uncommon that a BSP definition and a defconfig are used in
a single configuration. That being said, it is a valid way to
organize kernel configuration meta data.

When a defconfig is used, either on the src_uri or from in
the kernel tree, it is normally expected that it is the baseline,
with all options applied on top of it.

With this commit, we detect either type of defconfig and ensure
that it is used first, followed by the fragments in their
previous order. This allows existing configuration stacks to
remain the same, while ensuring that a defconfig combined stack
works as expected.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e6845327b69396d843a2f3c4c3ac9400ae9caedf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoclasses/archive: do_configure should not depend on do_ar_patched
Joshua Watt [Fri, 3 Jul 2020 13:16:37 +0000 (08:16 -0500)]
classes/archive: do_configure should not depend on do_ar_patched

The commit d4be264061 ("classes/archiver: run do_unpack_and_patch after
do_preconfigure") correctly moved do_unpack_and_patch to depend on
do_preconfigure, but left do_ar_patched as a dependency of do_configure
introduced from 8a7c779487 ("classes/archiver: Create patched archive
before configuring"). Having do_configure depend on do_ar_patched is
blatantly wrong. Firstly, doing so causes the taskhash of do_configure
to change which is undesirable. Secondly, the anon python that sets up
the tasks carefully skips GCC recipes that depend on gcc-source to
provide their source code since running do_unpack_and_patch in them
would delete the source code. Adding in the dependency effectively
bypasses this and makes these recipes delete the shared gcc-source

This fixes errors (for real this time) like:

 cat: .../gcc/defaults.h: No such file or directory

when making certain configuration changes.

For posterity, you could easily reproduce gcc-source being erased by
running the commands (replacing aarch64 with your correct target arch):

 bitbake -c cleanall gcc-source gcc-cross-aarch64
 bitbake -c do_deploy_archives gcc-source

 # The following would fail because
 # gcc-cross-aarch64:do_unpack_and_patch erases shared source, so
 # do_configure after that fails.
 bitbake gcc-cross-aarch64

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f02c1904330da47a25cf85f0077712f584f4ee5b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoclasses/archiver: run do_unpack_and_patch after do_preconfigure
Joshua Watt [Wed, 1 Jul 2020 02:49:23 +0000 (21:49 -0500)]
classes/archiver: run do_unpack_and_patch after do_preconfigure

The commit 8a7c779487 ("classes/archiver: Create patched archive before
configuring") fixed a race condition when using the archiver, but
introduced a bug where the GCC source would occasionally be deleted due
to the archiving code running before do_preconfigure. Instead, make sure
the archiving code runs after do_preconfigure by making
do_unpack_and_patch depend on it. This makes more sense anyway since
do_preconfigure is effectively an extension of do_patch.

This fixes errors like:

 cat: .../gcc/defaults.h: No such file or directory

when making certain configuration changes

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d4be264061023ae0ea6e023d82a7b99605bfc22c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoicu: make filtered data generation optional, serial and off by default
Alexander Kanavin [Tue, 23 Jun 2020 21:08:37 +0000 (23:08 +0200)]
icu: make filtered data generation optional, serial and off by default

Backported from master with two differences:

1. Move exit in do_make_icudata_class-target after big endian patch
application (not required for master since new upstream icu includes
the patch)

2. In do_install_append_class-target test for existence of .dat input
file before calling icupkg

icu data generation was found to be racy, and causig AB failures;
making it serial and leaving it on is not an option as it regresses
to several minutes.

The specific bug is that rules.mk has:

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt

which creates a file and numerous rules like

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt

which quietly read it. There is no prerequisite for the former to complete first.

The race is extra complicated to fix as rules.mk is itself
generated through a custom in-tree python tool.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit df89e8d1136fd406ba35ae573e2cb0cfc88c6aad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agogobject-introspection: add a patch to fix a build race
Alexander Kanavin [Wed, 17 Jun 2020 10:15:52 +0000 (12:15 +0200)]
gobject-introspection: add a patch to fix a build race

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d6ffc795fc815509e193b28df3a33cc72bfb31b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoiso-codes: switch upstream branch master -> main
Hongxu Jia [Mon, 6 Jul 2020 02:26:59 +0000 (10:26 +0800)]
iso-codes: switch upstream branch master -> main

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e16ef0c2e0ec2bbb862231cd84e7650bd5789af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agopython3: fix CVE-2020-14422
Lee Chee Yang [Fri, 3 Jul 2020 09:32:04 +0000 (17:32 +0800)]
python3: fix CVE-2020-14422

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoqemu: fix CVE-2020-10702/10761/13362/13659/13800
Lee Chee Yang [Fri, 3 Jul 2020 09:32:03 +0000 (17:32 +0800)]
qemu: fix CVE-2020-10702/10761/13362/13659/13800

fix these CVE:
CVE-2020-10702
CVE-2020-10761
CVE-2020-13362
CVE-2020-13659
CVE-2020-13800

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agosqlite3: Security fix for CVE-2020-15358
Armin Kuster [Tue, 30 Jun 2020 18:30:42 +0000 (11:30 -0700)]
sqlite3: Security fix for CVE-2020-15358

Source: sqlite.org
MR: 104526
Type: Security Fix
Disposition: Backport from https://www.sqlite.org/src/vinfo/10fa79d00f8091e5?diff=1
ChangeID: a1c012b8c8aecd4970f3ae16686bf25f2376f542
Description:

Affects sqlite < 3.32.3

Fixes CVE CVE-2020-15358

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agorootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated
Richard Purdie [Mon, 22 Jun 2020 10:57:17 +0000 (11:57 +0100)]
rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated

Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.

Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for
each contaminated path so it's visible in the main log file.

When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 504f1d158bf7c6ad08fbce755021db2b14565231)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agologrotate.py: fix testimage occasionally failure
Changqing Li [Fri, 3 Jul 2020 05:47:59 +0000 (13:47 +0800)]
logrotate.py: fix testimage occasionally failure

testcase test_systemd_failed occasionally failed with below error:
Failed to start Rotate log files.
logrotate.service: Failed with result 'exit-code'.
logrotate.service: Main process exited, code=exited, status=1/FAILURE
error: stat of /var/log/logrotate_test failed: No such file or directory
error: logrotate_test:1 lines must begin with a keyword or a filename (possibly in double quotes)

above failure caused since testcase test_logrotate_wtmp
add /etc/logrotate.d/logrotate_test, which need /var/log/logrotate_test,
but there is no such file. so when logrotate.service is triggerd
by logrotate.timer after testcase test_logrotate_wtmp is runned,
the testcase test_systemd_failed will fail.

these 3 lines are useless, so remove them to fix above problem.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22f5f7f86a4d47624c476be00e5121009c48cb7b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooeqa/targetcontrol: Attempt to fix log closure warning message
Richard Purdie [Fri, 3 Jul 2020 10:29:43 +0000 (11:29 +0100)]
oeqa/targetcontrol: Attempt to fix log closure warning message

We continue to see the warning message:

WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper
name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821'
mode='a' encoding='UTF-8'>

I've been unable to reprodue this but believe its caused by garbage
collection of the FileHandler used in QemuTarget being delayed until
after a new tinfoil instance is created by a subseqent test.

Force the log file to be closed when we stop using it to avoid this.

[YOCTO #13961]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e15cc7801ec611f867f5b31028741722ac718c87)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooeqa/selftest: recipetool/devtool: Avoid load_plugin test race
Richard Purdie [Thu, 2 Jul 2020 18:46:07 +0000 (19:46 +0100)]
oeqa/selftest: recipetool/devtool: Avoid load_plugin test race

This bug has plagued the autobuilder for a couple of years and we've
struggled to reproduce/debug it.

The problem is the "lib" directory in meta-poky used during the load_plugin
tests for recipetool and devtool can race and one can delete the files
from the other leading to test failures.

Deleting the lib directory only if empty will avoid this.

[YOCTO #13070]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d603e2fd589e1edbc67c8c2fefb6337e728b9d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooeqa/core/loader: refine regex to find module
Lee Chee Yang [Wed, 1 Jul 2020 14:39:08 +0000 (22:39 +0800)]
oeqa/core/loader: refine regex to find module

test case in format <module name>.<class name>.<test case name>
this is clear when test cases is only 3 item deep.

but confused when it is 4 item deep, eg,
oelib.types.TestList.test_list_nosep

in this case, oelib and oelib.types can both be treated as module
since module name contains only lower cases and class name should
contain atleast one upper case.
so, always treat leading item without upper case as module also allow
module name to contain dot.

[YOCTO #13941]

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad81ea90a815389e45ff302a85151724c71f71c3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agogtk-icon-cache.bbclass: add runtime dependency
Changqing Li [Thu, 2 Jul 2020 08:33:13 +0000 (16:33 +0800)]
gtk-icon-cache.bbclass: add runtime dependency

fix error:
+ /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
/var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory
%post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00
warning: %post(adwaita-icon-theme-3.36.1-r0.0.noarch) scriptlet failed, exit status 127

when install adwaita-icon-theme on target, which inherit gtk-icon-cache
above error reported,  fix by add runtime dependency to pkgs

we don't use explicit RDEPENDS, so fix do_rootfs breaking by adding it into DEPENDS.
Error:
 Problem: conflicting requests
  - nothing provides gdk-pixbuf needed by adwaita-icon-theme-3.36.1-r0.noarch
  - nothing provides gtk+3 needed by adwaita-icon-theme-3.36.1-r0.noarch

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooescripts: ignore whitespaces when comparing lines
Chen Qi [Wed, 1 Jul 2020 05:50:10 +0000 (13:50 +0800)]
oescripts: ignore whitespaces when comparing lines

list-packageconfig-flags.py determines the whitespace numbers according
to the longest package name. This is reasonable for the tool as it's
trying to generate pretty output.

However, in this selftest case, the output is hardcoded. This results in
"pinentry                       gtk2 libcap ncurses qt secret" not recognized
as correct as the expected line is:
"pinentry                     gtk2 libcap ncurses qt secret".

The difference is only about whitespaces. So we should ignore the whitespaces
when comparing lines.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 17c89ad1596dbc7cefdd2c01dcd95aa9e93c5dc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agooescripts.py: fix typo
Chen Qi [Wed, 1 Jul 2020 05:50:09 +0000 (13:50 +0800)]
oescripts.py: fix typo

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 115d44958806a2c73d0bf140f45c11db462cc7db)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agopython3-libarchive-c: add the missing rdepends
Mingli Yu [Wed, 1 Jul 2020 02:33:17 +0000 (10:33 +0800)]
python3-libarchive-c: add the missing rdepends

Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import libarchive
 [snip]
 ModuleNotFoundError: No module named 'ctypes'
 ModuleNotFoundError: No module named 'mmap'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3a2615878bc7515a7bdace525dc27be45f158e2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agocommon-licenses: fix filename of BSD-2-Clause-Patent
Ross Burton [Tue, 30 Jun 2020 10:48:33 +0000 (11:48 +0100)]
common-licenses: fix filename of BSD-2-Clause-Patent

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4a9c62d49940b154177d817a845188d827370607)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agoinitscripts: update postinst
Changqing Li [Tue, 30 Jun 2020 09:50:53 +0000 (17:50 +0800)]
initscripts: update postinst

in container image, it don't have init system,
install package initscripts will report error:
systemctl: command not found

fix by use same way as systemd.bbclass to decide if systemctl
mask will run

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 790276bde066ecc9876120c3097dcd57a9936f00)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agomodutils-initscripts: update postinst
Changqing Li [Tue, 30 Jun 2020 09:49:16 +0000 (17:49 +0800)]
modutils-initscripts: update postinst

in container image, it don't have init system,
install package modutils-initscripts will report error:

+ systemctl mask modutils.service
/var/tmp/rpm-tmp.DYK3Pm: line 8: systemctl: command not found
%post(modutils-initscripts-1.0-r7.3.cortexa72): waitpid(823) rc 823 status 7f00
warning: %post(modutils-initscripts-1.0-r7.3.cortexa72) scriptlet failed, exit status 127

fix by use same way as systemd.bbclass to decide if systemctl mask will run

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eec648f23df0a4e05130f8ef5a04902296567e38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-yocto/5.4: update to v5.4.49 and -rt28
Bruce Ashfield [Tue, 30 Jun 2020 05:18:46 +0000 (01:18 -0400)]
linux-yocto/5.4: update to v5.4.49 and -rt28

Updating to -rt28 which has the following commits:

    6b9d790392dc Linux 5.4.47-rt28
    1a22749d1a0c Linux 5.4.44-rt27
    7dd4c4c793df mm/zswap: Use local lock to protect per-CPU data
    80552b4a4cf3 printk: Force a line break on pr_cont(" ")
    446f5195e149 mm: Don't warn about atomic memory allocations during suspend
    ec1f996f6740 Revert "rt: Improve the serial console PASS_LIMIT"
    119ca1ac9160 fs/dcache: Include swait.h header
    4df88505f123 printk: console must not schedule for drivers
    b60c8a8279f5 Linux 5.4.44-rt26

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4e9688ad3d36 Linux 5.4.49
    99705220b22c net: core: device_rename: Use rwsem instead of a seqcount
    e33765201db7 sched/rt, net: Use CONFIG_PREEMPTION.patch
    a6030d71e62d pwm: jz4740: Enhance precision in calculation of duty cycle
    d0da4be60288 net: octeon: mgmt: Repair filling of RX ring
    96d98372b53a e1000e: Do not wake up the system via WOL if device wakeup is disabled
    3d390370d78c kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
    c19f0c3c9a8a kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
    f4748ee4fa15 tracing/probe: Fix memleak in fetch_op_data operations
    7bb62d0cd8ac crypto: algboss - don't wait during notifier callback
    993e0d12f226 crypto: algif_skcipher - Cap recv SG list at ctx->used
    972f961c5930 Revert "drm/amd/display: disable dcn20 abm feature for bring up"
    021935185e2a drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
    d814e4732cbe drm/amd/display: Use kvfree() to free coeff in build_regamma()
    50df31ea31cc drm/connector: notify userspace on hotplug after register complete
    35bd59b8b68c drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
    962d0e0c091c drm/i915/gem: Avoid iterating an empty list
    a09489576fe5 drm/msm: Check for powered down HW in the devfreq callbacks
    536ffde7df46 drm/i915: Fix AUX power domain toggling across TypeC mode resets
    190f6c2d6e38 s390: fix syscall_get_error for compat processes
    2173a7ed6358 f2fs: avoid utf8_strncasecmp() with unstable name
    de3feefa3bfd f2fs: split f2fs_d_compare() from f2fs_match_name()
    9fec865dde6e net/mlx5: DR, Fix freeing in dr_create_rc_qp()
    859a0a9afee3 block: nr_sects_write(): Disable preemption on seqcount write
    120307746990 x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
    bba1f4ac037c drm/amd/display: Use swap() where appropriate
    8f16bebbb171 drm/dp_mst: Increase ACT retry timeout to 3s
    ffa9206a62d3 ext4: avoid race conditions when remounting with options that change dax
    0804b23d2ff1 jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
    ae3c09e346bd selinux: fix double free
    5471b5287cc7 drm/amdgpu: Replace invalid device ID with a valid device ID
    3031fb61096c drm/qxl: Use correct notify port address when creating cursor ring
    1f3f21d53fa8 drm/dp_mst: Reformat drm_dp_check_act_status() a bit
    8c315a220930 ext4: avoid utf8_strncasecmp() with unstable name
    779286d9babf ext4: fix partial cluster initialization when splitting extent
    bc615a290faf drm: encoder_slave: fix refcouting error for modules
    ef4f3b65d5a9 libata: Use per port sync for detach
    81344ae52c77 arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
    64183b459624 mvpp2: remove module bugfix
    b3dc33946a74 block: Fix use-after-free in blkdev_get()
    cb5fe511b11e scsi: ufs-bsg: Fix runtime PM imbalance on error
    7c7dd0507842 bnxt_en: Return from timer if interface is not in open state.
    13e6e75e68f3 afs: Fix the mapping of the UAEOVERFLOW abort code
    b7420726bc8a afs: Set error flag rather than return error from file status decode
    66f38da13198 afs: Always include dir in bulk status fetch from afs_do_lookup()
    4fd68a35f62d afs: Fix EOF corruption
    c8c19fcdabdb afs: afs_write_end() should change i_size under the right lock
    6a9fd8046fbd afs: Fix non-setting of mtime when writing into mmap
    7b307d292ab2 powerpc: Fix kernel crash in show_instructions() w/DEBUG_VIRTUAL
    f651e94899ed bcache: fix potential deadlock problem in btree_gc_coalesce
    889b69a9982b ext4: stop overwrite the errcode in ext4_setup_super
    aa7baef53057 perf stat: Fix NULL pointer dereference
    676634f1a831 perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
    335d720bb4bd usb/ehci-platform: Set PM runtime as active on resume
    21a45a1427dd usb: host: ehci-platform: add a quirk to avoid stuck
    57a1cd87efb9 usb/xhci-plat: Set PM runtime as active on resume
    33a76c15c7c2 bpf: Fix memlock accounting for sock_hash
    93b675736542 iavf: fix speed reporting over virtchnl
    e7847db7aa6d xdp: Fix xsk_generic_xmit errno
    57f71bb57f7c nfs: set invalid blocks after NFSv4 writes
    d3caf0e49492 nvme-pci: use simple suspend when a HMB is enabled
    9777d12a8b23 net/filter: Permit reading NET in load_bytes_relative when MAC not set
    0eb4e1573ffd x86/idt: Keep spurious entries unset in system_vectors
    04ce5f6f0d3c scsi: acornscsi: Fix an error handling path in acornscsi_probe()
    f3f9ee422842 libbpf: Handle GCC noreturn-turned-volatile quirk
    ab482b587207 drm/sun4i: hdmi ddc clk: Fix size of m divider
    c7c658ef5159 tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
    5bed77b0a2a0 bpf, sockhash: Synchronize delete from bucket list on map free
    0f97842057c7 bpf/sockmap: Fix kernel panic at __tcp_bpf_recvmsg
    ea8837b9435e ASoC: rt5645: Add platform-data for Asus T101HA
    ebc448eb2de5 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
    69367d9f1f0e ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
    7b31ec2a011f ASoC: core: only convert non DPCM link to DPCM link
    445a847a5507 afs: Fix memory leak in afs_put_sysnames()
    3b50b29a2056 f2fs: don't return vmalloc() memory from f2fs_kmalloc()
    37be9b71b748 selftests/net: in timestamping, strncpy needs to preserve null byte
    a98132826820 drivers/perf: hisi: Fix wrong value for all counters enable
    e1ee6238534e i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
    ad67536d48ba NTB: ntb_test: Fix bug when counting remote files
    abf918236a79 NTB: perf: Fix race condition when run with ntb_test
    50a79b96b951 NTB: perf: Fix support for hardware that doesn't have port numbers
    ec8490131670 NTB: perf: Don't require one more memory window than number of peers
    2b97e354e586 NTB: Revert the change to use the NTB device dev for DMA allocations
    e5cd9e1df0c9 NTB: ntb_tool: reading the link file should not end in a NULL byte
    25abac5c9ff7 ntb_tool: pass correct struct device to dma_alloc_coherent
    f167d8f7b341 ntb_perf: pass correct struct device to dma_alloc_coherent
    08cc0ec9ba86 net: marvell: Fix OF_MDIO config check
    fbaf0137df1e gfs2: fix use-after-free on transaction ail lists
    e782a45789f8 blktrace: fix endianness for blk_log_remap()
    545bafecc0f2 blktrace: fix endianness in get_pdu_int()
    d578f98fa7b3 blktrace: use errno instead of bi_status
    718d9a863eb3 selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
    7fd599522823 include/linux/bitops.h: avoid clang shift-count-overflow warnings
    b7ce2e4538f6 lib/zlib: remove outdated and incorrect pre-increment optimization
    62378b65237e geneve: change from tx_error to tx_dropped on missing metadata
    7791ab20b8eb crypto: omap-sham - add proper load balancing support for multicore
    b73df5915d13 drm/amd/display: Revalidate bandwidth before commiting DC updates
    ca0cac3373fa nfsd: safer handling of corrupted c_type
    e585a8b54046 pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
    d184d62ceb19 pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
    bd410e6600b4 scsi: ufs: Don't update urgent bkops level when toggling auto bkops
    88d678348430 scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
    08904df10d3a gfs2: Allow lock_nolock mount to specify jid=X
    9adcc852d552 nfsd4: make drc_slab global, not per-net
    807460787179 ceph: don't return -ESTALE if there's still an open file
    145565f722c9 drm/nouveau/disp/gm200-: fix NV_PDISP_SOR_HDMI2_CTRL(n) selection
    43ba1b177a49 openrisc: Fix issue with argument clobbering for clone/fork
    6de31dc168f0 rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
    2e48a738dc15 mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
    2d9c7e0ff9f4 rtc: rv3028: Add missed check for devm_regmap_init_i2c()
    f4fbb592d9d7 vfio/mdev: Fix reference count leak in add_mdev_supported_type
    1957ac8d1b4f ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
    c75f1641ef58 extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
    5ed5f8db9582 powerpc/4xx: Don't unmap NULL mbase
    838d3e75ba50 input: i8042 - Remove special PowerPC handling
    cde05d643e51 of: Fix a refcounting bug in __of_attach_node_sysfs()
    f9db526da547 NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
    5e85d78ed4ff net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
    ece3a3337c50 /dev/mem: Revoke mappings when a driver claims the region
    3302d17ef6ea misc: xilinx-sdfec: improve get_user_pages_fast() error handling
    24aa54a8b0ec clk: ast2600: Fix AHB clock divider for A1
    c66e72f1721a clk: sprd: return correct type of value for _sprd_pll_recalc_rate
    e5497842e253 KVM: PPC: Book3S: Fix some RCU-list locks
    fd1a1089aed8 KVM: PPC: Book3S HV: Ignore kmemleak false positives
    39983e188624 scsi: ufs-qcom: Fix scheduling while atomic issue
    4d33659ac379 clk: bcm2835: Fix return type of bcm2835_register_gate
    41324c48301d scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
    87b3dca712b4 ASoC: fix incomplete error-handling in img_i2s_in_probe.
    5578bf5ce0d8 powerpc/32s: Don't warn when mapping RO data ROX.
    9669bf039ff6 mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
    d8d1b8b41783 mfd: stmfx: Fix stmfx_irq_init error path
    cf90dd9fb161 mfd: stmfx: Reset chip on resume as supply was disabled
    dc69fec9271a x86/apic: Make TSC deadline timer detection message visible
    af92e4a595e0 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
    4c8a62c93984 scripts: headers_install: Exit with error on config leak
    c707e18796c6 usb: gadget: Fix issue with config_ep_by_speed function
    84e1326ffc61 usb: gadget: fix potential double-free in m66592_probe.
    51ad579d64dd usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
    4a8c5f25c6bc USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
    0a560f102d80 usb: dwc2: gadget: move gadget resume after the core is in L0 state
    f1b9e29983ae watchdog: da9062: No need to ping manually before setting timeout
    4820050e8438 IB/cma: Fix ports memory leak in cma_configfs
    6e934217c943 PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
    443ed62ef80d PCI: dwc: Fix inner MSI IRQ domain registration
    0bd8e62464e0 PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
    f04479f8d519 dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
    96cd8d249a37 powerpc/64s/pgtable: fix an undefined behaviour
    a7ba81f26d70 arm64: tegra: Fix flag for 64-bit resources in 'ranges' property
    17232b92cf79 arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
    d658c127fc41 fuse: copy_file_range should truncate cache
    c9ddb8dd12e1 fuse: fix copy_file_range cache issues
    ad7f78b7ce39 firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
    95ea51b2690e scsi: target: tcmu: Userspace must not complete queued commands
    1503314a3354 RDMA/hns: Fix cmdq parameter of querying pf timer resource
    d09de58d2b65 RDMA/hns: Bugfix for querying qkey
    7d95cb8a4073 clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
    fddd06f7490f fpga: dfl: afu: Corrected error handling levels
    7454c171a88c tty: n_gsm: Fix bogus i++ in gsm_data_kick
    4f01308480c5 USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
    0e0332473790 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
    f1069001bba7 drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
    fbf719e5da12 usb/ohci-platform: Fix a warning when hibernating
    8a67dae365e0 vfio-pci: Mask cap zero
    f5e28a0824ec powerpc/ps3: Fix kexec shutdown hang
    8f4372f4724d drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
    1a588c7edcd0 powerpc/pseries/ras: Fix FWNMI_VALID off by one
    8240829fc38c powerpc/64s/exception: Fix machine check no-loss idle wakeup
    b1bc8753eefc ipmi: use vzalloc instead of kmalloc for user creation
    5c2207ba2394 habanalabs: increase timeout during reset
    828b192c57e8 PCI/PM: Assume ports without DLL Link Active train links in 100 ms
    c6737f3a1b01 HID: Add quirks for Trust Panora Graphic Tablet
    7961800651fa ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
    860b8717f724 tty: n_gsm: Fix waking up upper tty layer when room available
    3a497f97a3b6 tty: n_gsm: Fix SOF skipping
    7fcc2ca6a3fb powerpc/64: Don't initialise init_task->thread.regs
    c7fab8a5c3ba PCI: Fix pci_register_host_bridge() device_register() error handling
    86e8dd9d249c clk: ti: composite: fix memory leak
    4536dbe64bd1 USB: ohci-sm501: fix error return code in ohci_hcd_sm501_drv_probe()
    c17e7243051a dlm: remove BUG() before panic()
    d40e6a98aa55 pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
    5248114b9bcf ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()'
    5acfef99644c ASoC: ux500: mop500: Fix some refcounted resources issues
    b0ccdd2fdd00 SoC: rsnd: add interrupt support for SSI BUSIF buffer
    f34a3697a8d4 scsi: mpt3sas: Fix double free warnings
    f20dfec03b82 scsi: target: loopback: Fix READ with data and sensebytes
    a798daf42a35 arm64: dts: msm8996: Fix CSI IRQ types
    6544b95bd789 ASoC: SOF: core: fix error return code in sof_probe_continue()
    79790202d4f3 power: supply: smb347-charger: IRQSTAT_D is volatile
    ad8b5b5faf9d power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
    c1bcf01aea0e ALSA: firewire-lib: fix invalid assignment to union data for directional parameter
    3201bb03c8fd scsi: qla2xxx: Fix warning after FC target reset
    766c787e55ca PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
    742f8ac8edd4 PCI: rcar: Fix incorrect programming of OB windows
    efb5f7b106ea drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
    33cf7944af54 serial: amba-pl011: Make sure we initialize the port.lock spinlock
    32a5bc992b6c i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
    9eb54d0e8962 PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
    4d30daf901aa staging: sm750fb: add missing case while setting FB_VISUAL
    2428682e3f6c staging: wilc1000: Increase the size of wid_list array
    b14b7359535d usb: dwc3: gadget: Properly handle failed kick_transfer
    1bfa09147282 usb: dwc3: gadget: Properly handle ClearFeature(halt)
    e320bb0e01db HID: intel-ish-hid: avoid bogus uninitialized-variable warning
    cbec16266a35 soundwire: slave: don't init debugfs on device registration error
    a45fc52449d7 ASoC: max98373: reorder max98373_reset() in resume
    7377ba16b542 clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
    ea78361174c4 thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
    3296e566b0d2 gpio: pca953x: fix handling of automatic address incrementing
    dd47c98992d6 clk: meson: meson8b: Fix the vclk_div{1, 2, 4, 6, 12}_en gate bits
    ecb9a8068ba5 clk: meson: meson8b: Fix the polarity of the RESET_N lines
    1fa1d1ceb02f clk: meson: meson8b: Fix the first parent of vid_pll_in_sel
    9a624802e628 slimbus: ngd: get drvdata from correct device
    793e15fb6681 tty: hvc: Fix data abort due to race in hvc_open
    eb3e85b3375d s390/qdio: put thinint indicator after early error
    d7852661f9fd ALSA: usb-audio: Fix racy list management in output queue
    aba41867dd66 ALSA: usb-audio: Improve frames size computation
    3468bca1ea44 staging: gasket: Fix mapping refcnt leak when register/store fails
    b3b4dcdc2bb4 staging: gasket: Fix mapping refcnt leak when put attribute fails
    0c884f3236f3 firmware: qcom_scm: fix bogous abuse of dma-direct internals
    0c48b6df64c0 arm64: dts: qcom: fix pm8150 gpio interrupts
    2b5e027657d4 virtiofs: schedule blocking async replies in separate worker
    ff86bd6cca2e pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
    cd3f4ed1c567 scsi: qedf: Fix crash when MFW calls for protocol stats while function is still probing
    a0a00156d50e gpio: dwapb: Append MODULE_ALIAS for platform driver
    02416142fdf4 RDMA/mlx5: Fix udata response upon SRQ creation
    7acbadd1aa29 ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
    ef0c0fbf1d4a arm64: dts: qcom: msm8916: remove unit name for thermal trip points
    f37623862ec5 scsi: qedi: Do not flush offload work if ARP not resolved
    0e5d7bff3b06 arm64: dts: mt8173: fix unit name warnings
    7bf3a213f79e staging: greybus: fix a missing-check bug in gb_lights_light_config()
    c970dcc085b8 x86/purgatory: Disable various profiling and sanitizing options
    a78c65cb4b67 apparmor: fix nnp subset test for unconfined
    af1f72ad18bb scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
    08d2ea2e236a scsi: sr: Fix sr_probe() missing deallocate of device minor
    8f73ac0b6434 bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_free
    efdb1bf81aab ASoC: meson: add missing free_irq() in error path
    390f1688fb46 f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
    039a79ef0b1e apparmor: check/put label on apparmor_sk_clone_security()
    2a9b3e4667f5 net: dsa: lantiq_gswip: fix and improve the unsupported interface error
    88bc3e060390 apparmor: fix introspection of of task mode for unconfined tasks
    d782d6a142d5 mksysmap: Fix the mismatch of '.L' symbols in System.map
    d0af43b47418 NTB: Fix the default port and peer numbers for legacy drivers
    f0b8eead5b1c NTB: ntb_pingpong: Choose doorbells based on port number
    0ec407dfc1ec yam: fix possible memory leak in yam_init_driver
    a4d4b8437731 sparc32: mm: Don't try to free page-table pages if ctor() fails
    7f16ba366a66 pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
    9b163c91620c powerpc/crashkernel: Take "mem=" option into account
    211836827af3 ASoC: qcom: q6asm-dai: kCFI fix
    117929a41db1 cifs: set up next DFS target before generic_ip_connect()
    c0c8c8b10567 RDMA/core: Fix several reference count leaks.
    3851967ff567 PCI: vmd: Filter resource type bits from shadow register
    e8cac2e3067e nfsd: Fix svc_xprt refcnt leak when setup callback client failed
    db686568ae52 powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
    ecb9c4d344c9 IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
    a2fe8d88aeff clk: clk-flexgen: fix clock-critical handling
    6a70c943a26f scsi: vhost: Notify TCM about the maximum sg entries supported per command
    296cec70500b scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
    82ac4863030c clk: zynqmp: fix memory leak in zynqmp_register_clocks
    bee9cc351308 scsi: cxgb3i: Fix some leaks in init_act_open()
    4deddbf7db45 mfd: wm8994: Fix driver operation if loaded as modules
    8e52a1eef19b powerpc/ptdump: Add _PAGE_COHERENT flag
    805bae7592fa usb: gadget: core: sync interrupt before unbind the udc
    2ec338547c67 gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
    02bdd581404d m68k/PCI: Fix a memory leak in an error handling path
    ec475f960e92 PCI: pci-bridge-emul: Fix PCIe bit conflicts
    ba5192db9672 scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
    2b670bbfd8c0 RDMA/mlx5: Add init2init as a modify command
    cbd55ce91abf coresight: tmc: Fix TMC mode read in tmc_read_prepare_etb()
    c74ead459747 vfio/pci: fix memory leaks in alloc_perm_bits()
    24911d387b84 arm64: dts: fvp/juno: Fix node address fields
    6d79ba8094fa ps3disk: use the default segment boundary
    bc881cd5334c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
    492c50fe65a9 arm64: dts: fvp: Fix GIC child nodes
    376ef9d7ee4c ASoC: SOF: Do nothing when DSP PM callbacks are not set
    1cdae7bb4221 clk: renesas: cpg-mssr: Fix STBCR suspend/resume handling
    14c5e25d3b00 pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2
    4e55b843fa61 arm64: dts: juno: Fix GIC child nodes
    7df82e1754df arm64: dts: armada-3720-turris-mox: fix SFP binding
    4ca96a5de812 arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
    a86306dbefc3 dm mpath: switch paths in dm_blk_ioctl() code path
    08f396eb02c8 misc: fastrpc: fix potential fastrpc_invoke_ctx leak
    8d8991bb2bf0 misc: fastrpc: Fix an incomplete memory release in fastrpc_rpmsg_probe()
    c2ff1fcc2530 serial: 8250: Fix max baud limit in generic 8250 port
    9e6a9201b78b usblp: poison URBs upon disconnect
    cc9024f69ba7 clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
    2b5e61da68e8 remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
    8a44731af689 i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
    ceb63ec0ef6e f2fs: report delalloc reserve as non-free in statfs for project quota
    ca90f67ece5c iio: bmp280: fix compensation of humidity
    30bd1f36b6eb rtc: mc13xxx: fix a double-unlock issue
    91fce7922a75 powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT
    a6a0317bf9c2 Input: edt-ft5x06 - fix get_default register write access
    70a2296d4bab scsi: qla2xxx: Fix issue with adapter's stopping state
    5800b7f7d231 PCI: Allow pci_resize_resource() for devices on root bus
    956a2e737a2c ALSA: isa/wavefront: prevent out of bounds write in ioctl
    23337efa940c ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
    66a177ae4ed0 arm64: dts: meson: fixup SCP sram nodes
    7631dc491a3f scsi: qedi: Check for buffer overflow in qedi_set_path()
    545b86efa0d0 scsi: core: free sgtables in case command setup fails
    bde2d5d443c4 ARM: dts: stm32: Add missing ethernet PHY reset on AV96
    38ede4d7736e ARM: integrator: Add some Kconfig selections
    a1359b9fdd8d ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
    8908c555e06e ARM: dts: renesas: Fix IOMMU device node names
    2c40fc80331b backlight: lp855x: Ensure regulators are disabled on probe failure
    53057bd4ac84 ASoC: fsl_esai: Disable exception interrupt before scheduling tasklet
    b543c3595188 clk: qcom: msm8916: Fix the address location of pll->config_reg
    7906a075c900 remoteproc: Fix IDR initialisation in rproc_alloc()
    8bd207bb1a25 iio: pressure: bmp280: Tolerate IRQ before registering
    2e714a547ef8 ASoC: SOF: imx8: Fix randbuild error
    dc570a1fb48c i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
    30e82a3edd94 ASoC: tegra: tegra_wm8903: Support nvidia, headset property
    7b139b714a5d clk: sunxi: Fix incorrect usage of round_down()
    8aa822a1305c power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
    67cb016870e2 Linux 5.4.48
    8e38ea68da06 perf symbols: Fix kernel maps for kcore and eBPF
    807cc607f129 perf symbols: Fix debuginfo search for Ubuntu
    842645de05d5 perf probe: Check address correctness by map instead of _etext
    be781abe3ae8 perf probe: Fix to check blacklist address correctly
    a2e097910334 perf probe: Do not show the skipped events
    9660edf6729d f2fs: fix checkpoint=disable:%u%%
    1866b1493e2e w1: omap-hdq: cleanup to add missing newline for some dev_dbg
    2140d7d5d878 mtd: rawnand: tmio: Fix the probe error path
    ec851b26a3e5 mtd: rawnand: mtk: Fix the probe error path
    b5404756b54f mtd: rawnand: pasemi: Fix the probe error path
    44a9bf52ef80 mtd: rawnand: plat_nand: Fix the probe error path
    ab702f81e978 mtd: rawnand: sunxi: Fix the probe error path
    2d77d5575e09 mtd: rawnand: oxnas: Fix the probe error path
    2d6b0901b834 mtd: rawnand: socrates: Fix the probe error path
    3a54e242870b mtd: rawnand: orion: Fix the probe error path
    0b19623af5a6 mtd: rawnand: xway: Fix the probe error path
    ae7cf595e15b mtd: rawnand: ingenic: Fix the probe error path
    38abdd9bf77c mtd: rawnand: sharpsl: Fix the probe error path
    8d695fbaa5cb mtd: rawnand: diskonchip: Fix the probe error path
    1260c45ac55b mtd: rawnand: brcmnand: fix hamming oob layout
    ba4ffbb5592d mtd: rawnand: onfi: Fix redundancy detection check
    869a782420da mtd: rawnand: Fix nand_gpio_waitrdy()
    e5084eadf193 sunrpc: clean up properly in gss_mech_unregister()
    4a68a2e25e20 sunrpc: svcauth_gss_register_pseudoflavor must reject duplicate registrations.
    e4f7a7260737 kbuild: force to build vmlinux if CONFIG_MODVERSION=y
    1b0d830e0ce0 powerpc/64s: Save FSCR to init_task.thread.fscr after feature init
    b3b357d83079 powerpc/64s: Don't let DT CPU features set FSCR_DSCR
    1d9a4422c9ac powerpc/32: Disable KASAN with pages bigger than 16k
    4719cb8a16af powerpc/kasan: Fix shadow pages allocation failure
    002d22c4945a powerpc/kasan: Fix issues by lowering KASAN_SHADOW_END
    23e07a77aa7c powerpc/32s: Fix another build failure with CONFIG_PPC_KUAP_DEBUG
    c6077abc067f drivers/macintosh: Fix memleak in windfarm_pm112 driver
    1d5144d7dc5d ARM: dts: s5pv210: Set keep-power-in-suspend for SDHCI1 on Aries
    727111d44a59 ARM: dts: at91: sama5d2_ptc_ek: fix vbus pin
    1bfcafbb4d1e ARM: dts: exynos: Fix GPIO polarity for thr GalaxyS3 CM36651 sensor's bus
    8c7ca9ab5abc soc/tegra: pmc: Select GENERIC_PINCONF
    be20b99a86b3 ARM: tegra: Correct PL310 Auxiliary Control Register initialization
    b5d2f71b98b7 kernel/cpu_pm: Fix uninitted local in cpu_pm
    6d9cc26aa164 powerpc/fadump: Account for memory_limit while reserving memory
    6fd930da24e1 powerpc/fadump: consider reserved ranges while reserving memory
    3e9211d98803 powerpc/fadump: use static allocation for reserved memory ranges
    c81e34c4346f alpha: fix memory barriers so that they conform to the specification
    5018a0bd0964 dm crypt: avoid truncating the logical block size
    ee6fa4903f84 sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
    0dcbc7d6cd2d sparc32: fix register window handling in genregs32_[gs]et()
    f2f18147c7db gnss: sirf: fix error return code in sirf_probe()
    e75e551606f4 pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs
    407933bbb385 pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210
    8b28e5c35d32 power: supply: core: fix memory leak in HWMON error path
    6050811edffb power: supply: core: fix HWMON temperature labels
    0fd525d817ea power: vexpress: add suppress_bind_attrs to true
    7c71b9aa18a0 EDAC/amd64: Add AMD family 17h model 60h PCI IDs
    67712fa4a662 hwmon: (k10temp) Add AMD family 17h model 60h PCI match
    3046b09d45ec igb: Report speed and duplex as unknown when device is runtime suspended
    e6f91166fc37 clk: mediatek: assign the initial value to clk_init_data of mtk_mux
    adecd49745f8 media: ov5640: fix use of destroyed mutex
    3ef00d99199d b43_legacy: Fix connection problem with WPA3
    b74d369d2962 b43: Fix connection problem with WPA3
    5c039a9921b3 b43legacy: Fix case where channel status is corrupted
    eeb0cf8bb68e Bluetooth: hci_bcm: fix freeing not-requested IRQ
    4c79dd14c15d serial: 8250: Avoid error message on reprobe
    80462f7c296d media: cedrus: Program output format during each run
    6e688a315acf media: go7007: fix a miss of snd_card_free
    bda6ebf290fa carl9170: remove P2P_GO support
    cedbd8709cc1 e1000e: Relax condition to trigger reset for ME workaround
    0fedb80811f4 e1000e: Disable TSO for buffer overrun workaround
    f4cc36066a31 PCI: Program MPS for RCiEP devices
    e131e70e2144 ima: Set again build_ima_appraise variable
    2600136eaee9 ima: Remove redundant policy rule set in add_rules()
    70ce85319d45 x86/amd_nb: Add AMD family 17h model 60h PCI IDs
    44eec92cc4bf serial: 8250_pci: Move Pericom IDs to pci_ids.h
    3c8938fb19ed PCI: Add Loongson vendor ID
    9cfece5c0e2b x86/amd_nb: Add Family 19h PCI IDs
    b35415c0949a PCI: vmd: Add device id for VMD device 8086:9A0B
    3179b408c401 PCI: Add ACS quirk for Intel Root Complex Integrated Endpoints
    0e4528cdbaf0 PCI: Avoid FLR for AMD Starship USB 3.0
    cb5ac1a32552 PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
    c41d7ca0061e PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect
    fd8abb78b129 ext4: fix race between ext4_sync_parent() and rename()
    c316ebcf9f4b ext4: fix error pointer dereference
    319b553695ec ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max
    6de50456fe17 evm: Fix possible memory leak in evm_calc_hmac_or_hash()
    ce7f038f859d ima: Remove __init annotation from ima_pcrread()
    f387759c2d67 ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()
    64712383a186 ima: Directly assign the ima_default_policy pointer to ima_rules
    4ce29d9b1941 ima: Evaluate error in init_ima()
    5f7272bd228c ima: Switch to ima_hash_algo for boot aggregate
    0698eacdfc4f ima: Fix ima digest hash table key calculation
    13ae9eaae0cc mm: call cond_resched() from deferred_init_memmap()
    5386d93bc5b6 mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in deferred init
    c388f173ed8a mm: initialize deferred pages with interrupts enabled
    a88d8aaf9b8b mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()
    e418045e25a9 powerpc/mm: Fix conditions to perform MMU specific management by blocks on PPC32.
    0ccfd7a531e8 btrfs: fix space_info bytes_may_use underflow during space cache writeout
    248cdf728895 btrfs: fix space_info bytes_may_use underflow after nocow buffered write
    8076bdd4fe00 btrfs: fix wrong file range cleanup after an error filling dealloc range
    c2c69ecb605f btrfs: fix error handling when submitting direct I/O bio
    05c5e98bf402 btrfs: force chunk allocation if our global rsv is larger than metadata
    f63545770fc4 btrfs: send: emit file capabilities after chown
    20f260ed536a btrfs: include non-missing as a qualifier for the latest_bdev
    fd9720b8e957 btrfs: free alien device after device add
    b008ae4cc74d string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
    d6c2b4d246c5 kasan: stop tests being eliminated as dead code with FORTIFY_SOURCE
    c48a842d8ce7 selftests/bpf, flow_dissector: Close TAP device FD after the test
    e7b1564a24e6 bpf: Fix running sk_skb program types with ktls
    d9cd7b83942f bpf: Refactor sockmap redirect code so its easy to reuse
    215a256bc8dd bpf: Fix map permissions check
    0d55b7032ad1 libbpf: Fix perf_buffer__free() API for sparse allocs
    98545815cfcf platform/x86: asus_wmi: Reserve more space for struct bias_args
    4383a5dfbdc5 platform/x86: intel-vbtn: Only blacklist SW_TABLET_MODE on the 9 / "Laptop" chasis-type
    5f3cba4bc241 platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015)
    176396ad0594 platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32()
    b77412359c1e cpuidle: Fix three reference count leaks
    cf3359869819 spi: dw: Return any value retrieved from the dma_transfer callback
    2c95fc879a2f mmc: sdhci-esdhc-imx: fix the mask for tuning start point
    7fe3a1c29869 iwlwifi: mvm: fix aux station leak
    ffa118a164e6 ixgbe: fix signed-integer-overflow warning
    99ea968e3766 ice: fix potential double free in probe unrolling
    62b2fbb9c463 mmc: via-sdmmc: Respect the cmd->busy_timeout from the mmc core
    3d6143663f21 staging: greybus: sdio: Respect the cmd->busy_timeout from the mmc core
    8a7c5b83f846 mmc: sdhci-msm: Set SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 quirk
    62e7e4f5976c bcache: fix refcount underflow in bcache_device_free()
    d55960f7f6b7 MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
    3f6482c0a486 PCI: Don't disable decoding when mmio_always_on is set
    fa99a4b3fb12 macvlan: Skip loopback packets in RX handler
    c6f1f12a8c3d btrfs: qgroup: mark qgroup inconsistent if we're inherting snapshot to a new qgroup
    1e42a1857bcf btrfs: improve global reserve stealing logic
    590aad883521 m68k: mac: Don't call via_flush_cache() on Mac IIfx
    ce066ce05e1b MIPS: tools: Fix resource leak in elf-entry.c
    87ef5086a3c2 x86/mm: Stop printing BRK addresses
    41b44325c9eb selftests/bpf: CONFIG_IPV6_SEG6_BPF required for test_seg6_loop.o
    5b8d09eeb4a6 drm/amdgpu: Sync with VM root BO when switching VM to CPU update mode
    b06a7dc9e5f6 drm/amd/powerpay: Disable gfxoff when setting manual mode on picasso and raven
    188e3e6ed902 crypto: stm32/crc32 - fix multi-instance
    d879598b8dae crypto: stm32/crc32 - fix run-time self test issue.
    8fe61a2027db crypto: stm32/crc32 - fix ext4 chksum BUG_ON()
    c79c643fca61 mips: Add udelay lpj numbers adjustment
    34a45e84edc5 mips: MAAR: Use more precise address mask
    9fa3b0bd9914 sched: Defend cfs and rt bandwidth quota against overflow
    fecf17b609a7 x86/boot: Correct relocation destination on old linkers
    7b3423eff20e kgdboc: Use a platform device to handle tty drivers showing up late
    39d7ce336ec5 mwifiex: Fix memory corruption in dump_station
    65f1c3e4e906 rtlwifi: Fix a double free in _rtl_usb_tx_urb_setup()
    916f41e40643 net/mlx5e: IPoIB, Drop multicast packets that this interface sent
    fa408bbe1007 veth: Adjust hard_start offset on redirect XDP frames
    894d9cd52466 iocost: don't let vrate run wild while there's no saturation signal
    7f5d77570b0c raid5: remove gfp flags from scribble_alloc()
    cd4013947eae md: don't flush workqueue unconditionally in md_open
    5deaa24167a6 mt76: avoid rx reorder buffer overflow
    095e7a6a326c drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
    727093f432d1 net: qed*: Reduce RX and TX default ring count when running inside kdump kernel
    5099a9c22dbf wcn36xx: Fix error handling path in 'wcn36xx_probe()'
    dbf2fab3f540 ath10k: Remove msdu from idr when management pkt send fails
    671d8b8726a1 nvme-tcp: use bh_lock in data_ready
    a09fc96a3d54 nvme-pci: align io queue count with allocted nvme_queue in nvme_probe
    be7f2672c341 nvme: refine the Qemu Identify CNS quirk
    66ea23154df0 iwlwifi: avoid debug max amsdu config overwriting itself
    287a0f7a3393 platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-types
    708e0175edf5 platform/x86: intel-vbtn: Do not advertise switches to userspace if they are not there
    0ac5741007f1 platform/x86: intel-vbtn: Split keymap into buttons and switches parts
    4a091f1d273f platform/x86: intel-vbtn: Use acpi_evaluate_integer()
    b04c79255e8d xfs: fix duplicate verification from xfs_qm_dqflush()
    f69806af2a2f xfs: reset buffer write failure state on successful completion
    4f1a132115ef kgdb: Fix spurious true from in_dbg_master()
    fe99bb25c452 mips: cm: Fix an invalid error code of INTVN_*_ERR
    7bf491d01ea7 MIPS: Truncate link address into 32bit for 32bit kernel
    ec19b7a525aa Crypto/chcr: fix for ccm(aes) failed test
    984fc5f4e3b4 xfs: clean up the error handling in xfs_swap_extents
    0eeea4b8f0a9 libertas_tf: avoid a null dereference in pointer priv
    964de53149ab powerpc/spufs: fix copy_to_user while atomic
    dc091fc86216 net: allwinner: Fix use correct return type for ndo_start_xmit()
    8ca0e780b4e8 media: cec: silence shift wrapping warning in __cec_s_log_addrs()
    4f6762503fa2 drivers: net: davinci_mdio: fix potential NULL dereference in davinci_mdio_probe()
    b2083327ea3c selinux: fix error return code in policydb_read()
    86dced2417b7 net: lpc-enet: fix error return code in lpc_mii_init()
    7b88ccc137fb iocost_monitor: drop string wrap around numbers when outputting json
    5934e2270901 drivers/perf: hisi: Fix typo in events attribute array
    f7757368e0f0 sched/core: Fix illegal RCU from offline CPUs
    2e256dd5b055 exit: Move preemption fixup up, move blocking operations down
    338ff29604d9 lib/mpi: Fix 64-bit MIPS build with Clang
    4fbc334749e7 net: bcmgenet: Fix WoL with password after deep sleep
    d7b1ca9eebdf net: bcmgenet: set Rx mode before starting netif
    1dbb13ceedac selftests/bpf: Fix memory leak in extract_build_id()
    58ee4d253753 netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
    d1a00c9bb1c7 dpaa2-eth: fix return codes used in ndo_setup_tc
    04ab099d1eb0 Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
    51d2957b21b5 audit: fix a net reference leak in audit_list_rules_send()
    5b737a0ae101 Bluetooth: btbcm: Add 2 missing models to subver tables
    c5edfe811b4a ath10k: add flush tx packets for SDIO chip
    cc66b6bb3241 MIPS: Make sparse_init() using top-down allocation
    c3bc42b70ed1 media: platform: fcp: Set appropriate DMA parameters
    79d622a81322 media: dvb: return -EREMOTEIO on i2c transfer failure.
    189ca174b87d audit: fix a net reference leak in audit_send_reply()
    6315839f14b9 drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
    878ca9ebf1a0 dt-bindings: display: mediatek: control dpi pins mode to avoid leakage
    4f8c52320202 e1000: Distribute switch variables for initialization
    0bf9805dfdae tools api fs: Make xxx__mountpoint() more scalable
    a17cc8a6abab regulator: qcom-rpmh: Fix typos in pm8150 and pm8150l
    22a734616824 brcmfmac: fix wrong location to get firmware feature
    90e5154c737c spi: Respect DataBitLength field of SpiSerialBusV2() ACPI resource
    42c22e4834c2 media: staging/intel-ipu3: Implement lock for stream on/off operations
    bfc0ee2b31f8 ath10k: fix kernel null pointer dereference
    76ecfcfefe3b staging: android: ion: use vmap instead of vm_map_ram
    3ec7b42f1747 x86: fix vmap arguments in map_irq_stack
    ece6218eea3a net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss()
    af510d6fd690 x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
    bd18ecbbc7aa spi: dw: Fix Rx-only DMA transfers
    999b59be5d20 Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()
    2daf747c2831 mmc: meson-mx-sdio: trigger a soft reset after a timeout or CRC error
    804664580662 ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
    f9b545956421 ice: Fix memory leak
    f503e7fe3099 batman-adv: Revert "disable ethtool link speed detection when auto negotiation off"
    8cf93ef213f9 ARM: 8978/1: mm: make act_mm() respect THREAD_SIZE
    2a005026102e btrfs: do not ignore error from btrfs_next_leaf() when inserting checksums
    3bb51c966b9f btrfs: account for trans_block_rsv in may_commit_transaction
    cb0ee3f03f0b media: dvbdev: Fix tuner->demod media controller link
    bffe2c8e2303 clocksource: dw_apb_timer_of: Fix missing clockevent timers
    7bd656984566 clocksource: dw_apb_timer: Make CPU-affiliation being optional
    e8ec0ae0f3cf spi: dw: Enable interrupts in accordance with DMA xfer mode
    a2683765887d mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
    b1d2d3dd016f ACPI/IORT: Fix PMCG node single ID mapping handling
    c2ad0dc7b9e0 pmu/smmuv3: Clear IRQ affinity hint on device removal
    308c2095da30 kgdb: Prevent infinite recursive entries to the debugger
    1343e0a85941 kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb
    5c79bf440d35 Bluetooth: Add SCO fallback for invalid LMP parameters error
    461b239e3a73 MIPS: Loongson: Build ATI Radeon GPU driver as module
    544a3a292d8e platform/x86: dell-laptop: don't register micmute LED if there is no token
    ece1e470af13 ixgbe: Fix XDP redirect on archs with PAGE_SIZE above 4K
    6eec65c9e283 lockdown: Allow unprivileged users to see lockdown status
    00f73938ef65 drm: rcar-du: Set primary plane zpos immutably at initializing
    e7aefaba39d2 block: reset mapping if failed to update hardware queue count
    b432540123f5 arm64: insn: Fix two bugs in encoding 32-bit logical immediates
    201219691a9a block: alloc map and request for new hardware queue
    fec6f8c0b221 ACPICA: Dispatcher: add status checks
    c916af516d82 spi: dw: Zero DMA Tx and Rx configurations on stack
    92fb6909b058 rtw88: fix an issue about leak system resources
    bd7662d6036e media: staging: ipu3: Fix stale list entries on parameter queue failure
    9a0c99419125 arm64: cacheflush: Fix KGDB trap detection
    12d4dac2be77 ath10k: remove the max_sched_scan_reqs value
    c573a13f72fb efi/libstub/x86: Work around LLVM ELF quirk build regression
    fa15b59b1ea2 net: ena: fix error returning in ena_com_get_hash_function()
    84c8498320d2 net: atlantic: make hw_get_regs optional
    9f664eda61a0 sched/fair: Refill bandwidth before scaling
    91517e951830 x86,smap: Fix smap_{save,restore}() alternatives
    6fc5d5834b37 spi: pxa2xx: Apply CS clk quirk to BXT
    269e7b43f2b4 libbpf: Fix memory leak and possible double-free in hashmap__clear
    072d23eef600 arm64/kernel: Fix range on invalidating dcache for boot page tables
    614722f1ffd2 drm/amdgpu: Init data to avoid oops while reading pp_num_states.
    d2a244e74808 spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
    07d45406db69 objtool: Ignore empty alternatives
    1121685ca1bd media: si2157: Better check for running tuner in init
    18b2a6f250cc media: vicodec: Fix error codes in probe function
    f9f8f0c24203 crypto: ccp -- don't "select" CONFIG_DMADEVICES
    68aeaeac683b media: imx: imx7-mipi-csis: Cleanup and fix subdev pad format handling
    ff41c7b3c7db media: staging: imgu: do not hold spinlock during freeing mmu page table
    22710f6c35a3 drm: bridge: adv7511: Extend list of audio sample rates
    30c5d951a557 ath10k: Fix the race condition in firmware dump work queue
    6fc5719b85ec drm/amdgpu: fix and cleanup amdgpu_gem_object_close v4
    f3ec5b536fc1 ACPI: GED: use correct trigger type field in _Exx / _Lxx handling

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0ebb9d1d1f02ec4c567d56c18103df388e75e3ba)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-yocto/5.4: update to v5.4.47
Bruce Ashfield [Tue, 30 Jun 2020 05:18:45 +0000 (01:18 -0400)]
linux-yocto/5.4: update to v5.4.47

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    fd8cd8ac940c Linux 5.4.47
    d96ef8fa9534 KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
    812857678847 KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
    85831981aa0e xen/pvcalls-back: test for errors when calling backend_connect()
    29ed45653bec block/floppy: fix contended case in floppy_queue_rq()
    9ec34f441ed4 mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()
    55d805ab3691 mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()
    d3c4c5a4d3d8 ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description
    5a05406e8c14 mmc: uniphier-sd: call devm_request_irq() after tmio_mmc_host_probe()
    1ccf2d6c5b8c mmc: tmio: Further fixup runtime PM management at remove
    e9614e0c525d mmc: mmci_sdmmc: fix DMA API warning overlapping mappings
    f5b13ef230dc mmc: sdhci-msm: Clear tuning done flag while hs400 tuning
    bfc12ff9050b agp/intel: Reinforce the barrier after GTT updates
    e81b05e535e8 perf: Add cond_resched() to task_function_call()
    e0544273b70c fat: don't allow to mount if the FAT length == 0
    c49a17f1f1f7 mm/slub: fix a memory leak in sysfs_slab_add()
    b21602a88ef1 drm/vkms: Hold gem object while still in-use
    9c09a772acb4 Smack: slab-out-of-bounds in vsscanf
    b5c8896bc14f ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
    db899f242e1a ath9x: Fix stack-out-of-bounds Write in ath9k_hif_usb_rx_cb
    3412e9437543 ath9k: Fix use-after-free Write in ath9k_htc_rx_msg
    3eb802924486 ath9k: Fix use-after-free Read in ath9k_wmi_ctrl_rx
    7f336346d001 ath9k: Fix use-after-free Read in htc_connect_service
    fe0957254640 selftests/ftrace: Return unsupported if no error_log file
    221b26e01d9d scsi: lpfc: Fix negation of else clause in lpfc_prep_node_fc4type
    387d51f0c16f scsi: megaraid_sas: TM command refire leads to controller firmware crash
    205b4c441b0e KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts
    f9551b73717a KVM: arm64: Stop writing aarch32's CSSELR into ACTLR
    8c8238343f0f KVM: MIPS: Fix VPN2_MASK definition for variable cpu_vmbits
    94f4af1b73de KVM: MIPS: Define KVM_ENTRYHI_ASID to cpu_asid_mask(&boot_cpu_data)
    c6d2eb8e57b3 KVM: nVMX: Consult only the "basic" exit reason when routing nested exit
    021cd99a305a KVM: nSVM: leave ASID aside in copy_vmcb_control_area
    3c0bee0c0757 KVM: nSVM: fix condition for filtering async PF
    64b8f33b2e1e KVM: nVMX: Skip IBPB when switching between vmcs01 and vmcs02
    d181dc3667de video: fbdev: w100fb: Fix a potential double free.
    dc8897b8d3b4 video: vt8500lcdfb: fix fallthrough warning
    78e6964dce2a EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable
    cd266f8a5b1c cpufreq: Fix up cpufreq_boost_set_sw()
    943f3ae9b149 remoteproc: Fix and restore the parenting hierarchy for vdev
    81fb06cb6bd4 remoteproc: Fall back to using parent memory pool if no dedicated available
    12b24ba6ce56 proc: Use new_inode not new_inode_pseudo
    98a3dea7e276 ovl: initialize error in ovl_copy_xattr
    5650ce02d261 net/mlx5e: Fix repeated XSK usage on one channel
    b05f2b60213c net/mlx5: Fix fatal error handling during device load
    cd5d0278dcb1 net/mlx5: drain health workqueue in case of driver load error
    57bad9e291e3 selftests/net: in rxtimestamp getopt_long needs terminating null entry
    05e275d8742b dccp: Fix possible memleak in dccp_init and dccp_fini
    5ab6f11621a5 crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req()
    af03d5957152 crypto: virtio: Fix src/dst scatterlist calculation in __virtio_crypto_skcipher_do_req()
    2ef260d686b5 crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()
    0070e73c9edc firmware: imx: scu: Fix corruption of header
    a1fd068c8922 firmware: imx-scu: Support one TX and one RX
    da24a76bdc81 firmware: imx: warn on unexpected RX
    9a20d6c32756 x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
    977b89e1aba0 crypto: drbg - fix error return code in drbg_alloc_state()
    6ebdf342d4c7 crypto: algapi - Avoid spurious modprobe on LOADED
    4a87772480aa crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
    1027dc04f557 gup: document and work around "COW can break either way" issue
    6ed11984edb1 PM: runtime: clk: Fix clk_pm_runtime_get() error path
    fc45cd292c5e spi: bcm-qspi: when tx/rx buffer is NULL set to 0
    0cd18337704f spi: bcm-qspi: Handle clock probe deferral
    3bb1e6eb7c5e spi: bcm2835aux: Fix controller unregister order
    496a5e5fd0e6 spi: bcm2835: Fix controller unregister order
    73d9bae0a584 spi: pxa2xx: Fix runtime PM ref imbalance on probe error
    1aec7b22a93f spi: pxa2xx: Fix controller unregister order
    824a4e3b9acf spi: Fix controller unregister order
    7753886c6dd7 spi: dw: Fix controller unregister order
    ffe5ebdf81a1 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()
    d4904b38ea45 lib/lzo: fix ambiguous encoding bug in lzo-rle
    07ffdf0d984b arm64: acpi: fix UBSAN warning
    286822392013 ACPI: PM: Avoid using power resources if there are none for D0
    75d6d0ad12f3 ACPI: GED: add support for _Exx / _Lxx handler methods
    040b4dcc1269 ACPI: CPPC: Fix reference count leak in acpi_cppc_processor_probe()
    e4cc99efbeb9 ACPI: sysfs: Fix reference count leak in acpi_sysfs_add_hotplug_profile()
    10a8c04c0b51 ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock
    969c9b50fdec ALSA: usb-audio: Fix inconsistent card PM state after resume
    1f5ab51e2e2f ALSA: pcm: fix snd_pcm_link() lockdep splat
    4f643b8c4773 ALSA: pcm: disallow linking stream to itself
    1900bf5e7fd7 ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines
    13c18353c985 ALSA: fireface: fix configuration error for nominal sampling transfer frequency
    110d04acda5e ALSA: es1688: Add the missed snd_card_free()
    f7d57ba8d7b8 watchdog: imx_sc_wdt: Fix reboot on crash
    3003daa76bdf smb3: add indatalen that can be a non-zero value to calculation of credit charge in smb2 ioctl
    0470d6c3276d smb3: fix incorrect number of credits when ioctl MaxOutputResponse > 64K
    e1437d181d30 efi/efivars: Add missing kobject_put() in sysfs entry creation error path
    ab2df991e5e2 io_uring: use kvfree() in io_sqe_buffer_register()
    d4a13e671138 ASoC: max9867: fix volume controls
    ac0175f9dd4d powerpc/ptdump: Properly handle non standard page size
    cb810f75e98a KVM: x86: Fix APIC page invalidation race
    a2b0ce3c2206 KVM: x86: respect singlestep when emulating instruction
    af718119061f KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
    d872f174218d perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont
    57a537b3994e x86/reboot/quirks: Add MacBook6,1 reboot quirk
    e1545848ad55 x86/speculation: PR_SPEC_FORCE_DISABLE enforcement for indirect branches.
    6d60d5462a91 x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.
    9d1dcba6dd48 x86/speculation: Prevent rogue cross-process SSBD shutdown
    41551b56af93 x86/PCI: Mark Intel C620 MROMs as having non-compliant BARs
    e8652fef5336 x86_64: Fix jiffies ODR violation
    7ae53601458f sctp: fix refcount bug in sctp_wfree
    067ef17a3f7d sctp: fix possibly using a bad saddr with a given dst
    f1bb90b885cf iwlwifi: mvm: fix NVM check for 3168 devices
    0315cfc6f816 ipv4: fix a RCU-list lock in fib_triestat_seq_show
    7328f9a4ad58 aio: fix async fsync creds
    f27ad513a474 fanotify: fix ignore mask logic for events on child and on dir
    515e02bf19b3 selftests: fix flower parent qdisc
    0b11ec4ae557 mm: add kvfree_sensitive() for freeing sensitive data objects
    7c41d8c1bc6f perf probe: Accept the instance number of kretprobe event
    a3e6ba31fc4d PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
    ba95f95c27e8 KVM: x86: only do L1TF workaround on affected processors
    79e378172ca3 x86/cpu/amd: Make erratum #1054 a legacy erratum
    86c7d245e38d s390/pci: Log new handle in clp_disable_fh()
    77db4e1d40aa padata: add separate cpuhp node for CPUHP_PADATA_DEAD
    f23be4d1555d RDMA/uverbs: Make the event_queue fds return POLLERR when disassociated
    3f14df580a3d smack: avoid unused 'sip' variable warning
    3242fa02daf0 ath9k_htc: Silence undersized packet warnings
    b06bbbc6afcd spi: dw: Fix native CS being unset
    eb6315063043 powerpc/xive: Clear the page tables for the ESB IO mapping
    282acc187c48 drivers/net/ibmvnic: Update VNIC protocol version reporting
    f8713c2cb06e gfs2: Even more gfs2_find_jhead fixes
    108681048cf7 csky: Fixup abiv2 syscall_trace break a4 & a5
    16d902821bb7 Input: synaptics - add a second working PNP_ID for Lenovo T470s
    53fed23f8c74 sched/fair: Don't NUMA balance for kthreads
    1a28b2050334 ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook
    bafaf4708a62 Input: mms114 - fix handling of mms345l
    b4aa6da26135 elfnote: mark all .note sections SHF_ALLOC
    f04d1e880f17 bpf: Support llvm-objcopy for vmlinux BTF
    3a577e62208c vxlan: Avoid infinite loop when suppressing NS messages with invalid options
    de9d1010b97c bridge: Avoid infinite loop when suppressing NS messages with invalid options
    747d5bcb97eb tun: correct header offsets in napi frags mode
    c8e374ee6095 net_failover: fixed rollback in net_failover_open()
    5ab453bb7b29 mlxsw: core: Use different get_trend() callbacks for different thermal zones
    f560ea659b33 ipv6: fix IPV6_ADDRFORM operation logic

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6bc1389bae6e5c28d0ee49a41ad1e3ca632d3d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
4 years agolinux-yocto/5.4: update to v5.4.46
Bruce Ashfield [Tue, 30 Jun 2020 05:18:44 +0000 (01:18 -0400)]
linux-yocto/5.4: update to v5.4.46

Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5e3c51153922 Linux 5.4.46
    9504466c9038 Revert "net/mlx5: Annotate mutex destroy for root ns"
    c06c03bba03f uprobes: ensure that uprobe->offset and ->ref_ctr_offset are properly aligned
    590459086bc9 x86/speculation: Add Ivy Bridge to affected list
    faf187abda94 x86/speculation: Add SRBDS vulnerability and mitigation documentation
    b0f61a0503ad x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation
    dab0161b8a0b x86/cpu: Add 'table' argument to cpu_matches()
    749ec6b48a9a x86/cpu: Add a steppings field to struct x86_cpu_id
    e4e57f7bca44 x86/speculation/spectre_v2: Exclude Zhaoxin CPUs from SPECTRE_V2
    c2baba26ac5e nvmem: qfprom: remove incorrect write support
    b3e3f4cb8c6b CDC-ACM: heed quirk also in error handling
    4992c7618818 staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
    784ac0e82920 tty: hvc_console, fix crashes on parallel open/close
    9619c2f746f7 vt: keyboard: avoid signed integer overflow in k_ascii
    2d0c87d34dab usb: musb: Fix runtime PM imbalance on error
    e8f57f50e31b usb: musb: start session in resume for host port
    8d130bf2fcab iio: adc: stm32-adc: fix a wrong error message when probing interrupts
    e98b0548b2f8 iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
    9b0e734fde6d iio: vcnl4000: Fix i2c swapped word reading.
    940530f60c60 iio:chemical:sps30: Fix timestamp alignment
    0fac736dbac6 USB: serial: ch341: add basis for quirk detection
    9060d48b4206 USB: serial: option: add Telit LE910C1-EUX compositions
    5555c8f569fa USB: serial: usb_wwan: do not resubmit rx urb on fatal errors
    f366d3a21f12 USB: serial: qcserial: add DW5816e QDL support
    b3ebd9830c60 net: be more gentle about silly gso requests coming from user
    a93417dfc1b0 net: check untrusted gso_size at kernel entry
    a02203349750 vsock: fix timeout in vsock_accept()
    646345a15350 nfp: flower: fix used time of merge flow statistics
    165508e456b1 NFC: st21nfca: add missed kfree_skb() in an error path
    87adb76710d0 net: usb: qmi_wwan: add Telit LE910C1-EUX composition
    de8f81077be2 net: stmmac: enable timestamp snapshot for required PTP packets in dwmac v5.10a
    fb915f061e9e net/mlx5: Fix crash upon suspend/resume
    5fc8f9a34800 l2tp: do not use inet_hash()/inet_unhash()
    1b7693c09252 l2tp: add sk_family checks to l2tp_validate_socket
    449c72324085 devinet: fix memleak in inetdev_init()

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff6b0ac5ee9fb8bb74aaeae3f5587252801113bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>