We've seen cases where an OOM error causes bitbake server to hang:
9171 02:21:09.127810 Command Completed
Traceback (most recent call last):
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/bin/bitbake-server", line 51, in <module>
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 550, in execServer
server.run()
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 108, in run
ret = self.main()
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 242, in main
ready = self.idle_commands(.1, fds)
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 370, in idle_commands
bb.event.fire(heartbeat, self.cooker.data)
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 216, in fire
fire_class_handlers(event, d)
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
execute_handler(name, handler, event, d)
File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 93, in execute_handler
ret = handler(event)
File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 182, in defaultrun_buildstats
write_host_data(os.path.join(bsdir, "host_stats"), e, d, "interval")
File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 160, in write_host_data
output = subprocess.check_output(c.split(), stderr=subprocess.STDOUT, timeout=limit).decode('utf-8')
File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
**kwargs).stdout
File "/usr/lib/python3.6/subprocess.py", line 423, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1295, in _execute_child
restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory
We need to wrap the calls in the same high level wrapper as idle function calls
and trigger an exit upon an unhandled exception.
(Bitbake rev: 74042b5b89d5a170013fc1a327ce3a6530fbf7d5)
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: ab0a296607b58775e91948ba40956c666dbb1244)
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: d2e81298c446aec8d7fcf61fd5023ac30350f205)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.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: 0361d625e1573e846a2f03ed90a8b897bc405160)
Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
musl includes were not using the relocatable prefix like glibc
counterpart, this will mean that musl SDKs will behave better and find
the headers in right install directories
(From OE-Core rev: 8cb141306f13fa6e25c89c104af9ad0af431eb5d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Musl has different search order and therefore injects it
via INCLUDE_DEFAULTS and does not use the defaults from
gcc/cppdefaults.h, this ensures that same fix is extended
to musl configs too where it can search for compiler headers
It will fix builds with musl where omp.h is not found because
it is in gcc includes path on target ( not cross ) sysroot
(From OE-Core rev: 3ff688ca02dcc4c0187d1ddc214ec0c74b4e73f1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
v5.13 has started storting the values for NM and OBJTOOL in
auto.conf.cmd
Just as we've done for other tools, we need to adjust NM and
OBJTOOL to the names of the on-target executables. With this
adjustment, 'make scripts prepare' continues to work without
user intervention on the target.
(From OE-Core rev: e749b81ece1f94f99ca26028a2f6f891aa14bda9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: 4d4609d4bb709db887b5302077f89a14c05b1edc)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
72bb632d15f2 Linux 5.10.36
14b2801ccd9b thermal/core/fair share: Lock the thermal zone while looping over instances
c24a20912eef thermal/drivers/cpufreq_cooling: Fix slab OOB issue
051dd0681ce1 lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
1cb02dc76f4c dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
06141465e372 dm integrity: fix missing goto in bitmap_flush_interval error handling
df893916b330 dm space map common: fix division bug in sm_ll_find_free_block()
fcf763a80e0e dm persistent data: packed struct should have an aligned() attribute too
a33614d52e97 tracing: Restructure trace_clock_global() to never block
9e40ef5391df tracing: Map all PIDs to command lines
ea6803ff2cd1 tools/power turbostat: Fix offset overflow issue in index converting
b84c57762cef rsi: Use resume_noirq for SDIO
b1c953dc853a tty: fix memory leak in vc_deallocate
25e9c2c11735 usb: dwc2: Fix session request interrupt handler
fce7bbcd07d5 usb: dwc3: core: Do core softreset when switch mode
b624b32584ac usb: dwc3: gadget: Fix START_TRANSFER link state check
f9ddfaa9703c usb: dwc3: gadget: Remove FS bInterval_m1 limitation
8df75d1296d0 usb: gadget/function/f_fs string table fix for multiple languages
ba8ce683076e usb: gadget: Fix double free of device descriptor pointers
f12c5cca65f7 usb: gadget: dummy_hcd: fix gpf in gadget_setup
678e76bccee4 media: venus: hfi_parser: Don't initialize parser on v1
5d0f6f5251a3 media: v4l2-ctrls: fix reference to freed memory
4121def7df29 media: staging/intel-ipu3: Fix race condition during set_fmt
c6b81b897f6f media: staging/intel-ipu3: Fix set_fmt error handling
517f6f570566 media: staging/intel-ipu3: Fix memory leak in imu_fmt
8acb13189dae media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
a5e9ae5a22b0 media: dvb-usb: Fix use-after-free access
43263fd43083 media: dvbdev: Fix memory leak in dvb_media_device_free()
378a016271ba ext4: Fix occasional generic/418 failure
133e83b5b3b3 ext4: allow the dax flag to be set and cleared on inline directories
72447c925ea9 ext4: fix error return code in ext4_fc_perform_commit()
bf4ba04f0161 ext4: fix ext4_error_err save negative errno into superblock
12905cf9e5c4 ext4: fix error code in ext4_commit_super
7e9298f4d139 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
098b257563b9 ext4: fix check to prevent false positive report of incorrect used inodes
346190959f97 ext4: annotate data race in jbd2_journal_dirty_metadata()
9aca313726cb ext4: annotate data race in start_this_handle()
a27aad321751 kbuild: update config_data.gz only when the content of .config is changed
3aec683ee79b x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
d19a456acaec futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
2543329485e2 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
d35c4c959eb4 smb3: do not attempt multichannel to server which does not support it
796b82637528 smb3: when mounting with multichannel include it in requested capabilities
5781c9df77a3 jffs2: check the validity of dstlen in jffs2_zlib_compress()
54708651bc1e Fix misc new gcc warnings
f37b9c142e1c security: commoncap: fix -Wstringop-overread warning
bf2b941d0a6f sfc: farch: fix TX queue lookup in TX event handling
fb791572d674 sfc: farch: fix TX queue lookup in TX flush done handling
11e3ff7e164a exfat: fix erroneous discard when clear cluster bit
1c525c265668 fuse: fix write deadlock
0cd2d2577a98 dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
661061a45e32 md/raid1: properly indicate failure when ending a failed write request
015cc7ad58d0 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
0ba942cbf52b crypto: arm/curve25519 - Move '.fpu' after '.arch'
c9adb76c712c tpm: vtpm_proxy: Avoid reading host log when using a virtual device
60a01ecc9f68 tpm: efi: Use local variable for calculating final log size
4a63b2438a93 intel_th: pci: Add Alder Lake-M support
34ceafa62f49 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
0bdcaebb1225 powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
f2aa64979e11 powerpc/kexec_file: Use current CPU info while setting up FDT
481fee8295ab powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
293c30ce25e0 powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
643243e31868 jffs2: Hook up splice_write callback
72c282b10951 jffs2: Fix kasan slab-out-of-bounds problem
072f787e8798 Input: ili210x - add missing negation for touch indication on ili210x
2fafe7d5047f NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
334165d9fb69 NFS: Don't discard pNFS layout segments that are marked for return
96fa26b74cdc NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
e0f2d86481ea ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
a1478374b0bd openvswitch: fix stack OOB read while fragmenting IPv4 packets
4248f4649bf3 mlxsw: spectrum_mr: Update egress RIF list before route's action
9aa4602237d5 f2fs: fix to avoid out-of-bounds memory access
39624749c52d f2fs: fix error handling in f2fs_end_enable_verity()
50b0c0c3385d ubifs: Only check replay with inode type to judge if inode linked
5a876a46d7b7 kcsan, debugfs: Move debugfs file creation out of early init
d19555ff225d virtiofs: fix memory leak in virtio_fs_probe()
1b41d4e5aa75 fs: fix reporting supported extra file attributes for statx()
dc4b67baba3b Makefile: Move -Wno-unused-but-set-variable out of GCC only block
0f9055936668 arm64/vdso: Discard .note.gnu.property sections in vDSO
1d852d6bb4d4 btrfs: fix race when picking most recent mod log operation for an old root
b24f0e381036 tools/power/turbostat: Fix turbostat for AMD Zen CPUs
d1ca3d2c4fd5 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
a9d0f7c14789 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
3c8a599bc951 ALSA: hda/realtek - Headset Mic issue on HP platform
871234a6ad4c ALSA: hda/realtek: fix mic boost on Intel NUC 8
13ff604c79a0 ALSA: hda/realtek: GA503 use same quirks as GA401
970fbbee55bc ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
12fea3cb2277 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
ad7736cebf4d ALSA: usb-audio: Explicitly set up the clock selector
cc427a507f29 ALSA: sb: Fix two use after free in snd_sb_qsound_build
1ce8212e80f9 ALSA: hda/conexant: Re-order CX5066 quirk table entries
9b7388931fbb ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
443467bd6240 power: supply: cpcap-battery: fix invalid usage of list cursor
a15f68a5d55c sched,psi: Handle potential task count underflow bugs more gracefully
a32a2d831de0 s390/archrandom: add parameter check for s390_arch_random_generate
338a87230228 block/rnbd-clt: Fix missing a memory free when unloading the module
ae7fe4794da2 sched,fair: Alternative sched_slice()
94902ee2996a perf: Rework perf_event_exit_event()
2c4de79e9a09 scsi: libfc: Fix a format specifier
97a81d4051c3 mfd: arizona: Fix rumtime PM imbalance on error
14c7e3f5bed5 mfd: da9063: Support SMBus and I2C mode
d7ec1dab6be7 mfd: intel-m10-bmc: Fix the register access range
c8fe9ef530e9 scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
cc42ea42e250 scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
1ac2b3720f61 scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
56488df9f4bc drm/amdgpu: fix NULL pointer dereference
d721702f8a82 drm/amd/display: Try YCbCr420 color when YCbCr444 fails
f26f33a40952 amdgpu: avoid incorrect %hu format string
a98a90048853 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
081cec78467f drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
cc6215d94de9 drm/amd/display: Fix debugfs link_settings entry
bcefa89b3e48 drm/radeon/ttm: Fix memory leak userptr pages
14637a8dfe4f drm/amdgpu/ttm: Fix memory leak userptr pages
6e4ae9b0eb23 drm/msm/mdp5: Do not multiply vclk line count by 100
79f701ec9efa drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
2f5f4cce496e sched/fair: Ignore percpu threads for imbalance pulls
fded2096b153 media: gscpa/stv06xx: fix memory leak
f8f2b7ebe03a media: dvb-usb: fix memory leak in dvb_usb_adapter_init
1b61ad26af55 media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
810cf54025b7 media: platform: sti: Fix runtime PM imbalance in regs_show
67a97525dd6e media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
c8e7e6e1780c media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
3f9e0eb06258 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
651ad9e04f75 media: adv7604: fix possible use-after-free in adv76xx_remove()
8d3ae83d6344 media: tc358743: fix possible use-after-free in tc358743_remove()
a931c5791b5e power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
ccb098c053dc power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
932329941ca8 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
573bbb6f80f1 drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
4066456bb2de media: vivid: update EDID
6fef73a039da media: em28xx: fix memory leak
ed7ab208cc2e scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
486e974358e7 scsi: smartpqi: Add new PCI IDs
c3187412d9c7 scsi: smartpqi: Correct request leakage during reset operations
bc05560dd756 scsi: smartpqi: Use host-wide tag space
dc655d743c2b power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
a669817a3384 selftests/resctrl: Fix checking for < 0 for unsigned values
726d3185b89a selftests/resctrl: Fix incorrect parsing of iMC counters
19eaad1400ea selftests/resctrl: Use resctrl/info for feature detection
0ccead50c386 selftests/resctrl: Fix missing options "-n" and "-p"
cd29eef12771 selftests/resctrl: Clean up resctrl features check
6ef95f0b80ec selftests/resctrl: Fix compilation issues for other global variables
cf99daf7c3a2 selftests/resctrl: Fix compilation issues for global variables
078d3d75dd4c selftests/resctrl: Enable gcc checks to detect buffer overflows
9ec74da2ac4c nvmet: return proper error code from discovery ctrl
7f9757005cf5 drm/komeda: Fix bit check to import to value of proper type
5e8b58e27ea8 ata: ahci: Disable SXS for Hisilicon Kunpeng920
c753c1a77e7a mmc: sdhci-brcmstb: Remove CQE quirk
fdd04d1c8336 mmc: sdhci-pci: Add PCI IDs for Intel LKF
79315ebff432 mmc: sdhci-esdhc-imx: validate pinctrl before use it
47ac226199f0 scsi: qla2xxx: Fix use after free in bsg
1d7935fd022d drm/vkms: fix misuse of WARN_ON
57fa6a6a998c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
298778681c10 drm/amd/display: fix dml prefetch validation
dd5d6042e5d2 drm/amd/display: DCHUB underflow counter increasing in some scenarios
9cc76f29b9e5 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
729b92e68b8e drm/amd/pm: fix workload mismatch on vega10
7cb855dfe5f0 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
1874b0ef1426 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
7b3eb98a3ef4 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
61c1ddd29f87 backlight: qcom-wled: Fix FSC update issue for WLED5
918a45b65365 backlight: qcom-wled: Use sink_addr for sync toggle
983d10e59fb4 power: supply: Use IRQF_ONESHOT
80ba39ec7cc9 media: gspca/sq905.c: fix uninitialized variable
6a3edc1a5e17 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
087c2bffb4e9 extcon: arizona: Fix various races on driver unbind
b7d2e5097f18 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
8ff0d8a0904b power: supply: bq27xxx: fix power_avg for newer ICs
7bb783ec9e0e atomisp: don't let it go past pipes array
12b4b2855024 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
f3dd6c47c493 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
b5261590f309 media: ite-cir: check for receive overflow
3a2270dd3f09 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
09a27d662006 kvfree_rcu: Use same set of GFP flags as does single-argument
661af9371c32 sched/pelt: Fix task util_est update filtering
b168fffa3821 drm/amdgpu: Fix some unload driver issues
5b62053e762c scsi: lpfc: Fix pt2pt connection does not recover after LOGO
7382825b068e scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
b814402fdf37 drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
500ec98998c2 drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
bd9477319714 drm/amd/display: Don't optimize bandwidth before disabling planes
6b2132f50d9f drm/amd/display: Check for DSC support instead of ASIC revision
01e03a661872 drm/ast: fix memory leak when unload the driver
100e35484682 drm/amd/display: changing sr exit latency
2c518667f953 drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
6f64be8f5211 drm/qxl: release shadow on shutdown
423fb866b3fc drm/qxl: do not run release if qxl failed to init
6228456ceb1a drm: Added orientation quirk for OneGX1 Pro
9c60c881d662 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
f32b84d7c977 btrfs: do proper error handling in btrfs_update_reloc_root
224c654a2eca btrfs: do proper error handling in create_reloc_root
c5aa9ea54a00 spi: sync up initial chipselect state
b82e8f0bb028 platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
5d60792d1292 crypto: omap-aes - Fix PM reference leak on omap-aes.c
92894b185321 crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
4e7ae0cfaca9 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
8a090d492f70 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
836671775a6e crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
2264965f576f crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
a16162a17417 phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
df9105950755 intel_th: Consistency and off-by-one fix
b549cc7c9ca2 tty: n_gsm: check error while registering tty devices
8f7cdbbf61f9 usb: dwc3: gadget: Check for disabled LPM quirk
2946f95356cc usb: core: hub: Fix PM reference leak in usb_port_resume()
e82da9b21fed usb: musb: fix PM reference leak in musb_irq_work()
015f3f25213e usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
0e73535a496c spi: qup: fix PM reference leak in spi_qup_remove()
75e2b4621137 spi: omap-100k: Fix reference leak to master
517e99f22842 spi: dln2: Fix reference leak to master
4ddfac16b5c7 platform/x86: ISST: Account for increased timeout in some cases
bc900a7ccdd4 tools/power/x86/intel-speed-select: Increase string size
125b3590d1fb ARM: dts: at91: change the key code of the gpio key
2ed4d587539e bus: mhi: core: Clear context for stopped channels from remove()
3737cf191a80 xhci: fix potential array out of bounds with several interrupters
98599e1045c2 xhci: check control context is valid before dereferencing it.
2b195c32bccd xhci: check port array allocation was successful before dereferencing it
b52b1b8c480c fpga: dfl: pci: add DID for D5005 PAC cards
e22fd531518d usb: xhci-mtk: support quirk to disable usb2 lpm
5c22421fb35f random: initialize ChaCha20 constants with correct endianness
2d78ede60615 perf/arm_pmu_platform: Fix error handling
167fecaa4311 perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
64d579453bd6 soundwire: cadence: only prepare attached devices on clock stop
9584ce366cc9 tee: optee: do not check memref size on return from Secure World
e5da8b37ce34 arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
187c001c492c soc/tegra: pmc: Fix completion of power-gate toggling
bc24381f5768 efi/libstub: Add $(CLANG_FLAGS) to x86 flags
8829b6ccf49f x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
fdc9c3cff9e2 x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
af79dc5ad974 ARM: dts: ux500: Fix up TVK R3 sensors
3f571ae706da ARM: dts: BCM5301X: fix "reg" formatting in /memory node
f38f972e14f1 kselftest/arm64: mte: Fix MTE feature detection
d16749988d09 PCI: PM: Do not read power state in pci_enable_device_flags()
d863389e9f2e ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
d9a1f62b03da kselftest/arm64: mte: Fix compilation with native compiler
173ab4bb8cbf usb: xhci: Fix port minor revision
45f879b29da7 usb: dwc3: gadget: Ignore EP queue requests during bus reset
85eb84bd818f usb: gadget: f_uac1: validate input parameters
f63390de9b43 usb: gadget: f_uac2: validate input parameters
df7452f03b7f genirq/matrix: Prevent allocation counter corruption
bde50f19ba24 crypto: hisilicon/sec - fixes a printing error
6a6273a65fcd x86/sev: Do not require Hypervisor CPUID bit for SEV guests
ba637773a9f9 usb: webcam: Invalid size of Processing Unit Descriptor
930d586646cf usb: gadget: uvc: add bInterval checking for HS mode
6202e708f303 crypto: qat - fix unmap invalid dma address
92f333793a78 crypto: api - check for ERR pointers in crypto_destroy_tfm()
298a44f38171 bus: mhi: core: Destroy SBL devices when moving to mission mode
2e40d8cd3db5 spi: ath79: remove spi-master setup and cleanup assignment
91629921cef9 spi: ath79: always call chipselect function
40e02e167816 staging: wimax/i2400m: fix byte-order issue
e160833c9fdf bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
6af796b4ac45 cpuidle: tegra: Fix C7 idling state on Tegra114
6f85f0497274 fbdev: zero-fill colormap in fbcmap.c
af830b27c34d posix-timers: Preserve return value in clock_adjtime32()
a4794be7b00b btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
af835665ddc9 intel_th: pci: Add Rocket Lake CPU support
97f30747b22c btrfs: fix metadata extent leak after failure to create subvolume
0c48349a6d41 x86/build: Disable HIGHMEM64G selection for M486SX
dba16ca6f347 btrfs: handle remount to no compress during compression
5f2adf84624e smb2: fix use-after-free in smb2_ioctl_query_info()
8a90058752e0 cifs: detect dead connections only when echoes are enabled.
23d7b4a8f77a cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
aaa0faa5c28a cifs: Return correct error code from smb2_get_enc_key
7be4db5c2b59 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
44faf03f56b8 mmc: core: Fix hanging on I/O during system suspend for removable cards
886da99e8fc4 mmc: core: Set read only for SD cards with permanent write protect bit
140f225218cd mmc: core: Do a power cycle when the CMD11 fails
20d6f231f8f1 mmc: block: Issue a cache flush only when it's enabled
b1fba87e60bc mmc: block: Update ext_csd.cache_ctrl if it was written
cdc615acade4 mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
6c43290972ed mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
01db7cb746f0 mmc: sdhci: Check for reset prior to DMA address unmap
25ac6ce65f1a mmc: uniphier-sd: Fix a resource leak in the remove function
83e9e22ba93a mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
b7a1577a1a79 scsi: mpt3sas: Block PCI config access from userspace during reset
702cdaa2c628 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
f1cbba5ea75b spi: spi-ti-qspi: Free DMA resources
421f24114c64 spi: stm32-qspi: fix pm_runtime usage_count counter
dbaf435ddf97 erofs: add unsupported inode i_format check
34ec706bf0b7 mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
706e60c19237 mtd: rawnand: atmel: Update ecc_stats.corrected counter
907452b3b6a6 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
cb5305ac5bac Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
2e41cc10660e mtd: spi-nor: core: Fix an issue of releasing resources during read/write
4c44c136f2fa fs/epoll: restore waking from ep_done_scan()
6b5aeb69bb9f ecryptfs: fix kernel panic with null dev_name
3ad1fb97619b arm64: dts: mt8173: fix property typo of 'phys' in dsi node
6c2f97f3887f arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
011b9e1c2a18 ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
634684d79733 ftrace: Handle commands when closing set_ftrace_filter file
d11fdbee28af ACPI: custom_method: fix a possible memory leak
62dc2440ebb5 ACPI: custom_method: fix potential use-after-free issue
58a762a7f3be tpm: acpi: Check eventlog signature before using it
3b8b6399666a vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
026499a9c2e0 s390/zcrypt: fix zcard and zqueue hot-unplug memleak
e534a4b139a8 s390/disassembler: increase ebpf disasm buffer size
90402b6b45f3 dyndbg: fix parsing file query without a line-range suffix
ed9cfd60c787 nitro_enclaves: Fix stale file descriptors on failed usercopy
a1d2bd164c1c bus: mhi: core: Sanity check values from remote device before use
bcb80329e815 bus: mhi: core: Clear configuration from channel context during reset
542fd3e4fde6 bus: mhi: core: Fix check for syserr at power_up
(From OE-Core rev: 86bac399136de151c2b33e715fd8d810707c431c)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.10.:
ktypes/standard: disable obsolete crypto options by default
CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is on by default, but really
shouldn't be on in our kernels for a safe set of baseline options.
This is almost never used, so we disable it by default. If something
needs it, they can turn it on in a board specific config.
(From OE-Core rev: f29be437290a960decdc2d8be8e505e8179c2f58)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
f53a3a480862 Linux 5.10.35
94c76056fc3f vfio: Depend on MMU
4348d3b5027b perf/core: Fix unconditional security_locked_down() call
399f9c18473c platform/x86: thinkpad_acpi: Correct thermal sensor allocation
ac2cd82c7609 USB: Add reset-resume quirk for WD19's Realtek Hub
d844aaa49ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
59b3f88386b5 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
27c1936af506 ovl: allow upperdir inside lowerdir
71d58457a8af ovl: fix leaked dentry
2fa0387fa2d0 nvme-pci: set min_align_mask
f8e71c667ee1 swiotlb: respect min_align_mask
85a5a6875ca9 swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
25ed8827cfbf swiotlb: refactor swiotlb_tbl_map_single
9efd5df078a7 swiotlb: clean up swiotlb_tbl_unmap_single
1f2ef5a0f771 swiotlb: factor out a nr_slots helper
1bbcc985d195 swiotlb: factor out an io_tlb_offset helper
22163a8ec863 swiotlb: add a IO_TLB_SIZE define
2e8b3b0b8e2d driver core: add a min_align_mask field to struct device_dma_parameters
6995512a472f tools/cgroup/slabinfo.py: updated to work on current kernel
a7c37332afa8 perf ftrace: Fix access to pid in array when setting a pid filter
fb4c1c2e9fd1 capabilities: require CAP_SETFCAP to map uid 0
b571a6302a64 perf data: Fix error return code in perf_data__create_dir()
48ec949ac979 net: qrtr: Avoid potential use after free in MHI send
2fa15d61e4cb bpf: Fix leakage of uninitialized bpf stack under speculation
2cfa537674cd bpf: Fix masking negation logic upon negative dst register
a41c193d004e igb: Enable RSS for Intel I211 Ethernet Controller
2e68890993d0 net: usb: ax88179_178a: initialize local variables before use
d3598eb3915c netfilter: conntrack: Make global sysctls readonly in non-init netns
c239bfc2e4ac mips: Do not include hi and lo in clobber list for R6
(From OE-Core rev: 767e6755740204981e5789b7a3066eac855605e8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
In the future we hope to switch to sqlite instead of Berkeley DB, so
prepare for this by adding an (enabled by default) PACKAGECONFIG for
Berkeley DB.
(From OE-Core rev: 365f0804a0726fe4be9eb7ef3515fea2dd38bef1)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The RPM option currently enables ENABLE_RPMDB_BDB which means libsolv
depends on db.
(From OE-Core rev: 8d6be1b9914186bca2552ae03bf9bd35ecbffeec)
Signed-off-by: Ross Burton <ross.burton@arm.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: 0792312f3637ec160d2ef90781a8cb1f75b84940)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License changes were from a new author entry and changes to copyrght
years, no license change.
(From OE-Core rev: e2ddecb7ca7b35259fcce0052b40366379047935)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Building without PIE support seems broken upstream, enable it by default
to match the configuration others evidently use.
Tweak git submodule option to match upstream.
Drop backported/merged patches, refresh others.
(From OE-Core rev: ede1b86e663f1cafccc8aa8c35fa13ebd3f55d11)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To support building against v5.12+ and v5.13+ kernels, bumping to the
v2.12.6 lttng-release.
We drop the previously backported patches, and bring in the following
commits:
0d8e4ab9 Version 2.12.6
78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3
4c996ea7 Disable block rwbs bitwise enum in default build
4ac46085 Disable sched_switch bitwise enum in default build
5e22c27b Add experimental bitwise enum config option
937d307e Add defaults to Kconfig options
4a114d43 Sync `show_inode_state()` macro with upstream stable kernels
3bd6ac3e fix: block: remove disk_part_iter (v5.12)
8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space"
30cddf69 Fix: increment buffer offset when failing to copy from user-space
4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
b2b02c29 Set 'stable-2.12' branch in git review config
00b42dbf fix backport: block: add a disk_uevent helper (v5.12)
771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
d8933959 fix: block: add a disk_uevent helper (v5.12)
71034df1 Fix: properly compare type enumeration
4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1
fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding
92cc3e7f Fix: kretprobe: null ptr deref on session destroy
49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)
23a2f61f Fix: filter interpreter early-exits on uninitialized value
b3fdf78b Fix: memory leaks on event destroy
(From OE-Core rev: c2f027b8e2f842915a0ffdfd6c2c0597f3b02bce)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To support builds against v5.13+ kernels, bumping the devupstream
to 2.13 and the 2.13-rc series.
Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS
patch from the main Makefile to src/Kbuild is done.
The LICENSE file was part of commit [Cleanup: Move headers from toplevel
to include/lttng/], so we adjust the checksum to the new fie contents.
(From OE-Core rev: 18bf7b0eafc5331b0b33c0ae777374e24df741b8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnotify only requires gtk+3 for its tests. Let's disable them by
default and only enable them if "tests" is in PACKAGECONFIG. If gtk+3 is
not available then we need to declare the dependency on gdk-pixbuf
explicitly.
It looks like the tests genuinely do need some sort of desktop
environment to run, so let's maintain the ANY_OF_DISTRO_FEATURES check
added back in 3edf08b38b0af93cef0933b061349264dc86d54c.
(From OE-Core rev: da15d7cf3e6f31c92232f8dd7272ea9ee41656db)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.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: 63da9a4f889c5b0e41bc8ec08abe0acea1546479)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Node modules may need to be built against multiple Node
versions. Setting nodedir in the NPM configuration stops older ways of
doing this, such as setting npm_config_target and npm_config_disturl,
from working.
(From OE-Core rev: 14795ee305f3c11fcc31cc7ca815b8ff1020e29a)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was a warning before, but with the patch
that turns it into an error, it needs to be properly addressed.
(From OE-Core rev: b6257f3b88e788af3ee748a8a6366aab819dce3f)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rebase patches; dropped chunks (and cross-prop-default.patch)
have been removed upstream.
Move native-only patches to all-patches, as they're a pain to rebase
separately.
(From OE-Core rev: cb2a7dcc86d784cb9903f69570ddc05e23d36529)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This allows reusing them in nativesdk-meson without copy-pasting code.
(From OE-Core rev: f2715f5f2a56f9b660f9f0fe2933ec231a2dd8c0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Add-output-of-tests-result.patch
(difficult to rebase). I have verified that ptests
still pass, and print PASS for every test. If they
start failing we can revisit what kind of output would
be beneficial.
(From OE-Core rev: ef1a76f9c130e7efaecae15ccb1d48a03fa17b9b)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was scattered over four different patches, and wasn't guarded
by a configuration option. Hopefully the new patch is acceptable
to upstream.
(From OE-Core rev: 92fc28498fcb9bdcea743961729b21b7e6c6b1fa)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This should greatly reduce dependency chains on the autobuilder;
the only affected recipe is remmina, where avahi support will be
disabled by default.
(From OE-Core rev: 5f68f2e72accecaad6210c71d7f1ffb069edf011)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
To try and help with the inermittent rcu stalls and boot issues with qemu
add some kernel commandline options commonly used with qemu instances which
were suggested may help.
(From OE-Core rev: d75cb16ecb3a55fd7631bf7720663e4b196421ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Move from 1996 to 2009 by swapping machine 'pc' for 'q35'.
Also move to a CPU which is SMP capable and doesn't have tsc bugs. IvyBridge
matches what we're using on the autobuilder.
The intent here is to try and improve on some of the intermittent autobuilder
issues we're seeing. I'm told that nobody else runs with config this old
and it could well be contributing to our issues. Having reliable testing
is key to the project and justifies updating this IMO.
(From OE-Core rev: 6d9f25782bd585e89c5aaf7046266c848f1e581b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Only qemux86* and qemuarm* support SMP with our current configurations so
rework qemu SMP enabling to account for that and only use it on the architectures
where it works.
(From OE-Core rev: ee371325ce651cc113e43bdeb5d8986d5b84a3f4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Each of the cores is mapped to a thread on the host, this
should speed up things inside qemu which can take advantage of that.
(From OE-Core rev: 56f98d12a79585a4d4c459160f39403e05b620a5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* DWARF-5 is now used by default with gcc-11, causing
11.1.0/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
collect2: error: ld returned 1 exit status
in various projects (runc-opencontainers, libhybris, collada-dom)
* https://gcc.gnu.org/gcc-11/changes.html
For targets that produce DWARF debugging information GCC now defaults to DWARF version 5
(with the exception of VxWorks and Darwin/Mac OS X which default to version 2 and
AIX which defaults to version 4). This can produce up to 25% more compact debug
information compared to earlier versions.
To take full advantage of DWARF version 5 GCC needs to be build against binutils version 2.35.2 or higher.
When GCC is build against earlier versions of binutils GCC will still emit DWARF version 5 for
most debuginfo data, but will generate version 4 debug line tables (even when explicitly given -gdwarf-5).
The following debug information consumers can process DWARF version 5:
GDB 8.0, or higher
valgrind 3.17.0
elfutils 0.172, or higher (for use with systemtap, dwarves/pahole, perf and libabigail)
dwz 0.14
Programs embedding libbacktrace are urged to upgrade to the version shipping with GCC 11.
To make GCC 11 generate an older DWARF version use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4.
(From OE-Core rev: d07d4d739ae17787017f771dd2068fda0e836722)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
An XML parser (either libxml2, or expat) is only needed by libarchive to
read/write XAR archives. However, these also need OpenSSL enabled which
by default it is not, so XAR files were disabled and libxml2 was a build
dependency for no reason.
As XAR archives are mainly used on macOS, we can remove libxml2.
(From OE-Core rev: 363f1ee30b0e6d222943aaed8dce37a4a441a86d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects Debian and SUSE.
(From OE-Core rev: 72522fa1a5f3b9b2855043fe6b421886d641385f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is included in the release we have, it was the reason for the last rpm
point release.
(From OE-Core rev: 117feb358c81b6b852dee24268eac0a1a47c1701)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bumping the SRCREV to pickup the following for the kern-tools:
commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change
"modules" from sub-option to first-level attribute] broke parsing
in 5.13+ trees.
We add the new location to the parser so we can support both
types of module specifications.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Without this, the kernel configuration audit for 5.13+ errors
immediately.
The older "option modules" parsing has been left in the code, so that
older kernels continue to work as well.
(From OE-Core rev: ba39e42681e7e3c6fe82686a42a9ee4b519003f9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
When building in longer paths, the ovmf build changes in many ways. This adds a
patch addressing various causes of problems. Full details are in the patch header.
(From OE-Core rev: 9113a5815f3c682ef99fd777e35e892b2e08237f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lto tends to break reproducibility and makes ovmf near impossible to debug
reproducibility issues in. Disable it and supress the warnings that then
generates from Werror.
(From OE-Core rev: 627b6ed763eca90192203932784872b60a65fcaa)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minutiae including grammar fixes, increased brevity and adding a
proper link to another SDK manual section.
(From yocto-docs rev: 21d6c6fcbae938c256da6e72d6ac8d2ca72d5bc0)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
configure is not able to decode, right options to compiler, it needs to
be set according to default tune manually. Fixes build issue on mips
e.g.
{standard input}: Assembler messages:
| {standard input}:2162: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dmult $22,$22'
| {standard input}:2164: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsrl $5,$5,32'
| make: *** [/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/ffmpeg/4.4-r0/ffmpeg-4.4/ffbuild/common.mak:67: libavcodec/aptxenc.o] Error 1
(From OE-Core rev: b254db634fc888ae75e843c8a9108e71ffff3f77)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop mips64_cpu_detection.patch as upstream
has changed the code in a way that's difficult
to rebase. I have confirmed that builds on qemumip64 still
work, and the patch does not say clearly what was the
way to reproduce the failure it's aiming to address.
(From OE-Core rev: 7db3aed539044bed1c7d3cf7b91f55caed974fe2)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: 3874da694ae1d9de06dd003bd80705205e2b033b)
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: 658902477840ea34d414083c4c79616bf5e999a2)
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: 8556d6a6722f21af5e6f97589bec3cbd31da206c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We use the SUSE mirror of xinetd. The CVE fix was added to the main repo
after the latest release but is included in the version from the SUSE repo.
(From OE-Core rev: 6f587d1e1fdf8141d240160d57c9a05ff97ea510)
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: 915b38c54a7932744a9f56713d1c6bd00a789331)
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: 8917e5ae2bb44d017fc0155f16632c5decadb0bd)
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: 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore
so the issue doesn't affect us.
(From OE-Core rev: 30106ae676124ba3c0e496a4f19c919c8418b59b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Refresh patch and adjust version directory for new version numbering
scheme. Add new dependency on libarchive.
(From OE-Core rev: 02bce05698d905771250ab12b48d8b0e19d218cb)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop configure() tweaks, none of them are needed anymore, and particularly
the ncurses tweak was changing the build in a way that is not clear
(and no one remembers why it was there in the first place).
Adjust LDFLAGS as somehow -pthread isn't there --> link failures.
(From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit 4118415d4b.
This was found to be unnecessary, and broke upstream version checks.
(From OE-Core rev: cee436d1eb94663f3604c80b6ad87292f6901498)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We want to pass ${DEBUG_PREFIX_MAP} to gcc commands and also pass in
--debug-prefix-map to nasm (we carry a patch to nasm for this). The
tools definitions are built by ovmf-native so we need to pass this in
at target build time when we know the right values.
By using determininistc file paths in the ovmf build, it removes the
opportunitity for gcc/ld to change the output binaries due to path
lengths overflowing section sizes and causing small changes in the
binary output.
This also means that if builds have reproducibility issues in future, it
becomes much easier to compare intermediate build artefacts.
(From OE-Core rev: 51f51310d6d5cced2b55bf27dbb9a5717740a206)
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: 3670be602f2ace24dc49e196407efec577164050)
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: 23643016f3b8794db772e333ff0b8f598571b628)
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: 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)
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: ee6ee9bd489c126b99d15c1011560df2f840a6e9)
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: d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)
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: 9b5355375d028577de0b98e05992de6a088cb972)
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: b238db678083cc15313b98d2e33f83cccab03fc6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're using a pre-release version of 2.06 so these issues are fixed but
continue to show up in the checks since it is pre-2.06 and the CPE
entries are "before but excluding 2.06".
Adding these will clean up CVE reports until the 2.06 release comes out.
(From OE-Core rev: 2467ab1554bee3a431636046735e8e369e865bc6)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* introduced with gcc-11, other hwasan files were already packaged in:
3df4a25465 gcc-sanitizers: Package up hwasan files
but static library was still triggering installed-vs-shipped
(From OE-Core rev: 49aec04aa8ac98545b48c41382ebf1a1c3be1118)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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: e332738a8aae0914c58b40faae8b9d7a82fd6a95)
Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch
removed since it is included in 1.33.1
(From OE-Core rev: 544236b12a72ee5be5ef0147249ead112082b871)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly, numactl, numpy and libseccomp are disabled for now
due to failures or lack of qemu support. The rest have been verified
to pass quickly.
[RP: Fix multilib recipe handling]
(From OE-Core rev: 8bb5da87000ade519529e44181448244bd94d4f5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta-python is carrying 3.3.4, once we upgrade it in core
we can safely drop it from meta-python, helps with layer-compatibility
checks
(From OE-Core rev: 88c11b0a45b3fd310288325f97c16ca2c9e0006e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This fixes issues when qt plugins are enabled (which is not by default
without additional layers).
(From OE-Core rev: 25f3ff9c4ca20962994c43b741c7839b713cbfe6)
Signed-off-by: Andreas Müller <schnitzeltony@gmail.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: d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop backports and refresh patches to apply on 4.x series
(From OE-Core rev: 5c7923e79c2411a0a36e540a8b894d399ad04aa7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Occasionally, the build would fail with:
make[2]: execvp: mkdir: Argument list too long
This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.
(From OE-Core rev: 116e6b61c585c6f0f7ae6f010bd490bb39914348)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:
- 17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
- 127135b6 fix backport: block: add a disk_uevent helper (v5.12)
- 853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)
(From OE-Core rev: 2538ba2b3490e3599d9ccd637aa8486ea428f1b0)
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
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: 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-Extend-atomics-check-to-include-1-byte-CAS-test.patch
(merged upstream).
Rebase other patches.
(From OE-Core rev: f64e9ba5f0d48e34d7022bf74bd9765f9e8a792c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch
as upstream has removed the .m4 files.
Rebase other patches.
(From OE-Core rev: 623b10d3428f84219f7fb0cbb539fbbba7161e2d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch
(patch purpose and failing scenarios unclear; disabling
is better done through configuration options which
are available for all of these items).
License-Update: copyright years
(From OE-Core rev: 6f3a4f224931866ab2e9758530efdb81d7ddb63d)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ptest package was accidentally not enabled. The tests run quickly (2s) and
pass so add to the standard test suite.
(From OE-Core rev: 53dcc4b7bb4dce6cd2bc8d194efc4b8246317f22)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Convert to cmake, drop all the unneeded cruft from the recipe.
License-Update: additional contributors
(From OE-Core rev: adba510022781f139014d6174e46954c1f4774c0)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This seems to be the gtk-doc successor, and gnome
projects such as pango and gdk-pixbuf have started
transitioning to it.
(From OE-Core rev: f87bb7d848015c371095ef3ff423eee81e6d8ecd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is needed to enable gi-docgen, a successor to gtk-doc
(From OE-Core rev: b557ea3cc61da326bb7783a2ac8e4080c4bf79e5)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: 396a3ba884820d040c91f7592daf20ac28c49b5d)
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: b8995b27db265b0a0b2d2ca595915f70f9f96e07)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Dynamic layers may have a conf directory, but don't need (or
want) a conf/layer.conf
This isn't an error, so we can just log it and indicate the
layer is being skipped.
A full layer without a conf file isn't all that useable, so we
aren't letting anything subtle slip through by just logging
it.
(From OE-Core rev: 9841a7c70bc21c5cd3bbea98d5f8654434577f61)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This information is useful, but should not be a warning level.
[YOCTO #14382]
(From OE-Core rev: cd17d8bb00be1ecb7c92ab13eb8b162807aefed9)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.10:
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 5.10.30-yocto-standard #1
[ 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: bf2c6ea03d45742597275691b4c883044765c57e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Note: jpg/png loaders are now builtin and no longer
provided as separate packages.
Drop backport missing-test-data.patch.
Drop no longer needed 0004-Do-not-run-tests-when-building.patch
Rebase 0004-Do-not-run-tests-when-building.patch
Rework 0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
so that it can be applied to both native and target builds.
(From OE-Core rev: 9eda439c7c775fb7fa26a97d2575b491e2a4bd45)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: 1a03c70c282b3445b93a4c70ea6d40a1778750c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the addition of the qmp socket, runqemu started failing:
ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes
To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.
Update the client code to chdir and only use a relative path to the socket
to match.
(From OE-Core rev: 5c56e72fca18dc942f5c1fd377e98d46ae0126f1)
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: 0e19f31a1005f94105e1cef252abfffcef2aafad)
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: 38b36d2b90d570149e63816e68f457aea28a5092)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Incremental build in Docker fails with:
OSError: [Errno 18] Invalid cross-device link
when source and destination are on different overlay filesystems.
Rather than adding fallback code to every call site, use a new wrapper
in bitbake which detects this case and falls back to shutil.move
which is slower but will handtle the overlay docker filesystems correctly.
[YOCTO #14301]
(From OE-Core rev: 656a65b2b84e7d529b89cf5de7eb838f902d84a2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We're about to require bb.utils.rename() so depend on the correct
version of bitbake.
(From OE-Core rev: ed2b18ed6e76a3bc050a1c48526c114de5cb1a93)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We've talked about having this for long enough. Add a command which queries a single
variable value with history. This saves "bitbake -e | grep" and avoids the
various pitfalls that has.
It also provides a neat example of using tinfoil to make such a query.
Parameters to limit the output to just the value, to limit to a variable flag
and to not expand the output are provided.
[YOCTO #10748]
(Bitbake rev: 4c1881b620e885f55d7772f8626b8a76c2828333)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
svn was printing a message when encountering HTTP redirects.
This confused the revision parser.
(Bitbake rev: a944a335f8f4c4fe5df55f3d7d8e757bd2835146)
Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The prserver process is cleanly separated from the main bitbake process
so requests can be handled in the main thread. This removes the need for
a request queue and a separate request handling thread.
(Bitbake rev: 6b09415bed6b5e7c12aaf39b677d9ef72844e233)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code to start the prservice process as a daemon is extracted out of
the PRServer class and simplified. This makes the PRServer class easier
to modernise as it no longer needs to worry about process management.
(Bitbake rev: 39c7c158c52157b18f5ccbbd673e3298e6402f52)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can use the modern multiprocessing support in Python instead of
manually using fork to start the prserver process. To do this we need
to set up the signal handlers for the prserver process in the
work_forever function (which is now used as the main function for this
process).
The old code to start the prserver process using fork is not removed in
this commit as it is tightly intertwined with the daemonization code
which will be refactored in a following commit.
(Bitbake rev: b3da56240c0f92efab1c0b293738c35c0f1ee6ab)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
os.rename can fail for example an incremental build in Docker fails with:
OSError: [Errno 18] Invalid cross-device link
when source and destination are on different overlay filesystems.
Rather than trying to fix every call site, add a wrapper in bb.utils
for renames. We can then handle cross device failures and
fall back to shutil.move. The reason os.rename is still used is
because shutil.move is too slow for speed sensitive sections of code.
[YOCTO #14301]
(Bitbake rev: c5c4e49574ab2a65e06298a0a77bb98b041cf56b)
Signed-off-by: Devendra Tewari <devendra.tewari@gmail.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: 62c94bb925543c1e1c5af3c751913d9f06d9597d)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.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: 15c65f90a3aa1e98c2beab2539403157df1fca08)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.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: 0e9850486b74a3de934527ca1077df001d3a8d22)
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: 87884d9938829d5ae5d250f483c749e00cd83322)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As is the pattern with all lists, put the list of MIRRORs in
alphabetical order, and add an entry for SAMBA_MIRROR as it appears in
the samba recipe from the meta-networking layer.
(From OE-Core rev: 3301536f821dce86cd3683d9c50abea2d39c6c20)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.
This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.
Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.
(From OE-Core rev: a48178f6d00e7f97a09f42d5a164204e9dcffa9f)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.
Pass the new cmake option BUILD_DOCS along and add the asciidoc
dependency if necessary.
This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.
By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.
(From OE-Core rev: b0aedd74f13b174861ff742eb503d8d343f9e714)
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit f2d1523b19cb066a4a06609f036822fe4a8b43f0.
We've reports of a number of failures from this, it causes pod2man to
reference full paths to perl rather than nativeperl from the environment.
I've also seen this issue locally now. Revert until we can find a solution
which works for everyone.
(From OE-Core rev: 231c99728da9d81c9430a2aa62239ce28734ef4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The ensures that globbing results in same order irrespective of shell in
use
(From OE-Core rev: fdeee94fa78f91613850500b209b75a6608241d0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- rework the ptest patch with a new one that are sent upstream [1].
- it uses the same approach as the existing patch in OE-Core but
is based on the glib meson installed-tests [2] logic.
* qemux86-64 ptest-runner result
SUMMARY: total=105; passed=105; skipped=0; failed=0; user=20.4s; system=4.7s; maxrss=9928
[1] - https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/789
[2] - 1bba3276bb
(From OE-Core rev: 44befb922e061823c636c7ccbf09cc5e7defd9e2)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.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: 1cb679e6a4528a2cef16f65342d5e65adb14cb16)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
memory: clamp cached translation in case it points to an MMIO region
(From OE-Core rev: df92b3359743ed1837fa57df8035d121f5c5676b)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.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: 667352cc46429f3d8eca12cf93c26be2d26e5d74)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
0aa66717f684 Linux 5.10.34
47d54b990103 mei: me: add Alder Lake P device id.
2a442f11407e iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
8bd8301ccc11 Linux 5.10.33
8a661bad6cee USB: CDC-ACM: fix poison/unpoison imbalance
90642ee9eb58 net: hso: fix NULL-deref on disconnect regression
31720f9e87c0 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
bed21bed2e79 ia64: tools: remove duplicate definition of ia64_mf() on ia64
ba0910ad1c57 ia64: fix discontig.c section mismatches
f4a777bcc8d1 csky: change a Kconfig symbol name to fix e1000 build error
393200a1b095 kasan: fix hwasan build for gcc
f2b46286e326 cavium/liquidio: Fix duplicate argument
1bfefd866195 xen-netback: Check for hotplug-status existence before watching
509ae27a1874 arm64: kprobes: Restore local irqflag if kprobes is cancelled
da99331fc6ce s390/entry: save the caller of psw_idle
d33031a894d2 dmaengine: tegra20: Fix runtime PM imbalance on error
66d0cf7dcaa1 net: geneve: check skb is large enough for IPv4/IPv6 header
6ce64437224d ARM: dts: Fix swapped mmc order for omap3
db010ba54a96 dmaengine: xilinx: dpdma: Fix race condition in done IRQ
e8d9a93ec46e dmaengine: xilinx: dpdma: Fix descriptor issuing on video group
eb2c81ee764d soc: qcom: geni: shield geni_icc_get() for ACPI boot
8c4bfe30eb55 HID: wacom: Assign boolean values to a bool variable
e913cbc952c3 HID cp2112: fix support for multiple gpiochips
f691dc86411d HID: alps: fix error return code in alps_input_configured()
079e32723f78 HID: google: add don USB id
ffe249b4fc2c perf map: Fix error return code in maps__clone()
4d0cfb3713bc perf auxtrace: Fix potential NULL pointer dereference
ab112cc573cc perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
6f8315e5d951 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
82fa9ced35d8 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
b642e493a9a0 bpf: Tighten speculative pointer arithmetic mask
2982ea926b5c bpf: Refactor and streamline bounds check into helper
f3c4b01689d3 bpf: Allow variable-offset stack access
f79efcb0075a bpf: Permits pointers on stack for helper calls
edc5d1601389 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
83d93d05376a pinctrl: core: Show pin numbers for the controllers with base = 0
fc2454cc0c4b block: return -EBUSY when there are open partitions in blkdev_reread_part
2bbd8aafde36 pinctrl: lewisburg: Update number of pins in community
a8cd07e4400d vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails
bf84ef2dd2cc KEYS: trusted: Fix TPM reservation for seal/unseal
9857fccd653c gpio: omap: Save and restore sysconfig
71777492b745 vhost-vdpa: protect concurrent access to vhost device iotlb
(From OE-Core rev: 2cfc4489c14f8d1ec2c6fc2aa411d158058f5aea)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
aea70bd5a455 Linux 5.10.32
6ac98ee9cb7c net: phy: marvell: fix detection of PHY on Topaz switches
fbe6603e7cab bpf: Move sanitize_val_alu out of op switch
7723d3243857 bpf: Improve verifier error messages for users
55565c307908 bpf: Rework ptr_limit into alu_limit and add common error path
496e2fabbbe3 arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically
cada2ed0bb70 ARM: 9071/1: uprobes: Don't hook on thumb instructions
480d875f1242 bpf: Move off_reg into sanitize_ptr_alu
589fd9684dfa bpf: Ensure off_reg has no mixed signed bounds for all types
b2df20c0f19f r8169: don't advertise pause in jumbo mode
154fb9cb3e6f r8169: tweak max read request size for newer chips also in jumbo mtu mode
7f64753835a7 KVM: VMX: Don't use vcpu->run->internal.ndata as an array index
c670ff84fac9 KVM: VMX: Convert vcpu_vmx.exit_reason to a union
4f3ff11204ea bpf: Use correct permission flag for mixed signed bounds arithmetic
8d7906c548aa arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
286c39d08664 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
4f90db2e92d2 ARM: OMAP2+: Fix uninitialized sr_inst
1fc087fdb98d ARM: footbridge: fix PCI interrupt mapping
11a718ef953f ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range()
a13d4a1228ab ARM: OMAP2+: Fix warning for omap_init_time_of()
9143158a6bd3 gro: ensure frag0 meets IP header alignment
fd766f792a56 ch_ktls: do not send snd_una update to TCB in middle
65bdd564b387 ch_ktls: tcb close causes tls connection failure
5f3c278035c0 ch_ktls: fix device connection close
8d5a9dbd2116 ch_ktls: Fix kernel panic
976da1b08784 ibmvnic: remove duplicate napi_schedule call in open function
008885a880dc ibmvnic: remove duplicate napi_schedule call in do_reset function
685bc730e3a9 ibmvnic: avoid calling napi_disable() twice
e154b5060aa1 ia64: tools: remove inclusion of ia64-specific version of errno.h header
f8f01fc8c653 ia64: remove duplicate entries in generic_defconfig
1aec111c944f ethtool: pause: make sure we init driver stats
44ef38c0a2b3 i40e: fix the panic when running bpf in xdpdrv mode
35d7491e2f77 net: Make tcp_allowed_congestion_control readonly in non-init netns
76af8126a6e4 mm: ptdump: fix build failure
33f3dab42ae2 net: ip6_tunnel: Unregister catch-all devices
ea0340e632ba net: sit: Unregister catch-all devices
154ac84d497a net: davicom: Fix regulator not turned off on failed probe
e072247938a8 net/mlx5e: Fix setting of RS FEC mode
dc1732baa9da netfilter: nft_limit: avoid possible divide error in nft_limit_init
cda5507d234f net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta
40ed1d29f151 net: macb: fix the restore of cmp registers
7f8e59c4c5e5 libbpf: Fix potential NULL pointer dereference
7824d5a9935a netfilter: arp_tables: add pre_exit hook for table unregister
4d26865974fb netfilter: bridge: add pre_exit hooks for ebtable unregistration
eb82199e377a libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
a2af8a0f38e4 ice: Fix potential infinite loop when using u8 loop counter
783645e65b57 netfilter: conntrack: do not print icmpv6 as unknown via /proc
394c81e36e49 netfilter: flowtable: fix NAT IPv6 offload mangling
be07581aacae ixgbe: fix unbalanced device enable/disable in suspend/resume
0ef9919a06a3 scsi: libsas: Reset num_scatter if libata marks qc as NODATA
6a70ab9769cd riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
f66d695c06f4 vfio/pci: Add missing range check in vfio_pci_mmap
e6177990e17d arm64: alternatives: Move length validation in alternative_{insn, endif}
e2931f05eb32 arm64: fix inline asm in load_unaligned_zeropad()
957f83a138f1 readdir: make sure to verify directory entry for legacy interfaces too
2b8308741cf5 dm verity fec: fix misaligned RS roots IO
18ba387261ea HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
dedf75aec8fc Input: i8042 - fix Pegatron C15B ID entry
8b978750dcd2 Input: s6sy761 - fix coordinate read bit shift
955da2b5cd98 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
024f9d048000 virt_wifi: Return micros for BSS TSF values
cc413b375c6d mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
2e08d9a56838 pcnet32: Use pci_resource_len to validate PCI resource
248b9b61b951 net: ieee802154: forbid monitor for add llsec seclevel
b97c7bc42d8d net: ieee802154: stop dump llsec seclevels for monitors
ab9f9a1d5874 net: ieee802154: forbid monitor for del llsec devkey
4846c2debb2c net: ieee802154: forbid monitor for add llsec devkey
07714229e0e2 net: ieee802154: stop dump llsec devkeys for monitors
4c1775d6ea86 net: ieee802154: forbid monitor for del llsec dev
813b13155d14 net: ieee802154: forbid monitor for add llsec dev
2f80452951b5 net: ieee802154: stop dump llsec devs for monitors
08744a622faa net: ieee802154: forbid monitor for del llsec key
7edf4d2baa8a net: ieee802154: forbid monitor for add llsec key
c09075df5e4d net: ieee802154: stop dump llsec keys for monitors
8b9485b651d4 iwlwifi: add support for Qu with AX201 device
c836374bacfa scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
d9fc084067f5 ASoC: fsl_esai: Fix TDM slot setup for I2S mode
79ef0e6c0cf8 drm/msm: Fix a5xx/a6xx timestamps
d61238aa6482 ARM: omap1: fix building with clang IAS
505c48942f04 ARM: keystone: fix integer overflow warning
0d0ad98bee39 neighbour: Disregard DEAD dst in neigh_update
7a1cd9044da4 gpu/xen: Fix a use after free in xen_drm_drv_init
bfb5a1523f17 ASoC: max98373: Added 30ms turn on/off time delay
58d59d9ae56f ASoC: max98373: Changed amp shutdown register as volatile
b2f8476193eb xfrm: BEET mode doesn't support fragments for inner packets
806addaf8dfd iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
b448a6a2fc5a arc: kernel: Return -EFAULT if copy_to_user() fails
f12e8cf6b180 lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
a55de4f0d1d4 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
9f399a9d7006 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
f338b8fffd75 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
e5eb9757fe4c dmaengine: idxd: fix wq cleanup of WQCFG registers
4c59c5c8668e dmaengine: plx_dma: add a missing put_device() on error path
ac030f5c5680 dmaengine: Fix a double free in dma_async_device_register
56f9c04893fb dmaengine: dw: Make it dependent to HAS_IOMEM
4ecf25595273 dmaengine: idxd: fix wq size store permission state
db23b7b5ca3e dmaengine: idxd: fix opcap sysfs attribute output
0e3f14755111 dmaengine: idxd: fix delta_rec and crc size field for completion record
a5ad12d5d69c dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
f567fde02baa gpio: sysfs: Obey valid_mask
dfed481e62e5 Input: nspire-keypad - enable interrupts only when opened
b80ea54e1e71 mtd: rawnand: mtk: Fix WAITRDY break condition and timeout
5a627026be4a net/sctp: fix race condition in sctp_destroy_sock
65f1995ea1e9 Linux 5.10.31
ceee49ca34bf xen/events: fix setting irq affinity
9d9facd32d89 net: sfp: cope with SFPs that set both LOS normal and LOS inverted
2a60ab2dab3d net: sfp: relax bitrate-derived mode check
cd8ce27e6caa perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
1f3b9000cb44 netfilter: x_tables: fix compat match/target pad out-of-bound write
5402a67ac403 block: don't ignore REQ_NOWAIT for direct IO
efa7b6e4017a riscv,entry: fix misaligned base for excp_vect_table
6fbdce3cde97 io_uring: don't mark S_ISBLK async work as unbounded
5d4600017bee null_blk: fix command timeout completion handling
b1f6c6f39bd6 idr test suite: Create anchor before launching throbber
9a7552daa93b idr test suite: Take RCU read lock in idr_find_test_1
edd822b69241 radix tree test suite: Register the main thread with the RCU library
1d2310d95fb8 block: only update parent bi_status when bio fail
d99e22c0ea74 XArray: Fix splitting to non-zero orders
9576dd89554e gpu: host1x: Use different lock classes for each client
39af2f472f21 drm/tegra: dc: Don't set PLL clock to 0Hz
e4a0956574c7 tools/kvm_stat: Add restart delay
1dcb3ebc2416 ftrace: Check if pages were allocated before calling free_pages()
6c6d58322079 gfs2: report "already frozen/thawed" errors
870c8df1d192 drm/imx: imx-ldb: fix out of bounds array access warning
5b50468a2d4d KVM: arm64: Disable guest access to trace filter controls
fa0c0dce589d KVM: arm64: Hide system instruction access to Trace registers
57fb08fb9a25 gfs2: Flag a withdraw if init_threads() fails
9b57ecb01b43 interconnect: core: fix error return code of icc_link_destroy()
(From OE-Core rev: 91fcd094619e25d63a80231c3b776788504ce37b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.10:
a19886b00ea qemuriscv32.cfg: RV32 only supports 1G physical memory
(From OE-Core rev: 894f5328d395872f69bd48c59518bbafb7cbd61e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It was reported that aufs was behaving incorrectly on arm/x86. Although
we don't have an exact fix for the issues, the Wind River guys were able
to come up with a minimal patch set to fix just the core issue, versus
a full aufs uprev.
We didn't have time to get this in before the release, but picking it up
in a dot release is sufficient. (given that it took several months for
the issue to be noticed).
Integrating the following commit(s) to linux-yocto/5.10:
a8808e541750 aufs: linux-v5.10-rc1, no more f_op->read() and ->write()
cb1c41dac775 for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t
a5805df6583f aufs: linux-v5.10-rc1, no more set_fs()
64e145dcca8c Revert "aufs: initial port to v5.10"
(From OE-Core rev: c290adec4e27f5d7987193e9a0749082f3ed3e20)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a bugfix release which includes the following changes:
f4ab25d shared library: Link against zlib
e663439 Always fsync file writes
80b7f31 Treat '=' as an illegal character in variable names
950f541 libuboot_env: fix calculation of usable envsize
fb88032 Correct initialisations in libuboot_configure
20d1ec7 Force writing of environment if default is used
5ca11bd libuboot_env: correct length to usable env size length
cd4a8f1 libuboot_env_store: fix env double-null termination
9510164 uboot_env: fix infinite loop on short read (EOF)
(From OE-Core rev: ed270bd146139a85935544bc0c6f35c3ecc27313)
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
certain applets are enabled but the long options are not enabled for
them, it results in subtle failures in ptests where its expecting these
options e.g. gzip --best is commonly used in many package tests e.g.
root@qemux86-64:/usr/lib# grep -r "\-\-best" *
acl/ptest/Makefile:GZIP_ENV = --best
attr/ptest/Makefile:GZIP_ENV = --best
coreutils/ptest/Makefile:GZIP_ENV = --best
ethtool/ptest/Makefile:GZIP_ENV = --best
libxml2/ptest/Makefile:GZIP_ENV = --best
lttng-tools/ptest/Makefile:GZIP_ENV = --best
opkg/ptest/Makefile:GZIP_ENV = --best
perl/ptest/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm: COMPRESS ('gzip --best')
python3.9/test/test_gzip.py: for compress_level in ('--fast', '--best'):
...
this ensures that these options are enabled by default, which makes them more
compatible than now with coreutils provided utilities
busybox size grows by 4K which perhaps is acceptable
--rwxr-xr-x root root 817704 ./bin/busybox.nosuid
+-rwxr-xr-x root root 821800 ./bin/busybox.nosuid
This makes autopoint-3/gettext pass
This patch add all the long options to this fragment. The long options
for a tool will only get enabled if the corresponding tool/feature is
enabled in main defconfig, otherwise it will be ignored in final .config
(From OE-Core rev: 6a6c64426f544fcd376f2eabdb5aecc0ab04e541)
Signed-off-by: Khem Raj <raj.khem@gmail.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: 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Update Docker installation URL on various plaforms, replacing
some URLs by the ones they now redirect to, renaming "Docker CE"
to "Docker Desktop" on Mac and Windows, and to "Docker Engine"
on GNU/Linux.
Stop mentioning "Docker Toolbox" which is now deprecated and
replaced by "Docker Desktop" on Mac and Windows.
(From yocto-docs rev: 8eb249aed50b7b5b2078648c9efd9c79262ae57f)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly,
- correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake variables
- all necessary component tweaks are enabled by default via DISTRO_FEATURES
- provide on-target examples of what to look for when things work properly
(From yocto-docs rev: 6d5d568d427b22675b999f94ead829ab1bef0b21)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.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: 9c13ce05eae0f126eb150e48709e9bd06e9280fa)
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>
When run cyclictest, the parameter enable NUMA. but in some BSP
which not support NUMA, will causes the test program to exit
directly and does not carry out subsequent operations, the
latest changes have fixed this problem. so update to the
latest branch to resolve.
(From OE-Core rev: a8a9b0d9155ee9f233e46021eae896552428c51a)
Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tst-pam_start_confdir needs a file called confdir and it should reside
in directory pointed by srcdir env variable, therefore copy confdir into
ptest package and export srcdir before running the ptests
(From OE-Core rev: 149d84b7eba8240737a301d0fd75b69e8a767854)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These files are used by this ptest case
103,108d102
< cat: ../y.tab.c: No such file or directory
< cmp: ../y.tab.c: No such file or directory
< cat: /usr/lib/bash/ptest/config.h: No such file or directory
< cmp: /usr/lib/bash/ptest/config.h: No such file or directory
< cat: /usr/lib/bash/ptest/version.h: No such file or directory
< cmp: /usr/lib/bash/ptest/version.h: No such file or directory
FAIL: run-heredoc
(From OE-Core rev: 0672a3dae14462e590959e966fef22b6e2a2ad09)
Signed-off-by: Khem Raj <raj.khem@gmail.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: b71d30aef5dc2c360432c0dd4147859dd303ea48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This test is known to fail and especially is prominent with GCC-11
where stdc++17 is enabled by default
(From OE-Core rev: 7f549d7c1f0a3f3cf312ebe00ce8cfc0e787bf15)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
pkgconfig uses a vendored version of ancient glib-2.0, which does not
have many of fixes that current glib-2.0 will have, we enable this
internal version for nativesdk/native recipe, which on mingw hosts does
not work well, as its missing necessary mingw support. This patch
backports couple of fixes which makes GCC11 happy
but its going to be a constant source of pain as long as we support mingw
(From OE-Core rev: 348b1ebb917cdd65e6678078e23a3f9fa079badc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The previous fix was in the right direction but needed to account
for the section alignment of the current section. Tweak the patch
to handle this.
(From OE-Core rev: e464efc07a8997c43998a9c6a9544be11ab4f303)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.
(Bitbake rev: 2db571324f755edc4981deecbcfdf0aaa5a97627)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.
Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.
In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.
(Bitbake rev: edcafac13b3b241b6687419e59018d21811507a1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The "-l" command line options to enable specific logging domains wasn't
working with the switch to structured logging because they were only
being used to set the legacy logging domains. Fix this by implementing
the logic to parse the user options into the logging configuration.
(Bitbake rev: 005fc7a8c588d0b0bca382469645cbf481ad8e30)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adds progress support for fetchers from S3.
(Bitbake rev: 90d31b2d5a81e5f41fe95907c78fd2f5f36e39ee)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
S3 commands need to handle different CR only line endings, update the handler
to cope with this.
(Bitbake rev: 3f7b9c1b429a4c68240e80832a8ef93ee210e5ff)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator
(From OE-Core rev: 97ec10a1d7111dafde8609176ffa9e13cc1b8f1f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The new prserv connect() function decouples the code in oe-core from the
exact classes and implementation details used within bitbake. This
allows us to more easily switch over to a new asyncrpc based prservice.
(From OE-Core rev: 6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will help identifying packages using __TIME__, __DATE__ and
__TIMESTAMP__ macros in code, its a warning from the compiler and the
packages which use -Werror will break the build with this and where they
don't we will atleast have a warning in the build logs
(From OE-Core rev: 20335cd89001f5fb159f5f1b0c3bd5e40b8b2fb5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libstdc++ uses assertion macros which use __FILE__ macros and
if (__builtin_expect(!bool(_Condition), false)) \
std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
#_Condition)
This ends up using absolute paths into build tree for the cases where
the charconv header is used, therefore replace the file prefix paths
with on-target paths to make them build dir independent
(From OE-Core rev: 972c50d6e46ee9dfba8b8ea3867ebdbf24001e6e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled
(From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well
(From OE-Core rev: c3799bfdcc37ef139061aef22d125873607b0965)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that nasm version and timestamps do but appear in build
outputs
(From OE-Core rev: 2f69c00c4bc1de6cd518fd78f67ff3ca863392f3)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
MUSL related build fixes are not going to be upstreamed. They just not
compile broken files, thus replace them with upstream solution for CI:
just deleting files for musl (easier to maintain).
(From OE-Core rev: c781677fd5f4e15bde17114468d9f66ba5dc38a2)
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.
This fixes patchelf failures on the autobuilder, particularly to ccache-native.
(From OE-Core rev: fee8dde0d597b511b37d8dcf215e8355980d5f2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This patch upgrades to the 4.4.19 release and replaces a configure patch
from "libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat" with
a fix to avoid leading spaces in CFLAGS causing failures.
The license changed a few filenames listed in the license but the overall
license remains unchanged.
(From OE-Core rev: 7a2144f065c913ef189011b94d90de4dde51a347)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.
Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.
(From OE-Core rev: 4fbf422351668f755a14811ac39161c889087e81)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This function abstracts the setup of a PR service client connection so
that openembedded-core doesn't need to be updated any time the details
are changed.
(Bitbake rev: d892287b31f81b075983ba500be265f75b53df64)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bitbake no longer supports Python 2 so this version check is obsolete.
(Bitbake rev: 45eb6c6e124e507012df9c288f1fbde0e7899e5d)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The asyncrpc module can now be used to provide the json & asyncio based
RPC system used by hashserv.
(Bitbake rev: 5afb9586b0a4a23a05efb0e8ff4a97262631ae4a)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hashserv module implements a flexible RPC mechanism based on sending
json formatted messages over unix or tcp sockets and uses Python's
asyncio features to build an efficient message loop on both the client
and server side. Much of this implementation is not specific to the
hash equivalency service and can be extracted into a new module for
easy re-use elsewhere in bitbake.
(Bitbake rev: 4105ffd967fa86154ad67366aaf0f898abf78d14)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The Python built-in ConnectionError type can be used instead of a custom
HashConnectionError type. This will make code refactoring simpler.
(Bitbake rev: 8a796c3d6d99cfa8ef7aff0ae55bb0f23bbbeae1)
Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.
(From OE-Core rev: 75e042db853b9bf9a70ff8a5abe6d45ebb0b77a9)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.
The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.
I believe YP should be defaulting to Wayland and not X11.
(From OE-Core rev: 3a6996f87a9e32f2e6e668dce98f77d0b40fceb8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)
Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.
(From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This ensures that if libseccomp is installed on build host then it does
not resort to use it.
Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so
(From OE-Core rev: 3751ac58720a500e3b749b2296922d7c82db49a1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds support for the Qemu Machine Protocol [0] extending
the current dump process for Host and Target. The commands are
added in the testimage.bbclass.
Currently, we setup qemu to stall until qmp gets connected and
sends the initialization and continue commands, this works
correctly. If the UNIX Socket does not exist, we wait an timeout
to ensure to socket file is created.
With this version, the monitor_dumper is created in OEQemuTarget
but then set in OESSHTarget as that's where we get the SSH failure
happens. Python's @property is used to create a setter/getter type
of setup in OESSHTarget to get overridden by OEQemuTarget.
By default the data is currently dumped to files for each command in
TMPDIR/log/runtime-hostdump/<date>_qmp/unknown_<seq>_qemu_monitor as
this is the naming convenstion in the dump.py code.
We use the qmp.py from qemu, which needs to get installed in the
recipe-sysroot-native of the target image.
[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt
(From OE-Core rev: 42af4cd2df72fc8ed9deb3fde4312909842fcf91)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The qmp python module supports the Qemu Machine Protocol [0].
This module needs to be installed in a known location so the
qemurunner python script can find the qmp module.
This change causes it to be installed in the recipe-sysroot-native
of the target image and that directory can be added to the python
sys.path that needs to use the qmp.py module.
[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt
(From OE-Core rev: 46a60f67562a6ae227e018228212fc797d1f2795)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This helps binutils provided tools ar/ranlib/nm to find the LTO linker
plugin automatically as well which makes it equivalent to gcc-ar/gcc-nm/gcc-ranlib
(From OE-Core rev: 7d8d0b90bea7ea01e1e9ab0ff98f22431f68a506)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This will ensure that ar/ranlib/nm can load the lto linker plugin like
gcc-ar, gcc-nm, gcc-ranlib does, this will let the behaviour match
between gcc wrappers for these tools, this should help LTO builds for
packages
(From OE-Core rev: d6658505089234476c1b35fc08fef1eb4f121e85)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default
This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target
(From OE-Core rev: 5aae5812223792d5e5bd57e024de50fbcd1e6da5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This simplifies paragraphs ending with a colon and followed
by code insertion.
Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst
This generates identical HTML output.
(Bitbake rev: 51c80fc3497eecc8e50194fe1ff8069b59f03eda)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
- This replaces instances of ": ::" by "::", which
generates identical HTML output
(Bitbake rev: fd8ce4dcaff3aae395f9945fb0a3be54905e1727)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libseccomp needs too be ported to rv32 first
(From OE-Core rev: ecf167c6419afd483f5291043a1d5072d388866b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since xattr is included, seccomp should be too
(From OE-Core rev: e164bd55ef5becf691c2755d8d6af45a490fe9b2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This isn't in DEPENDS and isn't configured. It can detect the library when
pulled in via other dependencies meaning the build isn't deterministic.
Ultimately this could become a PACKAGECONFIG. It doesn't build on musl
so disable it for now until someone fixes and sorts this out properly.
(From OE-Core rev: 1425fe0f28a31b1d4004736b9edb036680e12c92)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Rather than installing libtool wrapper scripts which won't work on target
and aren't reproducible, use the real binaries.
(From OE-Core rev: 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add entries for the migrated recipe to passify the various checks.
(From OE-Core rev: cd49367af2b3daa8d3012ae2b8ace380d41cc0b9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
ptest results:
Regression Test Summary
tests run: 1404
tests skipped: 369
tests passed: 1402
tests failed: 2
tests errored: 154
Add feature_check so that the other recipes who can take
advantage of this funtionality can enable it.
(From OE-Core rev: 5b0182f5c01c8b10b4b65f8af55d682be4839947)
Signed-off-by: Armin Kuster <akuster808@gmail.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: bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a HOMEPAGE to the new recipe to avoid sanity test failures.
(From OE-Core rev: 23be2a27e16d711f928561d96f901a25f5f29998)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Needed dependencies on toml and pytest and unixadmin
are in core now
(From OE-Core rev: c983359eae9d7e3d729af36755612916dabe32d6)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Build with bitbake default optimizations, e.g. O2,
instead of custom O3. Reduces unzip binary package
size from 304401 to 283921 bytes, and enables building
with Os to even further reduce binary size if needed
and configured for the whole system.
(From OE-Core rev: 1330ac1902360cc5e01b69a6065963bf7b92d4bb)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.
(From OE-Core rev: cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.
Use flag 'cleandirs' to remove ${B} first if build out of source tree.
(From OE-Core rev: 0fb6280432a36985590d9a714a5f11164aaebb51)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.
(From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".
This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.
It also changes do_install_append_class-native task to comply with
cpan_do_install task.
(From OE-Core rev: f2d1523b19cb066a4a06609f036822fe4a8b43f0)
Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This simplifies paragraphs ending with a colon and followed
by code insertion.
Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst
This generates identical HTML output.
(From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This replaces instances of ": ::" by "::", which
generates identical HTML output
(From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix a misaligned code insertion statement, causing
the code block to be misaligned compared to the other ones
in subsequent paragraphs
(From yocto-docs rev: bc03d122a35ac027d0aab5bfd70b366933fd7356)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Introduce --fetchdir parameter to layerindex-fetch enabling users to choose
the directory to fetch the layers different from BBLAYERS_FETCH_DIR.
[YOCTO #14347]
(Bitbake rev: 784a904faffac723ddf58ba765b9dd11ac068de5)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with:
```
Traceback (most recent call last):
File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module>
ret = main()
File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main
return args.func(args)
File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends
self.do_layerindex_fetch(args)
File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch
args.shallow)
AttributeError: 'Namespace' object has no attribute 'shallow'
```
Initialize the shallow attribute to fix it.
(Bitbake rev: 71f095c147fe6aa7b5e6272002e0498cf9494256)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
changelog [1]
* aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS
* 0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support
* 95a540e1 mallocng/aligned_alloc: check for malloc failure
* 2c00f95c make epoll_[p]wait a cancellation point
* 521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec
* 122002f0 remove no-longer-needed special case handling in popen
* 8ef9d46f use internal malloc for posix_spawn file actions objects
* cfdfd5ea don't fail to map library/executable with zero-length segment maps
* e48e99c1 suppress isascii() macro for C++
* b129cd86 guard against compilers failing to handle setjmp specially by default
* 3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10
* 44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10
* 42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8
* b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8
* 87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10
* 19239cde sys/prctl.h: add MTE related constants from linux v5.10
* 8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10
* d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10
* a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
* 54ca1cc7 sys/membarrier.h: add new constants from linux v5.10
* fd285f9d bits/syscall.h: add process_madvise from linux v5.10
* 49b6df3d fix error return value for cuserid
* cc577d0e fix misuse of getpwuid_r in cuserid
* a75283d7 cuserid: don't return truncated results
* ef137da6 cuserid: support invocation with a null pointer argument
[1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3
(From OE-Core rev: 601d8e87a7c796bd9d91d1ffa090d3b1afcf2a2d)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd
Was not able to reproduce the reported non-deterministic failure.
(ran 20 times on qemux86-64 on a relatively isolated machine)
it might be related to the AB-INT issues,
but it seems to only affect ARM builders now.
Also no action taken by upstream valgrind to fix
https://bugs.kde.org/show_bug.cgi?id=430321
Let it run on AB to see if failure was fixed by uprev to 3.17.0.
if not, we can gather more data from the AB failure.
[YOCTO #14051]
(From OE-Core rev: c0ea23832a96352d8eeda5cebc9d37a22c5d5439)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
golang.org/dl is resolving to this anyway
(From OE-Core rev: 8470e38ac1d9f9bb6d8a4ee43724af452d080057)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since GCC 11 will switch to dwarf-5 as default, this patch will be
required soon
(From OE-Core rev: 9dc9bf85f53c6712dd047df5fd718e9895946fd5)
Signed-off-by: Khem Raj <raj.khem@gmail.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: 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.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: f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of
the server one, so fix it. Otherwise, it's possible to get build failure
due to race condition.
(From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fixes some security vulnerabilities such as CVE-2021-3421 and
CVE-2021-20271.
Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
to avoid fuzz warnings.
(From OE-Core rev: 5dcd9c673502dab276b4fb4e6b4c7c1d1d9425ef)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then
ell.h will happily include ell/util.h from there:
# 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4
# 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4
# 1 "../ofono-1.31/ell/util.h" 1 3 4
# 26 "../ofono-1.31/ell/util.h" 3 4
# 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4
# 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4
# 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4
# 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4
* and it gets more interesting because unlikely() macro was dropped from ell/util.h in:
https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021
and ofono builds from git (which doesn't bundle ell) were failing with:
drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist':
drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration]
504 | if (unlikely(indent > MAX_NESTING))
| ^~~~~~~~
...
x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o -lell
drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely'
collect2: error: ld returned 1 exit status
while build from 1.31 tarball was passing OK, because using this older
bundled ell/util.h
delete bundled ell as we always enable external ell to make sure this
doesn't happen again and fix mbimmodem to build with ell-0.39
(From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Obtaining debug information by having it served automatically via http
is far more pleasant than messing about with debugfs and gdbserver or
transferring and installing -dbg packages by hand.
I believe we should follow the desktop distros and have it enabled
out of the box. Please see the following commit for the description
of how it works.
(From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Apply it always since more than x32 needs it
(From OE-Core rev: faf5034876c319aa51d6b3e21265d0984566bb9e)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state test as it was replaced by the new automated runtime oeqa/runtime/cases/usb_hid.py.
(From OE-Core rev: 61b0eba90ba4676967b96b5561f99ee2294352a0)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the Check_if_RTC_(Real_Time_Clock)_can_work_correctly test as it was replaced by the new automated runtime oeqa/runtime/cases/rtc.py.
(From OE-Core rev: ea5d87f014b33b88402176ae7e07f8ff216415a0)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove the click_terminal_icon_on_X_desktop test as it was replaced by the new automated runtime oeqa/runtime/cases/terminal.py.
(From OE-Core rev: ce10543b03349a68dd2639990b8c267110dcab2e)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state test as they was replaced by the new automated runtime oeqa/runtime/cases/suspend.py.
(From OE-Core rev: 2b99a35f0131300a121304ac46f2d29b593128c0)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test as they was replaced by the new automated runtime oeqa/runtime/cases/ethernet_ip_connman.py.
(From OE-Core rev: bb7d753e636c81d1a9d48210da6910c711e4f2df)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Remove boot_from_runlevel_3 and boot_from_runlevel_5 test as they was replaced by the new automated runtime oeqa/runtime/cases/runlevel.py.
(From OE-Core rev: f4f9dffddf699cef63ab5554e2f92ae026574e89)
Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport a patch from upstream to fix an error:
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections
seen on our ubuntu1604 autobuilder worker.
(From OE-Core rev: 80e8f7d34d7032cc94b61bf155eac7648e6b6c74)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This module is no longer installed by x11 instead it uses a stand along
server for xwayland, as a result when xwayland is enabled in
packageconfig in weston then it fails to load xwayland.so during runtime
Fixes
[21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini
[21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so'
[21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory
[21:07:12.-100663296] Destroying fbdev output.
(From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* it depends on libepoxy which has this restriction
* fixes:
ERROR: Nothing PROVIDES 'libepoxy' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb DEPENDS on or otherwise requires it)
libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Nothing RPROVIDES 'xwayland' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'xwayland'
NOTE: Runtime target 'xwayland' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xwayland']
ERROR: Nothing RPROVIDES 'xwayland-dev' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
No eligible RPROVIDERs exist for 'xwayland-dev'
NOTE: Runtime target 'xwayland-dev' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['xwayland-dev']
(From OE-Core rev: d5455a8f636599d6be8c36ea1578274148d558df)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.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: 00ce2796d97de2bc376b038d0ea7969088791d34)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We need to cleanup snapshot files if we make a copy of them to ensure
the tmpfs doesn't run out of space. There is already NFS code needing
this so make it a generic code path.
(From OE-Core rev: a3e0eec5a4785a0c4859455eb10b43aa832e606d)
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.
40a967b115f base: exclude some BT options as non-hardware
(From OE-Core rev: fc7875ce3c68a253f8b8e5d8855c1814731b5a45)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: a86c8251905baf5bf4714f3db01cdfae02383839)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.10:
ac98a75ef2bc net/xfrm: fixup 5.10.30 -stable merge
(From OE-Core rev: 2e7dd8afd0dbe7803170006297309b6699b98f34)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
1e798745fa8e Linux 5.10.30
b451aed56348 Revert "net: sched: bump refcount for new action in ACT replace mode"
a22115c3492f net: ieee802154: stop dump llsec params for monitors
f872fb3feadd net: ieee802154: forbid monitor for del llsec seclevel
a933bcbb1f7f net: ieee802154: forbid monitor for set llsec params
0238c7b47f77 net: ieee802154: fix nl802154 del llsec devkey
d06a96e72803 net: ieee802154: fix nl802154 add llsec key
399f38c420ee net: ieee802154: fix nl802154 del llsec dev
07699fcce052 net: ieee802154: fix nl802154 del llsec key
8bfb45fa131d net: ieee802154: nl-mac: fix check on panid
38731bbcd9f0 net: mac802154: Fix general protection fault
9f51a42d81f6 drivers: net: fix memory leak in peak_usb_create_dev
160ac0d55d52 drivers: net: fix memory leak in atusb_probe
4d9117b7404a net: tun: set tun->dev->addr_len during TUNSETLINK processing
26ab092615f5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
138a6e1dc35e gpiolib: Read "gpio-line-names" from a firmware node
300368c59cf0 net: sched: bump refcount for new action in ACT replace mode
982dd14fba0f dt-bindings: net: ethernet-controller: fix typo in NVMEM
c65a000a236e lockdep: Address clang -Wformat warning printing for %hd
4c4aa344edf4 clk: socfpga: fix iomem pointer cast on 64-bit
674ddb52f94b RAS/CEC: Correct ce_add_elem()'s returned values
253acf2e983b vdpa/mlx5: Fix wrong use of bit numbers
0ddb34c2ccce vdpa/mlx5: should exclude header length and fcs from mtu
5700c3d4abb2 RDMA/addr: Be strict with gid size
e53ff6e59144 i40e: Fix parameters in aq_get_phy_register()
999852207464 drm/vc4: crtc: Reduce PV fifo threshold on hvs4
d8a0861e269d RDMA/qedr: Fix kernel panic when trying to access recv_cq
3fa7ae3f3754 perf report: Fix wrong LBR block sorting
7f40e9332898 RDMA/cxgb4: check for ipv6 address properly while destroying listener
03ad6a2521a0 net/mlx5: Fix PBMC register mapping
1312f11eb33d net/mlx5: Fix PPLM register mapping
f92faf0bdd25 net/mlx5: Fix placement of log_max_flow_counter
f780a0808827 net: hns3: clear VF down state bit before request link status
f473789db536 tipc: increment the tmp aead refcnt before attaching it
3292c4fc9ce2 can: mcp251x: fix support for half duplex SPI host controllers
a96f1ed70927 iwlwifi: fix 11ax disabled bit in the regulatory capability flags
363d610a9652 i2c: designware: Adjust bus_freq_hz when refuse high speed mode set
cc5418973cc9 openvswitch: fix send of uninitialized stack memory in ct limit reply
3e288c3a7d55 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
3b70c6f26364 perf inject: Fix repipe usage
d9dc1b406cb9 s390/cpcmd: fix inline assembly register clobbering
7943f749f0d2 workqueue: Move the position of debug_work_activate() in __queue_work()
b3f29ed5dd4b clk: fix invalid usage of list cursor in unregister
2307baac56af clk: fix invalid usage of list cursor in register
d9c55b2d3368 net: macb: restore cmp registers on resume path
af36da5becfb net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb
ffd5f1e87c15 scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
ff9231ddfec8 scsi: ufs: core: Fix task management request completion timeout
71ee255d0698 mptcp: forbit mcast-related sockopt on MPTCP sockets
24bbfe89b1c7 net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
a08d5d3bec53 drm/msm: Set drvdata to NULL when msm_drm_init() fails
7290bf419894 RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files
49cfa2b20193 i40e: Fix display statistics for veb_tc
e8c96b57a781 soc/fsl: qbman: fix conflicting alignment attributes
553290002aa8 xdp: fix xdp_return_frame() kernel BUG throw for page_pool memory model
4cfae7b23889 net/rds: Fix a use after free in rds_message_map_pages
05bbe9d85a4c net/mlx5: Don't request more than supported EQs
86530effd18f net/mlx5e: Fix ethtool indication of connector type
bde64eac2379 net/mlx5e: Fix mapping of ct_label zero
d65b66ca3334 ASoC: sunxi: sun4i-codec: fill ASoC card owner
dcdf0876b040 I2C: JZ4780: Fix bug for Ingenic X1000.
f295dfc831bc net: phy: broadcom: Only advertise EEE for supported modes
7a896e189361 nfp: flower: ignore duplicate merge hints from FW
6af631d1caf2 net: qrtr: Fix memory leak on qrtr_tx_wait failure
dfe7805e6aa6 net/ncsi: Avoid channel_monitor hrtimer deadlock
ae4a8d10ac8b ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
e5e5ecc9d9fd net:tipc: Fix a double free in tipc_sk_mcast_rcv
f273e3726e14 cxgb4: avoid collecting SGE_QBASE regs during traffic
63a64c366ce0 net: dsa: Fix type was not set for devlink port
ed613d96842e gianfar: Handle error code at MAC address change
1eb5f4e00755 ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso
759b44d247c6 mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
d02b68a92905 can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE
1d3837ca7335 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
58f8f1074039 xfrm: Provide private skb extensions for segmented and hw offloaded ESP packets
bc0b89a9a28f arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
d9670f5e77e5 drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit
d38bce5adcd9 sch_red: fix off-by-one checks in red_check_params()
985c9bb1b594 geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply
f3bc1885746f vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply
f33f79703a4e amd-xgbe: Update DMA coherency values
e5a3449ce16a hostfs: fix memory handling in follow_link()
3cc4db1213a4 i40e: Fix kernel oops when i40e driver removes VF's
9856607c9c29 i40e: Added Asym_Pause to supported link modes
d4d4c6a4ca7c virtchnl: Fix layout of RSS structures
95d58bf5ed43 xfrm: Fix NULL pointer dereference on policy lookup
48a443026bb6 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
f6db9dbfa6b6 ASoC: SOF: Intel: HDA: fix core status verification
ef4ddd1d6d93 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
0224432a8fc1 net: xfrm: Localize sequence counter per network namespace
1e6a3b41cf2a ARM: OMAP4: PM: update ROM return address for OSWR and OFF
042b2cad81de ARM: OMAP4: Fix PMIC voltage domains for bionic
1f51cb88e788 regulator: bd9571mwv: Fix AVS and DVFS voltage range
b267688ce007 remoteproc: qcom: pil_info: avoid 64-bit division
c7a175a24b0e xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume
3b74ce529ece xfrm: interface: fix ipv4 pmtu check to honor ip header df
2d62d6980c2b ice: Recognize 860 as iSCSI port in CEE mode
fd92e7aacc16 ice: Refactor DCB related variables out of the ice_port_info struct
4a78ae127803 net: sched: fix err handler in tcf_action_init()
3c7d3d188ca7 KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp
25fc773b21ce KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages
be2c527b5d39 KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
0aa4dd9e5132 KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap
3c7a18440638 KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed
85f4ff2b06af KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter
1cd17c5c9b8a KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
b4a3a0d27924 KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched
8f90432d7f59 KVM: x86/mmu: change TDP MMU yield function returns to match cond_resched
5ea9e6038d29 i2c: turn recovery error on init to debug
efa869b68be9 percpu: make pcpu_nr_empty_pop_pages per chunk type
c441949184a9 scsi: target: iscsi: Fix zero tag inside a trace event
d8e7fa8509d7 scsi: pm80xx: Fix chip initialization failure
0c47d8a55f7f driver core: Fix locking bug in deferred_probe_timeout_work_func()
f06cb4641b15 usbip: synchronize event handler with sysfs code paths
28dc9237fe83 usbip: vudc synchronize sysfs code paths
513765b186c9 usbip: stub-dev synchronize sysfs code paths
68be610c19a5 usbip: add sysfs_lock to synchronize sysfs code paths
126ce97d39cf thunderbolt: Fix off by one in tb_port_find_retimer()
256ece954961 thunderbolt: Fix a leak in tb_retimer_add()
b830650c1a0c net: let skb_orphan_partial wake-up waiters.
5d9216b85100 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
b82816d77875 net: hsr: Reset MAC header for Tx path
9b9c910ccc19 mac80211: fix TXQ AC confusion
cc357c29358d mac80211: fix time-is-after bug in mlme
cc1a702e6ec0 cfg80211: check S1G beacon compat element length
fea52345f422 nl80211: fix potential leak of ACL params
42e4450e3790 nl80211: fix beacon head validation
81692c6add7e net: sched: fix action overwrite reference counting
cdcf3829f418 net: sched: sch_teql: fix null-pointer dereference
422eda625516 vdpa/mlx5: Fix suspend/resume index restoration
89e406e95278 i40e: Fix sparse errors in i40e_txrx.c
12e1438a0946 i40e: Fix sparse error: uninitialized symbol 'ring'
2472ba1c46b4 i40e: Fix sparse error: 'vsi->netdev' could be null
792387118204 i40e: Fix sparse warning: missing error code 'err'
f0b4c9acf5fe net: ensure mac header is set in virtio_net_hdr_to_skb()
72c5de25ba83 bpf, sockmap: Fix incorrect fwd_alloc accounting
00c01de1a994 bpf, sockmap: Fix sk->prot unhash op reset
d921baabd964 bpf: Refcount task stack in bpf_get_task_stack
caef7806141a libbpf: Only create rx and tx XDP rings when necessary
4cc9177b099e libbpf: Restore umem state after socket create failure
5aa7df172207 libbpf: Ensure umem pointer is non-NULL before dereferencing
b52e88638f71 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
d86046a77535 bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET
b7004ecafade bpf: Enforce that struct_ops programs be GPL-only
3015db3de715 libbpf: Fix bail out from 'ringbuf_process_ring()' on error
dc195928d7e4 net: hso: fix null-ptr-deref during tty device unregistration
c2743e0a631c ice: fix memory leak of aRFS after resuming from suspend
6bd4e822925d iwlwifi: pcie: properly set LTR workarounds on 22000 devices
e5386e87f8aa ice: Cleanup fltr list in case of allocation issues
9d1c342c5018 ice: Use port number instead of PF ID for WoL
b69686110291 ice: Fix for dereference of NULL pointer
4d73a6143d40 ice: remove DCBNL_DEVRESET bit from PF state
286830a8469c ice: fix memory allocation call
4686a26e9536 ice: prevent ice_open and ice_stop during reset
ef7ed8c77d1c ice: Increase control queue timeout
6590b7bfbc2b ice: Continue probe on link/PHY errors
9a7bc0c40367 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
d1173effc574 ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
4941889535f3 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
597121792eb4 parisc: parisc-agp requires SBA IOMMU driver
9b54dad28def of: property: fw_devlink: do not link ".*,nr-gpios"
009c5665278b ethtool: fix incorrect datatype in set_eee ops
3a675c1b507f fs: direct-io: fix missing sdio->boundary
b1a5122554ae ocfs2: fix deadlock between setattr and dio_end_io_write
4fabcf229477 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
7d9da660affc ia64: fix user_stack_pointer() for ptrace()
8e5bfafedf6d gcov: re-fix clang-11+ support
43908139368e LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
de427b662bfb IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS
856f60e3e800 ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m
8599a39adca8 drm/i915: Fix invalid access to ACPI _DSM objects
bf991df9535e net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
c4ae852ec940 net: dsa: lantiq_gswip: Don't use PHY auto polling
ba39959bfebd net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
40375bc3d0f9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
005c5afa9f85 xen/evtchn: Change irq_info lock to raw_spinlock_t
a28124e8ad03 selinux: fix race between old and new sidtab
fd75d73aa214 selinux: fix cond_list corruption when changing booleans
4f29b08e238f selinux: make nslot handling in avtab more robust
a12a2fa9a129 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
568ac94df580 nfc: fix memory leak in llcp_sock_connect()
99b596199e84 nfc: fix refcount leak in llcp_sock_connect()
6fb003e5ae18 nfc: fix refcount leak in llcp_sock_bind()
117557711974 ASoC: intel: atom: Stop advertising non working S24LE support
c4a6fb0e8389 ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model
6c9119de7ffe ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
6efe4c1f4d17 ALSA: aloop: Fix initialization of controls
4c933ff31f21 xfrm/compat: Cleanup WARN()s that can be user-triggered
(From OE-Core rev: aec9a6d709f14decd65013434f13a26c57e9196f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: 199566a40671ac273028cb44d0bb4494be22c4aa)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
d8cf82b410b4 Linux 5.10.29
cef13a04376b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
ba02635769f1 init/Kconfig: make COMPILE_TEST depend on !S390
faa30969f66e bpf, x86: Validate computation of branch displacements for x86-32
3edb8967d91e bpf, x86: Validate computation of branch displacements for x86-64
f890246ae75c tools/resolve_btfids: Add /libbpf to .gitignore
76983e244908 kbuild: Do not clean resolve_btfids if the output does not exist
0945d67e5d43 kbuild: Add resolve_btfids clean to root clean target
eff1e0465727 tools/resolve_btfids: Set srctree variable unconditionally
f60c918b07b7 tools/resolve_btfids: Check objects before removing
249719092447 tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
2934985086b9 math: Export mul_u64_u64_div_u64
7345d4b2d421 io_uring: fix timeout cancel return code
8f9049e70cd6 cifs: Silently ignore unknown oplock break handle
fee111089cc9 cifs: revalidate mapping when we open files for SMB1 POSIX
42498ee67296 ia64: fix format strings for err_inject
bc30fdd598e3 ia64: mca: allocate early mca with GFP_ATOMIC
b008489d8b86 selftests/vm: fix out-of-tree build
47f8bc68ae95 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
266d3106efbd ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
f135b89e286b platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms
037950869be3 block: clear GD_NEED_PART_SCAN later in bdev_disk_changed
7c73059bf849 x86/build: Turn off -fcf-protection for realmode targets
6372aa9a78f8 drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
6deb9d9a84a2 kselftest/arm64: sve: Do not use non-canonical FFR register value
bcd57b07fd90 platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
6304295c6190 net: ipa: fix init header command validation
8a57256e0548 netfilter: nftables: skip hook overlap logic if flowtable is stale
b0c795f4cc53 netfilter: conntrack: Fix gre tunneling over ipv6
439c2c22fb85 drm/msm: Ratelimit invalid-fence message
57e0546f01ca drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
b9ec77ef36af drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate
0a66bd60b1ce mac80211: choose first enabled channel for monitor
7705c48b8695 mac80211: Check crypto_aead_encrypt for errors
05878b681981 mISDN: fix crash in fritzpci
4ca265610cc6 kunit: tool: Fix a python tuple typing error
f0ed115feccc net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
4b4ce9895e64 net/mlx5e: Enforce minimum value check for ICOSQ size
198afc3b0c01 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
107875a53868 platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
4c875e034dfb bus: ti-sysc: Fix warning on unbind if reset is not deasserted
5c6f778e8f7d ARM: dts: am33xx: add aliases for mmc interfaces
ecdfb9d70fb8 Linux 5.10.28
7973a0dad073 bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
12b5f9dae410 Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
6ae5eaee1ea5 riscv: evaluate put_user() arg before enabling user access
61f0c3e8098f drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
d06d0b3cf626 driver core: clear deferred probe reason on probe retry
d29c38dd926d staging: rtl8192e: Change state information from u16 to u8
538b96315375 staging: rtl8192e: Fix incorrect source in memcpy()
84e5203fd277 soc: qcom-geni-se: Cleanup the code to remove proxy votes
996a5782faef usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
1808ee421ce5 usb: dwc3: qcom: skip interconnect init for ACPI probe
137dfed1552a usb: dwc2: Prevent core suspend when port connection flag is 0
4e28aca96729 usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
77c0d6af858b usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
6f86681691c2 USB: cdc-acm: fix use-after-free after probe failure
64deff1f4e0f USB: cdc-acm: fix double free on probe failure
439a27521112 USB: cdc-acm: downgrade message to debug
511302531eb8 USB: cdc-acm: untangle a circular dependency between callback and softint
e700e3aec303 cdc-acm: fix BREAK rx code path adding necessary calls
9efa606a83e0 usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
1addcb1f77d6 usb: musb: Fix suspend with devices connected for a64
15e61d9ae7ac USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
4027d6e88fef usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
c04adcc819d3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
2c7d85026324 video: hyperv_fb: Fix a double free in hvfb_probe
a267a7e1c0ca usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
bf4c643192b3 firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
3b681a1c43b6 extcon: Fix error handling in extcon_dev_register
023d13952e9b extcon: Add stubs for extcon_register_notifier_all() functions
0fe56e294cef pinctrl: rockchip: fix restore error in resume
80ee9e02be3d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
d2308dd5119b drm/tegra: sor: Grab runtime PM reference across reset
f552f95853f8 drm/tegra: dc: Restore coupling of display controllers
77a8e6f792d5 drm/imx: fix memory leak when fails to init
74612ecdf263 reiserfs: update reiserfs_xattrs_initialized() condition
8c71f5b30955 drm/amdgpu: check alignment on CPU page for bo map
78ceecd2ed45 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
28f901fe1634 drm/amdkfd: dqm fence memory corruption
ec3e06e06f76 mm: fix race by making init_zero_pfn() early_initcall
d88b557b9b73 s390/vdso: fix tod_steering_delta type
b332265430c8 s390/vdso: copy tod_steering_delta value to vdso_data page
f706acc9312b tracing: Fix stack trace event size
cc038ab785a8 PM: runtime: Fix ordering in pm_runtime_get_suppliers()
da2976cd711b PM: runtime: Fix race getting/putting suppliers at probe
e6d8eb65532e KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
5f6625f5cd5c KVM: SVM: load control fields from VMCB12 before checking them
6aaa3c2ebb4f xtensa: move coprocessor_flush to the .text section
a3be911a5fee xtensa: fix uaccess-related livelock in do_page_fault
bcd7999c03ed ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
ee58eee4501f ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
f235ffa56b8e ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
6d91f3afb632 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
b3116cda4e52 ALSA: hda: Re-add dropped snd_poewr_change_state() calls
474d3d65784e ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
e525cd364c09 ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
cdd192a20b06 ACPI: tables: x86: Reserve memory occupied by ACPI tables
fd38d4e6757b bpf: Remove MTU check in __bpf_skb_max_len
ff64f33bc93b net: 9p: advance iov on empty read
84877db1cdea net: wan/lmc: unregister device when no matching device is found
33a6b3eea44b net: ipa: fix register write command validation
44d76042c038 net: ipa: remove two unused register definitions
c805f215e9c5 appletalk: Fix skb allocation size in loopback case
f2294a707f63 net: ethernet: aquantia: Handle error cleanup of start on open
7d3ffc0993fe ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
221528c20e5e iwlwifi: pcie: don't disable interrupts for reg_lock
f33d87047323 netdevsim: dev: Initialize FIB module after debugfs
660bf76aec07 rtw88: coex: 8821c: correct antenna switch function
b5777172cce2 ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
731c4447e6db brcmfmac: clear EAP/association status bits on linkdown events
4094194d103b can: tcan4x5x: fix max register value
1a5751d58b14 net: introduce CAN specific pointer in the struct net_device
9e35159c6e9a can: dev: move driver related infrastructure into separate subdir
e3ccad57ac09 flow_dissector: fix TTL and TOS dissection on IPv4 fragments
8fe47a33944f net: mvpp2: fix interrupt mask/unmask skip condition
44c816c8b9ab io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
5038c1122e13 ext4: do not iput inode under running transaction in ext4_rename()
eb8049d85a92 static_call: Align static_call_is_init() patching condition
21c2bbc17b6b io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
fa068ee3f37e nvmet-tcp: fix kmap leak when data digest in use
3ac4aaff387b locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
905ef030bdf9 locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
1e2a75c24a48 thermal/core: Add NULL pointer check before using cooling device stats
cf51b6145b9d ASoC: rt711: add snd_soc_component remove callback
805645d89a20 ASoC: rt5659: Update MCLK rate in set_sysclk()
7d4344fd3ee0 staging: comedi: cb_pcidas64: fix request_irq() warn
e833d5716fbb staging: comedi: cb_pcidas: fix request_irq() warn
4cd96a0de7a1 scsi: qla2xxx: Fix broken #endif placement
3860814ef620 scsi: st: Fix a use after free in st_open()
861fc287e036 io_uring: fix ->flags races by linked timeouts
e1f8c95c1110 vhost: Fix vhost_vq_reset()
7f6518ec6ee9 kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
540a1ebf3c23 NFSD: fix error handling in NFSv4.0 callbacks
73df108e3aec ASoC: cs42l42: Always wait at least 3ms after reset
9b7b92c4b92d ASoC: cs42l42: Fix mixer volume control
20b39eb99598 ASoC: cs42l42: Fix channel width support
0d3753babfa7 ASoC: cs42l42: Fix Bitclock polarity inversion
ed47acc0c888 ASoC: soc-core: Prevent warning if no DMI table is present
294d4c2b4fda ASoC: es8316: Simplify adc_pga_gain_tlv table
f134a436d766 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
b057d540ad2c ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
ed4cdb772680 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
4bac395e0b8a ASoC: rt1015: fix i2c communication error
4eff80b14014 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
5fb71b231c4e rpc: fix NULL dereference on kmalloc failure
9e9aa1c03c33 fs: nfsd: fix kconfig dependency warning for NFSD_V4
e178f362f095 ext4: fix bh ref count on error paths
4b3139576a20 ext4: shrink race window in ext4_should_retry_alloc()
1bfb046d29e3 virtiofs: Fail dax mount if device does not support it
e21d2b92354b bpf: Fix fexit trampoline.
68abc0115617 arm64: mm: correct the inside linear map range during hotplug check
(From OE-Core rev: 255ec8ff86d31c3464c30c26bdb15f01563b088e)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto/5.10.:
fa039db710c qemuppc64: Enable the RTC driver
f6cfc23fbfc nxp-s32g2xx: add HSE UIO related configs to make hse demo work
2b445fb1e0b firmware: fix CONFIG_FW_LOADER option mismatch warning
60dde01d949 nxp-imx8: Correct DRM_TTM config and delete redundant config
07119316ee5 xlnx: bsp: drop obsolete kernel options for xilinx-zynqmp and xilinx-zynq
0cf78165f8e bcm-2xxx-rpi: update v5.10 kernel config for raspberrypi 4b platform
9b5a9e46778 marvell-cn96xx: Add the preempt-rt support
(From OE-Core rev: 6186f21b29e7a152d34c620e81878bf6eff6519d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add features/scsi/scsi-debug.scc and features/gpio/mockup.scc to
KERNEL_FEATURES to meet ptest requirement as what we did for other
linux-yocto*.
(From OE-Core rev: fd27f302df886c27cb424191c27152ad9d0e8d80)
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
472493c8a425 Linux 5.10.27
3a1ca9bd4f5a xen-blkback: don't leak persistent grants from xen_blkbk_map()
03a1c3253f25 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
f12d05f70282 nvme: fix the nsid value to print in nvme_validate_or_alloc_ns
36478a9ec5af Revert "net: bonding: fix error return code of bond_neigh_init()"
451ba16cc5b7 Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
df61d3cff422 fs/ext4: fix integer overflow in s_log_groups_per_flex
0229b5926dc9 ext4: add reclaim checks to xattr code
25e809bf8bec mac80211: fix double free in ibss_leave
39e1a35ea65a net: dsa: b53: VLAN filtering is global to all users
d3b5a04b8ce5 r8169: fix DMA being used after buffer free if WoL is enabled
8dc08a2962c8 can: dev: Move device back to init netns on owning netns delete
24256b4d87eb ch_ktls: fix enum-conversion warning
6f15c02ebbe9 fs/cachefiles: Remove wait_bit_key layout dependency
002ea848d7fd mm/memcg: fix 5.10 backport of splitting page memcg
2c163520e12b x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
c6c9bc4f261d locking/mutex: Fix non debug version of mutex_lock_io_nested()
d4ce2a8f465d cifs: Adjust key sizes and key generation routines for AES256 encryption
86cc799e1d9d smb3: fix cached file size problems in duplicate extents (reflink)
2423511cc5ba scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
6b977fea78de scsi: qedi: Fix error return code of qedi_alloc_global_queues()
62bb066cdfb6 scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
fc062d21c011 block: recalculate segment count for multi-segment discards correctly
dcf2dfc1614d io_uring: fix provide_buffers sign extension
efb334c4e5ff perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
5febe60a8021 perf auxtrace: Fix auxtrace queue conflict
4a5891992c68 ACPI: scan: Use unique number for instance_no
2ba9964a9653 ACPI: scan: Rearrange memory allocation in acpi_device_add()
c33f918758fa Revert "netfilter: x_tables: Update remaining dereference to RCU"
de2e6b4e32d6 mm/mmu_notifiers: ensure range_end() is paired with range_start()
42aa210795d8 dm table: Fix zoned model check and zone sectors check
3fdebc2d8e79 netfilter: x_tables: Use correct memory barriers.
520be4d1af9c Revert "netfilter: x_tables: Switch synchronization to RCU"
87771c9b09bb net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M
485335a637c8 net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S
837a3ae33459 net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()
9a5267264fc2 net: phy: introduce phydev->port
c4934e65c8bc net: axienet: Fix probe error cleanup
3e08fd4a8298 net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode
d65e7d0c7449 igb: avoid premature Rx buffer reuse
c7eb3e12f18f net, bpf: Fix ip6ip6 crash with collect_md populated skbs
0a245acbce89 net: Consolidate common blackhole dst ops
33cd5f88b5bf bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
d95696f537d6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
b740e58324c8 xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
889c56ea941e octeontx2-af: Fix memory leak of object buf
558454ec5170 net: bridge: don't notify switchdev for local FDB addresses
7d019b2d0f27 PM: EM: postpone creating the debugfs dir till fs_initcall
08a5f812ad6c net/mlx5e: Fix error path for ethtool set-priv-flag
624f0dc8f7f4 net/mlx5e: Offload tuple rewrite for non-CT flows
c83207bb02d6 net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP
0be13d01473a net/mlx5: Add back multicast stats for uplink representor
65c021e73590 PM: runtime: Defer suspending suppliers
3db5fc556515 arm64: kdump: update ppos when reading elfcorehdr
447a011bb40d drm/msm: Fix suspend/resume on i.MX5
c7552dee62a0 drm/msm: fix shutdown hook in case GPU components failed to bind
0b7bc92c1986 can: isotp: tx-path: zero initialize outgoing CAN frames
ccd5565feea3 bpf: Fix umd memory leak in copy_process()
eeadce8811d3 libbpf: Fix BTF dump of pointer-to-array-of-struct
7693b64ae508 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
5ebb9947b488 selinux: vsock: Set SID for socket returned by accept()
1e01729999c0 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
961d9a6e47b9 r8152: limit the RX buffer size of RTL8153A for USB 2.0
2330d46db081 igb: check timestamp validity
421e0d731070 net: cdc-phonet: fix data-interface release on probe failure
943e1583bf8a net: check all name nodes in __dev_alloc_name
748a158359d7 octeontx2-af: fix infinite loop in unmapping NPC counter
b553f45c76ec octeontx2-pf: Clear RSS enable flag on interace down
11e94cfa9dd8 octeontx2-af: Fix irq free in rvu teardown
da517ca38dc6 octeontx2-af: Remove TOS field from MKEX TX
1055796ca031 octeontx2-af: Modify default KEX profile to extract TX packet fields
f896ae2886d1 octeontx2-af: Formatting debugfs entry rsrc_alloc.
5f64c4c550c8 ipv6: weaken the v4mapped source check
9e48a3bc8ba2 ARM: dts: imx6ull: fix ubi filesystem mount failed
b4c574e4b471 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
86e525bc04f2 libbpf: Fix error path in bpf_object__elf_init()
4280132339ce netfilter: flowtable: Make sure GC works periodically in idle system
186d8dc40a65 netfilter: nftables: allow to update flowtable flags
4a741b4df032 netfilter: nftables: report EOPNOTSUPP on unsupported flowtable flags
a96a8cb0500a net/sched: cls_flower: fix only mask bit check in the validate_ct_state
6233c2d09633 ionic: linearize tso skb with too many frags
7637048707e5 drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code
126aa8f23424 ftrace: Fix modify_ftrace_direct.
29b8834cf828 nfp: flower: fix pre_tun mask id allocation
47dae14b21f7 nfp: flower: add ipv6 bit to pre_tunnel control message
259b0122dea5 nfp: flower: fix unsupported pre_tunnel flows
aeff815e76ef selftests/net: fix warnings on reuseaddr_ports_exhausted
bd63bd78d303 mac80211: Allow HE operation to be longer than expected.
f865127b1d26 mac80211: fix rate mask reset
48d0b548b49e can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
afaca48e3017 can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
4fcf59c24990 can: c_can: move runtime PM enable/disable to c_can_platform
524320e8034a can: c_can_pci: c_can_pci_remove(): fix use-after-free
f9a5974b9719 can: kvaser_pciefd: Always disable bus load reporting
af3e6c3dcf54 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
0cbadc0fb54c can: peak_usb: add forgotten supported devices
3b3d9279be6c can: isotp: TX-path: ensure that CAN frame flags are initialized
f88517dae95b can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD
63f2a9bd3133 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
50f41f2e29ff tipc: better validate user input in tipc_nl_retrieve_key()
ddeba5b39cca net: phylink: Fix phylink_err() function name error in phylink_major_config
375f5169f231 net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx"
ee39ee5f437c netfilter: ctnetlink: fix dump of the expect mask attribute
d5380ceede6f selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
33cc382c5830 flow_dissector: fix byteorder of dissected ICMP ID
fce6fb902189 net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
6d3635ed12e7 net: ipa: terminate message handler arrays
1701bd22b05d clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk
b50c46ef67d6 ftgmac100: Restart MAC HW once
e64a5a5b8e93 net: phy: broadcom: Add power down exit reset state delay
87378c850fee net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
648b62f10cec e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
8ed431fec355 e1000e: add rtnl_lock() to e1000_reset_task
5994a096570f igc: Fix igc_ptp_rx_pktstamp()
0963fadcf536 igc: Fix Supported Pause Frame Link Setting
d5330d5cc3ad igc: Fix Pause Frame Advertising
d85ffade499a igc: reinit_locked() should be called with rtnl_lock
4c91fc60e3f6 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
f64270027928 net: sched: validate stab values
400199d6e6f6 macvlan: macvlan_count_rx() needs to be aware of preemption
2514c7ad115e drop_monitor: Perform cleanup upon probe registration failure
7f041ee8effd ipv6: fix suspecious RCU usage warning
61219de46413 net/mlx5e: Don't match on Geneve options in case option masks are all zero
d0be25fa4f96 net/mlx5e: When changing XDP program without reset, take refs for XSK RQs
60b5ff15b41d net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets
9857de932b30 libbpf: Fix INSTALL flag order
f7c3d7615e6c bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF
926cde9eec67 veth: Store queue_mapping independently of XDP prog presence
f47a9b2570ad soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
1f798907b435 ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
965e6cb8d4c9 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
921aae17bb0f dm ioctl: fix out of bounds array access when no devices
d8b36c483d47 dm verity: fix DM_VERITY_OPTS_MAX value
1e2d70d08ade drm/i915: Fix the GT fence revocation runtime PM logic
da6a9b5b1799 drm/amdgpu: Add additional Sienna Cichlid PCI ID
dc28098f40b4 drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
e02f765fa784 drm/amd/pm: workaround for audio noise issue
f771b2b3eb2f drm/etnaviv: Use FOLL_FORCE for userptr
546f7fcc451c integrity: double check iint_cache was initialized
5f7b515df003 ARM: dts: at91-sama5d27_som1: fix phy address to 7
2a0d35962ff1 ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
0b6cd8802d32 ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
1c103f512251 arm64: dts: ls1043a: mark crypto engine dma coherent
4f35b64ba823 arm64: dts: ls1012a: mark crypto engine dma coherent
3883f335b5ee arm64: dts: ls1046a: mark crypto engine dma coherent
1ced45535d4b arm64: stacktrace: don't trace arch_stack_walk()
53d3c8063590 ACPICA: Always create namespace nodes using acpi_ns_create_node()
36fe73bd0af9 ACPI: video: Add missing callback back for Sony VPCEH3U1E
1f5c9efad9fe gcov: fix clang-11+ support
6e63cc1fe253 kasan: fix per-page tags for non-page_alloc pages
fe03ccc3ce90 hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings
269042e8ffed squashfs: fix xattr id and id lookup sanity checks
61d72c5952c4 squashfs: fix inode lookup sanity checks
1d215fcbc4ef z3fold: prevent reclaim/free race for headless pages
e4642090734e psample: Fix user API breakage
a4be7e4ed5d9 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
4f67d3e8c0ac netsec: restore phy power state after controller reset
19c9967e495e selinux: fix variable scope issue in live sidtab conversion
9731e08a3381 selinux: don't log MAC_POLICY_LOAD record on failed policy load
3b87d0c5834b btrfs: fix sleep while in non-sleep context during qgroup removal
771dfb3c531d KVM: x86: Protect userspace MSR filter with SRCU, and set atomically-ish
394e4fd67946 static_call: Fix static_call_set_init()
0fefb5f3e574 static_call: Fix the module key fixup
a63068e93917 static_call: Allow module use without exposing static_call_key
433cd7ca386c static_call: Pull some static_call declarations to the type headers
533c293f737c ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
d76e207991c4 ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
7077d5e7f074 mm/fork: clear PASID for new mm
07feac84efc6 block: Suppress uevent for hidden device when removed
9f704608010b nfs: we don't support removing system.nfs4_acl
3dab008e23bd nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
8f0534c96ac8 nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done
c7b3f6db97c2 nvme-core: check ctrl css before setting up zns
9083dc773d67 nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
4d6aea29a795 nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()
7e62a89b51dd nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
d8b17df7bf80 nvme: simplify error logic in nvme_validate_ns()
b91230a0013f drm/radeon: fix AGP dependency
35d4f0712828 drm/amdgpu: fb BO should be ttm_bo_type_device
a255d14eb5dc drm/amd/display: Revert dram_clock_change_latency for DCN2.1
d27b0964ade9 block: Fix REQ_OP_ZONE_RESET_ALL handling
c9d1f6ad1e25 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
6366a5bb888b kselftest: arm64: Fix exit code of sve-ptrace
da5bc0c21c04 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
f89338395545 staging: rtl8192e: fix kconfig dependency on CRYPTO
eb4154fb61e2 habanalabs: Call put_pid() when releasing control device
f2b38f03a3f7 sparc64: Fix opcode filtering in handling of no fault loads
58b34195b33f umem: fix error return code in mm_pci_probe()
feaa91193ad3 kbuild: dummy-tools: fix inverted tests for gcc
ede8be3ae078 kbuild: add image_name to no-sync-config-targets
264bb27b9fe4 irqchip/ingenic: Add support for the JZ4760
b684c380f0b9 cifs: change noisy error message to FYI
758bca385a79 atm: idt77252: fix null-ptr-dereference
f35954a3961b atm: uPD98402: fix incorrect allocation
852143ed96e2 net: enetc: set MAC RX FIFO to recommended value
697082b125b0 net: davicom: Use platform_get_irq_optional()
e6946ef43848 net: wan: fix error return code of uhdlc_init()
184dc037575c net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
9d1a5392aca1 NFS: Correct size calculation for create reply length
2479c6b9ef36 nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
b48779c863c0 gpiolib: acpi: Add missing IRQF_ONESHOT
9443aef16fca cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
6d7dce3bdfc4 gfs2: fix use-after-free in trans_drain
419ebba40dbf cifs: ask for more credit on async read/write code paths
b8bfda6e08b8 gianfar: fix jumbo packets+napi+rx overrun crash
2d0fba5a2e9f sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
81b1a8f14436 net: intel: iavf: fix error return code of iavf_init_get_resources()
5f86016bdfa7 net: tehuti: fix error return code in bdx_probe()
71b996c9b883 blk-cgroup: Fix the recursive blkg rwstat
b171748b7953 scsi: ufs: ufs-qcom: Disable interrupt in reset path
028210541b3c ixgbe: Fix memleak in ixgbe_configure_clsu32
4dc123500c3b ALSA: hda: ignore invalid NHLT table
18f27fc6bcc2 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
f8f6190094a3 atm: lanai: dont run lanai_dev_close if not open
6f6e45947572 atm: eni: dont release is never initialized
75e967a04d37 powerpc/4xx: Fix build errors from mfdcr()
4a104e4d4d9d net: fec: ptp: avoid register access when ipg clock is disabled
50c75680bdce net: stmmac: fix dma physical address of descriptor when display ring
a9daba140178 mt76: fix tx skb error handling in mt76_dma_tx_queue_skb
efb12c03fcd0 mm/memcg: set memcg when splitting page
6143a1d193e9 mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument
856cd02bbdd4 Linux 5.10.26
de1126ea44bb cifs: Fix preauth hash corruption
21536d7b7e6f x86/apic/of: Fix CPU devicetree-node lookups
95247d24c4d4 genirq: Disable interrupts for force threaded handlers
80b2787789af firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
47ba0d4d2afb efi: use 32-bit alignment for efi_guid_t literals
e5154ea8e48f static_call: Fix static_call_update() sanity check
51ccdd25d7e5 MAINTAINERS: move the staging subsystem to lists.linux.dev
4c9a74798ef1 MAINTAINERS: move some real subsystems off of the staging mailing list
35ecf664fd6c ext4: fix rename whiteout with fast commit
e8fa569465e5 ext4: fix potential error in ext4_do_update_inode
6163a0662b79 ext4: do not try to set xattr into ea_inode if value is empty
d130b802f98a ext4: stop inode update before return
258db8e6ffdc ext4: find old entry again if failed to rename whiteout
9689ecadf8a7 ext4: fix error handling in ext4_end_enable_verity()
e4ea2a28d068 efivars: respect EFI_UNSUPPORTED return from firmware
a548acde9608 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
97c608959c27 x86: Move TS_COMPAT back to asm/thread_info.h
4523e648b7b7 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
0e245256e34d x86/ioapic: Ignore IRQ2 again
4fdf5f4ba61f perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT
514ea597be8e perf/x86/intel: Fix a crash caused by zero PEBS status
be1f58e58f76 PCI: rpadlpar: Fix potential drc_name corruption in store functions
6d4e1fed18d0 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
cbc4c42dbec0 counter: stm32-timer-cnt: fix ceiling write max value
dcdde25844d4 iio: hid-sensor-temperature: Fix issues of timestamp channel
7de97c4bba51 iio: hid-sensor-prox: Fix scale not correct issue
fd8efe16d867 iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
b477c121a287 iio: adc: adi-axi-adc: add proper Kconfig dependencies
d894acab2844 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
533ee1e28455 iio: adc: ab8500-gpadc: Fix off by 10 to 3
f8bfbd3917fa iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
06c281c23ace iio: adis16400: Fix an error code in adis16400_initial_setup()
531231485844 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
3ce2e7b2d360 iio:adc:stm32-adc: Add HAS_IOMEM dependency
6c3c90058b95 thunderbolt: Increase runtime PM reference count on DP tunnel discovery
f4ca082e3f59 thunderbolt: Initialize HopID IDAs in tb_switch_alloc()
c7bb96a37dd2 usb: dwc3: gadget: Prevent EP queuing while stopping transfers
395d273f2998 usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
8b8a84234c38 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
0ea3fb15a87e usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
0f882bcc6407 usb: gadget: configfs: Fix KASAN use-after-free
22e85a6a35cc usbip: Fix incorrect double assignment to udc->ud.tcp_rx
7046e5f7a2f6 usb-storage: Add quirk to defeat Kindle's automatic unload
5a62d6d7afa0 powerpc: Force inlining of cpu_has_feature() to avoid build failure
2bdef2b476e2 gfs2: bypass signal_our_withdraw if no journal
a602e830ddaf gfs2: move freeze glock outside the make_fs_rw and _ro functions
49787b1bba1f gfs2: Add common helper for holding and releasing the freeze glock
db37238f3452 regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
cfbff8bd9efc regulator: pca9450: Enable system reset on WDOG_B assertion
775691b94ce7 regulator: pca9450: Add SD_VSEL GPIO for LDO5
9392b8219b62 net: bonding: fix error return code of bond_neigh_init()
76f496681d6a io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
3c08f772ad0d io_uring: don't attempt IO reissue from the ring exit path
40345b9c9d90 drm/amd/pm: fulfill the Polaris implementation for get_clock_by_type_with_latency()
e8e99acd0830 s390/qeth: schedule TX NAPI on QAOB completion
f3f6765fd0e8 ibmvnic: remove excessive irqsave
96823c1e9997 media: cedrus: h264: Support profile controls
1c20e9040f49 io_uring: fix inconsistent lock state
e1a69079edc4 iwlwifi: Add a new card for MA family
e7f6ebde21cf drm/amd/display: turn DPMS off on connector unplug
559b842a64ff MIPS: compressed: fix build with enabled UBSAN
8545519b1f51 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
33cafc7952a4 i40e: Fix endianness conversions
41d4c889b274 powerpc/sstep: Fix darn emulation
8a335142f1c5 powerpc/sstep: Fix load-store and update emulation
8b4a797e86a0 RDMA/mlx5: Allow creating all QPs even when non RDMA profile is used
bb38c1c03384 scsi: isci: Pass gfp_t flags in isci_port_bc_change_received()
d74238028a11 scsi: isci: Pass gfp_t flags in isci_port_link_up()
d9f5efd1afc4 scsi: isci: Pass gfp_t flags in isci_port_link_down()
1eda358e37e5 scsi: mvsas: Pass gfp_t flags to libsas event notifiers
58bdc321beb5 scsi: libsas: Introduce a _gfp() variant of event notifiers
18c3c04e8e53 scsi: libsas: Remove notifier indirection
29c5b80327b7 scsi: pm8001: Neaten debug logging macros and uses
c4186c00adc1 scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition
3e4b3770744d scsi: pm80xx: Make running_req atomic
6075c84a98ce scsi: pm80xx: Make mpi_build_cmd locking consistent
d802672c7f00 module: harden ELF info handling
e2c8978a75e0 module: avoid *goto*s in module_sig_check()
8587715b65fa module: merge repetitive strings in module_sig_check()
c02a33f0fd28 RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug
904a52dd9e50 RDMA/rtrs: Introduce rtrs_post_send
9e97c211b701 RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails
5abee8b1fc4f RDMA/rtrs: Remove unnecessary argument dir of rtrs_iu_free
4ebd8f0c82a5 bpf: Declare __bpf_free_used_maps() unconditionally
0e44f1e18398 serial: stm32: fix DMA initialization error handling
5f8659adf7a2 tty: serial: stm32-usart: Remove set but unused 'cookie' variables
20c0bd2b6579 ibmvnic: serialize access to work queue on remove
f8ba6913c40a ibmvnic: add some debugs
b4be6e6e2696 nvme-rdma: fix possible hang when failing to set io queues
b3901ceb120d gpiolib: Assign fwnode to parent's if no primary one provided
c5fe922eaf1a counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
f854abe46b0e RISC-V: correct enum sbi_ext_rfence_fid
359d8ff40a09 scsi: ufs: ufs-mediatek: Correct operator & -> &&
38089ba4b20c scsi: myrs: Fix a double free in myrs_cleanup()
eb9d08b34351 scsi: lpfc: Fix some error codes in debugfs
e95c0d43509c riscv: Correct SPARSEMEM configuration
04eb2b2fa12f cifs: fix allocation size on newly created files
bb2e41e65c33 kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
72714560fbc7 net/qrtr: fix __netdev_alloc_skb call
6cae8095490c io_uring: ensure that SQPOLL thread is started for exit
a7acb614287b pstore: Fix warning in pstore_kill_sb()
5f7d470696ad i915/perf: Start hrtimer only if sampling the OA buffer
cb14e99e886f sunrpc: fix refcount leak for rpc auth modules
2ea2d3a79800 vhost_vdpa: fix the missing irq_bypass_unregister_producer() invocation
3e5a1bb6ea20 vfio: IOMMU_API should be selected
c2219627091c svcrdma: disable timeouts on rdma backchannel
982b899ba672 NFSD: fix dest to src mount in inter-server COPY
800369d61add NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
12628e7779f8 nfsd: don't abort copies early
5ea0aa29ad4b nfsd: Don't keep looking up unhashed files in the nfsd file cache
628f39a57a46 nvmet: don't check iosqes,iocqes for discovery controllers
b4f911e3a982 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
7089cdfce32f nvme-tcp: fix possible hang when failing to set io queues
a83e5c6c35fa nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
fd9e2b999740 nvme: fix Write Zeroes limitations
2d202085d2dd ALSA: usb-audio: Fix unintentional sign extension issue
64195f022ae8 afs: Stop listxattr() from listing "afs.*" attributes
78ba4793b084 afs: Fix accessing YFS xattrs on a non-YFS server
07fa872bf79c ASoC: simple-card-utils: Do not handle device clock
d1ab87e31761 ASoC: qcom: lpass-cpu: Fix lpass dai ids parse
1ae54de79fba ASoC: codecs: wcd934x: add a sanity check in set channel map
03079a0f1bf7 ASoC: qcom: sdm845: Fix array out of range on rx slim channels
26b08c08a5f3 ASoC: qcom: sdm845: Fix array out of bounds access
47a6cadb6cfd ASoC: SOF: intel: fix wrong poll bits in dsp power down
b94b71a7a6f6 ASoC: SOF: Intel: unregister DMIC device on probe error
4da5a9a73c4c ASoC: Intel: bytcr_rt5640: Fix HP Pavilion x2 10-p0XX OVCD current threshold
118cfdc770cd ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
223dc51caa51 drm/amd/display: Correct algorithm for reversed gamma
4daa70a80c68 vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails
49ca3100fbaf vhost-vdpa: fix use-after-free of v->config_ctx
2c8d6a9474f0 btrfs: fix slab cache flags for free space tree bitmap
38ffe9eaeb7c btrfs: fix race when cloning extent buffer during rewind of an old root
78486cf1f31e zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()
9c1c5e81a002 zonefs: prevent use of seq files as swap file
dfbdbf0f359a zonefs: Fix O_APPEND async write handling
38c74f2f2318 s390/pci: fix leak of PCI device structure
075e3034740c s390/pci: remove superfluous zdev->zbus check
bd37d9b9c4fb s390/pci: refactor zpci_create_device()
015916ca0266 s390/vtime: fix increased steal time accounting
5c0a3a331dc5 Revert "PM: runtime: Update device status before letting suppliers suspend"
68525e424175 ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
f086deab2c64 ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
7b00df1894c6 ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
14af4bf8d481 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
4c698a3b8fb7 ALSA: hda: generic: Fix the micmute led init state
e6c7cdf0baf3 ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
cd7b17ba8e4d ALSA: dice: fix null pointer dereference when node is disconnected
422806f8d289 spi: cadence: set cqspi to the driver_data field of struct device
f8d5ced57b07 ASoC: ak5558: Add MODULE_DEVICE_TABLE
064a7289b445 ASoC: ak4458: Add MODULE_DEVICE_TABLE
(From OE-Core rev: cbb5c4392c63f896f204c0c15b0cfa7a364feed2)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.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: a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The rewrite of the configuration audit code dropped the ability to
generate warnings for configuration options that didn't make it into
the final .config.
We integrated the following commit to restore those warnings:
symbol_why: classify based on config.queue hints
The config.queue has typing hints inline with each fragment,
we should be using them to further classify the options, and
not only relying on the special hardware.cfg, etc, files that
are part of the meta data
We also should be checking for options that were set to a
non 'no' value, and that don't make it into the final .config,
since without that check it means we are missing some warnings.
(From OE-Core rev: f5e8a8c52386317607e333e55f710bf0393186c8)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Adding Hardknott to documentation switcher and release list.
(From yocto-docs rev: d1578f6ae84d0c44c63632bd5f3146653f1310a3)
Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The code for this was removed in 2016 in commit
e659a3b0c2771679057ee3e13cd42e6c62383ff2. Nobody seems to have missed it
so remove the documentation so we match the code.
[YOCTO #13449]
(Bitbake rev: 76bf42ea41a28b19d0377c2e548b0a59119fdf67)
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: 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)
Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the previous patch this code is now pointless as we'd have hit a TypeError
before now.
(Bitbake rev: 6301a99055c79d89b715f72182cd0ef1b781b89a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer. There's some type confusion here:
bitbake-server is called with a string representation of the timeout,
which may be None. If the timeout is not set, pass 0 instead of None.
Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.
[ YOCTO #14350 ]
(Bitbake rev: c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)
Signed-off-by: Ross Burton <ross.burton@arm.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: f22a6e46d003aba516a9a0cc7f94eae678d846b7)
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: eaf377315efc73d6ffe361372a873918b3bb3bf5)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is required to enable debuginfod in elfutils.
(From OE-Core rev: e6035099772a0ccbb4835c0c782317c19527876c)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Particularly:
- nesting subprocess.run() inside subprocess.check_output() does not work at all.
How was this tested?
- -R and -U options can be combined; no need to separate the invocations based
on packaging format
- both exception handlers are unnecessary; we can simply print the hint if
invocation did not succeed
- to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native
must be executed
(From OE-Core rev: 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the previous timeout of 5 seconds, there would be
builds such as:
https://autobuilder.yocto.io/pub/non-release/20210417-13/
which produced 17 files with top output with top running 454 times
and that's a bit too much data to analyze for each run. By
increasing the timeout, we'll find the worse problems
first, fix them and then we can decrease the timeout if needed.
(From OE-Core rev: 92b29a09b4c442597d212337b785afb76129ac7c)
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This was being pulled in by other dependencies thus far
(From OE-Core rev: de944399fa3dadecd3faa5054145fe0cd7adbbf7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add options to make it easier to control which features are enabled. All
of these default to enabled by upstream, so keep them enabled to
maintain previous behavior.
The convert option also supports reiserfs, but no recipes exist in the
layer index. Limit the option to ext filesystems until someone cares
enough to make reiserfs recipes.
Remove acl and attr from DEPENDS, as they do not apper to be needed. Add
zlib since it is required.
(From OE-Core rev: 7452cab85b65ce4b6e8309ab85ad40555c24435f)
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Previously doing a stop/start worked, but using a disable/enable does
not work on a read-only rootfs. Add a --runtime flag to systemctl so
that systemd only modifies the current boot and does not attempt to
write to the filesystem.
This also keeps the test from making a permanent (one could argue
policy) change to the running system being tested. i.e. What if the
image being tested had intentionally disabled the timesyncd service in
preference to using chrony or ntpd? The test shouldn't assume that the
user wants the timesyncd service enabled.
(From OE-Core rev: 43dd83b6a325589368c980a3f17cab90935aaeb0)
Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
We can't access the emit() function of varhistory currently as the datastore parameter
isn't handled correctly, nor is the output stream. Add a custom wrapper for this
function which handles the two details correctly.
(Bitbake rev: ba0fa084ccd2b1ade96425d158fd31e49e42f286)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
By default the unpacker will create a "shared" clone when cloning from
the DL_DIR to the WORKDIR. This patch introduces an option to control
that behaviour.
Imagine some recipe steps are executed in a namespace that is different
from the one your downloader and unpacker ran in. (chroot) Because a
"shared" clone has an absolute reference to its "alternate" you now
have to make that "alternate" visible in that new namespace (chroot) at
the exact place.
With this patch you can unpack "noshared" and get a stand-alone copy.
This copy will also work if the "alternate" is not visible or existant.
The switch is a global bitbake switch and will affect all git urls.
Build systems that need "noshared" most likely need it for everything
they do with git.
(Bitbake rev: 6ae6f1865d5e666ebc670f70b7401a7b41648102)
Signed-off-by: Henning Schild <henning.schild@siemens.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: 7729ef2983c72867e99fad82d671069ba5cb32b2)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
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_nor_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: 57c0811f1ee19b6619f4840a39e01e3cb98c34c4)
Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
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: 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The imp module has een deprecated by upstream python, drop its usage
(imp.get_tag) in favor of sys.implementation.cache_tag.
Avoid incorrectly getting dependencies for running script and
multiprocessing module.
Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.
(From OE-Core rev: a3ac339f5b8549a050308ba94c4ef9093f10e303)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window
system to work.
(From OE-Core rev: 846564f1a999ea044f580bd61f7bcd527af62dce)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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: 3359f23ee9351c70997d5e0a17d17d1e47d59623)
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Messages are currently being printed as:
Test requires dropbear, oropenssh-sshd to be installed
but should be
Test requires dropbear, or openssh-sshd to be installed
Adding the space after the 'or' corrects this.
(From OE-Core rev: 51596e0f8cebe1607ab64ffb018d51e815c0ee4b)
Signed-off-by: Jon Mason <jdmason@kudzu.us>
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: 251be7279a475ee18c0c53fe9795bb37bffc2b45)
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-meson-Also-search-for-rst2man.py.patch
removed since it is included in 2.4.105
(From OE-Core rev: 7871f85a9fe610f600c4234fce38d24808f5a2fd)
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.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: 31a3cf78452270131a657be45e76569515cff7ef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If BRANCH is defined in local.conf then that name is used to d/l sources
for binutils. You will get this error:
Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'. Unable to fetch URL from any source.
Rename to SRCBRANCH like glibc has to avoid the more common variable name BRANCH.
(From OE-Core rev: 40d18272cd765420080fffc0e4bde7e3e79982af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
--
V2]
Remove commented out BINUPV and function
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit ed69ef2016.
The console entry has already been added into /etc/inittab based
on the SERIAL_CONSOLES. So drop this redundant entry.
(From OE-Core rev: 633f0c6b74e3caa2bae52ca60c61b811b7b2215d)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.
(From OE-Core rev: 670ceef0f6584ece5ce4176610255226a6148570)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Fix the following warning when boot with a core-image-minimal rootfs:
depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory
(From OE-Core rev: c34650400182a1104a5fbe03e54f5cea69eb1900)
Signed-off-by: Kevin Hao <kexin.hao@windriver.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: 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)
Signed-off-by: Mingli Yu <mingli.yu@windriver.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: 89d675efd633b495daa4a3a57420b9c309497035)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The run-ptest script got accidently dropped from the SRC_URI during
a past update and ptest patch.
(From OE-Core rev: 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
as cpan release versions are almost always follow an a.b version scheme,
it's better to filter out beta releases such as a.b.c.
Use the first resource fetched from https://cpan.metacpan.org as base
for calculating the needed regex.
In case nothing can be calculated fall back to nothing.
Add this to cpan-base to enable it for new & old style cpan integration.
(From OE-Core rev: 3df2cf383b58a3100bd78ebb0369047221121512)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.
(From OE-Core rev: 14bfe5f15f78c1bc049868633fd6fa19feb5a70c)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Currently the headers are not installed and the ltp-dev package is
empty.
This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.
(From OE-Core rev: f6943da4444cd71053650be0c9212bc25ac53137)
Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:
Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass
Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.
As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.
(From OE-Core rev: d9306e8f9dbdbd30382f0bc0f0a1af75e702a2aa)
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
NR_futex is not defined by newer architectures e.g. riscv32 as
they only have 64bit variant of time_t. Glibc defines SYS_futex
interface based on __NR_futex, since this is used in applications,
such applications start to fail to build for these newer architectures.
Define a fallback to alias __NR_futex to __NR_futex_time64 to make
SYS_futex keep working.
Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7
(From OE-Core rev: 81599bf32135187b34726d41e9f619d22ca1bdd1)
Signed-off-by: Mingli Yu <mingli.yu@windriver.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: 1c18225d3ef94a41fc073ae87c163b68e6d46571)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.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: 2055718fdd19f925e236d67823017323bbd92a4b)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
At least some Qt tooling depends on assimp.
(From OE-Core rev: 49c6742eba328236cb73c0ac59b6288f29c46c81)
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This reverts commit afc9ba7d546f3f2e60fb6f46f740dc925542df16.
Ptest-runner was upgraded in e3fd8f17dfb41173dbe037c25087a69f90b1346f,
which means we no longer need to limit glib-2.0 ptest output.
[YOCTO #14170]
(From OE-Core rev: e7be3901e43645796e195348924739d03495a079)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:
$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils
After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils
(From OE-Core rev: 2a9bf19502766baa4087456649d5471483d04f6a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
image-manifest: script to generate product/image specific BOM
The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.
The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.
image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.
This script extends the oe-image-manifest script [0] done by Paul Eggleton
[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest
------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...
Image manifest utility
options:
-h, --help show this help message and exit
-d, --debug Enable debug output
-q, --quiet Print only errors
subcommands:
recipe-info Get recipe info
list-depends List dependencies
list-recipes List recipes producing packages within an image
list-packages List packages within an image
list-layers List included layers
dump-config Dump default config
manifest-info Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command
Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
(From OE-Core rev: ad8fec9ce1704866df925bda18a240d6889b1ed5)
Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
0001-src-compress.c-correct-header-define-for-xz-lzma.patch
removed since it is included in 5.40
(From OE-Core rev: ae73c5fa666c0e0a7d1d7a04acd6246542b744aa)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3
Add license information to cover for Xterm files in libvte
Add new glade files into -dev package
[1] 5e14529d42
(From OE-Core rev: 4a1a20325e2d40256e03ab1a5be348a4c213d181)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch
the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch
(From OE-Core rev: fde4cb18e28e98f934c0742292f7ec183a568233)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update: add license information of src/third_party/win32/winerror_to_errno.h
(From OE-Core rev: 12f0aa9533edc7ac5a65b1c165797b049349b19e)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
License-Update:add the following information of license
SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later
(From OE-Core rev: fbc9e6f5c2a45ff917b7c255487616d922bdeb7a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
new/delete symbols are needed by overloaded-new.post test
(From OE-Core rev: 11bb1fe42590fd35ae5f24196d263f93dd063d35)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures
(From OE-Core rev: 3824f811db82c6f2360eea19a9df9129f4330291)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport an upstream patch.
to limit the amount of stackstrace present.
Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.
[YOCTO #14324]
(From OE-Core rev: a9baae5994354ba6410793f8a54e224e9dc21b5a)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.
[YOCTO #14324]
(From OE-Core rev: 2c21e5dda1d88280be3062eabb8c2788ff543600)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Notable changes:
* library is now in libexecdir instead of libdir
Added patches:
* Add musl.supp: missing musl.supp in 3.17.0
Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3
Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext
3.17.0 3.16.1
===================
TOTAL: 736 726
PASSED: 694 688
FAILED: 1 0
SKIPPED: 41 38
(From OE-Core rev: 7c8c04ad933be38a806da355158c1e13e2c1b84c)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB
Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents
(From OE-Core rev: 2c8e130adb5d4d55ba732a042ec157498460ee29)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds
Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']
(From OE-Core rev: 816c8529f05271aba3d414ab2e68506ac7b6ec69)
Signed-off-by: Khem Raj <raj.khem@gmail.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: 842b11107363357ed933cfcf619f1cf23f0d841e)
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: c55c294be6f5119f4c58a4e7a0bc052904126569)
Signed-off-by: Peter Budny <pbbudny@amazon.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: 08b2c9a23ce43ed65a16f5f0714b19a571e1b54a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a variable glossary entry and corresponding 3.3 migration
section entry for DISTUTILS_SETUP_PATH.
(From yocto-docs rev: 0823237e6f4b9dbdf48500b3c1e8cc61696fa2d2)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
People will see release codenames in other contexts, and thus it is
useful to mention them explicitly here rather than having to go to the
Releases wiki page to map version number to release codename.
(From yocto-docs rev: fe3a91e8b3ef09b79711b62c6a08643f9444dcec)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a joining paragraph and fix the second section so that it makes
sense with the addition of the first one.
(From yocto-docs rev: 8ee993995d9d72873f36e40dda5e3f345901978c)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This has been here since the text was added to the DocBook version.
(From yocto-docs rev: 611588b065ab98d7021173525027d16b5ab519c8)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add FIT_KERNEL_COMP_ALG and FIT_KERNEL_COMP_ALG_EXTENSION. Examining
OE-Core commit 5c72105e2973e613b5c0f0e6310ffdea6e56c6c7 and the
associated code, these do not enable arbitrary selection of compression
algorithm - only disabling compression - so document them accordingly.
(From yocto-docs rev: 41640526dd87153fdf802b058336c6fb466b8ade)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add a reference to the recently added passwd-expire command in
EXTRA_USERS_PARAMS.
(From yocto-docs rev: 9a6c8b37a1e6baab4dfb2ffe7b4abdf7dcbb8822)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add the recently added python3targetconfig class. Also, we no longer
have the python 2 classes, remove all references to those.
(From yocto-docs rev: c63d88656e2fc5361c512d4d9b426260c3e339f3)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add REQUIRED_VERSION, add a reference to it in PREFERRED_VERSION and
adjust the opening statement to read slightly better.
(From yocto-docs rev: c1c0b3600f2f6e752faacfc877b80c2dda7cf522)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There was an en dash here instead of a hyphen; this meant that the
command line could not be copied and pasted verbatim. (Admittedly that
is less likely here than in other examples, but let's correct it
anyway.)
(From yocto-docs rev: 4f289752fab3529516ad44e6e62a1042c339fd13)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
DISTRO_VERSION snapshot versions use METADATA_REVISION not DATE in
hardknott and thus the default for SDK_VERSION has been updated, so
update it here as well. Additionally, fix the text so it makes sense.
(From yocto-docs rev: 7b0c4229591d6325384800137e9242c2b030e118)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Minimum Git, tar, Python and gcc versions are specified in quite a few
different places. Let's add some variables for these so there's no
chance of missing one if they're updated in future. Additionally, for
hardknott the minimum Python version is 3.6 so set that as the value for
Python.
(From yocto-docs rev: 9a802bc4bb0438c2540f360a08c7787caf64408a)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
These are not new variables, but we are using METADATA_REVISION in a new
place and thus need to refer to it.
(From yocto-docs rev: 3b80ece864e8cc06f09d3d4ee645ddeef5d4eaf6)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add REQUIRED_VERSION, add a reference to it in PREFERRED_VERSION and
adjust the opening statement to read slightly better.
(Bitbake rev: b32e6c8d4ea2f83fe77021207e9db883fec82d97)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is based on the comment added in revision
aded964eed4ce5a725ed1ab477efabc86b1aa481.
(Bitbake rev: 082683da089115d8b6f71f221cabb41ac401f733)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The top level index file includes a link to the Bitbake
documentation. This link is static, however the location of the
Bitbake documentation depends on the intersphinx configuration. As
such, when looking at an old YP docs release, the link to the bitbake
documentation is always the same (and wrong).
Since we cannot use a cross reference in a toc index, this patch
creates an intermediate page for bitbake documentation, and in that
page we insert the right link to the bibtake documentation
(e.g. :doc:`bitbake:index`) which will be adjusted dynamically based
on intersphinx config.
(From yocto-docs rev: 4f7f451df266a307b34bf145b29291ca85eb882f)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Anchor links are treated by Sphinx as external links and are not checked
during build, meaning it is impossible to know if a link becomes broken or
not.
As a matter of fact, most of the anchor links replaced in this commit
were actually broken.
The README now states that anchor links are forbidden so that there's no
need to go through such a change later on.
(From yocto-docs rev: de9e4d26b46afa3c79137d07529a74553400d2e0)
Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
@@ -26,7 +26,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
@@ -206,6 +211,8 @@ class LayerIndexPlugin(ActionPlugin):
"""
args.show_only=True
args.ignore=[]
args.fetchdir=""
args.shallow=True
self.do_layerindex_fetch(args)
defregister_commands(self,sp):
@@ -214,6 +221,7 @@ class LayerIndexPlugin(ActionPlugin):
parser_layerindex_fetch.add_argument('-b','--branch',help='branch name to fetch')
parser_layerindex_fetch.add_argument('-s','--shallow',help='do only shallow clones (--depth=1)',action='store_true')
parser_layerindex_fetch.add_argument('-i','--ignore',help='assume the specified layers do not need to be fetched/added (separate multiple layers with commas, no spaces)',metavar='LAYER')
parser_layerindex_fetch.add_argument('-f','--fetchdir',help='directory to fetch the layer(s) into (will be created if it does not exist)')
parser_layerindex_fetch.add_argument('layername',nargs='+',help='layer to fetch')
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.