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