Causes build failures on autobuilder
This reverts commit 8a59c47ce4c101b2470a06ecf101ca5ab7d1f82e.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you make parsing fail (e.g. add something like:
X := "${@d.getVar('MCMACHINES').split()[1]}"
to meson.bbclass, then run "while true; do bitbake -g bash; done"
it will eventually hang. It appears the cancel_join_thread() call the
parsing failure triggers, breaks the results_queue badly enough that it
sits in read() indefintely (called from self.result_queue.get(timeout=0.25)).
The timeout only applies to lock aquisition, not the read call.
I've tried various other approaches such as using cancel_join_thread()
in other places but the only way things don't lock up is to avoid
cancel_join_thread() entirely for results_queue.
I do have a concern that this may adversely affect Ctrl+C handling
but equally, its broken now already and this appears to improve
things.
[YOCTO #14034]
(Bitbake rev: 0e0af15b84e07e6763300dcd092b980086b9b9c4)
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>
During cooker shutdown, its possible the parser isn't cleaned up. Fix
this (which may partially explain why threads were left hanging around
at exit).
(Bitbake rev: fe1b57f4d39c287526353387e164c863eb9df421)
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>
Hongxu Jia reported a problem where the bb_cache files were not always being
written out correctly. This was due to the sync thread being terminated
prematurely.
Whilst the preceeding changes mean the exit handler for this thread is now
correctly called since we switch to using sys.exit() instead of os._exit(),
this write can happen after we drop the bitbake lock, leading to potential
races. Avoid that headache by adding in explicit thread join() calls before
we drop the lock (which atexit or Finalize can't do).
(Bitbake rev: 6d2dd16b87ce62086f956912e9a7335b2adfcc94)
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>
Each run through the parser would leak a thread from the queue created to
shut the parser down. Close this down correctly and clean up the code flow
slightly whilst in the area, making sure this thread does shut down correctly
(we don't care if it loses data).
(Bitbake rev: 1dcc4e29dee3fd0dd4d6dc2fc9ccdc5888fcfcf3)
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>
The routine do_sizecheck() was historically needed by legacy
devices with limited flash memory.
The lowest extreme is probably with Zaurus collie having exactly
1024*1024 = 1048576 bytes for the kernel partition.
In the years the KERNEL_IMAGE_MAXSIZE has been converted to kilobytes
thus rounded so we have now KERNEL_IMAGE_MAXSIZE_collie = "1024".
The effect is that now the check fails because we hit curiously this
| WARNING: This kernel zImage (size=1024(K) > 1024(K)) is too big for...
even though zImage is 1047288 bytes (kernel + kexecboot-klibc-initramfs).
Fix this case using test -gt (greater) instead of -ge (greater or equal).
(From OE-Core rev: f5fc716d744745d5c2ea83f0b1d63907cfe04c06)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 254ca956d63b4ce6aa294213b60bb943f9f3a9e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The package python/cpython from 0 and before 3.6.13, from 3.7.0 and before
3.7.10, from 3.8.0 and before 3.8.8, from 3.9.0 and before 3.9.2 are vulnerable
to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by
using a vector called parameter cloaking. When the attacker can separate query
parameters using a semicolon (;), they can cause a difference in the
interpretation of the request between the proxy (running with default
configuration) and the server. This can result in malicious requests being
cached as completely safe ones, as the proxy would usually not see the
semicolon as a separator, and therefore would not include it in a cache key of
an unkeyed parameter.
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-23336https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23336
(From OE-Core rev: 8a59c47ce4c101b2470a06ecf101ca5ab7d1f82e)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
updates include fixes for
CVE-2021-25214
CVE-2021-25215
CVE-2021-25216
CVE-2020-8625 fixed in 9.11.28, so drop that patch
(From OE-Core rev: d7e56f1910b7963d8b704107903ecf40e9472d3c)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
tmp
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>
Currently DTC_FLAGS kernel makefile parameter can be specified directly on the
command line by adding it to KERNEL_EXTRA_ARGS. However, this prevents
scripts/Makefile.lib logic from appending flags that silence dtc warnings (all
assignments done from within a makefile, to a variable specified on the command
line, are ignored).
Because of this, the do_compile log is cluttered with dtc warnings that should
only be printed when compiling with W="123":
...
/soc: node has a reg or ranges property, but no unit name
/soc/gpu: missing or empty reg/ranges property
/soc/firmware/gpio: missing or empty reg/ranges property
...
To fix this, introduce the dedicated KERNEL_DTC_FLAGS variable to hold
dtc flags and export DTC_FLAGS in the environment before generating the dtbs
(make allows "+=" operations on variables that come from the environment, so
the warnings are silenced properly).
(From OE-Core rev: 2246b0d7a71c69eb2e89c55991d1387069895466)
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 063b5de86624a42b0aa784db6dddc7552a6dee7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Das U-Boot 2021.4-rc1 has the following commit:
commit 3f04db891a353f4b127ed57279279f851c6b4917
Author: Simon Glass <sjg@chromium.org>
Date: Mon Feb 15 17:08:12 2021 -0700
image: Check for unit addresses in FITs
Using unit addresses in a FIT is a security risk. Add a check for
this and disallow it.
CVE-2021-27138
Adjust the kernel-fitimage.bbclass accordingly to not use unit
addresses. This changte is required before we can bump U-Boot to 2021.4.
(From OE-Core rev: 14eec2f7c3bbb36de8198989bf772135aa117963)
Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Backport for Dunfell]
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
103f1dbea1ae Linux 5.4.123
af2a4426baf7 NFC: nci: fix memory leak in nci_allocate_device
45aef101ca44 perf unwind: Set userdata for all __report_module() paths
2960df32bb72 perf unwind: Fix separate debug info files when using elfutils' libdw's unwinder
f3d9f09b10e3 usb: dwc3: gadget: Enable suspend events
3173c7c80785 bpf: No need to simulate speculative domain for immediates
2b3cc41d500a bpf: Fix mask direction swap upon off reg sign change
2768f9962231 bpf: Wrap aux data inside bpf_sanitize_info container
67154cff6258 Linux 5.4.122
f97257cde764 Bluetooth: SMP: Fail if remote and local public keys are identical
46b4a9c68572 video: hgafb: correctly handle card detect failure during probe
3c18dc7de2bc nvmet: use new ana_log_size instead the old one
a6f5ef8c1717 Bluetooth: L2CAP: Fix handling LE modes by L2CAP_OPTIONS
d3d648163a03 ext4: fix error handling in ext4_end_enable_verity()
829203752441 nvme-multipath: fix double initialization of ANA state
2dea1e9ae5cf tty: vt: always invoke vc->vc_sw->con_resize callback
cf52b24b172e vt: Fix character height handling with VT_RESIZEX
971b3fb5b9a6 vgacon: Record video mode changes with VT_RESIZEX
f0c9d29f232a video: hgafb: fix potential NULL pointer dereference
44fe392e1adc qlcnic: Add null check after calling netdev_alloc_skb
4914c67f1a62 leds: lp5523: check return value of lp5xx_read and jump to cleanup code
171b3c1afaeb ics932s401: fix broken handling of errors when word reading fails
d14cd329d83b net: rtlwifi: properly check for alloc_workqueue() failure
533ac32a80c0 scsi: ufs: handle cleanup correctly on devm_reset_control_get error
9e38cf9c3070 net: stmicro: handle clk_prepare() failure during init
9d59d4364dfb ethernet: sun: niu: fix missing checks of niu_pci_eeprom_read()
8f2efd687d19 Revert "niu: fix missing checks of niu_pci_eeprom_read"
04a064b36576 Revert "qlcnic: Avoid potential NULL pointer dereference"
6d53d54ff5be Revert "rtlwifi: fix a potential NULL pointer dereference"
7fb963895513 Revert "media: rcar_drif: fix a memory disclosure"
6f2e5eb82557 cdrom: gdrom: initialize global variable at init time
283cd246bcc1 cdrom: gdrom: deallocate struct gdrom_unit fields in remove_gdrom
7e230e5ed8fd Revert "gdrom: fix a memory leak bug"
6ef6f8cd1d34 Revert "scsi: ufs: fix a missing check of devm_reset_control_get"
9c24899f1fae Revert "ecryptfs: replace BUG_ON with error handling code"
a1f0e2bb4975 Revert "video: imsttfb: fix potential NULL pointer dereferences"
bd2a12549fc2 Revert "hwmon: (lm80) fix a missing check of bus read in lm80 probe"
5c463887edb3 Revert "leds: lp5523: fix a missing check of return value of lp55xx_read"
1cb9f88cde8c Revert "net: stmicro: fix a missing check of clk_prepare"
6f2a72774f38 Revert "video: hgafb: fix potential NULL pointer dereference"
3471a221f308 dm snapshot: fix crash with transient storage and zero chunk size
198ee66478b3 xen-pciback: reconfigure also from backend watch handler
f1d3c63c3f12 mmc: sdhci-pci-gli: increase 1.8V regulator wait
d9e9ec363560 drm/amdgpu: update sdma golden setting for Navi12
e3be683d5e4e drm/amdgpu: update gc golden setting for Navi12
1f0495355b60 drm/amdgpu: disable 3DCGCG on picasso/raven1 to avoid compute hang
c11d59e5edba Revert "serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference"
d55df42ef369 rapidio: handle create_workqueue() failure
9f2a613e4b0b Revert "rapidio: fix a NULL pointer dereference when create_workqueue() fails"
cdd91637d4ef uio_hv_generic: Fix a memory leak in error handling paths
b0fc59e62bf9 ALSA: hda/realtek: Add fixup for HP Spectre x360 15-df0xxx
c4e7ed4fa1b1 ALSA: hda/realtek: Add fixup for HP OMEN laptop
2331f2592879 ALSA: hda/realtek: Fix silent headphone output on ASUS UX430UA
1c783bfa7f8d ALSA: hda/realtek: Add some CLOVE SSIDs of ALC293
be1f7f30b66b ALSA: hda/realtek: reset eapd coeff to default value for alc287
b2297d1b9511 ALSA: firewire-lib: fix check for the size of isochronous packet payload
f95aabb6aed4 Revert "ALSA: sb8: add a check for request_region"
2ed8227ebd84 ALSA: hda: fixup headset for ASUS GU502 laptop
7ef36d303592 ALSA: bebob/oxfw: fix Kconfig entry for Mackie d.2 Pro
844faf4a9675 ALSA: usb-audio: Validate MS endpoint descriptors
c7456fc35dc8 ALSA: firewire-lib: fix calculation for size of IR context payload
7981c124e34d ALSA: dice: fix stream format at middle sampling rate for Alesis iO 26
f72b96ff7935 ALSA: line6: Fix racy initialization of LINE6 MIDI
048840df6de8 ALSA: intel8x0: Don't update period unless prepared
a67a88f9e667 ALSA: dice: fix stream format for TC Electronic Konnekt Live at high sampling transfer frequency
34413f21acea cifs: fix memory leak in smb2_copychunk_range
20197d327560 btrfs: avoid RCU stalls while running delayed iputs
845c2b9d99b6 locking/mutex: clear MUTEX_FLAGS if wait_list is empty due to signal
439ce949ee90 nvmet: seset ns->file when open fails
670d34d54320 ptrace: make ptrace() fail if the tracee changed its pid unexpectedly
88128a5054f1 RDMA/uverbs: Fix a NULL vs IS_ERR() bug
6fa78a6b9a3b platform/x86: dell-smbios-wmi: Fix oops on rmmod dell_smbios
6e90ff540a7b platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue
66abc4ef6a8b RDMA/core: Don't access cm_id after its destruction
73e25a2d51bb RDMA/mlx5: Recover from fatal event in dual port mode
8d8b8016e0af scsi: qla2xxx: Fix error return code in qla82xx_write_flash_dword()
07865459eb62 scsi: ufs: core: Increase the usable queue depth
a62225d951d7 RDMA/rxe: Clear all QP fields if creation failed
257f132342ea RDMA/siw: Release xarray entry
a19bb4c0566c RDMA/siw: Properly check send and receive CQ pointers
a03676848886 openrisc: Fix a memory leak
50fd584fbbb3 firmware: arm_scpi: Prevent the ternary sign expansion bug
b239a0365b93 Linux 5.4.121
b63a8e5b4a25 scripts: switch explicitly to Python 3
2cbb484788fe tweewide: Fix most Shebang lines
252495806968 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
50e5c93ca647 ipv6: remove extra dev_hold() for fallback tunnels
b811a8a72366 ip6_tunnel: sit: proper dev_{hold|put} in ndo_[un]init methods
f5ddecb6a195 sit: proper dev_{hold|put} in ndo_[un]init methods
cca2a2b340a9 ip6_gre: proper dev_{hold|put} in ndo_[un]init methods
084a1858e256 net: stmmac: Do not enable RX FIFO overflow interrupts
94600a8300c7 lib: stackdepot: turn depot_lock spinlock to raw_spinlock
5233f4465e22 block: reexpand iov_iter after read/write
48744773d63e ALSA: hda: generic: change the DAC ctl name for LO+SPK or LO+HP
0ce1a72ac9b0 gpiolib: acpi: Add quirk to ignore EC wakeups on Dell Venue 10 Pro 5055
b3252a87a811 drm/amd/display: Fix two cursor duplication when using overlay
6cc777c6acbb bridge: Fix possible races between assigning rx_handler_data and setting IFF_BRIDGE_PORT bit
c5946eb52b73 scsi: target: tcmu: Return from tcmu_handle_completions() if cmd_id not found
e39a105abbe5 ceph: fix fscache invalidation
13bc6bda6a1e scsi: lpfc: Fix illegal memory access on Abort IOCBs
e69c7c149199 riscv: Workaround mcount name prior to clang-13
cd3ab0ac0a54 scripts/recordmcount.pl: Fix RISC-V regex for clang
cfa65174402f ARM: 9075/1: kernel: Fix interrupted SMC calls
a5923afb6149 um: Disable CONFIG_GCOV with MODULES
2fe3fbcc53b8 um: Mark all kernel symbols as local
cec4c3810ba3 Input: silead - add workaround for x86 BIOS-es which bring the chip up in a stuck state
29da2bab24e9 Input: elants_i2c - do not bind to i2c-hid compatible ACPI instantiated devices
bbd7ba95bb06 ACPI / hotplug / PCI: Fix reference count leak in enable_slot()
64f8e9526e31 ARM: 9066/1: ftrace: pause/unpause function graph tracer in cpu_suspend()
41dd2ede9536 dmaengine: dw-edma: Fix crash on loading/unloading driver
b003a4923628 PCI: thunder: Fix compile testing
a05fb4ac72fb virtio_net: Do not pull payload in skb->head
0d08bbce231b xsk: Simplify detection of empty and full rings
323deebaa2d0 pinctrl: ingenic: Improve unreachable code generation
e57e2dd9bbdd isdn: capi: fix mismatched prototypes
7958cdd64cdf cxgb4: Fix the -Wmisleading-indentation warning
acb4faa5f577 usb: sl811-hcd: improve misleading indentation
eabb93e34425 kgdb: fix gcc-11 warning on indentation
b806b41bf55d x86/msr: Fix wr/rdmsr_safe_regs_on_cpu() prototypes
(From OE-Core rev: 48ac436adb0b186806b2a2d43945d587c50355f0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 881ed7938f84ba89b9bb20ce8e45ef9d85e80cb8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
e05d387ba736 Linux 5.4.120
7f4ac21468b0 ASoC: rsnd: check all BUSIF status when error
7f6a9044ff24 nvme: do not try to reconfigure APST when the controller is not live
aa9d659856b1 clk: exynos7: Mark aclk_fsys1_200 as critical
baea536cf51f netfilter: conntrack: Make global sysctls readonly in non-init netns
fb80624f39d3 kobject_uevent: remove warning in init_uevent_argv()
658e8982f0eb usb: typec: tcpm: Fix error while calculating PPS out values
718f1c1fdf78 ARM: 9027/1: head.S: explicitly map DT even if it lives in the first physical section
3c63b72ffba0 ARM: 9020/1: mm: use correct section size macro to describe the FDT virtual address
b05a28f47582 ARM: 9012/1: move device tree mapping out of linear region
69e44f71319b ARM: 9011/1: centralize phys-to-virt conversion of DT/ATAGS address
bb4f8ead473a f2fs: fix error handling in f2fs_end_enable_verity()
7a474350d8de thermal/core/fair share: Lock the thermal zone while looping over instances
2c44110300b8 MIPS: Avoid handcoded DIVU in `__div64_32' altogether
2759b770b53e MIPS: Avoid DIVU in `__div64_32' is result would be zero
02b120493a9c MIPS: Reinstate platform `__div64_32' handler
64508ebf9391 FDDI: defxx: Make MMIO the configuration default except for EISA
ecdf893c5aef mm: fix struct page layout on 32-bit systems
187598fd82cb KVM: x86: Cancel pvclock_gtod_work on module removal
cdaae487e85b cdc-wdm: untangle a circular dependency between callback and softint
b1de23dbeca7 iio: tsl2583: Fix division by a zero lux_val
8229f1d40501 iio: gyro: mpu3050: Fix reported temperature value
2496ead8b1b1 xhci: Add reset resume quirk for AMD xhci controller.
de72d8769bcf xhci: Do not use GFP_KERNEL in (potentially) atomic context
941328f7bda6 usb: dwc3: gadget: Return success always for kick transfer in ep queue
7f15d999dd61 usb: core: hub: fix race condition about TRSMRCY of resume
8f536512db87 usb: dwc2: Fix gadget DMA unmap direction
36399169e6a0 usb: xhci: Increase timeout for HC halt
68b5f65eaa6a usb: dwc3: pci: Enable usb2-gadget-lpm-disable for Intel Merrifield
04904d90a71a usb: dwc3: omap: improve extcon initialization
f78e2c36609b iomap: fix sub-page uptodate handling
3c1db90ae0d0 blk-mq: Swap two calls in blk_mq_exit_queue()
1c4962df9388 nbd: Fix NULL pointer in flush_workqueue
0b6b4b90b74c kyber: fix out of bounds access when preempted
dafd4c0b5e83 ACPI: scan: Fix a memory leak in an error handling path
1648505d1353 hwmon: (occ) Fix poll rate limiting
fa1547f6e4fb usb: fotg210-hcd: Fix an error message
57f99e92e2f7 iio: proximity: pulsedlight: Fix rumtime PM imbalance on error
2b94c23eaf5e drm/i915: Avoid div-by-zero on gen2
a9b2ac3f6ad1 drm/radeon/dpm: Disable sclk switching on Oland when two 4K 60Hz monitors are connected
f77aa56ad989 mm/hugetlb: fix F_SEAL_FUTURE_WRITE
b3f1731c6d7f userfaultfd: release page in error path to avoid BUG_ON
1b8d4206a48c squashfs: fix divide error in calculate_skip()
c451a6bafb5f hfsplus: prevent corruption in shrinking truncate
0b4eb172cc12 powerpc/64s: Fix crashes when toggling entry flush barrier
379ea3a4e34b powerpc/64s: Fix crashes when toggling stf barrier
9cca6cc73bb9 ARC: mm: PAE: use 40-bit physical page mask
e242c138ae01 ARC: entry: fix off-by-one error in syscall number validation
9c1d454726fc i40e: Fix PHY type identifiers for 2.5G and 5G adapters
7e7b538a9af5 i40e: fix the restart auto-negotiation after FEC modified
d718c15a2bf9 i40e: Fix use-after-free in i40e_client_subtask()
c77e2ef18167 netfilter: nftables: avoid overflows in nft_hash_buckets()
a8cfa7aff11d kernel: kexec_file: fix error return code of kexec_calculate_store_digests()
043ebbccdde6 sched/fair: Fix unfairness caused by missing load decay
687f523c134b sched: Fix out-of-bound access in uclamp
51d3e462ea91 can: m_can: m_can_tx_work_queue(): fix tx_skb race condition
c8e3c76cc8c5 netfilter: nfnetlink_osf: Fix a missing skb_header_pointer() NULL check
ca74d0dbaffa smc: disallow TCP_ULP in smc_setsockopt()
2f9f92e2ecec net: fix nla_strcmp to handle more then one trailing null character
6aeba28d1213 ksm: fix potential missing rmap_item for stable_node
dde73137ce9c mm/migrate.c: fix potential indeterminate pte entry in migrate_vma_insert_page()
262943265d97 mm/hugeltb: handle the error case in hugetlb_fix_reserve_counts()
3ddbd4beadfa khugepaged: fix wrong result value for trace_mm_collapse_huge_page_isolate()
1816d1b3272a drm/radeon: Avoid power table parsing memory leaks
8e0b76725c38 drm/radeon: Fix off-by-one power_state index heap overwrite
9e3cbdc52318 netfilter: xt_SECMARK: add new revision to fix structure layout
7a0a9f5cf8b5 sctp: fix a SCTP_MIB_CURRESTAB leak in sctp_sf_do_dupcook_b
f7f6f0777409 ethernet:enic: Fix a use after free bug in enic_hard_start_xmit
a04c2a398dc9 sunrpc: Fix misplaced barrier in call_decode
b8168792c3fb RISC-V: Fix error code returned by riscv_hartid_to_cpuid()
b1b31948c0af sctp: do asoc update earlier in sctp_sf_do_dupcook_a
2e99f6871493 net: hns3: disable phy loopback setting in hclge_mac_start_phy
954ea8a0cfe1 net: hns3: use netif_tx_disable to stop the transmit queue
c073c2b27285 net: hns3: fix for vxlan gpe tx checksum bug
56e680c09002 net: hns3: add check for HNS3_NIC_STATE_INITED in hns3_reset_notify_up_enet()
282d8a6a5546 net: hns3: initialize the message content in hclge_get_link_mode()
ccffcc9f3574 net: hns3: fix incorrect configuration for igu_egu_hw_err
3dd2cd64466e rtc: ds1307: Fix wday settings for rx8130
2ad8af2b70e9 ceph: fix inode leak on getattr error in __fh_to_dentry
b37609ad2277 rtc: fsl-ftm-alarm: add MODULE_TABLE()
7d1ada9e1096 NFSv4.2 fix handling of sr_eof in SEEK's reply
89862bd77e9c pNFS/flexfiles: fix incorrect size check in decode_nfs_fh()
ff4d21fb2261 PCI: endpoint: Fix missing destroy_workqueue()
bdbee0d84520 NFS: Deal correctly with attribute generation counter overflow
7e16709fc540 NFSv4.2: Always flush out writes in nfs42_proc_fallocate()
20f9516b8372 rpmsg: qcom_glink_native: fix error return code of qcom_glink_rx_data()
3ed8832aeaa9 ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook
0454a3dc8747 PCI: Release OF node in pci_scan_device()'s error path
364e8bb8b425 PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()
e150f825ca29 f2fs: fix a redundant call to f2fs_balance_fs if an error occurs
f49f00dbe3d0 thermal: thermal_of: Fix error return code of thermal_of_populate_bind_params()
f599960166a0 ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
44d96d2dc054 ia64: module: fix symbolizer crash on fdescr
8b88f16d9d30 bnxt_en: Add PCI IDs for Hyper-V VF devices.
98e1d0fe20ed net: ethernet: mtk_eth_soc: fix RX VLAN offload
5da6affd9c7e iavf: remove duplicate free resources calls
40d1cb16a578 powerpc/iommu: Annotate nested lock for lockdep
d26436a3b913 qtnfmac: Fix possible buffer overflow in qtnf_event_handle_external_auth
9184f2608e89 wl3501_cs: Fix out-of-bounds warnings in wl3501_mgmt_join
78a004cdfd2d wl3501_cs: Fix out-of-bounds warnings in wl3501_send_pkt
cd06b0786056 drm/amd/display: fixed divide by zero kernel crash during dsc enablement
eed7287db3a9 powerpc/pseries: Stop calling printk in rtas_stop_self()
63a42044b9a1 samples/bpf: Fix broken tracex1 due to kprobe argument change
9f6e107aab14 net: sched: tapr: prevent cycle_time == 0 in parse_taprio_schedule
3aa4e4d7ccf4 ethtool: ioctl: Fix out-of-bounds warning in store_link_ksettings_for_user()
061868e90062 ASoC: rt286: Generalize support for ALC3263 codec
56a6218e97db powerpc/smp: Set numa node before updating mask
dfa2a8d2d8a7 flow_dissector: Fix out-of-bounds warning in __skb_flow_bpf_to_target()
5f24807c3cba sctp: Fix out-of-bounds warning in sctp_process_asconf_param()
9fc2c9579415 ALSA: hda/hdmi: fix race in handling acomp ELD notification at resume
f59db26081c0 kconfig: nconf: stop endless search loops
c262de1777e4 selftests: Set CC to clang in lib.mk if LLVM is set
2b9ad1fd9dd2 drm/amd/display: Force vsync flip when reconfiguring MPCC
10ed519fa825 iommu/amd: Remove performance counter pre-initialization test
82f6753ac96b Revert "iommu/amd: Fix performance counter initialization"
ae33b2f845fd ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
d61f2d938135 cuse: prevent clone
7dac356a65db mt76: mt76x0: disable GTK offloading
48be573a04f1 pinctrl: samsung: use 'int' for register masks in Exynos
f88e0fbeff0f mac80211: clear the beacon's CRC after channel switch
fadf3660a24f i2c: Add I2C_AQ_NO_REP_START adapter quirk
7ffafbf2537d ASoC: Intel: bytcr_rt5640: Add quirk for the Chuwi Hi8 tablet
98ebeb87b2cf ip6_vti: proper dev_{hold|put} in ndo_[un]init methods
fae341909d6c Bluetooth: check for zapped sk before connecting
29e498ff183a net: bridge: when suppression is enabled exclude RARP packets
a3893726745f Bluetooth: initialize skb_queue_head at l2cap_chan_create()
ca0dec6564e6 Bluetooth: Set CONF_NOT_COMPLETE as l2cap_chan default
1ac09b2bdc99 ALSA: bebob: enable to deliver MIDI messages for multiple ports
e2f577188581 ALSA: rme9652: don't disable if not enabled
a6f2224be419 ALSA: hdspm: don't disable if not enabled
4ea252600a7d ALSA: hdsp: don't disable if not enabled
7900cdfbc1dd i2c: bail out early when RDWR parameters are wrong
3c0432417fa3 ASoC: rsnd: core: Check convert rate in rsnd_hw_params
e3564792359d net: stmmac: Set FIFO sizes for ipq806x
ac740f06bf53 ASoC: Intel: bytcr_rt5640: Enable jack-detect support on Asus T100TAF
aee46e847d19 tipc: convert dest node's address to network order
ccef53a27a24 fs: dlm: fix debugfs dump
6c799f6c7427 PM: runtime: Fix unpaired parent child_count for force_resume
18cb19eab713 KVM: x86/mmu: Remove the defunct update_pte() paging hook
e888d623a420 tpm, tpm_tis: Reserve locality in tpm_tis_resume()
a0fd39a09e31 tpm, tpm_tis: Extend locality handling to TPM2 in tpm_tis_gen_interrupt()
0a60d4be38f0 tpm: fix error return code in tpm2_get_cc_attrs_tbl()
(From OE-Core rev: 94187ff0e669df423209dde52b7aab5ca5063cd0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6d5da1fa69df93d85b7eebbe8d60108eed4e4e6a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15.
Patch not in master, erroneously applied
(From OE-Core rev: 090452c5284181f18c32dc33887f4dda20c48004)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There were additional links and new firmware versions added but these
were not under any additional licenses.
(From OE-Core rev: b48cfe9148e8f9bbc942899455215e8f9c8e2728)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b0562c526817501a494a3674fed006ba40c8f164)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The git repo for pkg-config was changed, so update the
SRC_URI accordingly with the new link.
(From OE-Core rev: 9f67246e62aa9e8b0c4a790605c5417336fef70c)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9fd1b9b8282d68213b187ab42fae27e6a3c95b2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is flawed since multiple parts of the system can write to the log
and we obtain different numbers of log messages depending on factors we
can't control.
Drop the log testing component of the test.
[YOCTO #12465]
(From OE-Core rev: fb22cf1891fa8d057348c5270715c45ac3ab9e25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ad815dbafda0b90f5164f05d22dbbc26cb53f13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
do_bootimg expects IMGDEPLOYDIR to exist, since it stores its artifacts
there. Therefore, do_bootimg should run after do_rootfs because
IMGDEPLOYDIR is created before do_rootfs runs since IMGDEPLOYDIR is
contained in do_rootfs' [cleandirs] varflag.
When do_bootimg depends on ${PN}:do_image_${LIVE_ROOTFS_TYPE},
do_bootimg is correctly ordered after do_rootfs because
do_image_${FSTYPE} tasks are added after do_image and do_image itself is
added after do_rootfs.
However, when do_bootimg doesn't depend on
${PN}:do_image_${LIVE_ROOTFS_TYPE}
(introduced by: 96f47c39f1d17f073243913d524bde84add41d8f), do_bootimg
can run before do_rootfs, thus before IMGDEPLOYDIR is created. To
avoid this situation, do_bootimg is now explicitly ordered after
do_rootfs.
(From OE-Core rev: 4bc93b8ddc7bad210a5816eabd2e3e37b4afa6c1)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 73c21db8e54002b300ba4972cb49c0577acc5406)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default RPM uses the number of cores as the number of threads to use,
which can result in quite antisocial memory usage.
As we control the macros for compression anyway, we can pass XZ_THREADS
to limit the number of threads if needed.
(From OE-Core rev: b1e9fe67a85be516a0b32e0c91448df87a756e02)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b9c983eb22a9b0771a0454216d1d7cbb5f3f8a16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On some new distro like ubuntu21.04, unfs3-native compile failed with
error: undefined reference to `xdr_uint32', since new distro has new
glibc.
>From glibc 2.27 rpc support is dropped, so unfs3 need to link to
libtirpc.
Here is defination of ac_link:
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
Depended library should be added into LIBS, not LDFLAGS, otherwise,
gcc may not load the lib since it is before conftest.$ac_ext during
configure. Finally, it results in compile failed.
(From OE-Core rev: 09b9027a9da8b5cf34e1f1c016d9d6bbbe904dcf)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27867862c1fee6c0e649286500fa1ab015d57faf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It should check if "${UBOOT_SIGN_ENABLE}" equals to "1" instead of
checking if "${UBOOT_SIGN_ENABLE}" is not empty since it could be "0".
(From OE-Core rev: 0d35b7d1de517ceb1bddc9ffe848e3d25030747a)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 900949af7fe357ee66065ba150b0b1914e8ca581)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A stray space made it into the command for verifying gpg signatures.
This caused verification to fail, at least on my host. Removing the
space makes it work as expected.
(From OE-Core rev: feec7cdda906aed37212dc05ea9ff1ef871c28da)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1d948822cbe6ac7ede9cb4e881db8dc780e308)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
What key is used to sign sstate artefacts should not affect the hash of
the object, otherwise everyone would need to use the same signing key.
(From OE-Core rev: 0bfccdee11866d7f4e6c767127379329cd1dea2d)
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 57cc9429dba4f9bd23127633dbc1f57dc2d5dd16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE only applies to RHEL.
(From OE-Core rev: a731386873f9c93c211be30ca8a8f42a9d8d6de3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8cfc3ebe50facb7e34e778f3e264b26cfae20a04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've noticed that:
MACHINE=qemuarm oe-selftest -r glibc.GlibcSelfTest.test_glibc
ends up with one process growing to about the size of system memory
and triggering the OOM killer. This has been taking out other builds
running on the system on the autobuilders and is one cause of our
intermittent failures.
This was tracked down to:
WORKDIR=XXX/tmp/work/armv7vet2hf-neon-poky-linux-gnueabi/glibc-testsuite/2.33-r0
BUILDDIR=$WORKDIR/build-arm-poky-linux-gnueabi QEMU_SYSROOT=$WORKDIR/recipe-sysroot
QEMU_OPTIONS="$WORKDIR/recipe-sysroot-native/usr/bin/qemu-arm -r 3.2.0" \
$WORKDIR/check-test-wrapper user env GCONV_PATH=$BUILDDIR/iconvdata LOCPATH=$BUILDDIR/localedata LC_ALL=C $BUILDDIR/elf/ld-linux-armhf.so.3 \
--library-path $BUILDDIR:$BUILDDIR/math:$BUILDDIR/elf:$BUILDDIR/dlfcn:$BUILDDIR/nss:$BUILDDIR/nis:$BUILDDIR/rt:$BUILDDIR/resolv:$BUILDDIR/mathvec:$BUILDDIR/support:$BUILDDIR/nptl \
$BUILDDIR/nptl/tst-pthread-timedlock-lockloop
although other glibc tests appear to use 16GB of memory before failing
anyway. By capping the VM size to 8GB, we see the same number of failures
but no OOM situations. There may be some issue in qemu or the test which
could be improved to avoid this entirely but this provides a necessary
and useful safeguard to other builds and doensn't appear to make the
situation worse.
On a loaded system OOM may not occur as the test timeout may be triggered
first. An experiment with a 5GB limit showed an additional 7 failures.
(From OE-Core rev: 4926a16d4fc075ea486536427e99dd6dcaace583)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 58d4f669bd46805669daf87626350fe9359feca5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:
[ -d test ] || ln -s ../libxml2-2.9.10/test .
make: /bin/bash: No such file or directory
make: *** [Makefile:2105: runtests] Error 127
Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.
(From OE-Core rev: bc1d05429da1101d910b4ccf3de5407ddfbedc92)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2e81298c446aec8d7fcf61fd5023ac30350f205)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.
There are no changes to the code of the patch other than the reformat.
Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.
(From OE-Core rev: 5f01e69b6e7b7f734882a30146cca89dbdb99705)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0361d625e1573e846a2f03ed90a8b897bc405160)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
16022114de98 Linux 5.4.118
a992a283c0b7 dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
569bae00ebbe dm integrity: fix missing goto in bitmap_flush_interval error handling
ff8fd1e3b58a dm space map common: fix division bug in sm_ll_find_free_block()
6fcaa44105aa dm persistent data: packed struct should have an aligned() attribute too
c64da3294a7d tracing: Restructure trace_clock_global() to never block
0834094c9a08 tracing: Map all PIDs to command lines
8768085ba271 rsi: Use resume_noirq for SDIO
55aa314a1a6c tty: fix memory leak in vc_deallocate
943131fda33b usb: dwc2: Fix session request interrupt handler
5bd06fc6b02c usb: dwc3: gadget: Fix START_TRANSFER link state check
0790fdbf37ee usb: gadget/function/f_fs string table fix for multiple languages
3b8b63be230f usb: gadget: Fix double free of device descriptor pointers
efa99087ea69 usb: gadget: dummy_hcd: fix gpf in gadget_setup
ffe824c0e35a media: staging/intel-ipu3: Fix race condition during set_fmt
a03fb1e8a110 media: staging/intel-ipu3: Fix set_fmt error handling
ff792ae52005 media: staging/intel-ipu3: Fix memory leak in imu_fmt
ae37aee56cad media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
e5c27c2ae2f2 media: dvb-usb: Fix use-after-free access
9185b3b1c143 media: dvbdev: Fix memory leak in dvb_media_device_free()
92eb134265fa ext4: fix error code in ext4_commit_super
c599462ab9c3 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
9c61387630a5 ext4: fix check to prevent false positive report of incorrect used inodes
79c95130a52a kbuild: update config_data.gz only when the content of .config is changed
19c8c34a8b80 x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
8d2be04dbb17 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
2b040d13b411 jffs2: check the validity of dstlen in jffs2_zlib_compress()
564b1868f229 Fix misc new gcc warnings
8aa728568202 security: commoncap: fix -Wstringop-overread warning
be8db260f482 fuse: fix write deadlock
dc21b424861a dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
6920cef604fa md/raid1: properly indicate failure when ending a failed write request
5f2d256875a5 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
63a25b715633 tpm: vtpm_proxy: Avoid reading host log when using a virtual device
2f12258b5224 tpm: efi: Use local variable for calculating final log size
2af501de8f43 intel_th: pci: Add Alder Lake-M support
ab5d5c9dfd02 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
abf3573ef4e7 powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
077f526fe3cc jffs2: Fix kasan slab-out-of-bounds problem
ad3f360ef20f Input: ili210x - add missing negation for touch indication on ili210x
6be0e4b59314 NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
12ccd59941e3 NFS: Don't discard pNFS layout segments that are marked for return
504632a3577a ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
490ad0a23904 openvswitch: fix stack OOB read while fragmenting IPv4 packets
9508634b2b18 mlxsw: spectrum_mr: Update egress RIF list before route's action
27a130638406 f2fs: fix to avoid out-of-bounds memory access
6c9b98a66d0a ubifs: Only check replay with inode type to judge if inode linked
310efc95c72c virtiofs: fix memory leak in virtio_fs_probe()
2b28e26bd776 Makefile: Move -Wno-unused-but-set-variable out of GCC only block
13a474c01353 arm64/vdso: Discard .note.gnu.property sections in vDSO
f40bf82bf693 btrfs: fix race when picking most recent mod log operation for an old root
2bc0131d5be0 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
45392da1bd91 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
ee47a6414950 ALSA: hda/realtek: fix mic boost on Intel NUC 8
d143cd1f8f6b ALSA: hda/realtek: GA503 use same quirks as GA401
f2b75e357816 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
2136ecfcf3d9 ALSA: usb-audio: More constifications
adba683c573d ALSA: usb-audio: Explicitly set up the clock selector
93588ea2fbd4 ALSA: sb: Fix two use after free in snd_sb_qsound_build
1666f1ac383f ALSA: hda/conexant: Re-order CX5066 quirk table entries
b53b72ef83ff ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
a65181cfd953 s390/archrandom: add parameter check for s390_arch_random_generate
ef00a39e2c78 scsi: libfc: Fix a format specifier
02c13900477c mfd: arizona: Fix rumtime PM imbalance on error
0d0e6dbd5fca scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
0756818b4d3b scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
f67fc8095bbe scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
82bc134b93b5 drm/amdgpu: fix NULL pointer dereference
4b65414ea416 amdgpu: avoid incorrect %hu format string
443fdd7b4bc3 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
c49981759450 drm/msm/mdp5: Do not multiply vclk line count by 100
336e7e758640 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
b56ad4febe67 sched/fair: Ignore percpu threads for imbalance pulls
53995be39f93 media: gscpa/stv06xx: fix memory leak
3a855efb5426 media: dvb-usb: fix memory leak in dvb_usb_adapter_init
4ca05c0e04d5 media: platform: sti: Fix runtime PM imbalance in regs_show
47be6867d2d0 media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
f6b97476053d media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
cc265fb8e549 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
48304f37ce81 media: adv7604: fix possible use-after-free in adv76xx_remove()
b76249a0a64e media: tc358743: fix possible use-after-free in tc358743_remove()
b25324cf16f5 power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
ac22a96c7388 power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
e0be54070ba1 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
330753d38f26 media: vivid: update EDID
71b75e6e2410 media: em28xx: fix memory leak
cfb42c1bcce8 scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
1a22a9fde806 scsi: smartpqi: Add new PCI IDs
7973764b5454 scsi: smartpqi: Correct request leakage during reset operations
7d77ac088fd7 ata: ahci: Disable SXS for Hisilicon Kunpeng920
1f3daf672a13 mmc: sdhci-pci: Add PCI IDs for Intel LKF
40fdaa2d149b scsi: qla2xxx: Fix use after free in bsg
2cb8ce1d79d3 drm/vkms: fix misuse of WARN_ON
3f67d5b6f943 scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
48425948d2b6 drm/amd/display: fix dml prefetch validation
cd148571eab0 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
e81f4da43b1d drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
0c0356ef2498 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
888b482dbe26 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
8d802ad28f9c power: supply: Use IRQF_ONESHOT
bc73cb52997d media: gspca/sq905.c: fix uninitialized variable
bec3831f5108 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
20065ae0056a extcon: arizona: Fix various races on driver unbind
32990455bd12 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
22ee443ac784 power: supply: bq27xxx: fix power_avg for newer ICs
5bc128a16333 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
e18cee768a6e media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
a2e71d2d797d media: ite-cir: check for receive overflow
78829d2ec594 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
a27784943a96 scsi: lpfc: Fix pt2pt connection does not recover after LOGO
52d2b4370a9d scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
2b847dc1f662 drm/amd/display: Don't optimize bandwidth before disabling planes
84b03026cccc drm/amd/display: Check for DSC support instead of ASIC revision
bbf11337ded8 drm/qxl: release shadow on shutdown
a7d964da5d17 drm: Added orientation quirk for OneGX1 Pro
567c83104471 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
3260434687cc platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
229d2c12f1eb crypto: omap-aes - Fix PM reference leak on omap-aes.c
5c411b92439d crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
e6d5c66737a9 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
e7138a6d6a4d phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
349f95248bce intel_th: Consistency and off-by-one fix
86f4ac7ca448 tty: n_gsm: check error while registering tty devices
665dbcf35508 usb: core: hub: Fix PM reference leak in usb_port_resume()
b8035ac2ad08 usb: musb: fix PM reference leak in musb_irq_work()
972639ed7b90 spi: qup: fix PM reference leak in spi_qup_remove()
0adc0e0c87ff spi: omap-100k: Fix reference leak to master
d6aa2fcd8566 spi: dln2: Fix reference leak to master
99569ac2e97c xhci: fix potential array out of bounds with several interrupters
99c82db050ae xhci: check control context is valid before dereferencing it.
6f34d2ab34ed usb: xhci-mtk: support quirk to disable usb2 lpm
d95748f23084 perf/arm_pmu_platform: Fix error handling
fe53f8fd64d7 tee: optee: do not check memref size on return from Secure World
dda2bc82891c x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
ee68dd4e502f PCI: PM: Do not read power state in pci_enable_device_flags()
52b4b9d250d4 usb: xhci: Fix port minor revision
c13c8354fd58 usb: dwc3: gadget: Ignore EP queue requests during bus reset
9f3c7e0074b7 usb: gadget: f_uac1: validate input parameters
a10fb8a1c70a usb: gadget: f_uac2: validate input parameters
a629f6bc034a genirq/matrix: Prevent allocation counter corruption
1b2207a19664 usb: webcam: Invalid size of Processing Unit Descriptor
4cc65c749d58 usb: gadget: uvc: add bInterval checking for HS mode
28da0edb56ae crypto: qat - fix unmap invalid dma address
69f1a9702d3f crypto: api - check for ERR pointers in crypto_destroy_tfm()
8ac79bdcc0c4 spi: ath79: remove spi-master setup and cleanup assignment
4d6a20917fda spi: ath79: always call chipselect function
e24b9cded4bc staging: wimax/i2400m: fix byte-order issue
ce64f57a0fe0 bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
4928d3b02083 fbdev: zero-fill colormap in fbcmap.c
1c5cb86cdd7f posix-timers: Preserve return value in clock_adjtime32()
e07d0fd8d64f intel_th: pci: Add Rocket Lake CPU support
b6635915a3c3 btrfs: fix metadata extent leak after failure to create subvolume
93f3339b22ba cifs: Return correct error code from smb2_get_enc_key
e7ea8e46e3b7 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
13b0a28e6fef modules: inherit TAINT_PROPRIETARY_MODULE
cd5a738e28ac modules: return licensing information from find_symbol
c4698910a9af modules: rename the licence field in struct symsearch to license
7500d4999431 modules: unexport __module_address
ad6d414703d7 modules: unexport __module_text_address
86de29b833e6 modules: mark each_symbol_section static
79100b191e71 modules: mark find_symbol static
6e38daf2e5db modules: mark ref_module static
909a01b95120 mmc: core: Fix hanging on I/O during system suspend for removable cards
c80524b9e418 mmc: core: Set read only for SD cards with permanent write protect bit
42998c98ce9f mmc: core: Do a power cycle when the CMD11 fails
1b45fcf11d28 mmc: block: Issue a cache flush only when it's enabled
2fb68f705c56 mmc: block: Update ext_csd.cache_ctrl if it was written
4e438ff2d967 mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
698df555cc5f mmc: sdhci: Check for reset prior to DMA address unmap
0d8941b9b2d3 mmc: uniphier-sd: Fix a resource leak in the remove function
06e48bb631d3 mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
21171ede4337 scsi: mpt3sas: Block PCI config access from userspace during reset
77509a238547 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
e45acaddd64b spi: spi-ti-qspi: Free DMA resources
c57af0be7722 erofs: add unsupported inode i_format check
49fc21a47e93 mtd: rawnand: atmel: Update ecc_stats.corrected counter
3ef6813bb3a4 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
fd1772305002 ecryptfs: fix kernel panic with null dev_name
e057164f8731 arm64: dts: mt8173: fix property typo of 'phys' in dsi node
527edae13d24 arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
34ae75d699fd ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
0b641b25870f ftrace: Handle commands when closing set_ftrace_filter file
6a4f786f8eb5 ACPI: custom_method: fix a possible memory leak
72814a94c38a ACPI: custom_method: fix potential use-after-free issue
b691331218d0 s390/disassembler: increase ebpf disasm buffer size
(From OE-Core rev: 1eae221b25018bc1007748bf0465ff21cc7af7a5)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4d4609d4bb709db887b5302077f89a14c05b1edc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
b5dbcd05792a Linux 5.4.117
0ee3bfc2c31e vfio: Depend on MMU
b246759284d6 perf/core: Fix unconditional security_locked_down() call
a1e6a0d1e6cf ovl: allow upperdir inside lowerdir
8198962021fd scsi: ufs: Unlock on a couple error paths
91aa2644a3ab platform/x86: thinkpad_acpi: Correct thermal sensor allocation
164f74391822 USB: Add reset-resume quirk for WD19's Realtek Hub
5922dfc42ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
314192f055d9 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
6cede11149bf perf ftrace: Fix access to pid in array when setting a pid filter
ad4659935e11 perf data: Fix error return code in perf_data__create_dir()
cbc6b467610c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
c7166a529e2b avoid __memcat_p link failure
8ba25a9ef9b9 bpf: Fix leakage of uninitialized bpf stack under speculation
53e0db429b37 bpf: Fix masking negation logic upon negative dst register
b0c8fe7ef797 iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
43b515c52942 igb: Enable RSS for Intel I211 Ethernet Controller
354520d3ea81 net: usb: ax88179_178a: initialize local variables before use
55714a57f369 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
b3041510f0fc ACPI: tables: x86: Reserve memory occupied by ACPI tables
91b08c5319a5 mips: Do not include hi and lo in clobber list for R6
(From OE-Core rev: 494b2200aea140b5241a181a5a16529df1f17177)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was mentioned that when developing a BSP, the information about what
definition was used, or what fragments have been applied is not obvious
and requires looking at the code.
With this change, we can trigger a full summary of the meta data gathering
phase when KCONF_AUDIT_LEVEL > 0.
Sample output follows:
NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
NOTE: kernel meta data summary for qemux86-64 (standard):
NOTE:
======================================================================
NOTE: BSP entry point / definition:
/build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
NOTE: Fragments from SRC_URI:
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
NOTE: KERNEL_FEATURES: features/nfsd/nfsd-enable.scc
features/debug/printk.scc features/kernel-sample/kernel-sample.scc
features/netfilter/netfilter.scc cfg/virtio.scc
features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
features/scsi/scsi-debug.scc features/gpio/mockup.scc
features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
NOTE: Final scc/cfg list:
/build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
/poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
features/nfsd/nfsd-enable.scc features/debug/printk.scc
features/kernel-sample/kernel-sample.scc
features/netfilter/netfilter.scc cfg/virtio.scc
features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
features/scsi/scsi-debug.scc features/gpio/mockup.scc
features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
(From OE-Core rev: 8c299837622795408f4e4a9e8c2b3b3d6f409acd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
syslog.cfg is added to the list of sources for busybox
independent of the VIRTUAL-RUNTIME_base-utils-syslog variable. So even
if VIRTUAL-RUNTIME_base-utils-syslog being set e.g. to empty, syslogd will
be enabled. So only include syslog.cfg in SRC_URI if
VIRTUAL-RUNTIME_base-utils-syslog is set to busybox-syslog.
(From OE-Core rev: e990a9ec5d6eaf2c328d61c4de73ea6c270cfa15)
Signed-off-by: Volker Vogelhuber <v.vogelhuber@digitalendoscopy.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The preferred methods for CVE resolution are:
1. Version upgrades where possible
2. Patches where not possible
3. Database updates where version info is incorrect
4. Exclusion from checking where it is determined that the CVE
does not apply to our environment
In some cases none of these methods are possible. For example the
CVE may be decades old with no apparent resolution, and with broken
links that make further research impractical. Some CVEs are vauge
with no specific action the project can take too.
This patch creates a mechanism for users to remove this type of
CVE from the cve-check results via an optional include file.
Based on an initial patch from Steve Sakoman <steve@sakoman.com>
but extended heavily by RP.
(From OE-Core rev: c93d541a84ce4f9ed52b7aee0a59857957ea0380)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cf282ae03db3f09df42dcd110d7086c2d854642c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream database uses both "expat" and "libexpat" to report CVEs
(From OE-Core rev: f89b497800fb3a3ecd77b7a868a02800b6c86d92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 706bdcaec5fd7c59d7877bbefa5ed4ce5b4f3da1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE relates to bad ownership of /var/log/cups, which we don't have.
(From OE-Core rev: 68ee8fd1ec0f09c6477578de40e1adfc7ba35027)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0792312f3637ec160d2ef90781a8cb1f75b84940)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.
Martin Jansa was able to find a reproducer of:
MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>
The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.
The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.
By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.
There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.
Also drop the stale entries if we are rewriting it.
(From OE-Core rev: 9039dd25e5d419dd1c60e1b27ff5f9d96c5b0fb5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63da9a4f889c5b0e41bc8ec08abe0acea1546479)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit dee41e92f0.
This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.
(From OE-Core rev: 37d71a7a290a24ee9f57a76725e27769588de0ca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab0a296607b58775e91948ba40956c666dbb1244)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the selected version if not available, bitbake will happily attempt
to build something else. This should be a loud warning not a small note.
(Bitbake rev: 078f3164dcb1de7a141bec3a8fd52631d0362631)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 78cd63285713fde59506eb2e71a7b7ee59a594ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
runtest return an error due to missing expect on the target.
Add expect as runtime dependency.
(From OE-Core rev: 381a5f3e409504b2a31710d971eef58346339ae4)
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.4:
qemuppc32: reduce serial issues seen on shutdown
Richard reported:
We've been seeing a lot of the qemuppc shutdown issue and I decided to
look into it. The really worrying thing looking at the logs locally is the
serial ports are showing irq issues and becoming disabled as nobody would
handle them.
Errors like:
[ 9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
[ 9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
[ 9.202283] Call Trace:
[ 9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
[ 9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
[ 9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
[ 9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
[ 9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
[ 9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
[ 9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
[ 9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
[ 9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
[ 9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
[ 9.237288] LR = __setup_irq+0x790/0x838
[ 9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
[ 9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
[ 9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
[ 9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
[ 9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
[ 9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
[ 9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
[ 9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
[ 9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
[ 9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
[ 9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
[ 9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
[ 9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
[ 9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
[ 9.292620] --- interrupt: c01 at 0xfec3738
[ 9.292620] LR = 0xfec36e0
[ 9.299035] handlers:
[ 9.302312] [<7f7f7da8>] pmz_interrupt
[ 9.305541] Disabling IRQ #36
(and the irqpoll option does not help)
This is problematic as the shutdown test uses the serial interface to
shut down the system. If the serial interface fails to login or run the command,
game over for the test.
CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
any output or capabilities that we need. So we disable it here, and
reduce the chances of issues during shutdown.
(From OE-Core rev: 9ee0f43414a121487fc3310f4d5635b09aa3e117)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.
(From OE-Core rev: 501cd3063af388dabd3329d2e69ac218ffd62a9e)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e332738a8aae0914c58b40faae8b9d7a82fd6a95)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.
(From OE-Core rev: 753e6510df01fb4d71f46639bef06e1361f87170)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.
(From OE-Core rev: 9c0b242856de519c58be179f82441a35fc635ad9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 396a3ba884820d040c91f7592daf20ac28c49b5d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.
One of these cases was newly added, copied from the other which has
been there for a long time, always broken.
(From OE-Core rev: 8f24a7b35861b6aec39bc8d589e090ea9816732c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b8995b27db265b0a0b2d2ca595915f70f9f96e07)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.
Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.
(From OE-Core rev: 57249316b6c66c5e17804e1b04f2d5cf0db92683)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e19f31a1005f94105e1cef252abfffcef2aafad)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects Debian and SUSE.
(From OE-Core rev: 760cc905fda18ee73ff3698a117f8841d3823b65)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72522fa1a5f3b9b2855043fe6b421886d641385f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects windows.
(From OE-Core rev: 9b214d503f3237fa7cd96c20686e610b09994823)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a90d3b056992346003d96765fc8639f5235cca55)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.
(From OE-Core rev: 256f6be93eed82c7db8a76b1038e105331c0009f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3874da694ae1d9de06dd003bd80705205e2b033b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs are fixed with kernel changes and don't affect the bluez recipe.
(From OE-Core rev: d7779a9d58b088ce078956af4fdc0325d8c03c35)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 658902477840ea34d414083c4c79616bf5e999a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.
(From OE-Core rev: 829296767ecfbd443d738367b7146a91506e25f2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8556d6a6722f21af5e6f97589bec3cbd31da206c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue applies to use of cpio in SUSE/OBS, doesn't apply to us.
(From OE-Core rev: 0f759992b7713e9664a4276a068a65f5e638fe33)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915b38c54a7932744a9f56713d1c6bd00a789331)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch mentioned as the fix for the CVE is applied to the 6.0 source
code. Zip versioning makes CPE entry changes hard.
(From OE-Core rev: 4ff9d2c57d9cade1faa3916f171e5ad96ee32487)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8917e5ae2bb44d017fc0155f16632c5decadb0bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE only applies to some distributed RHEL binaries so irrelavent to us.
(From OE-Core rev: 44d477b1cadc3e48c0a902123736fdf3bf2b412c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We don't build/use the OPIE PAM module, exclude the CVE from this recipe.
(From OE-Core rev: d55474025a4518c674d9781c4c3b1ce5d6389466)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3670be602f2ace24dc49e196407efec577164050)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.
(From OE-Core rev: 99cb9534902717e637f1460c1d1c10d290bbebf2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 23643016f3b8794db772e333ff0b8f598571b628)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.
(From OE-Core rev: d18ba3735ff3438ebd60b680e6bae5227c85bccb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The issues were investigated and found not to be an issue therefore
exclude from checks.
(From OE-Core rev: 05f39301ab19a968916163b2d8f65beda7c09852)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ee6ee9bd489c126b99d15c1011560df2f840a6e9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE applies to the built-in VNC server but we don't enable this by default.
(From OE-Core rev: f0e0787265d9d8bd01629f2b56a0eb57d950c037)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The CVE applies to virglrender before 0.6.0 which we don't have.
(From OE-Core rev: 559ed3e62e542b7a4456a9a4eef8742ce8521dfb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9b5355375d028577de0b98e05992de6a088cb972)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.
(From OE-Core rev: 2afbfc1eb6bc7613da4a7f06ac267ea561b5470e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b238db678083cc15313b98d2e33f83cccab03fc6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We no longer have a recipe for 5.0% in dunfell (and never did).
(From meta-yocto rev: d8bdb69e6bd7b52cf047cd6be406bf632a600a58)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Both don't seem to be reproducible with fedora 33
(From OE-Core rev: 55dc503f4ab33e2aa51a3a6e4003131e0b9355ff)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.
(From OE-Core rev: e9c8f43296552b43376d87fb291458731fb7f718)
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>
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.
[YOCTO #14163]
(From OE-Core rev: 3c59989b7a09f412704f90480c3726a0cb7df746)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 38b36d2b90d570149e63816e68f457aea28a5092)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.
(From OE-Core rev: 690e368ae06a461fb21b4eee1b78fb637279bbfe)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 62c94bb925543c1e1c5af3c751913d9f06d9597d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:
PKG TASK ABSDIFF RELDIFF CPUTIME1 -> CPUTIME2
my-image do_image -45.3s -94.2% 48.1s -> 2.8s
Cumulative cputime:
-44.3s -92.3% 00:48.1 (48.1s) -> 00:03.7 (3.7s)
(From OE-Core rev: 2538a566f01f79537f8a94d93ac02588d6c239ec)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 15c65f90a3aa1e98c2beab2539403157df1fca08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:
akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)
This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio
(From OE-Core rev: a150f6fba94518509ee80869ffbfb973c1283e3b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e9850486b74a3de934527ca1077df001d3a8d22)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:
File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno
(From OE-Core rev: 0f4531275c1e332de81b31b89e52f588fc34b14a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 87884d9938829d5ae5d250f483c749e00cd83322)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With kernel v5.8+ and gcc10 plugins, we can run into the following build error:
HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
In file included from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10:
fatal error: gmp.h: No such file or directory
687 | #include <gmp.h>
| ^~~~~~~
(From OE-Core rev: 51a09f99127a90716b22a48a221838e6af1a617f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cb055446e0fe4771c8bd6122e79d43ef8db2e45b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When doing the perf python3 conversion, the audit-python RDEPENDS
was caught up in the regex replacement and was incorrectly changed.
The audit recipe continues to produce a package called audit-python
and it is that package we should have as a RDEPENDS.
(From OE-Core rev: 489541edb82b0d3de68f60b38e7465b2f5511ec0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host
(From OE-Core rev: 1eaa291f6a29eff76b717d90eae2d4896c9430ff)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
NOTE: No Kernel Modules found, not running depmod
(From OE-Core rev: e198806404472a10230086b54544d83077381d19)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9c13ce05eae0f126eb150e48709e9bd06e9280fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.
[YOCTO #14360]
(From OE-Core rev: 6c4355cd13ae47c327ddc5e9b66623e44ba5b118)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b71d30aef5dc2c360432c0dd4147859dd303ea48)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Prior work has refactored the do_install task multiple times, and any
references to PKGV and PKGR (even indirect ones) have been removed.
(From OE-Core rev: d2fe8c5861283ff4a4bd18239a61eb6745b7f696)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36fe4db8ae827a93abe9fce6740459d215411965)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This only affects glibc systems and have been
found on runqemu core-image-minimal with gstreamer ptest-runner
STOP: ptest-runner
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted
(From OE-Core rev: b7435fae07c7f6859e951d4796486b4cc65d44bc)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1cb679e6a4528a2cef16f65342d5e65adb14cb16)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
370636ffbb86 Linux 5.4.116
e23967af130b bpf: Update selftests to reflect new error states
ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask
4dc6e55e282f bpf: Move sanitize_val_alu out of op switch
876d1cec9369 bpf: Refactor and streamline bounds check into helper
4158e5fea3b1 bpf: Improve verifier error messages for users
15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path
f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types
4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu
19bfeb47e96b Linux 5.4.115
af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance
d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression
699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64
763cbe5e1ebb ia64: fix discontig.c section mismatches
3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error
892f6bc55746 cavium/liquidio: Fix duplicate argument
2ccca124620e xen-netback: Check for hotplug-status existence before watching
78687d6a3213 s390/entry: save the caller of psw_idle
026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header
caaf9371ecad ARM: dts: Fix swapped mmc order for omap3
be60afbb9136 HID: wacom: Assign boolean values to a bool variable
116ee59ef886 HID: alps: fix error return code in alps_input_configured()
a4e2b91cea52 HID: google: add don USB id
aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference
39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community
dbb355960ef9 gpio: omap: Save and restore sysconfig
835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied
(From OE-Core rev: 8dd9cfc0f95366b1ca7fca981d4ae238b6dcb92c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 667352cc46429f3d8eca12cf93c26be2d26e5d74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a7eb81c1d11a Linux 5.4.114
3822683fd101 net: phy: marvell: fix detection of PHY on Topaz switches
cec3b778f70f ARM: 9071/1: uprobes: Don't hook on thumb instructions
4f0cda5e9e62 r8169: don't advertise pause in jumbo mode
c5934da725bb r8169: tweak max read request size for newer chips also in jumbo mtu mode
50b7a68664dc r8169: improve rtl_jumbo_config
cbbd3e2a2e7c r8169: fix performance regression related to PCIe max read request size
0243bb394186 r8169: simplify setting PCI_EXP_DEVCTL_NOSNOOP_EN
c667953d6433 r8169: remove fiddling with the PCIe max read request size
b14992c96274 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
871b569a3e67 ARM: footbridge: fix PCI interrupt mapping
9a7ac9afc8d7 gro: ensure frag0 meets IP header alignment
fde195c03bff ibmvnic: remove duplicate napi_schedule call in open function
c591bbaae545 ibmvnic: remove duplicate napi_schedule call in do_reset function
c6acd7d19124 ibmvnic: avoid calling napi_disable() twice
2bc14f5eca10 i40e: fix the panic when running bpf in xdpdrv mode
51edda8a6334 net: ip6_tunnel: Unregister catch-all devices
92f93a03cef0 net: sit: Unregister catch-all devices
4fcbb1fa2703 net: davicom: Fix regulator not turned off on failed probe
01fb1626b620 netfilter: nft_limit: avoid possible divide error in nft_limit_init
e65cd80558e5 net: macb: fix the restore of cmp registers
6449b405f99a netfilter: arp_tables: add pre_exit hook for table unregister
ce23be37ecac netfilter: bridge: add pre_exit hooks for ebtable unregistration
61ca5b653220 libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
4ce8e86d125d netfilter: conntrack: do not print icmpv6 as unknown via /proc
5f6c1a81713e scsi: libsas: Reset num_scatter if libata marks qc as NODATA
7779f84e4677 riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
ec3bb712fb62 vfio/pci: Add missing range check in vfio_pci_mmap
9e8c5e3d8279 arm64: alternatives: Move length validation in alternative_{insn, endif}
b7d15166c1d1 arm64: fix inline asm in load_unaligned_zeropad()
b9956950f23c readdir: make sure to verify directory entry for legacy interfaces too
ff821c7ce913 dm verity fec: fix misaligned RS roots IO
804607635cc1 HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
b428063fb310 Input: i8042 - fix Pegatron C15B ID entry
995503dd6546 Input: s6sy761 - fix coordinate read bit shift
7a2ac9ed8cf6 virt_wifi: Return micros for BSS TSF values
bd7e90c82850 mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
f666567a51fb pcnet32: Use pci_resource_len to validate PCI resource
9e249bc38a48 net: ieee802154: forbid monitor for add llsec seclevel
7a7899eaaeb8 net: ieee802154: stop dump llsec seclevels for monitors
fc5f9c33edb5 net: ieee802154: forbid monitor for del llsec devkey
63581374638b net: ieee802154: forbid monitor for add llsec devkey
0d5ee2ee9ab2 net: ieee802154: stop dump llsec devkeys for monitors
6c8caf78304f net: ieee802154: forbid monitor for del llsec dev
c993c05b9d48 net: ieee802154: forbid monitor for add llsec dev
f9d7088d385c net: ieee802154: stop dump llsec devs for monitors
178ddee28d53 net: ieee802154: forbid monitor for del llsec key
5d025404d513 net: ieee802154: forbid monitor for add llsec key
d8b4f3a9d732 net: ieee802154: stop dump llsec keys for monitors
e16998019358 scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
f0268d35305d ASoC: fsl_esai: Fix TDM slot setup for I2S mode
d60837aa64be drm/msm: Fix a5xx/a6xx timestamps
01e86da75c18 ARM: omap1: fix building with clang IAS
4f02dc4d360f ARM: keystone: fix integer overflow warning
f3183866b3da neighbour: Disregard DEAD dst in neigh_update
1cf8b48a4de2 ASoC: max98373: Added 30ms turn on/off time delay
47d04c039915 arc: kernel: Return -EFAULT if copy_to_user() fails
68bd0d8ab19e lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
6ffc9f854d23 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
4609d27ca6e4 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
09db44ad36b0 dmaengine: dw: Make it dependent to HAS_IOMEM
5130cda3cb1f gpio: sysfs: Obey valid_mask
2dce5702ef05 Input: nspire-keypad - enable interrupts only when opened
6180d2274b17 net/sctp: fix race condition in sctp_destroy_sock
304c21786b01 scsi: qla2xxx: Fix fabric scan hang
ca0188d396cd scsi: qla2xxx: Fix stuck login session using prli_pend_timer
c393c7f77cf8 scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport
ad66dc6d8830 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
8b5e82aea7b3 scsi: qla2xxx: Fix device connect issues in P2P configuration
8eed34d3c444 scsi: qla2xxx: Dual FCP-NVMe target port support
33beb0e6c244 Revert "scsi: qla2xxx: Fix stuck login session using prli_pend_timer"
94ac0a8866c4 Revert "scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure"
ab3bed80f9d3 Linux 5.4.113
94371b6c5553 xen/events: fix setting irq affinity
4ea6097986c4 perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
d462247bb274 perf tools: Use %zd for size_t printf formats on 32-bit
2715a4c0dc34 perf tools: Use %define api.pure full instead of %pure-parser
799f02f0dfc4 driver core: Fix locking bug in deferred_probe_timeout_work_func()
cc59b872f2e1 netfilter: x_tables: fix compat match/target pad out-of-bound write
8119a2b42028 block: don't ignore REQ_NOWAIT for direct IO
2d71bffbe9a0 riscv,entry: fix misaligned base for excp_vect_table
90b71ae8e5cf idr test suite: Create anchor before launching throbber
b9299c2bf554 idr test suite: Take RCU read lock in idr_find_test_1
cde89079ce46 radix tree test suite: Register the main thread with the RCU library
f5b60f26e36b block: only update parent bi_status when bio fail
5b8f89685a9a drm/tegra: dc: Don't set PLL clock to 0Hz
db162d8d7d08 gfs2: report "already frozen/thawed" errors
3c89c7240412 drm/imx: imx-ldb: fix out of bounds array access warning
e1ff1c6bbe4b KVM: arm64: Disable guest access to trace filter controls
2012f9f75444 KVM: arm64: Hide system instruction access to Trace registers
cc678e2f372e interconnect: core: fix error return code of icc_link_destroy()
(From OE-Core rev: fddf3e91bdeb4cb08d9abaa8b6c9ab1b95a4d729)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a24b8651365b333e903b317ad969ba8adfed28c4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
drop changes to changelog file in the patch so it can be backport.
(From OE-Core rev: c955d1fc332b8c0a931ffa4a068844981406ae8a)
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>
Gitsm fetcher crashes when cloning a repository that contains LFS files.
This happens because the unpack method is called during download, but the
submodules have not been downloaded yet at this point.
This issue was introduced in this
commit: 977b7268bf
[YOCTO #14283]
(Bitbake rev: b4acaa314cd8bc86c50e14464ff01c2d110122c4)
Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e05d79a6ed92c9ce17b90fd5fb6186898a7b3bf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In a multiconfig situation there are circumstances where firstly, tasks
are deferred when they shouldn't be, then later, tasks can end up as
both covered and not covered.
This patch fixes two related issues. Firstly, the stamp validity checking
is done up front in the build and not reevaulated. When rebuilding the
deferred task list after scenequeue hash change updates, we need therefore
need to check if a task was in notcovered *or* covered when deciding to
defer it. This avoids strange logs like:
NOTE: Running setscene task X of Y (mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch_setscene)
NOTE: Deferring mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch after mc:host:/A/alsa-state.bb:do_deploy_source_date_epoch
where tasks have run but are then deferred.
Since we're recalculating the whole list, we also need to clear it before
iterating to rebuild it. By ensuring covered tasks aren't added to the
deferred queue, the covered + notcovered issue should also be avoided.
in the task deadlock forcing code.
[YOCTO #14342]
(Bitbake rev: fa068b5a3430b1b580cacfaf9011cdc3324d5844)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For some reason several git-annex files in Debian 10 buster
are read-only and removing them with "rm -rf" fails.
Fixes test failures like:
$ bitbake-selftest
...
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
EE..................................ssss.sssssssssssssss.sssss.......................................................................................................
======================================================================
ERROR: test_shallow_annex (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1773, in test_shallow_annex
fetcher, ud = self.fetch_shallow(uri)
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1541, in fetch_shallow
bb.utils.remove(ud.clonedir, recurse=True)
File "/home/builder/src/base/poky/bitbake/lib/bb/utils.py", line 700, in remove
subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource']' returned non-zero exit status 1.
Also, one "chmod" call was failing since the .git/annex subdirectory doesn't exist so just chmod
the whole temporary directory which should cover any directory name differences between
different git-annex versions. Fixes tests failing after chmod call:
Running 'export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; chmod u+w -R /tmp/tmpwmfn4w64/git//.git/annex' in /tmp/tmpwmfn4w64/git/
(Bitbake rev: 1fae1c812138f35c35ea4c0586e21f022524c5f1)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A CI user validating changes does not have any git push rights or
even a .gitconfig file so fix tests so that they run
by setting the user.name and user.email for the repo before
committing changes.
Fixes errors like:
ERROR: test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 2055, in test_that_unpack_throws_an_error_when_the_git_clone_no
r_shallow_tarball_exist
self.add_empty_file('a')
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1562, in add_empty_file
self.git(['commit', '-m', msg, path], cwd)
File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1553, in git
return bb.process.run(cmd, cwd=cwd)[0]
File "/home/builder/src/base/poky/bitbake/lib/bb/process.py", line 184, in run
raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -m a a' failed with exit code 128:
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
(Bitbake rev: e341afcce40edf8078661630af1e0a780e8c1910)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Link to the canonical filename of a license as only this one exists.
Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].
(From OE-Core rev: 834a8e357bc999a0163e7c5bafbcc1a8816448d4)
Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.
Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.
This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.
(From OE-Core rev: 886752b6877438c16b1f27b3b05798498026e645)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When compiling xilinx-zynq board linux-kernel-dev(v5.8) if
"GCC_PLUGINS=y", The following error will appear:
"HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
fatal error: gmp.h: No such file or directory"
the GCC_PLUGINS depend on return result of gcc-plugin.sh execution
however in gcc-plugin.sh use HOSTCC to detect the feature of GNU
extension of gcc, this will result that HOSTCC can compile the file
successfully, but HOSTCXX is used in the actual compilation process.
(From OE-Core rev: 9a14fb4aefb3a0bad1d1a98f44eaa10177737e04)
Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the sequence that didn't properly operate:
- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case
Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.
(From OE-Core rev: 79d216817c16237a9d660fc7956bf782ff60c65a)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.
This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.
(From OE-Core rev: d004c39ae70077c2c6f59afcfdecb6e9378cf692)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Recently an entry in the NVD DB appeared that looks like that
{'vulnerable': True, 'cpe_name': []}.
As besides all the vulnerable flag no data is present we would get
a KeyError exception on acccess.
Use get method on dictionary and return if no meta data is present
Also quit if the length of the array after splitting is less than 6
(From OE-Core rev: 45148918628ba797755f3cbb52f065ec6dbbcfd2)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00ce2796d97de2bc376b038d0ea7969088791d34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.
d7fd0213b75 base: exclude some BT options as non-hardware
(From OE-Core rev: 2cc9e06807026b86038db88c2175c626feadc0be)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a86c8251905baf5bf4714f3db01cdfae02383839)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a49e5ea5e045 Linux 5.4.111
45f540622d5b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
43dd03f08819 init/Kconfig: make COMPILE_TEST depend on !S390
f5eb7e12a75d nvme-mpath: replace direct_make_request with generic_make_request
6cce30548058 bpf, x86: Validate computation of branch displacements for x86-32
a0b3927a07be bpf, x86: Validate computation of branch displacements for x86-64
20c60bbc1c54 cifs: Silently ignore unknown oplock break handle
754c82a6bf48 cifs: revalidate mapping when we open files for SMB1 POSIX
e5991b4fcedb ia64: fix format strings for err_inject
3e9292b39862 ia64: mca: allocate early mca with GFP_ATOMIC
9b872bac1923 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
e2db0e66139a x86/build: Turn off -fcf-protection for realmode targets
0465098898ef platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
5a8c30e8acad netfilter: conntrack: Fix gre tunneling over ipv6
e84a795b8a0b drm/msm: Ratelimit invalid-fence message
daf5aaa8e6e0 drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
6abe3dad0afe mac80211: choose first enabled channel for monitor
37b51460b25a mISDN: fix crash in fritzpci
901d39f7b2ce net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
dc7c4d30d6e0 net/mlx5e: Enforce minimum value check for ICOSQ size
b0e2b3271236 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
e5868baa1e3c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
422c68101110 bus: ti-sysc: Fix warning on unbind if reset is not deasserted
bec7103b04a9 ARM: dts: am33xx: add aliases for mmc interfaces
59c8e3329268 Linux 5.4.110
cde4e338c2b2 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
0ca13611d33f staging: rtl8192e: Change state information from u16 to u8
f9974f189c67 staging: rtl8192e: Fix incorrect source in memcpy()
fd5ce87aee48 usb: dwc2: Prevent core suspend when port connection flag is 0
85e1752ae0ed usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
26d2284a0580 usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
25c13ca8302f USB: cdc-acm: fix use-after-free after probe failure
b5aedddb621e USB: cdc-acm: fix double free on probe failure
7220bba3066e USB: cdc-acm: downgrade message to debug
62da51d0e7b7 USB: cdc-acm: untangle a circular dependency between callback and softint
7443350af8cb cdc-acm: fix BREAK rx code path adding necessary calls
58cace45f84b usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
a22e35f7b4fb usb: musb: Fix suspend with devices connected for a64
e94dec2765b5 USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
2ecf5803557b usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
5ecfad1efbc3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
58073dc536a6 extcon: Fix error handling in extcon_dev_register
e3a3d5005e63 extcon: Add stubs for extcon_register_notifier_all() functions
67ff75be1ab1 pinctrl: rockchip: fix restore error in resume
c92e8a8ecb9d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
7f93d47677dd reiserfs: update reiserfs_xattrs_initialized() condition
4dc52ce56d63 drm/amdgpu: check alignment on CPU page for bo map
f9b3b70fd468 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
00bd9c22409e mm: fix race by making init_zero_pfn() early_initcall
558ab52776c0 tracing: Fix stack trace event size
07b19a118d2f PM: runtime: Fix ordering in pm_runtime_get_suppliers()
72a667681cc4 PM: runtime: Fix race getting/putting suppliers at probe
b6e7dbf0ed9c xtensa: move coprocessor_flush to the .text section
c3715f06f9ad ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
09a08fd89996 ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
3acbf473a885 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
65f92e40cc6d ALSA: hda: Re-add dropped snd_poewr_change_state() calls
05dd1a4223c5 ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
42c83e3bca43 bpf: Remove MTU check in __bpf_skb_max_len
aca623d79cb7 net: wan/lmc: unregister device when no matching device is found
f22854911523 appletalk: Fix skb allocation size in loopback case
4ff476b88135 net: ethernet: aquantia: Handle error cleanup of start on open
ee898d95f446 ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
0b8dfb61f29a brcmfmac: clear EAP/association status bits on linkdown events
2d0e594c1316 can: tcan4x5x: fix max register value
4ac1feff6ea6 net: introduce CAN specific pointer in the struct net_device
23394679aa56 can: dev: move driver related infrastructure into separate subdir
7ca4feb37e9e flow_dissector: fix TTL and TOS dissection on IPv4 fragments
ee5055593d0e net: mvpp2: fix interrupt mask/unmask skip condition
aa9345d10f0a ext4: do not iput inode under running transaction in ext4_rename()
5e39a73e47ef locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
84bd602c14b7 thermal/core: Add NULL pointer check before using cooling device stats
50c38f76b51d ASoC: rt5659: Update MCLK rate in set_sysclk()
b6408fd7eb89 staging: comedi: cb_pcidas64: fix request_irq() warn
b9fe8673b874 staging: comedi: cb_pcidas: fix request_irq() warn
7390a1cdf304 scsi: qla2xxx: Fix broken #endif placement
6e79f829e791 scsi: st: Fix a use after free in st_open()
98052c40e3ac vhost: Fix vhost_vq_reset()
57aa4f30911a powerpc: Force inlining of cpu_has_feature() to avoid build failure
dcf4b6e710c7 NFSD: fix error handling in NFSv4.0 callbacks
990a0fa1ccbb ASoC: cs42l42: Always wait at least 3ms after reset
6d197691a1c5 ASoC: cs42l42: Fix mixer volume control
aa74bf73937c ASoC: cs42l42: Fix channel width support
47ae33d5b32b ASoC: cs42l42: Fix Bitclock polarity inversion
5952cf385ceb ASoC: es8316: Simplify adc_pga_gain_tlv table
381679aec216 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
57b8a192872a ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
b75073a37c65 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
ca3f8dcd6d94 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
c899b8391a54 rpc: fix NULL dereference on kmalloc failure
0e71c59b2450 fs: nfsd: fix kconfig dependency warning for NFSD_V4
9b68d3ed8aa8 ext4: fix bh ref count on error paths
721a6f64c0bc ext4: shrink race window in ext4_should_retry_alloc()
05d891e76dde module: harden ELF info handling
6a8df0821f67 module: avoid *goto*s in module_sig_check()
d9b98ccdfed0 module: merge repetitive strings in module_sig_check()
1a8c5fbe2f1d modsign: print module name along with error message
120589bb0970 ipv6: weaken the v4mapped source check
1225bb45c87b selinux: vsock: Set SID for socket returned by accept()
(From OE-Core rev: 744153aaf90600026e85e5d90ad6d26e33767988)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 199566a40671ac273028cb44d0bb4494be22c4aa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
4e85f8a712cd Linux 5.4.109
057dd3e6986b xen-blkback: don't leak persistent grants from xen_blkbk_map()
ce934540ff09 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
2638770e793b ext4: add reclaim checks to xattr code
92b9e3deffb6 mac80211: fix double free in ibss_leave
ae23957bd1fb net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
f7a962970001 net: dsa: b53: VLAN filtering is global to all users
f866d1fa48e4 can: dev: Move device back to init netns on owning netns delete
dfd6627c83dd x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
f989059cd22a locking/mutex: Fix non debug version of mutex_lock_io_nested()
1260d8dc2d66 scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
d31747705762 scsi: qedi: Fix error return code of qedi_alloc_global_queues()
063c3cfb264b scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
fdc61af371db block: recalculate segment count for multi-segment discards correctly
8ce9f6efa655 perf auxtrace: Fix auxtrace queue conflict
bc0b1a2036dd ACPI: scan: Use unique number for instance_no
b382f9d61609 ACPI: scan: Rearrange memory allocation in acpi_device_add()
cc578c3e612b Revert "netfilter: x_tables: Update remaining dereference to RCU"
19a5fb4ceada netfilter: x_tables: Use correct memory barriers.
c46cd29b89da Revert "netfilter: x_tables: Switch synchronization to RCU"
e74d46e69a45 bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
01398e024ba6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
78aafa0240bc PM: EM: postpone creating the debugfs dir till fs_initcall
f54b10114d63 net/mlx5e: Fix error path for ethtool set-priv-flag
fa4addf30c2c PM: runtime: Defer suspending suppliers
c82d289fe958 arm64: kdump: update ppos when reading elfcorehdr
8bf90e000c10 drm/msm: fix shutdown hook in case GPU components failed to bind
4fda26d2f7e1 libbpf: Fix BTF dump of pointer-to-array-of-struct
4f71aacd6c92 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
4ecf6d486e45 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
1f103ca31c51 r8152: limit the RX buffer size of RTL8153A for USB 2.0
048d0bf8ad19 net: cdc-phonet: fix data-interface release on probe failure
ecc62c3b1b57 octeontx2-af: fix infinite loop in unmapping NPC counter
7e9a48ceccae octeontx2-af: Fix irq free in rvu teardown
e15823801229 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
7722378c4a0a nfp: flower: fix pre_tun mask id allocation
060deac22f87 mac80211: fix rate mask reset
52cc7bad1275 can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
059c1996017d can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
e484616a9600 can: c_can: move runtime PM enable/disable to c_can_platform
4f71965ee897 can: c_can_pci: c_can_pci_remove(): fix use-after-free
42e49b3aa536 can: kvaser_pciefd: Always disable bus load reporting
e3ca9fbfcdf5 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
fb4a6ac4851a can: peak_usb: add forgotten supported devices
0a8046daba17 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
67319a8df5d3 netfilter: ctnetlink: fix dump of the expect mask attribute
c4dd0b36cce4 selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
9d06cabe3bf4 ftgmac100: Restart MAC HW once
81c591299da3 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
d00db63edd0a e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
9f02a5658413 e1000e: add rtnl_lock() to e1000_reset_task
71fa8051f2f4 igc: Fix Supported Pause Frame Link Setting
35d8a780fa2b igc: Fix Pause Frame Advertising
da8af444b325 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
267b79a11046 net: sched: validate stab values
76909a298ebb macvlan: macvlan_count_rx() needs to be aware of preemption
c6b6c7a92fe5 ipv6: fix suspecious RCU usage warning
40fa14bbe3fe net/mlx5e: Don't match on Geneve options in case option masks are all zero
e64e327c7fab libbpf: Fix INSTALL flag order
53f1483984bf veth: Store queue_mapping independently of XDP prog presence
f259a7fdeb12 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
e6587d142d02 dm ioctl: fix out of bounds array access when no devices
7b6944f18cec dm verity: fix DM_VERITY_OPTS_MAX value
752589cd4ea8 integrity: double check iint_cache was initialized
f3404a677770 ARM: dts: at91-sama5d27_som1: fix phy address to 7
1815a24b9483 arm64: dts: ls1043a: mark crypto engine dma coherent
7447c05e06c4 arm64: dts: ls1012a: mark crypto engine dma coherent
b6f866bbf7ca arm64: dts: ls1046a: mark crypto engine dma coherent
e980bd1f7f60 ACPI: video: Add missing callback back for Sony VPCEH3U1E
431aaecd24ac gcov: fix clang-11+ support
4748b6d56efe kasan: fix per-page tags for non-page_alloc pages
037ecab65eb6 squashfs: fix xattr id and id lookup sanity checks
79b8814d6765 squashfs: fix inode lookup sanity checks
5b1abfe7d620 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
599cbcda68ee netsec: restore phy power state after controller reset
8aa97ae0f5d9 ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
cb1504b30b6f ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
37732ea82e09 block: Suppress uevent for hidden device when removed
a2d07d077eb3 nfs: we don't support removing system.nfs4_acl
eed4e1abc997 nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
5fc284999c4a nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
526abcb05c61 nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
8cdbee05b83f drm/radeon: fix AGP dependency
5a0e3fcbeb5a drm/amdgpu: fb BO should be ttm_bo_type_device
fc8e4af4c3ef drm/amd/display: Revert dram_clock_change_latency for DCN2.1
6292d84c8af4 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
c45182707277 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
f59604786a48 habanalabs: Call put_pid() when releasing control device
694761bfdd76 sparc64: Fix opcode filtering in handling of no fault loads
11efb0cda655 irqchip/ingenic: Add support for the JZ4760
69423418c5eb cifs: change noisy error message to FYI
981ba9c9a529 atm: idt77252: fix null-ptr-dereference
6b2844ad7b17 atm: uPD98402: fix incorrect allocation
40d0a9297f83 net: davicom: Use platform_get_irq_optional()
b90de232a806 net: wan: fix error return code of uhdlc_init()
0da0f199e767 net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
ab60e4f5eb3a NFS: Correct size calculation for create reply length
785be28d360f nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
d605afb11945 gpiolib: acpi: Add missing IRQF_ONESHOT
f6c1da94ddb3 cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
1d2c9669135f cifs: ask for more credit on async read/write code paths
ec7ce1e337ec gianfar: fix jumbo packets+napi+rx overrun crash
7ef7d296b154 sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
d25f579ec557 net: intel: iavf: fix error return code of iavf_init_get_resources()
d4dd6de6fc90 net: tehuti: fix error return code in bdx_probe()
e224a789d4a6 ixgbe: Fix memleak in ixgbe_configure_clsu32
537653a0698b ALSA: hda: ignore invalid NHLT table
bd272f11a9d4 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
7a12167636bf atm: lanai: dont run lanai_dev_close if not open
fb0067fcda6a atm: eni: dont release is never initialized
614a4ba66854 powerpc/4xx: Fix build errors from mfdcr()
45c1ca3e5784 net: fec: ptp: avoid register access when ipg clock is disabled
d0f5726ab1df hugetlbfs: hugetlb_fault_mutex_hash() cleanup
b90344f7d600 Linux 5.4.108
819eb4d7a85e cifs: Fix preauth hash corruption
cf113ffd620d x86/apic/of: Fix CPU devicetree-node lookups
288be0ed9b36 genirq: Disable interrupts for force threaded handlers
b8ebe853abca firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
31e17169a116 efi: use 32-bit alignment for efi_guid_t literals
886dbe0e338b ext4: fix potential error in ext4_do_update_inode
2f65ae3a7ee3 ext4: do not try to set xattr into ea_inode if value is empty
474aab448436 ext4: find old entry again if failed to rename whiteout
de2e1603c125 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
076b60af926b x86: Move TS_COMPAT back to asm/thread_info.h
27ddd2b59045 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
f546965c3aac x86/ioapic: Ignore IRQ2 again
da326ba3b84a perf/x86/intel: Fix a crash caused by zero PEBS status
51a2b19b554c PCI: rpadlpar: Fix potential drc_name corruption in store functions
796fc331c3cf counter: stm32-timer-cnt: fix ceiling write max value
850ca1c0130a iio: hid-sensor-temperature: Fix issues of timestamp channel
31a2e804ad4a iio: hid-sensor-prox: Fix scale not correct issue
3fa27c8749cf iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
4458ae8d4001 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
a605c095bb46 iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
87163fbba6d2 iio: adis16400: Fix an error code in adis16400_initial_setup()
ed0625334b94 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
08414c498b4b iio:adc:stm32-adc: Add HAS_IOMEM dependency
b0a595269e62 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
4baade6fd6e5 usb: gadget: configfs: Fix KASAN use-after-free
c92aebf2b0f3 USB: replace hardcode maximum usb string length by definition
f89366164693 usbip: Fix incorrect double assignment to udc->ud.tcp_rx
251949ec9d95 usb-storage: Add quirk to defeat Kindle's automatic unload
81b56afc2841 nvme-rdma: fix possible hang when failing to set io queues
b891d41d01f4 counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
86fd6c0d22a5 scsi: myrs: Fix a double free in myrs_cleanup()
eb46392d329a scsi: lpfc: Fix some error codes in debugfs
1f925558e3f1 riscv: Correct SPARSEMEM configuration
7db8f3be034d kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
1dad483b1ebc net/qrtr: fix __netdev_alloc_skb call
f0b09d547713 sunrpc: fix refcount leak for rpc auth modules
3c57ea09365f vfio: IOMMU_API should be selected
b439aac77360 svcrdma: disable timeouts on rdma backchannel
d1ae8f16c223 NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
4c5fab560cb0 nfsd: Don't keep looking up unhashed files in the nfsd file cache
49545a7b8b30 nvmet: don't check iosqes,iocqes for discovery controllers
cf7d7728d8a5 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
36a4f9164cf6 nvme-tcp: fix possible hang when failing to set io queues
81c1dbe1070c nvme: fix Write Zeroes limitations
6712b7fcef9d afs: Stop listxattr() from listing "afs.*" attributes
c71b93323f37 ASoC: simple-card-utils: Do not handle device clock
e029384c1835 ASoC: SOF: intel: fix wrong poll bits in dsp power down
626a484d1ec2 ASoC: SOF: Intel: unregister DMIC device on probe error
db3d39bcd66a ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
24c553371add btrfs: fix slab cache flags for free space tree bitmap
5b3b99525c4f btrfs: fix race when cloning extent buffer during rewind of an old root
a3e438db75fb ARM: 9044/1: vfp: use undef hook for VFP support detection
a47b395d441d ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
34794bc0e768 s390/vtime: fix increased steal time accounting
ba4342094d71 Revert "PM: runtime: Update device status before letting suppliers suspend"
62cf220630a0 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
613fd762d188 ALSA: hda: generic: Fix the micmute led init state
5a5f85603e6e ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
4d35c01a3645 ALSA: dice: fix null pointer dereference when node is disconnected
d0fc0e7bfda2 ASoC: ak5558: Add MODULE_DEVICE_TABLE
a592a4c2889e ASoC: ak4458: Add MODULE_DEVICE_TABLE
(From OE-Core rev: 04e706701e8a499d71635214537def6f7f8d6193)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails
$ openssl s_client -connect google.com:443
....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....
The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl
(From OE-Core rev: ba2774dc6ba119094861c0723858e4b47e9b7eed)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eaf377315efc73d6ffe361372a873918b3bb3bf5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.
It is harmless and normal, so we could ignore this error message on
qemux86.
Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.
https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html
(From OE-Core rev: 982236ed40f7e1fb912d52155495286fa1ca4757)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3359f23ee9351c70997d5e0a17d17d1e47d59623)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
$ grap2graph
/usr/bin/grap2graph: line 89: convert: command not found
/usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
/usr/bin/grap2graph: line 104: convert: command not found
/usr/bin/grap2graph: line 103: grap: command not found
Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.
(From OE-Core rev: 5619bc0e98c02cf80601eb399bb205f33f8e4098)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 251be7279a475ee18c0c53fe9795bb37bffc2b45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When use automake to generate Makefile.in from Makefile.am, there
comes below race:
| configure.ac:45: error: required file 'config-h.in' not found
It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.
(From OE-Core rev: 0d5dd68a07707f8b8428fe564414e2f5b7433ed5)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I was encountering the following race condition on poky:
- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
`automake --add-missing` (symlinks config.guess/config.sub from
recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
_its own_ config.guess/config.sub _on top_ of the already existing
ones). Since the destinations already had symlinks, the copy would
overwrite config.guess/config.sub in recipe-sysroot-native, which
would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
clobbered config.guess/config.sub files.
With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).
I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.
(From OE-Core rev: 38026e5f94228506ea110f725148d335495265e8)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d675efd633b495daa4a3a57420b9c309497035)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.
(From OE-Core rev: 290747561ab91fcf38b2c787e13e0eb88eadb389)
Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c55c294be6f5119f4c58a4e7a0bc052904126569)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.
Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.
[YOCTO #14111]
(From OE-Core rev: bfce6e9e3aab025938672731f9daedea24ad1fdb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f22a6e46d003aba516a9a0cc7f94eae678d846b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.
[YOCTO #14282]
(From OE-Core rev: cce199341ab9a3d6678c57afa803ccd83806de20)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31a3cf78452270131a657be45e76569515cff7ef)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).
Ensure PACKAGE_CLASSES is set so it works in all cases.
[YOCTO #14277]
(From OE-Core rev: 8717bf4f3c875b094ee29b4f3420ff5ad9cad1f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 842b11107363357ed933cfcf619f1cf23f0d841e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting a value of 10 for heartbeat events causes the test to fail. Hardcode
a value to ensure it works correctly even if the default is changed.
(From OE-Core rev: cad75a7aa940efaf6674bfbbeb38d3fc11fab143)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08b2c9a23ce43ed65a16f5f0714b19a571e1b54a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.
[YOCTO #14333]
(From OE-Core rev: d621b7c0ce0a99035de7e503596a3e36dc44b76f)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c18225d3ef94a41fc073ae87c163b68e6d46571)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.
If we unpack one git repo inside another, like this:
SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
"
Git status reports, for repo1:
Untracked files:
(use "git add <file>..." to include in what will be committed)
repo2/
If we run `devtool modify` on this recipe, do_patch runs with:
PATCHTOOL = "git"
PATCH_COMMIT_FUNCTIONS = "1"
The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:
$ git add .
warning: adding embedded git repository: repo2
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> repo2
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached repo2
hint:
hint: See "git help submodule" for more information.
$ git submodule status
fatal: no submodule mapping found in .gitmodules for path 'repo2'
No further git submodule commands can be run on the checkout.
We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.
We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:
$ git ls-files --stage | grep ^160000
160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2
$ git submodule--helper list
160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0 repo2
When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.
The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.
[YOCTO #14333]
(From OE-Core rev: 5c374996745816fcbbafbde75f10f4b6e41479b2)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2055718fdd19f925e236d67823017323bbd92a4b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go 1.14 for windows targets does not support -buildmode=pie, disable it and use
the default buildmode instead. Support for -buildmode=pie for windows targets
is added with go 1.15 (https://golang.org/doc/go1.15) which is added to poky in
gatesgarth.
(From OE-Core rev: a1b0631c4723d2a98eb9e80ec85a00bc46276783)
Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to
'windows' to enable building for windows targets.
(From OE-Core rev: 099bd78ce80772c42887104a40aa0a92fdaa6965)
Signed-off-by: Peter Morrow <pemorrow@linux.microsoft.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`ROOTFS` is optional. It can be empty if the live image doesn't require
a rootfs. In such cases, the build doesn't depend on
`do_image_{LIVE_ROOTFS_TYPE}`.
(From OE-Core rev: f1dda70ff8b672b695b44079db69a0563bb6c96c)
Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 96f47c39f1d17f073243913d524bde84add41d8f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Take patches from Ubuntu 20.04 7.68.0-1ubuntu2.5, which is close enough
that they apply without conflicts.
(From OE-Core rev: 134a27d05f06791b738bb801e68b6916477add04)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In particular 170 includes rpm header fixes which stop the webpages
for rpm diffs breaking web browsers and are important in the context
of the autobuilder.
(From OE-Core rev: 3b04da3a02b746241196f1fe42a9a345212cfc07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 275738c3f2116de9b812b46e00d80b4de6975d7f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed to support reproducible build testing on autobuilder
(From OE-Core rev: c9ce8ef2ff29ed87703b9262d661d916595b2c38)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This makes comparisions between lists easier.
(From OE-Core rev: 950e4c5405dfafb8ec4ea1a66b462977be550509)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d2c52125d1cdc06c7e08d507ca68f3e4612a4314)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps with trimming down the list, and towards 100% reproducibility :)
(From OE-Core rev: 857a8d8c619277ca0e40aa6c5c99793e6a019d84)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da7a173d7a01524229c8515326465968a845e96f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hopefully over time this list will be reduced to an empty one.
Non-reproducible excluded packages are not given to diffoscope and do not cause a
failure, but still saved side-by-side with non-reproducible failing ones to make
investigation easier.
(From OE-Core rev: 7cd8b42f11e39b473851b6603a5709f95b4dbf74)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 406bd0d48d8f90e2c836f7d3e204f21d5f13c833)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add systemd and pam distro features, and commercial license flag
to include more recipes into the world set.
(From OE-Core rev: 3e87a2bb2ee4db33e80b93a864d1153353fc12ad)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed8f94942c07784f9f6eef5c00b75aa9b398ea5e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Setting the 'func' flag on the commands variables ensures that they are parsed
as shell, and therefore that the referenced commands contents are included in
checksums. Doing this only in image.bbclass means that this is missing in
recipes that are not images, but which inherit populate_sdk or populate_sdk_base
directly, so move it to the latter.
[YOCTO #13998]
(From OE-Core rev: d044d9c0cb672c499059eb273e399ce4aee17e0d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit edc28907ce19a7298059dd388933c58a9c6c28b9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well.
(From OE-Core rev: 9d77288cd614c6ced51fbd60b2851f619610e9dd)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 554b17e0bbe5190e4b03121f2ed06f4845012a71)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since pyc cache files are really system specific, no real reason to copy or
generate them during the eSDK build process. Also generating them has the
possibility of re-using inodes that pseudo may have been tracking, leading
a build failure.
(From OE-Core rev: e3d027b48bf54fef9420cd1cd4f04a9bedf8d032)
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ce8eba263647ae63a722122e28f26af46ae083a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
| configure.ac:45: error: required file 'config-h.in' not found
| touch '../libtool-2.4.6/libltdl/config-h.in'
So make sure autoheader run before autoconf to avoid this race.
(From OE-Core rev: ac63b30ac7dce558c9de5be985c153e4617157d5)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d8451cbef5906b67756582fdfc44eb01ed3512fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
HOSTTOOLS_DIR contains symlinks to host tools, not copies
(From OE-Core rev: 4e17f9806f64301c942600b650b3dd5e34ca1838)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fb7692da7faa49b370680decbbaceaeb85b6889d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.
(From OE-Core rev: d913d2fbd431ccc10a6197c4dc8858dfd9a91426)
Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1a27b62b225ffeecec47c249a0b86cc54d775add)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zc.c:77:8: error: too many arguments to function 'get_user_pages_remote'
| 77 | ret = get_user_pages_remote(task, mm,
| | ^~~~~~~~~~~~~~~~~~~~~
Backported patch to fix it.
(From OE-Core rev: cd247306566313517b69b4ae321476b8ea9ab46f)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following build failure with linux-yocto-dev
zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
61 | down_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
77 | up_read(&mm->mmap_sem);
| ^~~~~~~~
| mmap_base
(From OE-Core rev: fe668065ad7ec83aadfa36fe6ba1ced3db2e3cad)
(From OE-Core rev: b132bdbca1980dd2f1e343372ae464f78fb337c2)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Upstream directory layout has changed after update in commit 3c2f8b750a, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.
See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware
(From OE-Core rev: 86367fd896a020de7f3379da57f1ec62895bcf70)
Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd273c611b03bd5972da8bf4accaba247f7c9c62)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
a65e78863443 Linux 5.4.107
5161cc4350de net: dsa: b53: Support setting learning on port
ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress
6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
eeb0899e0073 crypto: x86 - Regularize glue function prototypes
187ae0463653 fuse: fix live lock in fuse_iget()
28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL
5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup
4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL
e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL.
8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO
591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged
4e4c85404a23 bpf: Add sanity check for upper ptr_limit
524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic
2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left
ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit
010c5bee66bd KVM: arm64: nvhe: Save the SPE context early
0437de26e28d Linux 5.4.106
b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time
92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending
43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down
38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported
da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
4e2156c0d37b nvme: release namespace head reference on error
eb565f052b3e nvme: unlink head after removing last namespace
4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size
e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write
106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state()
2306580a95b7 zram: fix return value on writeback_store
29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
99f1960cae4f stop_machine: mark helpers __always_inline
aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file
babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe()
41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label()
86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed
d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure
d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks
9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
19bb2a20710d sh_eth: fix TRSCER mask for R7S72100
c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data
c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data
7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data
e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data
47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data
0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data
e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data
4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample
f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
1a866057e970 staging: rtl8712: unterminated string leads to read overflow
da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages
9009b59dfd5f misc/pvpanic: Export module FDT device table
0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf
8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf
8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
7b76c7a91bf6 usbip: fix vudc to check for stream socket
2e24c093e264 usbip: fix vhci_hcd to check for stream socket
da1be8e07852 usbip: fix stub_dev to check for stream socket
ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs
b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
0b7034401f0c USB: serial: ch341: add new Product ID
5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup
c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
57ab089c09d5 xhci: Improve detection of device initiated wake signal.
f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts
45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
c9e346234698 USB: usblp: fix a hang in poll() if disconnected
cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state
f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
014e4b616313 usb: gadget: f_uac1: stop playback on function disable
117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code
0ae3101f5cf0 Goodix Fingerprint device is not a modem
b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card
61fadd5f1e4e mmc: core: Fix partition switch time for eMMC
1cb73c82622c software node: Fix node registration
3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind
87adc240df30 s390/dasd: fix hanging DASD driver unbind
12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4
bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend
09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers
e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend
dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
300fba2b4e11 scsi: target: core: Prevent underflow for service actions
de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete
050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table
508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack
54fc6a56f72a i40e: Fix memory leak in i40e_probe
f95403013744 PCI: Fix pci_register_io_range() memory leak
e9be5518af2c kbuild: clamp SUBLEVEL to 255
e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak
d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler
395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely.
ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag
dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory
f8788ee8544c iommu/amd: Fix performance counter initialization
d92afe30a665 powerpc/64: Fix stack trace not displaying final frame
61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration
49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
a54c278fcf8b powerpc: improve handling of unrecoverable system reset
7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible
507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs()
26d60799d99b Platform: OLPC: Fix probe error handling
ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq
edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
c44d966e9020 udf: fix silent AED tagLocation corruption
5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition
1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition
2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on
aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too
d1f308174a60 net: hns3: fix error mask definition of flow director
cb36bf447a0c media: rc: compile rc-cec.c into rc-core
4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access
f56a82844c1f media: v4l: vsp1: Fix uif null pointer access
8cdc0900fc80 media: usbtv: Fix deadlock on suspend
56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210
bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id
d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails
72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails
d2100ef32a8c drm: meson_drv add shutdown function
72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler
3b08ea3a548f drm/compat: Clear bounce structures
cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash
dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again
05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info
8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director
4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated.
ef663d149f8e selftests: forwarding: Fix race condition in mirror installation
fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test
d31ae9ec5a03 net: stmmac: stop each tx channel independently
86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg()
d28e783c2003 net: davicom: Fix regulator not turned off on driver removal
05517de4188b net: davicom: Fix regulator not turned off on failed probe
11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue
b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts
6d599697e9a8 netdevsim: init u64 stats for 32bit hardware
8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up
392f34cce2b0 net: sched: avoid duplicates in classes dump
3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down
7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
0fbbcf797e9c net/mlx4_en: update moderation when config reset
78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing
6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
55e6ede3b935 cifs: return proper error code in statfs(2)
a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts
59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE
da9f2219f66c mt76: dma: do not report truncated frames to mac80211
95b0a3b09094 ibmvnic: always store valid MAC address
3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock
c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt
82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision()
f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup
3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ
b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid
ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze()
6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
718769eb1bbe sh_eth: fix TRSCER mask for SH771x
8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct
f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum
9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode
5555ee33b6cc ethernet: alx: fix order of calls on resume
dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump
fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error
(From OE-Core rev: ed4db1755fb9d8a86d91039f95482c706778e72f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 59ab12f804dda59ecf8954df6ef8024646bcbde7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
checkout: fix bug that makes checkout follow symlinks in leading path
Upstream-Status: Acepted [684dd4c2b4]
CVE: CVE-2021-21300
(From OE-Core rev: 8293d5d1529629bd13028bdde1fa99da30313bac)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Commit bebef58b21bdff7a3ee1fa2449b7df19144f26fd introduced forcing
parser shutdown as default in case of build abort.
In this case bitbake sometimes hangs after facing error during parsing,
waiting for child processes to finish. Killing it then will spawn zombie
processes.
Thus we force the shutdown after catching an exception.
(Bitbake rev: 017a39ed05d065bf28fd38f91bcde8a098300551)
Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 915330e1dbae1ee8fd9a0358decf2c294f771961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.
Avoid this by using separate image targets instead.
(From OE-Core rev: d30a90062e29a3069f6e8d9f6d4eadd7a48adf4f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 590398080e81fb5e2f81e12b8900858837dfe25f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:
ERROR: Nothing RPROVIDES 'kernel-devicetree'
(From OE-Core rev: 9d166adde55ce8f0ba60c37c0679a99c947b2779)
Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8dbae2dd5ac3de629957ca699f823f5438e80163)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.
[YOCTO #12156]
(From OE-Core rev: 92b2da5824c11063d0bb8e39bc221530137e29b4)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f95e82a3b27bfd5177a855326dcad8a5bdf5b2d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.
git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.
(From OE-Core rev: d1f6fd5817e43e5f002a9430563d6d1b69d77317)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4525310d49d115a37705f04ac5c03d639e5e8f8c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.
By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.
(From OE-Core rev: 0b5d825ccb251bd6015dfcd49ed452b7bd64e6f6)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e9180c9575f0723b51915a0da58452511b6b03bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.
also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.
(From OE-Core rev: d75f95a09e5e85eb759e748f9e0fee1c5fa1b318)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8076815fc2ffc8f632e73527ce2b7d158a29e9ea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
some record from NVD can merge or split suffix from version, for
example:
CVE-2017-15906
"cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:5.0:p1:*:*:*:*:*:*"
"cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:4.7p1:*:*:*:*:*:*:*"
in such case include the suffix into version when update local CVE db.
(From OE-Core rev: b8d3e1754faea3ba0b6e07d5a830fbab12b5f53d)
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the install script copy only few hard coded item while
setting up target ESP, kernel artifacts, all .efi in EFI/BOOT,
grub & boot cfg and loader.conf.
While ESP can be much complex, eg: contain multiple initrd.
Add a ESP folder to carry any other files to setup onto ESP.
(From OE-Core rev: 3be53035c567c06a09a36d68c41393482bd4789b)
Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6eaca9cf20c42501fba27dea3a6446bad948e859)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update to match what was merged in master branch (and I have now sent for gatesgarth)
* fixes Upstream-Status (there is a missing 'c' in 'Acepted' and 'Backport' is more accurate)
(From OE-Core rev: 060587ae477d785db017f4d8a2152206c258da42)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
arping in iputils s20190709 has several problems, this backports the
fixes from s20200821.
- -D, duplicate address detection, always returns failure
- -w -f does not behave correctly
- -w option hangs arping
- -U option returns failure
(From OE-Core rev: 77c5792aa5e7cb7760c7042a49c2c0b02109987f)
Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.
With this match in place we can also deploy this unit on qemu systems.
(From OE-Core rev: c88bb3db92d0650a560d7cbc1f0f42ae8faf15e1)
Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.
(From OE-Core rev: c1d8d25fffc119adcc5f0a49b10b21dcdc1c6572)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f36f176dc0316a79ae288c3b4f6c2eab366810dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pretty sure that trailing quote should be a period; it
appears to work properly.
(From OE-Core rev: f63ae3256cb880564f1b786e4c381ffae5cb58e8)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 579f9ada19bd174bff0002cd6a731d12a1868252)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.
WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64
So we record METADATA_REVISION in eSDK generation time to fix this problem.
(From OE-Core rev: c6793c5c9af2c7d2547e1dc3ef7ab05f6bb41563)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.
This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.
Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.
(From OE-Core rev: 5f27d66b5e3a7bffc23c140edf76fc8fd4cd5b23)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 08dcc0e68095dcf2a159546a48b29d40c9aabc0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it doesn't listen on http and the redirect sometimes doesn't work
WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass//salsa.debian.org/.* git://salsa.debian.org/PATH;protocol=https \n \
from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/
(From OE-Core rev: e739b039aebcd1ca839b0460e950d5b8bc2e3cdb)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Causes breakage in other layers
This reverts commit e0c1db170fdd6c1d78fdfce017feae26c96fac29.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen hard to debug issues where a task ends up in both the
covered and notcovered list. Add a sanity check to ensure if this
happens in future, we see it in the logs.
(Bitbake rev: da306cd4430a6fcf6b62ed0e6e5310432aa4c4c4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e001410854792f9bb66a0409a2ac176171b0507)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've seen occasional issues where linux-yocto:do_compile_kernelmodules would
run without do_shared_workdir running before it. do_shared_workdir is an
setscene task but never has an sstate object generated so it will always
rerun. This should not happen since compile_kernemodules should only
execute if a setscene that depends on it didn't run and that should trigger
do_shared_workdir not to be marked as covered.
The issue is that build-appliance-image:do_package is one of the tasks which
covers linux-yocto:do_compile_kernelmodules but it is also a noexec task
and has a dependecy on pseudo-native:do_populate_sysroot.
In the problem case, pseudo-native:do_populate_sysroot is unavailable but
marked as covered since it is noexec. The "harddeps" code then also marks it
as notcovered. No task should ever be both covered and notcovered and this
is where the problems come from.
The solution is for the harddeps code only to to fail tasks if they've not
already been handled in some way. The code is assuming code couldn't have
handled revdeps at this point but we now have clear evidence they can.
(Bitbake rev: 8a13955d8da86b976bb136ba1e724a02f7953bca)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f66556bbb38449789ceea2fd105e9f68df7fb660)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
insane has checks that the compiler isn't printing "CROSS COMPILE
Badness" during configure/compile/install, but this message hasn't been
output by GCC since 2010 (23f522e7).
The current warning is "include location [...] is unsafe for cross-
compilation" and as that is a proper GCC warning, we can make it fatal
in follow-up patches.
(From OE-Core rev: 32c49bc10013ece820c9168b690d14a5a9fd1f13)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a67e9ebfd5b8002fd4a7d8d27ff0d997817f76e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
kernel-devsrc is a dependency of the image so we no longer need the symlink
creation code or the module-base inherit/dependency as it is included in
that recipe. The KERNEL_VERSION usage was broken anyway as the module
usage would have needed a:
do_image[depends] += "build-appliance-image:do_configure"
which wasn't present so it was indeterminate if KERNEL_VERSION was set
correctly.
(From OE-Core rev: b5bcbe1835ad95a65c2c01212a35f9388ac0dffc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a46b43bb67b2f87ec370480e50a2e2d111555b75)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).
This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.
As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.
[ YOCTO #14164 ]
(From OE-Core rev: d4df6cfe5b8d81c53bf5fc2a3b97886739f36a71)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54e2eb809bdfedb64219f37b82589372bbc96905)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The help message for the optional argument of setting
the priority of the new layer was incorrect.
(From OE-Core rev: 4557255a95f9aac8c1e955c078ca05f995c1299c)
Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d10d928c6030951994bc2404cde78137c86917a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.
(From OE-Core rev: b3cbde17aff693e2d5ba6d61922fca54e75b9f6e)
Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64
[YOCTO #14228]
(From OE-Core rev: ab87c49321a5511060fea6ebff2ffee847f014c0)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met
(From OE-Core rev: 0ac2dee8756573a793af56582565f221ff6b93c5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0820aeba74869bf6e85b200f39bc610a43ab9a7a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.
ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.
If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.
Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.
(From OE-Core rev: 280bf295a12b49a1d5199d86da6641516df0ce6a)
Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eecbe625558406680121d2a7e84917fea45ea9dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).
Can be run as:
OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds
to save diffoscope output.
(From OE-Core rev: 8b38cd1b36f3e227a63c0aa3955f3f5ab172c509)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 132a17d02f29711572e14a2f38a841323fbb6df6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add sorting to the globbing within the Makefile to make the output
reproducible.
(From OE-Core rev: 4ce08e6fa4e72d70badb1892f48d593a37f063ad)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c43ae151f572786818fe048233b4bbfd6b0ba2cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.
(From OE-Core rev: 6187dd2b21a9f42877e782810ef96738dbc668c1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7ed28ae9717ea9dad4e131012186d5f08e8f0bec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add sorting to wildcard expansion in the makefile to make builds
reproducible.
(From OE-Core rev: 7529d0a5fff17e35238c0f005163360f7f903898)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5541ba76ccc0c416f315bc0dc14a20a33059bd5f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.
(From OE-Core rev: d55f1632bbc6f9b7dadc874d68006d4ceb13937c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1395269a6fae5cec01d721e2ad52bd7cb8fc38ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: a6f1da03c9534c3ea1607d479e08d1037688a59f)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7290b773486da3888f848abf0dba747f2d9f42e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 317c817231d343e2707759bf9e3f9e986f4ee27d)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5ab087950ceaa960c29b0cad12aa716a50b50c34)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 7711fc4e7a1513d54181939707c4a9e7e08c74fc)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ab7a945f6e88db5cc2457823e2a6f942f30ab4e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 2f2fb08e0d312d82749bea147306897c00df650e)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693988ec423341b930e93d604638826cccba9e37)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`
[YOCTO #13471]
(From OE-Core rev: 41b106617387a642338ab2ef3565ea5d48ce5685)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 325db7fea11315e8dd53274853f33b716247d1bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: d2e54108558bcf3a44d65505a643ace5cf365d8a)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cc6c7af900ae0196a62b7fa1375c55bbcd8e68b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: 90e24da5fbfafc4c5b31093a5fc9ec65fabd31f5)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 89d8f20353bacb089bc18833d3ff032b525613ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: 3bb03e124b956310674845b5e1a4f755a8456ce7)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95a86ac1c12414c1b4983880145aec55bd9a38a4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
c4ca4659678e Linux 5.4.103
47478db9ad21 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
4cf243476463 ALSA: hda/realtek: Add quirk for Intel NUC 10
2254dfa68428 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
027ddd67f685 media: v4l: ioctl: Fix memory leak in video_usercopy
60fdceaa91ad swap: fix swapfile read/write offset
bebf5e832779 zsmalloc: account the number of compacted pages correctly
f038a22632a4 xen-netback: respect gnttab_map_refs()'s return value
474773c42ffd Xen/gnttab: handle p2m update errors on a per-slot basis
def70c33c478 scsi: iscsi: Verify lengths on passthrough PDUs
567a234a231d scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
5f4243642873 sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
ca3afdd03773 scsi: iscsi: Restrict sessions and handles to admin capabilities
fdaec40526b4 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
68b15ca91add ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
db0e94615263 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
925ae8148535 ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
99d2926531ac sched/features: Fix hrtick reprogramming
4a3f4feeb622 parisc: Bump 64-bit IRQ stack size to 64 KB
f41ed2164364 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
2b130871e20a btrfs: fix error handling in commit_fs_roots
9bf519ca55c4 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
7702b331861b nvme-tcp: add clean action for failed reconnection
a9ea34d2717a nvme-rdma: add clean action for failed reconnection
4bf6c84c9ad3 nvme-core: add cancel tagset helpers
8253cc11abb2 f2fs: fix to set/clear I_LINKABLE under i_lock
77dc257b4feb f2fs: handle unallocated section and zone on pinned/atgc
aa1362606059 media: uvcvideo: Allow entities with no pads
0e9d7902764a drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
f1fef55a3f1a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
b252cdd9c650 drm/amdgpu: Add check to prevent IH overflow
a8d46a3feb02 crypto: tcrypt - avoid signed overflow in byte count
9f8d3e4b8ad8 drm/hisilicon: Fix use-after-free
e1b9c1c9dbb0 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
3c099c272eb5 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
d1f262561993 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
e3ec4af50642 staging: most: sound: add sanity check for function argument
7d16e7c1615d Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
bba1995325b5 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
e37674e1a48d ath10k: fix wmi mgmt tx queue full due to race condition
46813e4a7caa pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
b074e7e20cc9 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
5a8bbefd0074 wlcore: Fix command execute failure 19 for wl12xx
48549db10dbe vt/consolemap: do font sum unsigned
de00b8f037ca x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
48f6c1a89487 staging: fwserial: Fix error handling in fwserial_create
ce2b4b9c86b7 rsi: Move card interrupt handling to RX thread
133b0b1aa5c4 rsi: Fix TX EAPOL packet handling against iwlwifi AP
c8c3088a90c3 drm/virtio: use kvmalloc for large allocations
584149c771ec MIPS: Drop 32-bit asm string functions
648c5b1b24d0 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
823e6524e1f3 dt-bindings: ethernet-controller: fix fixed-link specification
176188cff67e net: fix dev_ifsioc_locked() race condition
e4fc812e3577 net: ag71xx: remove unnecessary MTU reservation
ad112654e21d net: bridge: use switchdev for port flags set through sysfs too
2e235c3a9518 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
4ed3162e92bf nbd: handle device refs for DESTROY_ON_DISCONNECT properly
e6af7cb64b7b net: fix up truesize of cloned skb in skb_prepare_for_shift()
4ceb5ca9e626 smackfs: restrict bytes count in smackfs write functions
5fe244620e74 net/af_iucv: remove WARN_ONCE on malformed RX packets
09e47dc27ed5 xfs: Fix assert failure in xfs_setattr_size()
a72c45f4ee33 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
edaa0a0aab6e erofs: fix shift-out-of-bounds of blkszbits
706068d0811a media: mceusb: sanity check for prescaler value
64677f10e560 udlfb: Fix memory leak in dlfb_usb_probe
4e3b08cfe619 JFS: more checks for invalid superblock
86d7c693670e MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
9757d5c4fc3f arm64 module: set plt* section addresses to 0x0
69861dcc78c2 nvme-pci: fix error unwind in nvme_map_data
744073c5c79c nvme-pci: refactor nvme_unmap_data
9e4815cf1785 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
a1d010346e48 net: usb: qmi_wwan: support ZTE P685M modem
7f324ea75baa Linux 5.4.102
07c4c2e2bcd3 ARM: dts: aspeed: Add LCLK to lpc-snoop
39be7b978fde net: qrtr: Fix memory leak in qrtr_tun_open
7b518508c685 dm era: Update in-core bitset after committing the metadata
976ee31ea300 net: sched: fix police ext initialization
9875cb3c0968 net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
354fb7244fd0 ipv6: silence compilation warning for non-IPV6 builds
e528edf1e579 ipv6: icmp6: avoid indirect call for icmpv6_send()
c30e93eee3bf xfrm: interface: use icmp_ndo_send helper
e1ec06b833aa sunvnet: use icmp_ndo_send helper
d8d268ce1a5e gtp: use icmp_ndo_send helper
dd28e735df5c icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
2019554f9656 icmp: introduce helper for nat'd source address in network device context
0a35ff986617 drm/i915: Reject 446-480MHz HDMI clock on GLK
467214ddfa7e dm era: only resize metadata in preresume
fb8986363019 dm era: Reinitialize bitset cache before digesting a new writeset
e59b9a8464be dm era: Use correct value size in equality function of writeset tree
fead0c8e5c56 dm era: Fix bitset memory leaks
8ca89085fe72 dm era: Verify the data block size hasn't changed
e8a146ef82a4 dm era: Recover committed writeset after crash
d873884783ed dm writecache: fix writing beyond end of underlying device when shrinking
5233c47c8d46 dm: fix deadlock when swapping to encrypted device
fd3b7e07d3c1 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
fa0201d3902e gfs2: Don't skip dlm unlock if glock has an lvb
c5abc17d2740 spi: spi-synquacer: fix set_cs handling
3dbe8f1d24de sparc32: fix a user-triggerable oops in clear_user()
7e17044631aa f2fs: fix out-of-repair __setattr_copy()
5b5d76028056 um: mm: check more comprehensively for stub changes
b95baf4efb68 virtio/s390: implement virtio-ccw revision 2 correctly
8e6c8cfa9aee s390/vtime: fix inline assembly clobber list
07332771663b cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
dfbbed769f1b printk: fix deadlock when kernel panic
81c2472bcf33 gpio: pcf857x: Fix missing first interrupt
70dcfb66ef68 spmi: spmi-pmic-arb: Fix hw_irq overflow
d5194f7264e2 powerpc/32s: Add missing call to kuep_lock on syscall entry
6b22c402dff9 mmc: sdhci-esdhc-imx: fix kernel panic when remove module
b6bc5417385d module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
8a3e6c6fe9c6 media: smipcie: fix interrupt handling and IR timeout
2e1df9bfe6fa arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
566209806176 hugetlb: fix copy_huge_page_from_user contig page struct assumption
5dd34ee9abdc hugetlb: fix update_and_free_page contig page struct assumption
b74e3493264f x86: fix seq_file iteration for pat/memtype.c
ebd5a480db0e seq_file: document how per-entry resources are managed.
3e9b85cabea0 fs/affs: release old buffer head on error path
b2b5c3aec866 mtd: spi-nor: hisi-sfc: Put child node np on error path
61dfd4fbbd1e mtd: spi-nor: core: Add erase size check for erase command initialization
3ab134965691 mtd: spi-nor: core: Fix erase type discovery for overlaid region
cc27d5f40680 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
7852feb3accb mtd: spi-nor: sfdp: Fix last erase region marking
97d079fd2ac1 watchdog: mei_wdt: request stop on unregister
4262c46bfbcf watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
a82ebd5dde7d arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
efca4c991ecf arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
d4a7d6c02261 floppy: reintroduce O_NDELAY fix
337bba09d850 rcu/nocb: Perform deferred wake up before last idle's need_resched() check
3cd9a74bead1 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
14122331b1c3 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
84ec5883b4f9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
4fa154124164 x86/virt: Eat faults on VMXOFF in reboot flows
3f5dc4a102a9 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
de9b5d51b627 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
bb5bfd51f603 staging: gdm724x: Fix DMA from stack
d69583a2c1b3 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
eb6f42b101ec dts64: mt7622: fix slow sd card access
f73e98efaa10 pstore: Fix typo in compression option name
c9e529e635b9 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
d82d5a77f0a0 misc: rtsx: init of rts522a add OCP power off when no card is present
aa00c2d60ae1 seccomp: Add missing return in non-void function
0d95bdee02ad crypto: sun4i-ss - initialize need_fallback
903f576f4e66 crypto: sun4i-ss - handle BigEndian for cipher
4fc52e091a2c crypto: sun4i-ss - checking sg length is not sufficient
3b40af844c26 crypto: aesni - prevent misaligned buffers on the stack
46e6d781f87e crypto: arm64/sha - add missing module aliases
dca4f29507e4 btrfs: fix extent buffer leak on failure to copy root
df369c3afb0d btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
dc0780e456ac btrfs: fix reloc root leak with 0 ref reloc roots on recovery
c0baf3aaf4b9 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
2910038c09f4 KEYS: trusted: Fix migratable=1 failing
2c21eac499f8 tpm_tis: Clean up locality release
f19b98394c0a tpm_tis: Fix check_locality for correct locality acquisition
52f3bdb1078a erofs: initialized fields can only be observed after bit is set
4d09487509ad drm/sched: Cancel and flush all outstanding jobs before finish.
c38fd6afe146 drm/nouveau/kms: handle mDP connectors
7c1a2f91908f drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
ca5a8ad84ba0 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
5431cb67306d bcache: Move journal work to new flush wq
a339f0998eb1 bcache: Give btree_io_wq correct semantics again
de5510b9825c Revert "bcache: Kill btree_io_wq"
f6992915031e ALSA: hda/realtek: modify EAPD in the ALC886
48d1950dafe9 ALSA: hda: Add another CometLake-H PCI ID
3ed9bd25fd88 USB: serial: mos7720: fix error code in mos7720_write()
e73874b41286 USB: serial: mos7840: fix error code in mos7840_write()
a678d130424a USB: serial: ftdi_sio: fix FTX sub-integer prescaler
d1f773b70ae6 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
1c073b56e765 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
a5ae281779a5 usb: musb: Fix runtime PM race in musb_queue_resume_work
e3ddfaf3e617 USB: serial: option: update interface mapping for ZTE P685M
32a82e001ead media: mceusb: Fix potential out-of-bounds shift
8812bed7ec74 Input: i8042 - add ASUS Zenbook Flip to noselftest list
80168ba86034 Input: joydev - prevent potential read overflow in ioctl
9fe66416b02e Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
d84f9c28abbe Input: raydium_ts_i2c - do not send zero length
2d954832ba48 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
394f2b794310 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
e690b3f48635 ACPI: configfs: add missing check after configfs_register_default_group()
40b70c98be98 ACPI: property: Fix fwnode string properties matching
371a2218ed33 blk-settings: align max_sectors on "logical_block_size" boundary
4ad2a372e1cd scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
d2aa80c36727 mm/rmap: fix potential pte_unmap on an not mapped pte
8450b1cd7cb3 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
1a47856548fb arm64: Add missing ISB after invalidating TLB in __primary_switch
94a432151c35 r8169: fix jumbo packet handling on RTL8168e
c70c3b6e62e4 mm/compaction: fix misbehaviors of fast_find_migrateblock()
c200f4959586 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
67a982ee20d2 mm/memory.c: fix potential pte_unmap_unlock pte error
5bf318965485 ocfs2: fix a use after free on error
55b6be947efa vxlan: move debug check after netdev unregister
e9ae8928ddd6 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
e41bb745fd0f vfio/type1: Use follow_pte()
005ed88685aa i40e: Fix add TC filter for IPv6
1b66e64ce349 i40e: Fix VFs not created
a60ef5efff55 i40e: Fix addition of RX filters after enabling FW LLDP agent
57a7b145d8a1 i40e: Fix overwriting flow control settings during driver loading
55af95c8ce4d i40e: Add zero-initialization of AQ command structures
d7c25783b8c8 i40e: Fix flow for IPv6 next header (extension header)
2efbd63b6e74 regmap: sdw: use _no_pm functions in regmap_read/write
62c4532ebb1d nvmem: core: skip child nodes not matching binding
e40a8924eb3b nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
d8b7689a6240 ext4: fix potential htree index checksum corruption
2df4434766aa vfio/iommu_type1: Fix some sanity checks in detach group
179b83e72c89 drm/msm/mdp5: Fix wait-for-commit for cmd panels
32cf1b5c153d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
e2d44809c4f4 mei: hbm: call mei_set_devstate() on hbm stop response
c7cac840c2b3 PCI: Align checking of syscall user config accessors
8c23e9f4c7b0 VMCI: Use set_page_dirty_lock() when unregistering guest memory
e8ba75011695 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
3a9044ea78ea soundwire: cadence: fix ACK/NAK handling
fcfec32c9a01 misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
52fe389c0a99 phy: rockchip-emmc: emmc_phy_init() always return 0
047e029392a5 misc: eeprom_93xx46: Fix module alias to enable module autoprobe
f7fb313affee sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
0a072f01e585 Input: elo - fix an error code in elo_connect()
2062856c441c perf test: Fix unaligned access in sample parsing test
eb191a88be52 perf intel-pt: Fix premature IPC
119f96bb14bc perf intel-pt: Fix missing CYC processing in PSB
ce40b82cfa09 Input: sur40 - fix an error code in sur40_probe()
d5ca5d1190a4 RDMA/hns: Fixes missing error code of CMDQ
8677e99150b0 nfsd: register pernet ops last, unregister first
046615ffd431 clk: aspeed: Fix APLL calculate formula from ast2600-A2
923027302666 regulator: qcom-rpmh: fix pm8009 ldo7
2ebadcea0ef3 spi: pxa2xx: Fix the controller numbering for Wildcat Point
e0c516e72fd5 RDMA/hns: Fix type of sq_signal_bits
d21f6d9a3e49 RDMA/siw: Fix calculation of tx_valid_cpus size
d0005c4ab5e1 RDMA/hns: Fixed wrong judgments in the goto branch
c42d1e8caad5 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
ecfae933df3a powerpc/8xx: Fix software emulation interrupt
ba5c8a0ee624 powerpc/pseries/dlpar: handle ibm, configure-connector delay status
0c79abee609d mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
046a8158982b spi: stm32: properly handle 0 byte transfer
3cb8510625d5 RDMA/rxe: Correct skb on loopback path
c88fc726d9c0 RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
2e556ba37f13 RDMA/rxe: Fix coding error in rxe_recv.c
d2ee0b2070cd perf vendor events arm64: Fix Ampere eMag event typo
a0ea1f58aeea perf tools: Fix DSO filtering when not finding a map for a sampled address
e59e0ced0763 tracepoint: Do not fail unregistering a probe due to memory failure
4cb8bdaebbd8 IB/cm: Avoid a loop when device has 255 ports
180cd50dd9a8 IB/mlx5: Return appropriate error code instead of ENOMEM
379b5ee283dd amba: Fix resource leak for drivers without .remove
65159b4401fd i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
870ab7ef9799 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
f201f050a52a mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
2096ca11967c mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
de1e8961db05 mmc: sdhci-sprd: Fix some resource leaks in the remove function
c4c70ac4659e powerpc/47x: Disable 256k page size
8121f35cc657 KVM: PPC: Make the VMX instruction emulation routines static
144422afaa10 IB/umad: Return EPOLLERR in case of when device disassociated
40d9bcab50d0 IB/umad: Return EIO in case of when device disassociated
f337e5947a19 objtool: Fix ".cold" section suffix check for newer versions of GCC
9d20f53167e6 objtool: Fix error handling for STD/CLD warnings
68b6d02b3774 auxdisplay: ht16k33: Fix refresh rate handling
88b6e7267f9e isofs: release buffer head before return
8eaf7e3480ec regulator: core: Avoid debugfs: Directory ... already present! error
486a018932fe regulator: s5m8767: Drop regulators OF node reference
ab669048f97d spi: atmel: Put allocated master before return
bdad2e9c992e regulator: s5m8767: Fix reference count leak
0fec3272abf1 certs: Fix blacklist flag type confusion
8d0c3acd0370 regulator: axp20x: Fix reference cout leak
edf1d9025195 clk: sunxi-ng: h6: Fix clock divider range on some clocks
e68366695807 RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
6a52a17fd0a3 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
898c96f75616 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
d8a9db6dfa23 rtc: s5m: select REGMAP_I2C
239670e85cbb power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
3cbd3038c915 of/fdt: Make sure no-map does not remove already reserved regions
fb326c6ce0dc fdt: Properly handle "no-map" field in the memory region
5fba43deff93 mfd: bd9571mwv: Use devm_mfd_add_devices()
3b0053360e84 dmaengine: hsu: disable spurious interrupt
fe0a870739ba dmaengine: owl-dma: Fix a resource leak in the remove function
6f4fdb448b4c dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
67be754e0771 dmaengine: fsldma: Fix a resource leak in the remove function
da0f70eadabf RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
1f5fea7616e8 HID: core: detect and skip invalid inputs to snto32()
34d0d61a864d clk: sunxi-ng: h6: Fix CEC clock
2dd73db1b508 spi: cadence-quadspi: Abort read if dummy cycles required are too many
0473358e075c i2c: iproc: handle master read request
128c8431e8b9 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
d8a5e1780a2b i2c: iproc: handle only slave interrupts which are enabled
8b63c0cbc724 quota: Fix memory leak when handling corrupted quota file
623c86840e8a selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
b070f3b6ee5a clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
f8c601cb3ab4 clk: meson: clk-pll: make "ret" a signed integer
fcba0f6ab1e2 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
6413d0318ca4 HSI: Fix PM usage counter unbalance in ssi_hw_init
33a2e62473e8 capabilities: Don't allow writing ambiguous v3 file capabilities
b42b04e517cb ubifs: Fix error return code in alloc_wbufs()
5501892826bb ubifs: Fix memleak in ubifs_init_authentication
c4ede7571b4f jffs2: fix use after free in jffs2_sum_write_data()
746ef39b0bd6 fs/jfs: fix potential integer overflow on shift of a int
ff138fd20f17 ASoC: simple-card-utils: Fix device module clock
091b409383ad ima: Free IMA measurement buffer after kexec syscall
e436d3f7bdac ima: Free IMA measurement buffer on error
f04787555f4c crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
cba03a29611c hwrng: timeriomem - Fix cooldown period calculation
6f651ec266ba btrfs: clarify error returns values in __load_free_space_cache
790c0dcbb519 ASoC: SOF: debug: Fix a potential issue on string buffer termination
624d18332e13 Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
76faeef2f45e f2fs: fix a wrong condition in __submit_bio
721c986986d2 drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
c1a421b198bc f2fs: fix to avoid inconsistent quota data
7cb52169ada4 mtd: parsers: afs: Fix freeing the part name memory in failure
35a5d96a4c22 ASoC: cpcap: fix microphone timeslot mask
4168bf93ccc4 ata: ahci_brcm: Add back regulators management
0faef25462f8 drm/nouveau: bail out of nouveau_channel_new if channel init fails
adc2e1dba977 crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
7284c2692aff mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
aae14aed37d5 sched/eas: Don't update misfit status if the task is pinned
ba95955ee1e2 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
27019b873863 media: pxa_camera: declare variable when DEBUG is defined
0f16925a9e70 media: cx25821: Fix a bug when reallocating some dma memory
c3a2f73a7925 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
96a3bc313aa3 media: lmedm04: Fix misuse of comma
69e859a9d0a4 media: software_node: Fix refcounts in software_node_get_next_child()
1e0f565138db drm/amd/display: Fix HDMI deep color output for DCE 6-11.
7d1fc1e88b36 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
ed0b50cd4407 bsg: free the request before return error code
de9b26b5133f MIPS: properly stop .eh_frame generation
1169602150d5 drm/sun4i: tcon: fix inverted DCLK polarity
48f2fcd7b928 crypto: bcm - Rename struct device_private to bcm_device_private
3d5afcae9af2 evm: Fix memleak in init_desc
76b7e3a636b4 ASoC: cs42l56: fix up error handling in probe
c7ebd8b358b0 media: aspeed: fix error return code in aspeed_video_setup_video()
438d2cc7b8cc media: tm6000: Fix memleak in tm6000_start_stream
31730cb2461b media: media/pci: Fix memleak in empress_init
57cc424326df media: em28xx: Fix use-after-free in em28xx_alloc_urbs
3e0c29a407da media: vsp1: Fix an error handling path in the probe function
e01fcc71a994 media: camss: missing error code in msm_video_register()
1b26ba73b18f media: imx: Fix csc/scaler unregister
0634c66e6660 media: imx: Unregister csc/scaler only if registered
61f638b3afe9 media: i2c: ov5670: Fix PIXEL_RATE minimum value
7dfe4fed118d MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
ea27c3f0bc1a MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
d9f6d2a54487 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
0d528f6151c7 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
e056f69dea5a crypto: sun4i-ss - fix kmap usage
a3eeb7fd063f crypto: sun4i-ss - linearize buffers content must be kept
914d61930b89 drm/fb-helper: Add missed unlocks in setcmap_legacy()
200e603d5517 gma500: clean up error handling in init
2e5c94708d3e drm/gma500: Fix error return code in psb_driver_load()
0da21f552344 fbdev: aty: SPARC64 requires FB_ATY_CT
e7b6ac5c46fe net: mvneta: Remove per-cpu queue mapping for Armada 3700
825c82d55197 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
46121a6f3be5 net: amd-xgbe: Reset link when the link never comes back
70bf58171f19 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
0496eb6f48cc net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
95672dd57547 ibmvnic: skip send_request_unmap for timeout reset
64a87b0b650c ibmvnic: add memory barrier to protect long term buffer
8022d52a102b b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
9db1f14e7043 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
399fb9d51ba9 net: axienet: Handle deferred probe on clock properly
774bacf121c3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
88f8f40c901c bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
5af224ab9486 mac80211: fix potential overflow when multiplying to u32 integers
fef6f594ea43 xen/netback: fix spurious event detection for common event case
5c54aaed078d bnxt_en: reverse order of TX disable and carrier off
a1b692506569 ibmvnic: Set to CLOSED state even on error
9de820ae6cc1 ath9k: fix data bus crash when setting nf_override via debugfs
4dcfd936030b bpf_lru_list: Read double-checked variable once without lock
bcda70ed686f soc: aspeed: snoop: Add clock control logic
5350b91a73d7 ARM: s3c: fix fiq for clang IAS
b9634e38ac61 arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
65f9fdb425bc Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
80ace3402885 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
18ab54cfda05 ARM: dts: armada388-helios4: assign pinctrl to each fan
3d3098c2ddad ARM: dts: armada388-helios4: assign pinctrl to LEDs
6b86cbc97589 staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
c75f541e12f8 usb: dwc2: Make "trimming xfer length" a debug message
6e89da2174f7 usb: dwc2: Abort transaction after errors with unknown reason
c192b2cc4d39 usb: dwc2: Do not update data length if it is 0 on inbound transfers
c7722f664788 ARM: dts: Configure missing thermal interrupt for 4430
75921ff8bdc4 memory: ti-aemif: Drop child node when jumping out loop
725cb22009f7 Bluetooth: Put HCI device if inquiry procedure interrupts
9f2816a99ace Bluetooth: drop HCI device reference before return
a5542b45c729 usb: gadget: u_audio: Free requests only after callback
a17fa9039218 ACPICA: Fix exception code class checks
fb6aa67ab1da cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
279bc604e2e9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
24932862d9ee arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
f85f6c5572ff arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
06010cf028ce arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
288764e9ac2f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
c4be5762aab9 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
c616257c9db4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
fa3fc79c7834 bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
ab9de93d12c9 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
9ab4364ecd99 arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
0fb966b5d10b arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
f0f9e9152375 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
d32a94371fc1 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
da40c06e41b5 ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
e23124590415 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
4a0e0208bbb5 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
6d4c9e525833 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
36c39c445265 Bluetooth: Fix initializing response id after clearing struct
04792d477215 Bluetooth: hci_uart: Fix a race for write_work scheduling
b624bc27cf82 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
a48bb93f6fbe ath10k: Fix error handling in case of CE pipe init failure
3a954b0d909c random: fix the RNDRESEEDCRNG ioctl
1be2b1d23529 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
d3b8fa2e1d03 ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
166f9bc8ca0d bfq: Avoid false bfq queue merging
608ba1f447bc virt: vbox: Do not use wait_event_interruptible when called from kernel context
468bf1861a9c PCI: Decline to resize resources if boot config must be preserved
213c6f635bab PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
c37821e061f0 kdb: Make memory allocations more robust
6f15d498bfe8 debugfs: do not attempt to create a new file before the filesystem is initalized
de5ae4087035 debugfs: be more robust at handling improper input in debugfs_lookup()
d239c08f091a kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
0a6565762f27 vmlinux.lds.h: add DWARF v5 sections
(From OE-Core rev: 091d6557cb19e4731adc4daee36f35cb48e1f420)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 820b55234191890ece87e858a98089326985e868)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
ef1fcccf6e5f Linux 5.4.101
fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh
a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092
aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31
5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
3f9fbe703164 mm: provide a saner PTE walking API for modules
32f070ad274d KVM: do not assume PTE is writable after follow_pfn
78c7b242573a mm: simplify follow_pte{,pmd}
8aeef9c9ac7e mm: unexport follow_pte_pmd
8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file
c7ed0a50f20a scripts: use pkg-config to locate libcrypto
c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA
74c8a6af692a ntfs: check for valid standard information attribute
54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
96ef50ec7266 USB: quirks: sort quirk entries
fce3654c648d HID: make arrays usage and value to be the same
185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero
fc944ddc0b4a Linux 5.4.100
38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95
c6dd8545fe38 media: pwc: Use correct device for DMA
524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map()
be05138a9cdd xen-scsiback: don't "handle" error by BUG()
52e8f43af540 xen-netback: don't "handle" error by BUG()
7109f61d25ff xen-blkback: don't "handle" error by BUG()
55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine
feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
49de0a17e68f net: bridge: Fix a warning when del bridge sysfs
c35ce3d38caa net: qrtr: Fix port ID for control messages
f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport
(From OE-Core rev: b6bb4c9dfd1455b069eb144b1ed58db5bb654f24)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e813c8d776679fc602b06959dd7e280959ffd1ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
850e6a95deb5 Linux 5.4.99
e8ffaca0fe27 ovl: expand warning in ovl_d_real()
b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
ac79b1d94a88 vsock: fix locking in vsock_shutdown()
c025081b57df vsock/virtio: update credit only if socket is not closed
2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable
a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout()
611d93fbea54 net: fix iteration for sctp transport seq_files
2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list
5c53956a8da0 net: dsa: call teardown method on probe failure
0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes
73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning
0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
1019015a5dca i2c: stm32f7: fix configuration of the digital filter
546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check
b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6
40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration
3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel
107cf5eede74 firmware_loader: align .builtin_fw to 8
beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue()
a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too
da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only
0142b957866f ibmvnic: Clear failover_pending if unable to schedule
3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS
c0daa74b8ed7 selftests: txtimestamp: fix compilation issue
6107338c2fa2 net: enetc: initialize the RFS and RSS memories
71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available()
ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update
b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns
35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry
7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two()
e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling
69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment()
8a5991c8214b lkdtm: don't move ctors to .rodata
4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation
b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated
f49bff85b6db ARM: ensure the signal page contains defined contents
06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth"
91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping
0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment
5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit
f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect
76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1
4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16
335a285aa0f0 ovl: skip getxattr of security labels
43e3cf46afb1 cap: fix conversions on getxattr
df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds
cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default
2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399
2407794f2298 cgroup: fix psi monitor for root cgroup
18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall
a0997a86f5c0 tracing: Check length before giving out the filter buffer
74c7bafdd303 tracing: Do not count ftrace events in top level enable output
4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips
2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage
(From OE-Core rev: 616ec1dd21c54e79c1778ab8f11bd9be4d65eb89)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c300a9e9d414355af783f2adae53cde0c6319d08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658
(From OE-Core rev: 8836a56a9f17f238908b7d0e286a6d386f7be290)
Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b1c6cd87bee6b019619dc5728fd6c36bc87ed696)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant
before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests.
It could result in denial of service or other impact
(potentially execution of arbitrary code), for an attacker within radio range.
Upstream-Status: Acepted [https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32]
CVE: CVE-2021-27803
(From OE-Core rev: 2877d0d42ffb656a6afa1f99084490ec4d84115b)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since the INIT_MANAGER variable has been introduced, there is no need
to append the distro features and set the init manager manually.
Replace the busybox/mdev and systemd examples with the 4 values
currently supported for the INIT_MANAGER variable.
(From meta-yocto rev: 9fa107b017c1619a4a3969d452ae93ffa088f60f)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.
(From meta-yocto rev: 623914eb5b7cb4e0b779bd53f550547164d727e1)
Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 200b05182c74f3f4f778907d5ee92831adb3d77e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: cf22f3831488b346195e049ace92e153d18660db)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be8d3d0fa6bbc2924ffbdbaa66e9ffaef2b96de6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: bd3352880322598b0ba6dc439ff08c2e4c592e36)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb05814335e7101bfd8df0a11dc18a044e867bed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: a2658937bcb987b061cd9866d726d9d66623e93c)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ecf8922e6bb12a2facc59bbe794b575101fce1dc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage
[YOCTO #13471]
(From OE-Core rev: ef228792632585d3e13cdebe7313c945b966354f)
Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1ce7e76551b3b2f4477f780e67cf894f760529e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.
(From OE-Core rev: 66efd3fde270bf24f71a6aab1c4f8cf34a52c3d2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16f9c727569414cd52862dcba18d8e423f4e961)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.
Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.
(From OE-Core rev: ed1fbc5a33ea6e6cdcfd4749153b51338b132619)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1c0cd8012a96fd4d9caf33c6de5fd39cea6db55d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.
Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.
(From OE-Core rev: 1f218351c2ef702c76b1d1e793a624e1a4f5079b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 53ffffa32b76330835287dfc05d4e4796841af08)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.
e.g.:
char *srcdate = getenv(SOURCE_DATE_EPOCH);
if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))
Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache
(From OE-Core rev: 72daea3a413ff0a8ded76a494d673c5264535426)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9a1dde74e794362399193dc3f81c9685a83d0776)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.
[YOCTO #9700]
(From OE-Core rev: b6d941126e92e26ae26cc4550c6849829eb88af9)
Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a5afd7b1857c0012ab6e3d8bbafa67a96ff9e9e0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.
Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.
(From OE-Core rev: 06d9fa9aa2935550f7967f84285b97e6c9a2cea1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02f36ed515afed550dfcd986977ce2106dee556a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The patch was submitted and merged upstream.
(From OE-Core rev: 5112dc734efbb47cbe278bb8cf75ae97136739a6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 871bce0703ca9d14e5c44f6ee0b66fcb13cfb630)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.
(From OE-Core rev: eb8985c7192c4f0266297135e47622ab5e885700)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f3930cba16ccbc4b76ed14187d5586d6479bc59e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.
(From OE-Core rev: 8a6c1c722d7038ef4f3ce318bc3a38348e22ad74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 66a8ca0f206434e0b301a8fdc90f062750d6d118)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: c820176245e76e8df384f96c3d4ad5bdf596f5ae)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 21621e09162ff9e8014a1cfba78d0f2c3746202a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Some paths used in image construction shouldn't be tracked under pseudo
so list these.
(From OE-Core rev: b04d7a7aed5b05e8561029c5e570206ac9b9fa4e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9463be2292b942a1072eea88881b9644e55aadb9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* not sure if there are some valid use-cases for missing manifest, but
recently I'm seeing increasing number of build failures where something
from native recipe is missing (seen it with pseudo, autoconf, nodejs
recently) and the only indication that something is wrong (before showing
sometimes misleading error like:
recipe-sysroot-native/usr/bin/node: No such file or directory
is this warning:
NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded
if I rebuild that native dependency, then it gets fixed and I don't
see these failures in clean builds (as without sstate and with empty
TMPDIR), only in incremental builds
* but if there isn't valid reason for missing manifest file, then I think
it would be better to error early (or even bb.fatal())
(From OE-Core rev: e0c1db170fdd6c1d78fdfce017feae26c96fac29)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 95607a26854d873399d2b9d7e5fcbffc0cbdba4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
librepo: missing path validation in repomd.xml may lead to directory traversal
Upstream-Status: Acepted [7daea2a242]
CVE: CVE-2020-14352
(From OE-Core rev: f0df1ff1de6ca9a239d7eafd335b753d6a6e6471)
Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525
References:
https://nvd.nist.gov/vuln/detail/CVE-2021-0326
Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e<links_for_CVE_patches>
(From OE-Core rev: 629a275bbafe7436f73ace59ab06d44e316b6b9d)
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b7940edabe100512e8f558cc37f9da836feae74d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License file had a number of new additions for new firmware but no
new licenses that didn't already exist.
(From OE-Core rev: 472fc9846305a656d02c83419d8d768507c64696)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit eab46e65feae24311f0ee0cd05b7ebb2e3b07363)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.
This should then let us debug other issues using those log messages.
(Bitbake rev: e0dd20a006ce6fdc656e6be6ac581e93e2ed4a95)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.
(From OE-Core rev: dd893279f352e290c23577a0f91df1b8c6232f10)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 25f78abd8bbeb201fd9452e7983e015027954948)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Due to a bug in glibc 2.33, the value of the icache line size is now
reported as unsupported option. This breaks qemu at runtime with:
cacheinfo.c:182: init_cache_info: Assertion `(isize & (isize - 1)) == 0'
failed.
Aborted (core dumped)
We haven't caught this one yet because we were already on qemu 5.2.0
when we started to play with glibc 2.33 so it was only reproducible on
dunfell.
(From OE-Core rev: fdb3ff363c6f8408058f362f3bfdeee4e18150fa)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Python 3.9 dropped isAlive() so use the preferred is_alive().
(From OE-Core rev: 48acaa7d53b677f55c96289750aa0dd26345af7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bb06428cbb2ac0f3d98a1696f050d3393385503)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.
Signef-off-by: Robert Drab <robert.drab@huawei.com>
(From OE-Core rev: 7677ba25994ab6807519f3920c8cf6ad414ac415)
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 777fc24ab2c332954b56dac28cd9b3032808828c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Problem spotted on dunfell-23.0.4
Normally, unversioned .so is removed from -dev (default) package
however it is still being referred by other agents, such as webkitgtk.
That can be observed while executing i.e. Epiphany Browser.
For instance:
platformInitializeWebProcess()
calls
wpe_loader_init("libWPEBackend-fdo-1.0.so")
as a result one can see:
--------------------
wpe_loader_init could not load the library 'libWPEBackend-fdo-1.0.so':
libWPEBackend-fdo-1.0.so: cannot open shared object file:
No such file or directory
--------------------
"master" branch contains a bumped-up version of webkitgtk
to which this issue does not apply (the code has changed).
Forcefully keep this .so symlink to resolve the problem in dunfell.
(From OE-Core rev: 341e18ff05bb6758e3e153ed8c27723a6f51621d)
Signed-off-by: Zbigniew Bodek <zbigniew.bodek@huawei.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.
This allows the rpms to be built reproducibly.
(From OE-Core rev: 6842791f97546c963ea77215c9f5012dc40ed886)
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f16721df6b3d0d3e681d9a1b3393417bd62b6275)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.
(From OE-Core rev: 69c8987da199933554a9dd0eda0a045a4534bfab)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit af1dbea3c9b9b42a3e6803b231e425423d70e210)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The two duplicate lines are not needed. The existence is confusing.
(From OE-Core rev: 24afa7308cea30ed1b4f40ea8c1c95e485560237)
Signed-off-by: Thomas Viehweger <patchesThomas.Vie@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 36bdb4faa90dc18bc020481eba82ee570b968c39)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.
It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.
(From OE-Core rev: 42f742452df1258bd0679c115ed90c45a8a893d9)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5f61e20002c2af93e2d6810574e23606925526ee)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The current recipe unconditionally RDEPENDS on nodejs (the target one).
When building on the "-native recipe" of "BBCLASSEXTEND native" recipe,
the target nodejs is unnecessarily built.
This patch fixes this by only RDEPENDS on nodejs when building for the target.
(From OE-Core rev: 3720c39524df866b570540310edaac973cdad7fb)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9a86df9e3bcffb13d2f8b5dcbe7822170f734)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.
Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.
(From OE-Core rev: 40047178fa31c3503c1f119e5a7e41c4cfb2bcd4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4449fa226e94f7124215c5ead43aadda7967f3af)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Don't hardcode the host's grep path into xmlto.
(From OE-Core rev: 987562f2ebfa9252a51106bc0198a1604c4e3df0)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a7d78971df193c321c309481749fc30cae77788c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
My previous fix wasn't correct as the file timestamps do vary by git checkout
or modification time and aren't correct here. Instead use a specific
date/time for the files to be deterministic.
(From OE-Core rev: 2a50e0e6c226c5f3a4e36be6a80c6880710bc130)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 725a30a30052540a4b7fc2933396fe9eb946eeac)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When installing the font files, preserve their timestamp rather than using
the current time which fixes reproducibility issues.
(From OE-Core rev: 60c515d84d3bff57412e9c4f616f42e529bf0831)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a0c4f4b0182a995f0eb2709cc9b3c852527ab936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add some temporary bumps to versions to change the output hash so
the fix applies correctly. Can be dropped next time we update the
recipe and the output changes.
(From OE-Core rev: d99e2a0c4e5d03d7f6958be14cc1e27a7d9ee01c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 69205edcdff865048e55a6b7feaf82064ebc10c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The build was injecting the path of the host's sendmail binary. Set
this deterministically to match OE's path for it.
(From OE-Core rev: a272b6e4c0b16017918d95fad04d05b27186317a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 476328b91ea4417160580d28df4fcc1147d85ae2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The LINGUAS file can be written by two different Makefile targets
and if they race, the desktop file contents isn't deterministic.
Fix the makfile to avoid this.
(From OE-Core rev: 670efddd8d009828651cd55aa673e68d2268cef3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 416bc7b697764075fbf73683cd8bddf36d839244)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a couple of configure options to avoid determism issues in the vim build.
This can happen due to the addition of glib-2.0 to the native sysroot through
later task additions to the sysroot through indirect dependencies.
(From OE-Core rev: a7e6887d73e36be47a7b1b187cc6dc8d3e0dd9f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.
(From OE-Core rev: 52658a8df1bf86902a277f4896cf766c8391ad61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 31f2ad739ea776a1e11b5cef5434df188007c7bf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test mimic the boot_from_runlevel_3 and boot_from_runlevel_5 test cases from oeqa/manual/bsp-hw.json.
The boot_from_runlevel_3 and boot_from_runlevel_5 manual test cases should be remove from oeqa/manual/bsp-hw.json if this patch get merged.
(From OE-Core rev: 56d4c2867743b4b6bf79a4a9472799038522a331)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6effd30f0e3726bc1f2eb7768c57c6b95eddb079)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The reproducible build tests can take a long time, so having more
logging messages at various points in the build can help debug where the
build is taking a long time.
(From OE-Core rev: 60a9e095297b756175e4a414bbee297b74547a7a)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b792afe8759d62af8e713b86dad8f6721961a05)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The SSTATE_MIRRORS variable was misspelled, which allowed the "clean"
test build to pull from the mirror.
(From OE-Core rev: f81fa4cf7ff1e48f7499f2cb5e2c7d7f9ea438be)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e42497bd84d0bb370a9f7b0448bff29f01fd1b0c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building vim it tries to rebuild files using iconv. If this fails
the build continues anyway but the output is not determnistic as builds
using a hosttools tarball are different from builds where there isn't a
hosttools tarball. Add the needed gconvs to the tarball when iconv is
present to become determistic and generate vim locales consistently.
(From OE-Core rev: fb8063147c1afc8f2554597a0e40de6659014bb6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b945652a088f430a2adec6b968cd00c5928d4272)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I've seen local differences in the quilt output depending on whether the column
binary was available in the sysroot. Fix determinism issues by being specific
about configuration.
(From OE-Core rev: a90e10d66bbfb07a8ce11daa1c52c8b8afe17f61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0cd5fba8634bcc679518f98cc25be66a51081372)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
5b9a4104c902 Linux 5.4.98
3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup
d78a70667738 squashfs: add more sanity checks in inode lookup
a814355e7057 squashfs: add more sanity checks in id lookup
848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region
78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod
8589eda99cb1 regulator: Fix lockdep warning resolving supplies
513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs
d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly
19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
fa758032a546 iwlwifi: mvm: guard against device removal in reprobe
2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
c82793ef4f3b iwlwifi: pcie: fix context info memory leak
b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA
589cf152fe47 ASoC: ak4458: correct reset polarity
e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
a5c70e57c4c1 chtls: Fix potential resource leak
8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA
26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition
03d76df5f164 af_key: relax availability checks for skb size calculation
968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules
5e1942063dc3 Linux 5.4.97
40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
5d3007b6cc7b net: ip_tunnel: fix mtu calculation
90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list
271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended
7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way
e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on
5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub
03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs
bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel
40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP
56d61cd652dd mm, compaction: move high_pfn to the for loop scope
90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page
3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page
108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors
b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails
68c825bd2726 smb3: fix crediting for compounding when only one request in flight
eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate()
00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails
fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case
f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show()
d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier
e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation
efa17285b338 mac80211: fix station rate table updates on assoc
ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect
6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization
ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop
32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data
1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode
9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex
2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt
522567fe540d USB: gadget: legacy: fix an error code in eth_bind()
e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end
7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data
bf0507fb2073 net: lapb: Copy the skb before sending a packet
1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation
67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up
ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range
68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel
98650c3d0e33 um: virtio: free vu_dev only with the contained struct device
02531b5549eb bpf, cgroup: Fix problematic bounds check
9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30
831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value
829bf438cb39 Input: i8042 - unbreak Pegatron C15B
0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled
96dcfabef504 USB: serial: option: Adding support for Cinterion MV31
5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB
(From OE-Core rev: 91363bc050e920130b8855fe5fe10b674dd3ef55)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 98bb6a3cb528abe02b6edc291d05e240985ca80e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:
d4716ee8751b Linux 5.4.96
b1a1c262e4b0 workqueue: Restrict affinity change to rescuer
5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU
2d7ca4a84b58 objtool: Don't fail on missing symbol table
88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1
c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian
805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length
8e59209d53c9 udf: fix the problem that the disc content is not displayed
2d1593543418 ALSA: hda: Add Cometlake-R PCI ID
c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration
02cc1ee3e8d1 mac80211: fix fast-rx encryption check
efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection
e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed
335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state
b1f680ffc25b x86: __always_inline __{rd,wr}msr()
d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable
fd4c12f31209 net_sched: gen_estimator: support large ewma log
27afc7128345 btrfs: backref, use correct count to resolve normal data refs
66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root
c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref
21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset
1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes
55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address()
b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address()
11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly
1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT""
5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered
bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
9edebe46010c net: dsa: bcm_sf2: put device node before return
e89428970c23 Linux 5.4.95
e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
3e93b9efc3bb team: protect features update by RCU to avoid deadlock
489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
9a4d367b2783 NFC: fix possible resource leak
c929c76e98b0 NFC: fix resource leak when target index is invalid
b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local
6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths
0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn
e4405451dd6e nvme-multipath: Early exit if no path is available
64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info()
4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level
a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow
dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow
02ef126a002d igc: fix link speed advertising
873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized
cf9276211563 mac80211: pause TX while changing interface type
46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads
563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit
f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value
72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build
347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register
78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta()
f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp
deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template
347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set
61bdab3d770b xen-blkfront: allow discard-* nodes to be optional
65543408f257 tee: optee: replace might_sleep with cond_resched
ad3d896ef55c drm/i915: Check for all subplatform bits
59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
37ef9b59f479 mt7601u: fix rx buffer refcounting
77771158182f mt7601u: fix kernel crash unplugging the device
2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray
6aceac245059 leds: trigger: fix potential deadlock with libata
2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL
632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots
ba668a507788 KVM: x86: get smi pending status correctly
ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion
d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
53fd4e4003a6 PM: hibernate: flush swap writer after marking
7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset
9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register
5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines
f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex
93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias
587c6b75d7fd nbd: freeze the queue while we're adding connections
b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers
1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition
(From OE-Core rev: 19698ff8e9589177c11b52aff2086d5b12e9e0af)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b39a6de2c1175e4554c688a44c905c24367fa57a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Lets include whcih layer a package belongs to and
add it to the cve logs
(From OE-Core rev: 4281c88dd36d93fda5ca5e90722c98c061da25c6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 00d965bb42dc427749a4c3985af56ceffff80457)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Default behavior is not changed. To suppress patched CVEs, set:
CVE_CHECK_REPORT_PATCHED = ""
(From OE-Core rev: cdbed91b1e23d6373a759e87fcadb85a37fead8d)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 05bd9f1f006cf94cf5324f96df29cd5862abaf45)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The addition of this variable also makes it possible to change the
output suffix of the check files, e.g. in local.conf:
CVE_CHECK_MANIFEST_append = ".txt"
CVE_CHECK_RECIPE_FILE_append = ".txt"
(From OE-Core rev: 7432d1048f70a36c7e8e7eafb480cd0ad835eb78)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0d40f1482c6d87785ae47c46c2305e1df46f459a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in the changes:
makewrappers: Fix glibc 2.33 fstatat usage issues
ports/linux: Add wrapper for fstatat/fstatat64 in glibc 2.33
(From OE-Core rev: b09b9a28f8ab26b5ce5a21e1f3f1d05eb3540d61)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfcb1c5eb2690046f96c2bb6724e091028ddc3ec)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Pull in:
ports/rename/renameat: Avoid race when renaming files
ports/unix: Add faccessat and faccessat2
ports/access.c: Use EACCES, not EPERM
which includes a fix for rename race issues causing pseudo aborts.
(From OE-Core rev: 8a21081add7b2a2698f8eafcc9df472188e9a9c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 330c232e4f756296331f9026e91ac26fd45f0315)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update to a pseudo version which contains some heqader fixes for
glibc 2.33.
(From OE-Core rev: 3bf3de8159c44c47a39104fdda5d63aab549269d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c897ac317926b132547578b1f6bd347fe5677dfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been the same as OE-Core for a long time, drop our custom settings.
(From meta-yocto rev: 7972a9b48f61af7ac10d1881dcaaf9c5f48bfb87)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8c1084f3fd4ca987c3307f4c4c1475b40060ce3f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 16:29:51 +00:00
455 changed files with 6584 additions and 1959 deletions
if not name.endswith("-dev") and not name.endswith("-dbg") and not name.endswith("-ptest") and not name.startswith("nativesdk-") and path.endswith(".so") and os.path.islink(path):
if not name.endswith("-pic") and not name.endswith("-staticdev") and not name.endswith("-ptest") and path.endswith(".a") and not path.endswith("_nonshared.a") and not '/usr/lib/debug-static/' in path and not '/.debug-static/' in path:
status.addresult("Error, you have an invalid character (+) in your COREBASE directory path. Please move the installation to a directory which doesn't include any + characters.")
if oeroot.find('@') != -1:
status.addresult("Error, you have an invalid character (@) in your COREBASE directory path. Please move the installation to a directory which doesn't include any @ characters.")
if oeroot.find(' ') != -1:
status.addresult("Error, you have a space in your COREBASE directory path. Please move the installation to a directory which doesn't include a space since autotools doesn't support this.")
for checkdir in ['COREBASE', 'TMPDIR']:
val = d.getVar(checkdir)
if val.find('..') != -1:
status.addresult("Error, you have '..' in your %s directory path. Please ensure the variable contains an absolute path as this can break some recipe builds in obtuse ways." % checkdir)
if val.find('+') != -1:
status.addresult("Error, you have an invalid character (+) in your %s directory path. Please move the installation to a directory which doesn't include any + characters." % checkdir)
if val.find('@') != -1:
status.addresult("Error, you have an invalid character (@) in your %s directory path. Please move the installation to a directory which doesn't include any @ characters." % checkdir)
if val.find(' ') != -1:
status.addresult("Error, you have a space in your %s directory path. Please move the installation to a directory which doesn't include a space since autotools doesn't support this." % checkdir)
if val.find('%') != -1:
status.addresult("Error, you have an invalid character (%) in your %s directory path which causes problems with python string formatting. Please move the installation to a directory which doesn't include any % characters." % checkdir)
# Check the format of MIRRORS, PREMIRRORS and SSTATE_MIRRORS
self.assertTrue(find_in_contents,msg="openembedded-core should have been listed at this step. bitbake-layers layerindex-show-depends meta-poky output: %s"%result.output)
self.assertTrue('ERROR: No new tasks can be executed since the disk space monitor action is "STOPTASKS"!'inres.output,msg="Tasks should have stopped. Disk monitor is set to STOPTASK: %s"%res.output)
self.assertEqual(res.status,1,msg="bitbake reported exit code %s. It should have been 1. Bitbake output: %s"%(str(res.status),res.output))
self.assertTrue('ERROR: Immediately abort since the disk space monitor action is "ABORT"!'inres.output,"Tasks should have been aborted immediatelly. Disk monitor is set to ABORT: %s"%res.output)
self.assertEqual(res.status,1,msg="bitbake reported exit code %s. It should have been 1. Bitbake output: %s"%(str(res.status),res.output))
DESCRIPTION="GNU-EFI aims to Develop EFI applications for ARM-64, ARM-32, x86_64, IA-64 (IPF), IA-32 (x86), and MIPS platforms using the GNU toolchain and the EFI development environment."
SUMMARY="RISC-V Open Source Supervisor Binary Interface (OpenSBI)"
DESCRIPTION="OpenSBI aims to provide an open-source and extensible implementation of the RISC-V SBI specification for a platform specific firmware (M-mode) and a general purpose OS, hypervisor or bootloader (S-mode or HS-mode). OpenSBI implementation can be easily extended by RISC-V platform or System-on-Chip vendors to fit a particular hadware configuration."
SUMMARY="User support binary for the uvesafb kernel module"
HOMEPAGE="https://tracker.debian.org/pkg/v86d"
DESCRIPTION="v86d provides a backend for kernel drivers that need to execute x86 BIOS code. The code is executed in a controlled environment and the results are passed back to the kernel via the netlink interface."
SUMMARY="Name Service Switch module for Multicast DNS (zeroconf) name resolution"
HOMEPAGE="https://github.com/lathiat/nss-mdns"
DESCRIPTION="nss-mdns is a plugin for the GNU Name Service Switch (NSS) functionality of the GNU C Library (glibc) providing host name resolution via Multicast DNS (aka Zeroconf, aka Apple Rendezvous, aka Apple Bonjour), effectively allowing name resolution by common Unix/Linux programs in the ad-hoc mDNS domain .local."
DESCRIPTION="Mobile Broadband Service Provider Database stores service provider specific information. When this Database is available the information can be fetched there"
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.